[PyQt] Message boxes or OSD

2007-11-20 Thread Nahuel Defossé
Hi List, I'm creating a little app which monitors file system alterations using pyinotify. It works, but notifications are made with kde's kdialog, with the --passivepopup dialog, and popen. I wonder if I could make nice notifications similar to kdialog's or maybe something like amarok osd. I th

[PyQt] QT Vs. usp10.dll 1.0626

2007-11-20 Thread hok kakada
Dear All, On WindowsXP, I have problem with importing pyqt4 (I am using qt 4.2.2) if I use with usp10.dll file version 1.0626, but it is ok with other versions of usp10.dll. It also works on Windows Vista with usp10.dll file version 1.0626. Here is the error message: from PyQt4 import QtGui Tra

Re: [PyQt] dictionary signal

2007-11-20 Thread Linos
Phil Thompson escribió: > On Tuesday 20 November 2007, Linos wrote: >> Hello, >> i want to emit a signal from a dialog that contains a dictionary (i >> would >> like to do with a qt class but QMap dont seems to be in PyQt, almost this >> "test = QMap()" doesnt works), i know i can pass a pyth

Re: [PyQt] dictionary signal

2007-11-20 Thread Phil Thompson
On Tuesday 20 November 2007, Linos wrote: > Hello, > i want to emit a signal from a dialog that contains a dictionary (i > would > like to do with a qt class but QMap dont seems to be in PyQt, almost this > "test = QMap()" doesnt works), i know i can pass a python dictionary in a > short-cir

Re: [PyQt] PyKDE installation error

2007-11-20 Thread Hans-Peter Jansen
Am Dienstag, 20. November 2007 schrieb [EMAIL PROTECTED]: > python configure.py > > PyKDE version 3.16.0 >--- > > Python include directory is /usr/local/include/python2.5 > Python version is 2.5.1 > > sip version is 4.6 (4.6.0) > > Qt directory is /usr/local/Trolltech/Qt-4.2.3

[PyQt] dictionary signal

2007-11-20 Thread Linos
Hello, i want to emit a signal from a dialog that contains a dictionary (i would like to do with a qt class but QMap dont seems to be in PyQt, almost this "test = QMap()" doesnt works), i know i can pass a python dictionary in a short-circuit signal but i would like to send with a qvarian

Re: [PyQt] Custom widgets, dynamic properties and css

2007-11-20 Thread Richard Smith
Mark Summerfield wrote: > I think for styles you must call setStyle() rather than update() to > apply a new (or modified) style. Nope, that segfaulted... It did update the style before it segfaulted though. I've also tried setting the property using a QtCore.pyqtProperty() and various methods sti

[PyQt] PyKDE installation error

2007-11-20 Thread Patrice . Perez
python configure.py PyKDE version 3.16.0 --- Python include directory is /usr/local/include/python2.5 Python version is 2.5.1 sip version is 4.6 (4.6.0) Qt directory is /usr/local/Trolltech/Qt-4.2.3 Qt version is 4.2.3 PyQt directory is /usr/local/share/sip/PyQt4 PyQt versi

Re: [PyQt] Custom widgets, dynamic properties and css

2007-11-20 Thread Mark Summerfield
On 2007-11-20, Richard Smith wrote: > Hi Guys, > > I've created a custom widget for an application I'm building. > > The widget is a simple frame with 2 labels inside it. > > Basically, I need the frame style to change dependant on a property of > the custom widget. I've set the property using .set

[PyQt] Custom widgets, dynamic properties and css

2007-11-20 Thread Richard Smith
Hi Guys, I've created a custom widget for an application I'm building. The widget is a simple frame with 2 labels inside it. Basically, I need the frame style to change dependant on a property of the custom widget. I've set the property using .setProperty() method, and the initial style of the w

[PyQt] Tr : PyKDE Error

2007-11-20 Thread Patrice . Perez
Patrice PEREZ FRESENIUS-KABI 56 Grand Chemin 38590 Brezins tel :+(33)0476671010 - Réacheminé par Patrice Perez/EN/BR/FR/HHC/Fresenius le 20/11/2007 10:40 - Patrice Perez 20/11/2007 09:47 Pour : [EMAIL PROTECTED] cc : Objet : PyKDE Error Hello, I have this er

[PyQt] Tr : PyKDE Error

2007-11-20 Thread Patrice . Perez
- Réacheminé par Patrice Perez/EN/BR/FR/HHC/Fresenius le 20/11/2007 10:04 - Patrice Perez 20/11/2007 09:47 Pour : [EMAIL PROTECTED] cc : Objet : PyKDE Error Hello, I have this error when trying to install PyKDE. For your information, I installed ERIC4 and ha

Re: [PyQt] strange extra spacing between checkboxes

2007-11-20 Thread Mark Summerfield
On 2007-11-20, Shriramana Sharma wrote: > Mark Summerfield wrote: > > height = QFontMetrics(window.font()).height() > > checkboxes[i].setMaximumHeight(height) > > checkboxes[i].setMinimumHeight(height) > > Thanks. Adding these lines corrected the problem. > > > Note that this might