Re: [PyQt] Dock widgets and window's lost of focus.

2008-04-03 Thread IloChab
2008/3/26, IloChab [EMAIL PROTECTED]: I designed a main window that contains 1 tableView and 3 dockWidgets. If I use it on top of other windows, it works fine. If I let it under other windows, when recall it on top, I find the 3 dockWidget gone (they automatically closed), and if I reopen

Re: [PyQt] Proposed fix for rare-used types of properties in the uic module

2008-04-03 Thread Phil Thompson
On Tuesday 25 March 2008, Vsevolod Novikov wrote: Hello All, I've found that uic module doesn't recognize some rare-used types of properties (which can be added as dynamic properties in the designer): - StringList - Char - UInt - LongLong - ULongLong - SizeF - Point

[PyQt] Re: [PyKDE] KConfigSkeleton/KConfigDialog combo not working

2008-04-03 Thread Jim Bublitz
On Thursday 27 March 2008 08:32, Adeodato Simó wrote: Hello. I'm having trouble porting my PyKDE3 KConfigSkeleton/KConfigDialog: it behaves weird in KDE4. I'm attaching a very small sample program. The weird behavior I'm observing is: (a) on the first run, when no testrc file exists

Re: [PyQt] dbus and PyKDE

2008-04-03 Thread Phil Thompson
On Thursday 27 March 2008, Jonathan Riddell wrote: I'm trying to get a printer applet into KDE (see kde-core-devel), however I can't actually use pyKDE because oxygen style and KApplication load QtDbus which causes the application to freeze when I'm using python-dbus. For example this app

Re: [PyQt] PyKDE4-4.0.2-1 release available

2008-04-03 Thread Jim Bublitz
On Friday 21 March 2008 11:24, Danny Pansters wrote: I've been trying to get this to build on FreeBSD, but the build fails with both gcc34 and gcc42: Sorry for the slow response - my email to Phil got delayed by a screwup in my mail system. Phil noticed that the methods in the error output

[PyQt] Re: [PyKDE] KConfigSkeleton/KConfigDialog combo not working

2008-04-03 Thread Jim Bublitz
On Thursday 27 March 2008 08:32, Adeodato Simó wrote: Hello. I'm having trouble porting my PyKDE3 KConfigSkeleton/KConfigDialog: it behaves weird in KDE4. I'm attaching a very small sample program. The weird behavior I'm observing is: (a) on the first run, when no testrc file exists

Re: [PyQt] Nullable foreign keys

2008-04-03 Thread Simone
Catriona Johnson ha scritto: My question is how do I handle nullable foreign keys? If foreign key is null it is not being displayed in the QTableView and there seems to be no way of having a null value in a combo box apart from having a 'Null' record which I don't really want to do. I solve

[PyQt] Re: [PyKDE] KConfigSkeleton/KConfigDialog combo not working

2008-04-03 Thread Adeodato Simó
* Jim Bublitz [Fri, 28 Mar 2008 15:56:25 -0800]: OK - I figured out what's wrong. Now I have to figure out how I want to fix it permanently (affects most of the KConfigSkeletonItem subclasses - Item*) I should have a new release up sometime next week. Ooh, these are excellent news,

Re: [PyQt] PyKDE4-4.0.2-1 release available

2008-04-03 Thread Danny Pansters
On Friday 28 March 2008 19:50:04 Jim Bublitz wrote: On Friday 21 March 2008 11:24, Danny Pansters wrote: I've been trying to get this to build on FreeBSD, but the build fails with both gcc34 and gcc42: Sorry for the slow response - my email to Phil got delayed by a screwup in my mail

Re: [PyQt] PyKDE4-4.0.2-1 release available

2008-04-03 Thread Jim Bublitz
On Saturday 29 March 2008 09:25, you wrote: On Friday 28 March 2008 19:50:04 Jim Bublitz wrote: On Friday 21 March 2008 11:24, Danny Pansters wrote: I've been trying to get this to build on FreeBSD, but the build fails with both gcc34 and gcc42: Sorry for the slow response - my email

Re: [PyQt] Two problems with QSystemTrayIcon

2008-04-03 Thread Adam Batkin
I know it's been a while since you posted (and even long since I've read the list archives), so maybe you have figured this out already, but just in case (and so future folks can Google it)... In order to make the tray icon disappear properly, you need to call hide() or setVisible(False) on

Re: [PyQt] dbus and PyKDE

2008-04-03 Thread Jim Bublitz
On Thursday 27 March 2008 10:11, Jonathan Riddell wrote: I'm trying to get a printer applet into KDE (see kde-core-devel), however I can't actually use pyKDE because oxygen style and KApplication load QtDbus which causes the application to freeze when I'm using python-dbus. For example this

Re: [PyQt] error building PyKDE 4.0.2-1 - QTDIR not respected

