Re: [review] [PyKDE] mouse-over/motion signal?

2004-09-21 Thread Jim Bublitz
On Tuesday 21 September 2004 17:23, Alfred Young wrote: > I'm trying to create a selectable list of custom widgets that can be > 'clicked-and-dragged' to select all at once-- > > For those familiar with perl, this would be equivalent to a > bind on the mouse... > > However, I haven't been able to

Re: [PyKDE] mouse-over/motion signal?

2004-09-21 Thread Gordon Tyler
Alfred Young wrote: However, I haven't been able to find a certain signal or method to reproduce the same kind of functionality. Has anyone out there found a similar method to this? Is this not the mouseMoveEvent in QWidget? See http://doc.trolltech.com/3.3/qwidget.html#mouseMoveEvent for more de

[PyKDE] mouse-over/motion signal?

2004-09-21 Thread Alfred Young
I'm trying to create a selectable list of custom widgets that can be 'clicked-and-dragged' to select all at once-- For those familiar with perl, this would be equivalent to a bind on the mouse... However, I haven't been able to find a certain signal or method to reproduce the same kind of fun

Re: [PyKDE] How to use "kdialog"

2004-09-21 Thread Jim Bublitz
On Tuesday 21 September 2004 12:10, Thorsten Kampe wrote: > I want to integrate some simple message boxes in a Python script. Of > course I could use EasyGUI (www.ferg.org) but the native KDE look is > much nicer. > So I installed PyKDE but I couldn't figure out how to code this simple > task. Cou

[PyKDE] How to use "kdialog"

2004-09-21 Thread Thorsten Kampe
I want to integrate some simple message boxes in a Python script. Of course I could use EasyGUI (www.ferg.org) but the native KDE look is much nicer. So I installed PyKDE but I couldn't figure out how to code this simple task. Could anyone tell me the equivalent Python code to '"kdialog --msgbox "

Re: [PyKDE] PyKDE-3.11.3 build failure against sip-3.11

2004-09-21 Thread Jim Bublitz
On Tuesday 21 September 2004 11:13, Rex Dieter wrote: > Phil Thompson wrote: > > SIP v4.1 and v3.11 have been released and can be downloaded from the > > usual place. > > FYI, in my attempt to rebuild PyQt/PyKDE against sip-3.11, PyQt-3.12 > rebuilt fine, PyKDE-3.11.3 build fails. Failed build log

Re: [PyKDE] Confused on connects.

2004-09-21 Thread Gustavo Barbieri
http://www.diotavelli.net/PyQtWiki/Wrapper_20For_20QWidgetFactory - Original Message - From: Hihn, Jason <[EMAIL PROTECTED]> Date: Tue, 21 Sep 2004 11:42:56 -0400 Subject: [PyKDE] Confused on connects. To: [EMAIL PROTECTED] I have a simple python script that is below. How can I conne

[PyKDE] PyKDE-3.11.3 build failure against sip-3.11

2004-09-21 Thread Rex Dieter
Phil Thompson wrote: SIP v4.1 and v3.11 have been released and can be downloaded from the usual place. FYI, in my attempt to rebuild PyQt/PyKDE against sip-3.11, PyQt-3.12 rebuilt fine, PyKDE-3.11.3 build fails. Failed build log attached. -- Rex Executing(%prep): /bin/sh -e /usr/local/tmp/rpm-t

Re: [PyKDE] Confused on connects.

2004-09-21 Thread Gordon Tyler
Hihn, Jason wrote: def 'Canceled' (): print 'Canceled' The above should be: def cancelled(): print 'Cancelled' a=QApplication(sys.argv) w=QWidgetFactory.create('network.ui') a.connect(a, SIGNAL("lastWindowClosed()"), a, SLOT("quit()")) Cancel=w.child('buttonCancel') # HOW DO I CONNECT THI

[PyKDE] Confused on connects.

2004-09-21 Thread Hihn, Jason
I have a simple python script that is below. How can I connect the Canceled function to the buttonCanceled button that is created in the UI file?   Thanks in advance!   #!/usr/bin/pythonfrom qt import *from qtui import *import sys,string  def 'Canceled' ():    print 'Canceled' a=QApplic

Re: [PyKDE] Threading QApplications. Possible?

2004-09-21 Thread David Boddie
On Mon, 20 Sep 2004 20:52:01, Trost Johnson wrote: > Suppose the minimal program: > > def foo(): > app=QApplication(sys.argv) > button=QPushButton("Hello World", None) > app.setMainWidget(button) > button.show() > app.exec_loop() > > And I say > > >>> thread.start_

Re: [PyKDE] PyQt + multiple Interpreters

2004-09-21 Thread Christoph Wiedemann
> When SIP is run for a module it creates a .h file for each class the > module > exports and another for each class imported from other modules. The .h > file > for QWidget in the qt module is different from the .h file for QWidget in > modules that import the qt module. Hi Phil -- so this me

Re: [PyKDE] Threading QApplications. Possible?

2004-09-21 Thread Trost Johnson
Gordon Tyler wrote: A couple of things to note here: 1. The Python "threading" module is higher-level and easier to use than the lower-level "thread" module. 2. I don't think Python and Qt threading mix well, so you should use QThread and related classes rather than Python threading. Python sess