the setQuery call and simply ignore the
unneeded columns from the view, everything works.
BZ
On Thu, Jan 19, 2012 at 11:24 PM, Brian Zambrano bri...@gmail.com wrote:
In my application I have a Sqlite db which at times needs an updated
schema. To work around some issues on Windows, I need
In my application I have a Sqlite db which at times needs an updated
schema. To work around some issues on Windows, I need to do drop table
for each table. However, I'm continuously getting:
database is locked Unable to fetch row
after each DROP table table_name statement. There are no other
In my QWebPage, I'd like to override the shouldInterruptJavaScript method so
that it ignores long running javascript warning.
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qwebpage.html#shouldInterruptJavaScript
*Warning:* Because of binary compatibility constraints, this function
Bumping thisI'm still getting these warnings on resize events but
otherwise my app seems normal.
BZ
On Fri, Jul 22, 2011 at 12:36 AM, Brian Zambrano bri...@gmail.com wrote:
I'm attempting to use flot, a jquery/javascript plotting library to draw
plots in a QWebView. Everything goes well
I'm attempting to use flot, a jquery/javascript plotting library to draw
plots in a QWebView. Everything goes well except that I need to resize the
plot as the window resizes. I'm doing this in Javascript, of course. Once
the resize occurs and my redraw callback fires, I get a warning over and
That worked perfectlythank you!
For the benefit of this thread and as a side note, I needed to downgrade
from XCode 4.0 to 3.X to get the 10.5 SDK. Once that was installed passing
--deployment-target=10.5 did the trick.
BZ
On Wed, Jun 15, 2011 at 12:24 AM, Phil Thompson
I have a PyQt app which I compile into a binary with py2app (latest stable
versions of sip and PyQt [commercial]). I recently upgraded my build
machine from OSX 10.5 to 10.6. The binaries built on my new 10.6 system
won't even start up on 10.5:
6/13/11 10:36:35 AM com.apple.launchd[73]
Building a universal version of my commercial PyQt has worked for me in the
past with these steps:
sip:
$ python configure.py --universal
$ make sudo make install
PyQt:
$ python configure.py --confirm-license
$ make sudo make install
I just upgraded to Qt 4.7, and am trying to build PyQt
You can do this with setCurrentIndex in the view. You'll simply need to
select an index in the row you just added.
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qabstractitemview.html#setCurrentIndex
In your case, it may be something like:
# assume you have a reference to the view
initializations, everything works as expected.
Thanks for the push on this oneit obviously helped.
BZ
On Thu, Nov 12, 2009 at 7:40 AM, Brian Zambrano bri...@gmail.com wrote:
Hi guys,
I hear ya...it's something I've found a bit hard with GUI programming. The
code gets quite large and involved, so
The relevant pieces are basically this...have the main window save state
when it closes. On startup, the main window passes itself to a QSettings
wrapper where the state should be restored. The resize works just fine, the
dock widgets states do not work:
class MyMainWindow(QMainWindow):
Hi guys,
I hear ya...it's something I've found a bit hard with GUI programming. The
code gets quite large and involved, so boiling it down to a self contained
example demonstrating the issue takes some work. But, I agree it's worth
doing and the issue very well may be solved during that
Anyone have any advice on this?
BZ
On Sun, Nov 8, 2009 at 8:29 PM, Brian Zambrano bri...@gmail.com wrote:
In my mainwindow, I'm calling saveState and restoreState. This is working
like a charm for the main window's geometry. However, the three dock
widgets contained in the main window
In my mainwindow, I'm calling saveState and restoreState. This is working
like a charm for the main window's geometry. However, the three dock
widgets contained in the main window are reset in between sessions. I've
made sure to name all of the dock widgets uniquely, but no luck.
Perfectsetting the flags did the job. I have a very simple subclass
that overrides flags:
def flags(self, index):
return Qt.ItemIsSelectable | Qt.ItemIsEnabled
Thank you!
BZ
On Mon, Aug 24, 2009 at 2:56 AM, Sibylle Koczian
sibylle.kocz...@t-online.de wrote:
Brian Zambrano
Is there a way to create a read-only QSqlRelationalTableModel?
From the docs, I'm thinking that I need to create my own subclass of
QSqlQueryModel which follow the relationships that I need.
Thanks,
BZ
___
PyQt mailing list
This is a curious issueI have two Macs, both of which I've upgradef from
PyQt 4.5.1 to 4.5.4. Running my application on my MacMini was just fine
this morning. Just now, I fired up the exact same code on the MacBook Pro
for the first time after the PyQt update and the QtNetwork calls seem to
, 2009 at 12:16 PM, Brian Zambrano bri...@gmail.com wrote:
This is a curious issueI have two Macs, both of which I've upgradef
from PyQt 4.5.1 to 4.5.4. Running my application on my MacMini was just
fine this morning. Just now, I fired up the exact same code on the MacBook
Pro for the first
Hi all,
I like the way QDockWidgets can be stacked on top of each other and selected
with the QTabBar which is created. This is just fine when I manually drag
the dock widgets on top of each other, but I'd like my app to start up in
this state.
Is there a way to get one or more dock widgets to
Wow...I completely overlooked tabifyDockWidget in the docs. Works
perfectly...thank you!
BZ
On Wed, Aug 5, 2009 at 12:33 AM, tabish shaikh
tabish_shaikh...@yahoo.com wrote:
try tabifyDockwidget in the __init__ function..
check the Qt assistant for tabify of the dockwidget in QMainWindow
Hi all,
I'm working with a webservice which requires a valid
username/password. From PyQt, I'm accessing the webservice using
QNetworkAccessManager which emits the authenticationRequired
(QNetworkReply*, QAuthenticator*) signal when (obviously),
authentication is required. When I fill in the
Hi guys,
I'm also working with PyQt and matplotlib, and reported some weird resize
behavior on the matplotlib mailing list a few days ago. I dug around a bit
and thought that something was going on with QtGui.qApp.processEvents(), but
it's nice to see that someone actually took the time to
22 matches
Mail list logo