Re: [PyKDE] Proper way to show multiple windows?

2003-01-25 Thread Ingo Krabbe
On Sat, Jan 25, 2003 at 07:30:43AM -0800, star gazer wrote: > Ken, > > I did the isModal() check and it returned 0 but using > nw.show() does not leave the window up it just flashes > away. If I use nw.exec_loop() then the window stays > up but I can't open another on. This was so easy to > do

Re: [PyKDE] Now tackle dtor strangeness

2003-01-25 Thread Phil Thompson
On Saturday 25 January 2003 11:07 pm, Hans-Peter Jansen wrote: > On Saturday 25 January 2003 17:02, Phil Thompson wrote: > > Thanks for putting the effort into this - it was very helpful. The bug is > > that qspinbox.sip should say... > > > > bool eventFilter(QObject *,QEvent *); > > > > ...instead

[PyKDE] Now tackle dtor strangeness

2003-01-25 Thread Hans-Peter Jansen
On Saturday 25 January 2003 17:02, Phil Thompson wrote: > > Thanks for putting the effort into this - it was very helpful. The bug is > that qspinbox.sip should say... > > bool eventFilter(QObject *,QEvent *); > > ...instead of... > > void eventFilter(QObject *,QEvent *); > > It will be fixed in to

Re: [PyKDE] Problem building PyQt-x11-gpl-snapshot-20030120

2003-01-25 Thread gvermeul
Did you try some of the examples that come with PyQt? The next problem may be that a static library got stripped of all its symbols: it is called something like libqassistant.a. Test it from your python interpreter: import qt. If it complains about Assistant related stuff, you have to search thi

Re: [PyKDE] Problem building PyQt-x11-gpl-snapshot-20030120

2003-01-25 Thread Laurent Rathle
Le Samedi 25 Janvier 2003 10:39, Gerard Vermeulen a écrit : > Please read README.Linux and check if it applies to your Mandrake > distribution. Does your compiler complain about missing header files? Try > to stuff the -Wall flag in the makefiles. I found that it does'nt apply. So the compilation

Re: [PyKDE] sip macro expansion

2003-01-25 Thread Phil Thompson
On Saturday 25 January 2003 4:13 pm, Michael Lauer wrote: > Hi Phil, > > is it possible to escape a '$' as part of a sip .pro-file template? > E.g. if I want to have a line like LIBS = $$(PRESIP_LIBS) > (which is a valid qmake construct) to appear in my .pro file, sip > swallows the first $ because

Re: [PyKDE] Proper way to show multiple windows?

2003-01-25 Thread Boudewijn Rempt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 25 January 2003 16:30, star gazer wrote: > Ken, > > I did the isModal() check and it returned 0 but using > nw.show() does not leave the window up it just flashes > away. If I use nw.exec_loop() then the window stays > up but I can't open

[PyKDE] sip macro expansion

2003-01-25 Thread Michael Lauer
Hi Phil, is it possible to escape a '$' as part of a sip .pro-file template? E.g. if I want to have a line like LIBS = $$(PRESIP_LIBS) (which is a valid qmake construct) to appear in my .pro file, sip swallows the first $ because of the macro expansion. If I try with $$$(PRESIP_LIBS) it complains

Re: [PyKDE] Next attempt to tackle QSpinBox strangeness

2003-01-25 Thread Phil Thompson
On Friday 24 January 2003 1:43 pm, Hans-Peter Jansen wrote: > On Thursday 23 January 2003 19:46, me wrote: > > Problem: reimplemented QSpinBox don't get focus events and doesn't behave > > correctly on up/down cursor key events (value doesn't change). > > Also, manually editing the QSpinBox value d

Re: [PyKDE] Proper way to show multiple windows?

2003-01-25 Thread star gazer
Ken, I did the isModal() check and it returned 0 but using nw.show() does not leave the window up it just flashes away. If I use nw.exec_loop() then the window stays up but I can't open another on. This was so easy to do in wxpython. It must be as easy here I just can't figure it out SG ---

Re: [PyKDE] How to add more widgets to a QScrollView once the exec_loop start s?

2003-01-25 Thread Phil Thompson
On Wednesday 22 January 2003 4:55 pm, Tuvi, Selim wrote: > Hi, I am developing an application that has a QScrollView widget in it. The > QScrollView widget has a QVBox in which I add more widgets. When I > initially add the widgets before the "exec_loop" starts I can see what I > added on the scree

Re: [PyKDE] python threads and qt

2003-01-25 Thread Phil Thompson
On Thursday 23 January 2003 2:17 am, ranto wrote: > I have been looking for information on using python threads and qt > widgets. The main question i couldnt get to solve is: can i emit a > signal from a thread that is going to be received in another? for > example, the main part of my program code

Re: [PyKDE] Inheritance not supported?

2003-01-25 Thread Phil Thompson
On Thursday 23 January 2003 1:52 pm, marvelan L wrote: > Hi, > > I'm trying to use my own subclassed QPixmap in a QComboBox. But it > seems that the QComboBox.pixmap method just returns the base class > and not my sub class! > > Does not PyQt support the use of subclassed Qt objects? Yes it does.

Re: [PyKDE] Problem building PyQt-x11-gpl-snapshot-20030120

2003-01-25 Thread Gerard Vermeulen
On Sat, Jan 25, 2003 at 12:24:14AM +0100, Laurent Rathle wrote: > Le Vendredi 24 Janvier 2003 19:31, Phil Thompson a ?crit : > > Are you also using the latest SIP snapshot? > > I've installed it, but now make complains : > > In file included from sipqtQCDEStyle.h:31, > from qtcmo