Re: [PyKDE] Auto-connecting Slots

2006-01-27 Thread Jim Bublitz
On Friday 27 January 2006 16:31, Giovanni Bajo wrote: > Phil Thompson <[EMAIL PROTECTED]> wrote: > > The QtCore.signature() decorator takes a single argument which is, in > > effect, the C++ signature of the method which tells the auto-connect > > code which signal to connect. For example... > > >

Re: [PyKDE] Auto-connecting Slots

2006-01-27 Thread Giovanni Bajo
Phil Thompson <[EMAIL PROTECTED]> wrote: > The QtCore.signature() decorator takes a single argument which is, in > effect, the C++ signature of the method which tells the auto-connect > code which signal to connect. For example... > > @QtCore.signature("on_spinbox_valueChanged(int)") > def

Re: [PyKDE] Auto-connecting Slots

2006-01-27 Thread Patrick K. O'Brien
Patrick K. O'Brien wrote: > Andreas Pakulat wrote: > >> then the longer version would IMHO be better as you can directly see >> which slot is meant. > > Anything longer than necessary is redundant, imo. > >> BTW: Will this also solve "issues" like the clicked()-signal from >> QAbstractButton? So

Re: [PyKDE] Auto-connecting Slots

2006-01-27 Thread Patrick K. O'Brien
Andreas Pakulat wrote: > On 27.01.06 22:46:29, Phil Thompson wrote: >> On Friday 27 January 2006 8:10 pm, Patrick K. O'Brien wrote: >>> Phil Thompson wrote: Tonight's PyQt4 snapshot implements Torsten's suggestion for using a decorator to control which signal/slot connections are made whe

Re: [PyKDE] Auto-connecting Slots

2006-01-27 Thread Andreas Pakulat
On 27.01.06 22:46:29, Phil Thompson wrote: > On Friday 27 January 2006 8:10 pm, Patrick K. O'Brien wrote: > > Phil Thompson wrote: > > > Tonight's PyQt4 snapshot implements Torsten's suggestion for using a > > > decorator to control which signal/slot connections are made when pyuic4 > > > auto-conn

Re: [PyKDE] Auto-connecting Slots

2006-01-27 Thread Ismail Donmez
Cts 28 Oca 2006 00:46 tarihinde, Phil Thompson şunları yazmıştı: > On Friday 27 January 2006 8:10 pm, Patrick K. O'Brien wrote: > > Phil Thompson wrote: > > > Tonight's PyQt4 snapshot implements Torsten's suggestion for using a > > > decorator to control which signal/slot connections are made when

Re: [PyKDE] Auto-connecting Slots

2006-01-27 Thread Phil Thompson
On Friday 27 January 2006 8:10 pm, Patrick K. O'Brien wrote: > Phil Thompson wrote: > > Tonight's PyQt4 snapshot implements Torsten's suggestion for using a > > decorator to control which signal/slot connections are made when pyuic4 > > auto-connects. > > > > The problem is best demonstrated by QSp

Re: [PyKDE] Auto-connecting Slots

2006-01-27 Thread Patrick K. O'Brien
Phil Thompson wrote: > Tonight's PyQt4 snapshot implements Torsten's suggestion for using a > decorator > to control which signal/slot connections are made when pyuic4 auto-connects. > > The problem is best demonstrated by QSpinBox which emits > valueChanged(QString) > and valueChanged(int). D

[PyKDE] Auto-connecting Slots

2006-01-27 Thread Phil Thompson
Tonight's PyQt4 snapshot implements Torsten's suggestion for using a decorator to control which signal/slot connections are made when pyuic4 auto-connects. The problem is best demonstrated by QSpinBox which emits valueChanged(QString) and valueChanged(int). Defining an auto-connect method on_sp

Re: [PyKDE] automatic slots and subclassing

2006-01-27 Thread Phil Thompson
On Thursday 26 January 2006 6:26 pm, Andreas Pakulat wrote: > Hi, > > another thing I found with automatic slots: It seems they do not work > when subclassing: > > class parentWidget(QtGui.QWidget): > def __init__(self): > QtGui.QWidget.__init__(self) > def on_pushButton_c

Re: [PyKDE] qscintilla 1.65 make problems

2006-01-27 Thread Phil Thompson
On Friday 27 January 2006 3:35 pm, Scott Rifkin wrote: > I am trying to install eric3 and need to install qt, qscintilla, sip , > and pyqt beforehand. I can't run as root. I'm running Red Hat > Enterprise Linux AS release 3 (Taroon Update 6). > > > I installed Qt 4.1.0 in a directory under my hom

[PyKDE] qscintilla 1.65 make problems

2006-01-27 Thread Scott Rifkin
I am trying to install eric3 and need to install qt, qscintilla, sip , and pyqt beforehand. I can't run as root. I'm running Red Hat Enterprise Linux AS release 3 (Taroon Update 6). I installed Qt 4.1.0 in a directory under my home directory ~/local/Trolltech/Qt-4.1.0 and that worked. I unp

Re: [PyKDE] eric3 Configuration option for pyuic4 [was: Configuration for pyuic4]

2006-01-27 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Detlev Offenbach schrieb: > Am Donnerstag, 26. Januar 2006 10:49 schrieb Andreas Pakulat: > >>On 26.01.06 10:15:44, Detlev Offenbach wrote: >> >>>Am Mittwoch, 25. Januar 2006 19:42 schrieb Andreas Pakulat: >>> On 25.01.06 19:22:17, Andreas Pakulat

Re: [PyKDE] 2 Bugs in pyuic for custom widgets

2006-01-27 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Pakulat schrieb: > Hi, > > first I thought you forgot my "fixes" for making custom widgets work. > However you just implemented them in a better way. > > Problem is: Both "fixes" don't work anymore :-( > > The first one is trivial: I used re

Re: [PyKDE] 2 Bugs in pyuic for custom widgets

2006-01-27 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Pakulat schrieb: > Hi, > > first I thought you forgot my "fixes" for making custom widgets work. > However you just implemented them in a better way. > > Problem is: Both "fixes" don't work anymore :-( > > The first one is trivial: I used re

Re: [PyKDE] Installing eric3 on Ubuntu

2006-01-27 Thread Fabio Spelta
> think you missed python-qtext package? No, it's installed: [EMAIL PROTECTED] # apt-get install python-qtext Reading package lists... Done Building dependency tree... Done python-qtext is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. -- Fabio __