I have a Qt application from a 3rd party vendor.
Is there a way to insert it in my inhouse application?
Am I supposed to use XOverlay ? Any sample code to insert xclock in a Qt app
for example?
Regards,
--
Emmanuel
___
PyQt mailing listPyQt@river
When I look at qtdemo, I see that there is a Qt version of Phonon that can read
rtsp streams.
I look at the code and it is C++.
1/ Is there a qtdemo code for python?
2/ Are qtdemo program also executable with python.
(i.e how long does it take for the pyqt libraries to be updated once the C++ QT
Just out of curiosity, why don't you use phonon?
I currently using mplayer and saw that phonon can now display rtsp streams
(which I use)
Is there a reason not to use phonon and go with mplayer/vlc?
Regards,
--
Emmanuel
On 14:55 Fri 09 Sep , Timothy W. Grove wrote:
> Thanks, I'm giving VLC a
Hello,
I have been able to send a QVariant in over the network using a QTcpSocket and
QDataStream.
now I would like to send the same QVariant over a QUdpSocket.
The issue is that the type of a datagram is string or QByteArray (Not
QDataStream)
So I send my datagram as a QByteArray
def iss
Error: the self.udpSocket should stay!
self.udpSocket = QUdpSocket(self)
is what generated the QObject error
and needed to be changed to
self.udpSocket = QUdpSocket()
Does anyone have a sample code with QUdpSocket in QThread ?
Regards,
--
E
On 09:58 Tue 23 Aug , emmanuel_mays...@lynceantec
Hello,
I am trying to put a QUdpSock et in a QThread
Code is:
class LUdpConnectionThread(QThread):
def __init__(self, parent=None):
super(LUdpConnectionThread,self).__init__(parent)
self.debug = (DEBUG & THREADS)
@LInAndOut(DEBUG & THREADS)
def run(self):
'''
I am trying to save the geometry and and the workspace where the application
has been closed.
Is there a way with Python/Qt to get the info on the workspace number!?
--
Emmanuel
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankc
To: PyQt Mailing List
Cc:
Bcc:
Subject: Context menu of child widget
Reply-To:
(resent on Qt mailing list)
Hello all,
I am using a composite widget (widget of custom widgets) with a
context menu.
Each of my child widgets has a context menu as well.
I would like in my composite to EXTEND all
Hello all,
I am using a composite widget (widget of custom widgets) with a
context menu.
Each of my child widgets has a context menu as well.
I would like in my composite to EXTEND all the context menus of child
widgets.
For the composite, I tried to reimplement
contextMenuEvent method (after
Hello,
I have an application that run a sequence of tasks listed in a treeview.
There is a run button.
When the run button is pressed, it executes all the task in the subtree.
Now, when the application open, it is not really clear what the run button
would execute, because the line cursor in th
Doesn't the QThread send a finished signal when completed?
Then why the QTimer? (Maybe to kill the Thread if takes too long!?)
You need to instanciate the QThread in the QPushButton.__init__
On SIGNAL('clicked()') trigger a method which runs Qthread.start and disable
button (self)
Then connect
Thank you it works!
The python version of your code (without minor bugs!!) is below
#!/usr/bin/env python
from PyQt4.QtCore import *
from PyQt4.QtGui import *
import os
import sys
import termios
def getchar():
'''
Equivalent to getchar()
'''
fd = sys.stdin.fileno()
Self corrected:
Quotes were missing :-@
QObject.connect(machine, SIGNAL('finished()'), qApp, SLOT('quit()'))
--
E
On 11:44 Mon 09 May , emmanuel_mays...@lynceantech.com wrote:
>
> Hello,
>
> I have the following code:
>
> [...]
> if __name__ == "__main__":
> import sys
> qApp = Q
Hello,
I have the following code:
[...]
if __name__ == "__main__":
import sys
qApp = QApplication(sys.argv)
#machine = StartupStateMachine()
machine = QStateMachine()
#QObject.connect(machine, SIGNAL('finished()'), QApplication.instance(),
SLOT(quit()))
QObject.connect(m
qstate.transition() is available in qt4.7
I am using 4.6
...
bummer!
On 17:37 Tue 03 May , emmanuel_mays...@lynceantech.com wrote:
>
> Hello,
>
> According to the doc, QState has a method called transitions()
> which returns all the transitions attached to a qstate.
> That is just what I ne
Hello,
According to the doc, QState has a method called transitions()
which returns all the transitions attached to a qstate.
That is just what I need.
Nevertheless, qstate.sip doesn't wrap that method.
Hence, it is not available from python.
Is there a reason?
Am I missing something?
cheers,
Also, in theory, I don't have control over the header files.
(In practice, I can submit a bug report etc)
UserMessage.h Header file included below.
Thanks,
--
Emmanuel
#define UserMessage_H
#include
#include
class QCAPLUGINLIBRARYSHARED_EXPORT UserMessage : public QObject
{
Q_OBJECT
> I assume that in C++ UserMessage is a sub-class of QObject, but you have
> lied to SIP about this. If so, then you need to tell SIP that UserMessage
> has a private copy ctor (which it normally infers from the QObject
> definition).
>
> Phil
I looked at qobject.sip
[...]
private:
QObject(co
On 09:20 Thu 31 Mar , Phil Thompson wrote:
> You can lie to SIP as much as you want. For example if B is derived from A
> in C++ you can tell SIP that it doesn't derive from anything and you won't
> get access to any of A's methods from Python. You could even say that B
> contained some of A's
Phil,
%Include -> %Import
I was so close and yet ... so far ;-)
Now everything works like a charm...
Now as I was expecting, if my class inherits another C++ class, then I have to
sip that class.
So to sip a what-appear-to-be-simple class may actually be time consumming.
Is there a way to just s
Pyqt Archive fond at
http://www.riverbankcomputing.com/pipermail/pyqt/
--
Emmanuel
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> You should...
>
> %Import QtCore/QtCoremod
>
Well, I actually started with that but...
$ cat ca_framework.sip
%Module CaFramework 1
%Include QtCore/QtCoremod.sip
%Include QtGui/QtGuimod.sip
%Include QCaToolTip.sip
$ python configure.py
/usr/bin/sip -x VendorID -t WS_X11 -x PyQt_NoPrint
Hello,
I am trying to compile my *sip files.
I am following the docs at
http://www.rkblog.rk.edu.pl/w/p/making-pyqt4-widgets-sip/ [^]
http://www.riverbankcomputing.co.uk/static/Docs/sip4/index.html [^]
http://www.panix.com/~elflord/unix/siptute/index.html [^]
http://www.controlvideo.de/sip/ [^]
23 matches
Mail list logo