[PyQt] Error in example script

2009-09-08 Thread Mads Ipsen
The OpenGL example script 'samplebuffers.py' will fail when reaching the blocks: 'if not QtOpenGL.QGLFormat.hasOpenGL(): QMessageBox.information(None, "OpenGL samplebuffers", "This system does not support OpenGL.") sys.exit(0) and if not widget.format().samp

[PyQt] Re: GroupBox

2009-09-08 Thread Taylor Carrasco
This has nothing to do with Tables haha - sorry. On Wed, Sep 9, 2009 at 3:35 PM, Taylor Carrasco wrote: > In Python and Pyqt - I've got a simple class which instantiates a Label > class and a GroupBox class. > > Should passing the Groupbox to the Label upon creation should make the > Groupbox the

[PyQt] QTableView

2009-09-08 Thread Taylor Carrasco
In Python and Pyqt - I've got a simple class which instantiates a Label class and a GroupBox class. Should passing the Groupbox to the Label upon creation should make the Groupbox the parent of Label? When I create the GroupBox it's fine, when I create the Label however - it appears distorted (or

[PyQt] QtGui is hiding hard!

2009-09-08 Thread Mike Vasiljevs
It seems to be peculiar, whatever I do i cannot seem to compile QtGui... QtCore is installed ok as well as a number of its useless friends, QtXml, QtWebkit, QtNetwork etc. even when after compiling and building PyQt4 in consolidated mode (- g) python can never find QtGui and can always find Qt

Re: [PyQt] building QfMacNavBar on windows

2009-09-08 Thread Anil
On Wed, 9 Sep 2009 12:37:49 am you wrote: > pyqt@riverbankcomputing.com > Thank you Alexi, Looks like exactly what I wanted. -- -- Regards, Anil K Thankappan ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/

Re: [PyQt] QtSQL cant connect using MySQL driver

2009-09-08 Thread Scott Ballard
Information from ESET NOD32 Antivirus, version of virus signature database 4396 (20090904) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus signature database 4407 (20090908)

Re: [PyQt] Building OSX universal Sip and PyQt packages

2009-09-08 Thread projetmbc
Cezary Krzyżanowski a écrit : It would be even nicer if binary distributions of PyQt and Sip would be available on the website, so compound with the UB build of Qt for Mac a developer would have instantly a toolchain for building and shipping UB apps. Yes it would be very great because compilin

Re: [PyQt] QtSQL cant connect using MySQL driver

2009-09-08 Thread Phil Thompson
On Tue, 08 Sep 2009 08:48:53 -0700, Scott Ballard wrote: > Thanks for the response Phil! Forgive my ignorance but does it assume > the default path to the MySQL client libraries or can that path be set? I'm > wondering if I can get this working with Wamp which has a different MySQL > install path.

Re: [PyQt] QtSQL cant connect using MySQL driver

2009-09-08 Thread Scott Ballard
Thanks for the response Phil! Forgive my ignorance but does it assume the default path to the MySQL client libraries or can that path be set? I'm wondering if I can get this working with Wamp which has a different MySQL install path Or do the MysSQL libraries need to be install in the Qt di

Re: [PyQt] Next Releases of PyQt and SIP

2009-09-08 Thread Phil Thompson
On Tue, 08 Sep 2009 10:37:36 -0400, Matt Smith wrote: > I am at home using the most recent version of pyqt and sip (20090906) > that I compiled on linux amd64. I am using Qt 4.5.0 that comes with > ubuntu 9.04. The example that I sent does not work because the > "finished()" never gets emitted if

Re: [PyQt] Is this possible using pyqt?

2009-09-08 Thread Kovid Goyal
Use python-mechanize. Kovid. On Mon, Sep 07, 2009 at 12:30:22PM +0100, jim biri wrote: > Hi, > Wonder if anyone can help. > I'm looking to build a simple command line appln that logs into a website > (following redirects, using SSL), and clicks on a download link to download > some files. Nothing

[PyQt] re: building QfMacNavBar on windows

2009-09-08 Thread Victor Noagbodji
wow, thanks Alexei. i was going through the process of installing sip, mingw32, qt, etc... then i saw your reply and it just worked. i was also interested in that mac nav bar. -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.co

Re: [PyQt] building QfMacNavBar on windows

2009-09-08 Thread Alexei Puzikov
Anil, I have a Python translation at http://code.google.com/p/cutebookshelf/source/browse/trunk/navbar.py Hope this helps Alexei On Tue, Sep 8, 2009 at 12:59 PM, Anil Kumar wrote: > Hi, > Anybody successfully built QfMacNavBar from http://code.google.com/p/pyqt4- > extrawidgets/ on windows? > I

Re: [PyQt] Next Releases of PyQt and SIP

2009-09-08 Thread Matt Smith
I am at home using the most recent version of pyqt and sip (20090906) that I compiled on linux amd64. I am using Qt 4.5.0 that comes with ubuntu 9.04. The example that I sent does not work because the "finished()" never gets emitted if I include the 'deleteLater' call. I do not have dbus if tha

[PyQt] problems compiling

2009-09-08 Thread Mike Vasiljevs
macports version is messed up when dealing with licenses (though i've never requested anything commercial, GPL is good enough for me!) but sources from the site did not ask for any licenses (http:// www.riverbankcomputing.co.uk/software/pyqt/download) Stable package does not compile because

Re: [PyQt] handling Enter in a qtextedit?

2009-09-08 Thread Lukas Hetzenecker
Hello, i attatched a small example, if you need more informations just mail me. Am Dienstag 08 September 2009 13:03:01 schrieben Sie: > hi, thanks!i'm interested in what you said about the event filter. i don't > like having to subclass some things while for other things i can just use > signals

[PyQt] Snow Leopard

2009-09-08 Thread Xiao Yu
Hi, Sorry I'm a bit of a n00b when it comes to this. What are we to compile in i386? Since configure.py says the x86_64 is missing from Qt Core, I'm guessing I'd have to set up PyQt in 32 bits? How do I do that exactly? Is there any extra things I have to worry about when writing/running p

Re: [PyQt] Next Releases of PyQt and SIP

2009-09-08 Thread melkor
Here is a minimal test case, which works fine my computer at work: windows xp, and the current release of PyQt with python 2.6. This script is very similar to the one I have at home, and I expect that it would fail, but I haven't seen this script fail so Ill try it at home this afternoon. If it f

Re: [PyQt] handling Enter in a qtextedit?

2009-09-08 Thread Lukas Hetzenecker
Hello, > The documentation for keyPressEvent for a QTextEdit says > > This function is called with key event *e* when key presses occur. It > handles PageUp, PageDown, Up, Down, Left, and Right, and ignores all other > key presses. Hm, i don't know why the documentation says this, but it works fo

[PyQt] building QfMacNavBar on windows

2009-09-08 Thread Anil Kumar
Hi,Anybody successfully built QfMacNavBar from http://code.google.com/p/pyqt4- extrawidgets/ on windows? I would like to use it on one of my project, could not compile it. -- -- Regards, Anil K Thankappan ___ PyQt mailing listPyQt@riverbankcomputi

[PyQt] persistent database connection

2009-09-08 Thread Anil Kumar
Hi,I am populating my table view using a QSqlRelationalTableModel, It all works well and the application is working- Untill someone leaves it open overnight and tries to view/update data next morning. The tabe view does not show anything, can't add/delete/update ,no error messages are produced. I s

Re: [PyQt] QtSQL cant connect using MySQL driver

2009-09-08 Thread Phil Thompson
On Mon, 7 Sep 2009 15:44:54 -0700, Christian Caron wrote: > Phil has control over PyQt. I'm talking about compiling mysql support > into Trolltech's err I mean Nokia's Qt. The PyQt installer includes a copy of Qt built with support for MySQL. It requires the MySQL client libraries to be install

Re: [PyQt] Next Releases of PyQt and SIP

2009-09-08 Thread Phil Thompson
On Mon, 07 Sep 2009 20:44:13 -0400, Matt Smith wrote: > The long and short, when I use a QThread at the end of my run method, I > call self.deleteLater(). If I call self.deleteLater() the "finished()" > signal is never emitted. It used to emit "finished()" even if I called > deletLate(), and I t