[PyQt] handling Enter in a qtextedit?

2009-09-07 Thread inhahe
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. i guess that means if i want to react to a user pressing Enter they're not making i

Re: [PyQt] Next Releases of PyQt and SIP

2009-09-07 Thread Gerard Vermeulen
On Mon, 07 Sep 2009 09:08:27 +0100 Phil Thompson wrote: > The current snapshots of PyQt4 and SIP should be considered release > candidates, so now would be a good time to test against them. > > The only outstanding problem I am aware of is the build problems on > Snow Leopard - and I'm still wai

Re: [PyQt] Next Releases of PyQt and SIP

2009-09-07 Thread Matt Smith
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 thought I needed the self.deleteLater() to clean up connections

Re: [PyQt] QtSQL cant connect using MySQL driver

2009-09-07 Thread Scott Ballard
Makes sense now... looks like this is going to be more involved than I hoped. Thanks for the help!! Christian Caron wrote: Phil has control over PyQt. I'm talking about compiling mysql support into Trolltech's err I mean Nokia's Qt. On Sep 7, 2009, at 3:39 PM, Scott Ballard wrote:

Re: [PyQt] QtSQL cant connect using MySQL driver

2009-09-07 Thread Christian Caron
Phil has control over PyQt. I'm talking about compiling mysql support into Trolltech's err I mean Nokia's Qt. On Sep 7, 2009, at 3:39 PM, Scott Ballard wrote: According to Phil, he added MySQL support to the last build... >>I'm just wondering why the MySQL drivers can't be compiled into th

Re: [PyQt] QtSQL cant connect using MySQL driver

2009-09-07 Thread Scott Ballard
According to Phil, he added MySQL support to the last build... >>I'm just wondering why the MySQL drivers can't be compiled into the PyQt Windows binary installer, instead we have to compile our own Qt/PyQt with the >>MySQL and/or PostGres drivers. >They are in the current installers (for Py

Re: [PyQt] QtSQL cant connect using MySQL driver

2009-09-07 Thread Christian Caron
By default, QtSql does't have support for mysql. You have to compile it by specifying the right options when ./configuring Qt for build. Christian On Sep 7, 2009, at 3:29 PM, Scott Ballard wrote: Hey list, Sorry to ask about this again, but I never got it working and was pulled off onto s

[PyQt] QtSQL cant connect using MySQL driver

2009-09-07 Thread Scott Ballard
Hey list, Sorry to ask about this again, but I never got it working and was pulled off onto something else. Now I have time to look into it again. I can't seem to get the qmysql driver to work with the QtSQL module in PyQt 4.5.4 and Python 2.6.2 on Windows XP SP2. What exactly is required t

Re: [PyQt] Re: Is this possible using pyqt?

2009-09-07 Thread Michał Andrzej Woźniak
Dnia poniedziałek 07 wrzesień 2009, jim biri napisał(a): > - Re: X11, yes, I guessed as much. > > - Re: what I'm actually trying to do - login to Google Webmaster Tools > and download some files - for a whole bunch of domains that I have > setup there. Just boring dull manual work trying to automat

[PyQt] Re: Is this possible using pyqt?

2009-09-07 Thread jim biri
- Re: X11, yes, I guessed as much. - Re: what I'm actually trying to do - login to Google Webmaster Tools and download some files - for a whole bunch of domains that I have setup there. Just boring dull manual work trying to automate it. Ideally on an Amazon Web Services Ubuntu server instance wh

Re: [PyQt] Re: Is this possible using pyqt?

2009-09-07 Thread David Boddie
On Mon Sep 7 15:53:57 BST 2009, jim biri wrote: > - re: PycURL: http://pycurl.sourceforge.net/ - wasn't totally sure it > could handle the plethora of form submissions, cookies and redirects > involved ... I guess it depends on what you're doing. Do you want to tell us more about what you're tryi

[PyQt] Re: Is this possible using pyqt?

2009-09-07 Thread jim biri
Thanks for the responses so far: - re: PycURL: http://pycurl.sourceforge.net/ - wasn't totally sure it could handle the plethora of form submissions, cookies and redirects involved ... - re: using QWebView - thanks I'll take a look. One thought - I won't wish to display the contents at all, simpl

Re: [PyQt] Is this possible using pyqt?

2009-09-07 Thread David Boddie
On Mon Sep 7 12:30:22 BST 2009, jim biri wrote: > 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 fishy here, just looking to automate a mundan

[PyQt] persistent database connection

2009-09-07 Thread Anil
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.

Re: [PyQt] Is this possible using pyqt?

2009-09-07 Thread Michał Andrzej Woźniak
Dnia poniedziałek 07 wrzesień 2009, jim biri napisał(a): > 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 fishy here, just looking to aut

[PyQt] building QfMacNavBar on windows

2009-09-07 Thread Anil
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 Phoenix IT Solutions 65 Trafalgar way Cranbourne East Ph: 03 5995 3328 Mob: 0422 940 230

[PyQt] Is this possible using pyqt?

2009-09-07 Thread jim biri
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 fishy here, just looking to automate a mundane and manual process. Is this possible using pyqt? If

[PyQt] Next Releases of PyQt and SIP

2009-09-07 Thread Phil Thompson
The current snapshots of PyQt4 and SIP should be considered release candidates, so now would be a good time to test against them. The only outstanding problem I am aware of is the build problems on Snow Leopard - and I'm still waiting for my upgrade from Apple before I can fix that. Phil

[PyQt] New Feature - Keyword Arguments for Properties and Signals

2009-09-07 Thread Phil Thompson
The current SIP and PyQt snapshots support the use of using keyword arguments when creating an instance of a QObject sub-class to initialise Qt properties and to connect signals. For example, the following calls... act = QAction("Save", parent) act.setShortcut(QKeySequence.Save) act.s