[PyKDE] Extra args in KDialogBase.slotOk, slotCancel
Troy Melhase
troy at gci.net
Thu May 13 21:51:01 BST 2004
-------------- next part --------------
On Thursday 13 May 2004 07:42 am, Jim Bublitz wrote:
> Could you post a short example, or at least your slotOK method and the
> connect stmt that goes with it? As you indicate, neither the sip files nor
> KDE ask for any arguments (other than the implicit 'self' of course) and
> neither does the C++ code sip generates (kdeuipart1.cpp, line 244,785 for
> those who want to play along).
I've attached a small example that exhibits this weirdness on my system.
After clicking the ok and cancel buttons in the dialog, the script printed
this to my terminal:
slotOk was passed extra arguments (7.7737446446742396e-270,)
slotCancel was passed extra arguments (7.7737446446742396e-270,)
Odd, yes?
-------------- next part --------------
Troy Melhase, troy at gci.net
-------------- next part --------------
When Christ calls a man, he bids him come and die. - Dietrich Bonhoeffer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: funkydialogslots.py
Type: application/x-python
Size: 2080 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20040513/f5cb9701/funkydialogslots.bin
-------------- next part --------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 13 May 2004 07:42 am, Jim Bublitz wrote:
> Could you post a short example, or at least your slotOK method and the
> connect stmt that goes with it? As you indicate, neither the sip files nor
> KDE ask for any arguments (other than the implicit 'self' of course) and
> neither does the C++ code sip generates (kdeuipart1.cpp, line 244,785 for
> those who want to play along).
I've attached a small example that exhibits this weirdness on my system.
After clicking the ok and cancel buttons in the dialog, the script printed
this to my terminal:
slotOk was passed extra arguments (7.7737446446742396e-270,)
slotCancel was passed extra arguments (7.7737446446742396e-270,)
Odd, yes?
- --
Troy Melhase, troy at gci.net
- --
When Christ calls a man, he bids him come and die. - Dietrich Bonhoeffer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAo9LOY7QSTRCBoM4RAiJaAJsECbQ/8nQap648M4b+DAg0vXLK/ACfbMk+
KrPjsmyoVVkfvTfeXRVr6Jc=
=nZuD
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: funkydialogslots.py
Type: application/x-python
Size: 2080 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20040513/f5cb9701/funkydialogslots-0001.bin
-------------- next part --------------
-------------- next part --------------
More information about the PyQt
mailing list