[PyQt] Compiling elements of qt interface into one proper interface

2009-01-12 Thread Waseem Bourgi
hello folks; i am building my application interface using pyqt and already got a very good tutorial to do that but the tutorial does that piece by piece like building all the elements of the interface separately and i got no clue on how i can get them all together in a proper interface. i am

[PyQt] Compiling elements of qt interface into one proper interface

2009-01-12 Thread Waseem Bourgi
hello folks; I am building my application interface using pyqt and already got a very good tutorial to do that but the tutorial does that piece by piece like building all the elements of the interface separately and i got no clue on how i can get them all together in a proper interface. i am

[PyQt] Moltiple_selection

2009-01-12 Thread lucabe...@libero.it
Hello I have made a groupBox with 3 radioButton, how i can make that more than one radio button can be selected. Regards Luca ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Moltiple_selection

2009-01-12 Thread İsmail Dönmez
Hi, On Mon, Jan 12, 2009 at 16:08, lucabe...@libero.it lucabe...@libero.it wrote: Hello I have made a groupBox with 3 radioButton, how i can make that more than one radio button can be selected. Radio buttons are exclusive by default, try using checkboxes. Regards, ismail

[PyQt] PyQT | QT4-X11

2009-01-12 Thread Jelle
Hi, I'm porting a unix x11 app to OSX, and I'm curious if PyQT supports the QT4-X11 version too? Many thanks in advance, -jelle ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Moltiple_selection

2009-01-12 Thread Lukas
Hello Luca, Hello I have made a groupBox with 3 radioButton, how i can make that more than one radio button can be selected. Have a look at http://doc.trolltech.com/4.4/qabstractbutton.html#autoExclusive-prop autoExclusive : bool This property holds whether auto-exclusivity is enabled.

Re: [PyQt] PyQT | QT4-X11

2009-01-12 Thread Phil Thompson
On Mon, 12 Jan 2009 15:24:30 + (UTC), Jelle jelleferi...@gmail.com wrote: Hi, I'm porting a unix x11 app to OSX, and I'm curious if PyQT supports the QT4-X11 version too? Many thanks in advance, Not officially. You'd probably have to hack at the configuration/build process a little.

Re: [PyQt] PyQT | QT4-X11

2009-01-12 Thread piotr maliński
If you make a Python/PyQt4 application then on OSX it won't need X server 2009/1/12 Jelle jelleferi...@gmail.com Hi, I'm porting a unix x11 app to OSX, and I'm curious if PyQT supports the QT4-X11 version too? Many thanks in advance, -jelle

[PyQt] Re: PyQT | QT4-X11

2009-01-12 Thread Jelle
Hi Piotr, If you make a Python/PyQt4 application then on OSX it won't need X server True, but from what I've understood so far, based on: http://qtocc.wiki.sourceforge.net/opencascade_osx At the moment, it seems to be impossible to use OpenCASCADE outside of the X11 system. Which suggests that

[PyQt] Re: PyQT | QT4-X11

2009-01-12 Thread Jelle
Not officially. You'd probably have to hack at the configuration/build process a little. Many thanks Phil. Have you got experience running PyQT on QT4-X11? Have you got perhaps some notion on what mileage could one expect trying this? Many thanks, -jelle

Re: [PyQt] Re: PyQT | QT4-X11

2009-01-12 Thread Phil Thompson
On Mon, 12 Jan 2009 15:55:08 + (UTC), Jelle jelleferi...@gmail.com wrote: Not officially. You'd probably have to hack at the configuration/build process a little. Many thanks Phil. Have you got experience running PyQT on QT4-X11? Some time ago. Have you got perhaps some notion on what

[PyQt] Re: PyQT | QT4-X11

2009-01-12 Thread Jelle
The first this to do is to is configure sip with -p darwin-g++. If you are really lucky then just configure and build the X11 version of PyQt. Thanks so much for your feedback Phil, much appreciated! -jelle ___ PyQt mailing list

[PyQt] QMessagebox in slot terminates application

2009-01-12 Thread Tim Hoffmann
I write an application with a trayicon as main interface. When I popup a QMessageBox in a slot, the application terminates after closing the box. I have no idea why. Termination is regular (exit code 0 and no exception is raised). However, if I make the widget visible (uncommenting self.show()

Re: [PyQt] QMessagebox in slot terminates application

2009-01-12 Thread Marc Nations
Why are you calling the exec_() function from inside the sys.exit() call? From the way it's programmed, it looks like sys.exit() will execute and hold until it gets a result back from the MessageBox called inside the tray icon. At that point it's going to exit using the result as it's argument.

Re: [PyQt] QMessagebox in slot terminates application

2009-01-12 Thread Darryl Wallace
Marc Nations wrote: Why are you calling the exec_() function from inside the sys.exit() call? From the way it's programmed, it looks like sys.exit() will execute and hold until it gets a result back from the MessageBox called inside the tray icon. At that point it's going to exit using the

[PyQt] print a tableview

2009-01-12 Thread lucabe...@libero.it
Can you tell me the best way for print a tableview the only way that i know is to draw all with qpainter and than print in pdf but maybe there is a best way? Thanks Luca ___ PyQt mailing listPyQt@riverbankcomputing.com

Re: [PyQt] print a tableview

2009-01-12 Thread dboddie
On Mon Jan 12 16:53:02 GMT 2009, lucaberto wrote: Can you tell me the best way for print a tableview the only way that i know is to draw all with qpainter and than print in pdf but maybe there is a best way? That may work quite well. An alternative is to create a text document using the data

Re: [PyQt] QMessagebox in slot terminates application

2009-01-12 Thread Marc Nations
Yeah, that's more correct. Since the MessageBox is being called indirectly the actual value it returns isn't being utilized. Although now I'm a little confused as to why the app is even returning a value when the MessageBox is closed. Even if you take sys.exit() out and just print out the value

Re: [PyQt] QMessagebox in slot terminates application

2009-01-12 Thread Darryl Wallace
Hello, Although now I'm a little confused as to why the app is even returning a value when the MessageBox is closed. Even if you take sys.exit() out and just print out the value the app returns, it will still exit. Basically the whole app acts like a DialogBox that gets triggered by the

Re: [PyQt] QMessagebox in slot terminates application

2009-01-12 Thread Darryl Wallace
Tim, This is the more accurate explanation I was looking for! darryl Tim Hoffmann wrote: Marc Nations schrieb: Yeah, that's more correct. Since the MessageBox is being called indirectly the actual value it returns isn't being utilized. Although now I'm a little confused as to why the app is

[PyQt] GIF support missing on windows?

2009-01-12 Thread piotr maliński
I have an application for a web game, which displays for example equipment icons. The problem is that on Windows it can't show the icons - GIF. When I change them to PNG - works. The same for QWebView - GIF are not displayed. Is there a solution for this?

[PyQt] PyQt: Internet rendering

2009-01-12 Thread Matt Smith
Recently I've become exposed to Silverlight or the moonlight version for linux. I was curious if there is any plans on supporting it with QWebKit. The main idea that I like is the possiblity of writing the code in python to develop flash/java applet type programs, but as of now that is not

Re: [PyQt] PyQt: Internet rendering

2009-01-12 Thread piotr maliński
Webkit in Qt 4.5 will support browser plugins - so flash, silverlight, and others will available. 2009/1/12, Matt Smith mel...@orangepalantir.org: Recently I've become exposed to Silverlight or the moonlight version for linux. I was curious if there is any plans on supporting it with