2008-04-03 Thread Darren Dale
On Monday 24 March 2008 12:43:34 pm Jim Bublitz wrote: On Monday 24 March 2008 07:31, Giacomo Lacava wrote: Hi, I can't build PyKDE 4.0.2-1, even though KDE 4.0.2 is installed. It seems it cannot find the Qt include files, even though QTDIR is set to a symbolic link

Re: [PyQt] dbus and PyKDE

2008-04-03 Thread Jim Bublitz
On Thursday 27 March 2008 10:11, Jonathan Riddell wrote: I'm trying to get a printer applet into KDE (see kde-core-devel), however I can't actually use pyKDE because oxygen style and KApplication load QtDbus which causes the application to freeze when I'm using python-dbus. For example this

Re: [PyQt] PyKDE4-4.0.2-1 release available

2008-04-03 Thread Danny Pansters
On Friday 28 March 2008 19:50:04 Jim Bublitz wrote: On Friday 21 March 2008 11:24, Danny Pansters wrote: I've been trying to get this to build on FreeBSD, but the build fails with both gcc34 and gcc42: Sorry for the slow response - my email to Phil got delayed by a screwup in my mail

Re: [PyQt] dbus and PyKDE

2008-04-03 Thread Jim Bublitz
On Thursday 27 March 2008 10:11, Jonathan Riddell wrote: I'm trying to get a printer applet into KDE (see kde-core-devel), however I can't actually use pyKDE because oxygen style and KApplication load QtDbus which causes the application to freeze when I'm using python-dbus. For example this

[PyQt] How to prevent a QDialog being resized?

2008-04-03 Thread Kelie
Hello, My question is as subject. I tried setMaximumSize, setMaximumHeight, setMaximumWidth, etc. and could not get it right. Thanks. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] dbus and PyKDE

2008-04-03 Thread David Boddie
On Thu Mar 27 17:11:52 GMT 2008, Jonathan Riddell wrote: I'm trying to get a printer applet into KDE (see kde-core-devel), however I can't actually use pyKDE because oxygen style and KApplication load QtDbus which causes the application to freeze when I'm using python-dbus. Can you post a

Re: [PyQt] dbus and PyKDE

2008-04-03 Thread Jonathan Riddell
On Sat, Mar 29, 2008 at 09:18:00PM -0800, Jim Bublitz wrote: On Thursday 27 March 2008 10:11, Jonathan Riddell wrote: I'm trying to get a printer applet into KDE (see kde-core-devel), however I can't actually use pyKDE because oxygen style and KApplication load QtDbus which causes the

Re: [PyQt] dbus and PyKDE

2008-04-03 Thread Jonathan Riddell
On Sun, Mar 30, 2008 at 08:12:07PM -0800, Jim Bublitz wrote: On Thursday 27 March 2008 10:11, Jonathan Riddell wrote: I'm trying to get a printer applet into KDE (see kde-core-devel), however I can't actually use pyKDE because oxygen style and KApplication load QtDbus which causes the

[PyQt] KProcess setUsePty not there...

2008-04-03 Thread Wilbert Berendsen
Hi, I want to run a program that insists on reading from a terminal using KProcess (from within PyKDE), but it seems KProcess::setUsePty() does not exist: Python 2.5.1 (r251:54863, Mar 26 2008, 22:37:08) [GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2 Type help, copyright, credits or license for

[PyQt] Question on QListWidget's selectedItems Method

2008-04-03 Thread Kelie
Hello group, I asked a couple of questions about PyQt on the CLP mailing list, but didn't get an answer. Can some please take a look? http://groups.google.com/group/comp.lang.python/browse_thread/thread/087d5cacaa3e2bbb/826adf752bb41c7e#826adf752bb41c7e Thank you!

[PyQt] SIP: Subclassing QMdiSubWindow

2008-04-03 Thread Florian Kamm
Hi, the QtiPlot project actually uses pyQt and SIP for its python bindings. Among others, the 'Table' class is prepared to be accessed from python. It inherits from QMdiSubWindow and another class not related to Qt. The code below creates a new Table instance, but obviously python supposes it

Re: [PyQt] Regression in sip 4.7.4 sip: QPixmap has not been defined

2008-04-03 Thread Adam C Powell IV
Hello and apologies for the delay, On Tue, 2008-03-25 at 09:11 +, Phil Thompson wrote: On Monday 24 March 2008, Adam C Powell IV wrote: Greetings, I am trying to build the Salomé suite from http://www.salome-platform.org/ which built just fine with sip 4.7.3 but now is not working

Re: [PyQt] KProcess setUsePty not there...

2008-04-03 Thread Jim Bublitz
On Wednesday 02 April 2008 08:00, Wilbert Berendsen wrote: Hi, I want to run a program that insists on reading from a terminal using KProcess (from within PyKDE), but it seems KProcess::setUsePty() does not exist: Python 2.5.1 (r251:54863, Mar 26 2008, 22:37:08) [GCC 4.1.2 (Gentoo 4.1.2