Re: [PyQt] Sqlite3 'database is locked' errors

2012-01-23 Thread Brian Zambrano
I ended up solving this but it's very odd. I do my own DB work with QSqlQuery, but commit any transaction I open. I have two QSqlTableModels which I use. In one of the QSqlTableModels I was using setQuery to select a subset of the columns I needed. That ended up being the issue. When I remove

Re: [PyQt] Function to open window and return user input

2012-01-23 Thread Hans-Peter Jansen
On Monday 23 January 2012, 18:53:46 Christopher Evans wrote: > Is there a way to make this non modal? I am using Maya and we did not > use exec because it always made the dialog application modal, as in > it halts the main thread and doesn't allow users to interface with > the parent app while the

[PyQt] question about image on browser

2012-01-23 Thread Tony Peña
Hi, sorry by my english... i´m working over linux, and when i try to execute on windows i get this image bug on QWebKit check the image and take a look of the airplane between the 2 green-red lines http://i40.tinypic.com/5uldau.jpg on linux x86 and x64 works fine the icon airplane in the QWebKi

Re: [PyQt] D-Bus support for Windows

2012-01-23 Thread Lukas Hetzenecker
Thanks! I got it working! Here is a simplified HOWTO for everybody that wants to achieve the same: To get it working you need to compile the latest dbus library/daemon, Qt 4.8 (needs to be recompiled, because the official release for Window doesn't include QtDBus), dbus-python (patches to make it

Re: [PyQt] Function to open window and return user input

2012-01-23 Thread Christopher Evans
Is there a way to make this non modal? I am using Maya and we did not use exec because it always made the dialog application modal, as in it halts the main thread and doesn't allow users to interface with the parent app while the window is open. CE On Sun, Jan 22, 2012 at 4:27 PM, Hans-Peter Jans

Re: [PyQt] Problem with uic.loadUiType

2012-01-23 Thread Rapczak, Jesse
Sure. I'm trying to use the example here: http://dl.dropbox.com/u/1633130/PyQt%20tuts/example1.py http://dl.dropbox.com/u/1633130/PyQt%20tuts/example1.ui This is from http://nathanhorne.com/?p=451 From: Panupat Chongstitwattana [mailto:panup...@gmail.com] Sent: Monday, January 23, 201

[PyQt] Problem with uic.loadUiType

2012-01-23 Thread Rapczak, Jesse
Hey all, I'm relatively new to PyQt and am trying to use uic.loadUiType to load up a .ui file at runtime. However, I'm getting the following error. I must be doing something wrong... any ideas? # Error: : invalid syntax (, line 31) # Traceback (most recent call last): # File "", line 1, in #