Greetings,
any clever ideas on how to force an application, that was hidden by
clicking on system tray icon, showing itself on current virtual desktop?
rgrds,
David
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.co
David Klasinc wrote:
Disregard. First few action that are added to the toolbar were in fact
QActions, those added later were myActions.
Regards,
David
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman
Greetings,
here is the code:
class myAction (QtGui.QAction):
def __init__ (self, parent, myProperty):
QtGui.QAction.__init__ (self, parent)
self.myProperty = myProperty
Later this myAction is instanced and added to a toolbar
someAction = myAction (self,
Andreas Pakulat wrote:
On 17.06.08 16:23:01, David Klasinc wrote:
Greetings,
After QThread.run() was called, shouldn't calling thread continue with
its execution and not wait for the thread to finish? Shortened example
follows
No, because you don't spawn a new thread in whic
Greetings,
After QThread.run() was called, shouldn't calling thread continue with
its execution and not wait for the thread to finish? Shortened example
follows
class myThread (QtCore.QThread):
def run (self):
print "T 1"
sleep 1
print "T 2"
sleep 1
print "T 3"
thread = myThread
Alberto Berti wrote:
QSignalMapper:
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qsignalmapper.html
cheers
Works like a charm, many thanks!
regards,
David
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcom
Greetings,
I have more Qt oriented question about adding actions. If I add several
actions to a toolbar, how do I refer to them later?
myToolBar.addAction ("Button 1")
myToolBar.addAction ("Button 2")
myToolBar.addAction ("Button 3")
myToolBar.addAction ("Button 4")
How to connect those acti
Igor Prischepoff wrote:
Hello, I have found solution for my problem.
So this post only for archiving in email list.
Attaching example is a python version of this solution:
http://wiki.qtcentre.org/index.php?title=SingleApplication
It is possible to detect second instance of application and
Greetings,
I am facing a rather annoying problem since I have no idea how to get
rid of a dialog that I created.
For example, in an instance of QMainWindow I opened another dialog with
self.dialogNew = newDialog (self)
self.dialogNew.show ()
newDialog is a subclassed QDialog with UI create
Greetings,
After some tinkering in PyKDE3, I decided that I'd rewrite everything
in PyKDE4. To be more on the bleeding edge. ;)
I created MainWindow in designer4 and run it thru pykde4uic. Which has
couple of bug with outputting the data, but I got past this. Then I
created one more dialog
Greetings,
I hope that this list deals with PyKDE issues too. :) Anyways, I am
making an application that stays docked in KDE Systray.
Copied straight from the PyKDE examples, this is my code:
self.systray = KSystemTray (self, "MyApp")
self.systray.setCaption ("MyApp")
11 matches
Mail list logo