Re: [PyQt] max texture size for QGLWidget.bindTexture?

2008-09-09 Thread Brian Parma
David Boddie wrote: On Tue Sep 9 00:28:49 BST 2008, Brian Parma wrote: Thanks for the response, that's a good find, although I'm trying to figure out how to interpret the result. On my laptop it returns 2048, but how does that translate into resolution? I thought it was memory size at firs

[PyQt] pyqt4 segmentation fault

2008-09-09 Thread Gioacchino
hey all I am developing an application with pyqt, but from when we started to use PyQt4.QtSql we obtain segmentation fault after __init__ I add here an example: print("creating SearchWindow") self.myRicerca = SearchWindow() print("SearchWindow created") here is the SearchWindow() : http://past

[PyQt] pyqt4 segmentation fault

2008-09-09 Thread Gioacchino
moreover it sometime work fine sometime segmentation fault ... qt4 mysql plugin segmentation fault disappear but I can't work without this because I need database in my apps... I also tried with qt 4.4.1 + SIP svn snapshot, PyQt4 svn snapshot the result is the same...

[PyQt] qwizard

2008-09-09 Thread Oguz Yarimtepe
Hi all, I am trying to write a GUI using QWizard. I have created the wizard using designer and edited some parts by playing with the code. I also added a progress bar and some related functions. I need to run a function when the user comes to the page #3 but i could`nt find how will i do it with p

Re: [PyQt] max texture size for QGLWidget.bindTexture?

2008-09-09 Thread David Boddie
On Tue Sep 9 00:28:49 BST 2008, Brian Parma wrote: > Thanks for the response, that's a good find, although I'm trying to > figure out how to interpret the result. On my laptop it returns 2048, > but how does that translate into resolution? I thought it was memory > size at first, but changing fo

[PyQt] pyqt4 segmentation fault

2008-09-09 Thread Gioacchino
errata corrige: moreover it sometime work fine sometime segmentation fault ... I try to disable qt4 mysql plugin and segmentation fault disappear but I can't work without this because I need database in my apps... I also tried with qt 4.4.1 + SIP svn snapshot, PyQt4 svn snapshot the result is

[PyQt] Qt Designer + python plugins

2008-09-09 Thread Marco Fabiani
Hello, I discovered a strange behavior in Qt Designer's Property Editor when using custom widget plugins written using PyQt (for example, starting the example "plugins.py" in the PyQt examples collection designer/plugins). If I create a new dialog with a QDialogButtonBox, the buttons OK and Ca

[PyQt] bug in QTabWidget.indexOf() method?

2008-09-09 Thread Scott Price
So I have a tab widget, which when constructed gets a scroll area for page/tab one. Works fine. During a later process I add another tab with a similar scroll area. Works fine. A separate process uses the indexOf() method to search for the second scroll area that may not have been added yet. Wh

Re: [PyQt] bug in QTabWidget.indexOf() method?

2008-09-09 Thread David Boddie
On Tue Sep 9 15:59:06 BST 2008, Scott Price wrote: > So I have a tab widget, which when constructed gets a scroll area for > page/tab one. Works fine. > > During a later process I add another tab with a similar scroll area. > Works fine. > > A separate process uses the indexOf() method to search

[PyQt] checkable QCombobox?

2008-09-09 Thread Kerri Reno
I would like to do a checkable QComboBox. QtDesigner does it, but I'm not sure how. When you choose the standard buttons on the QDialogButtonBox, it lets you check items in a list. Maybe it's a ListWidget, but then how does it pop up that way? Does anyone know how this is done? If you could ju

Re: [PyQt] checkable QCombobox?

2008-09-09 Thread Andreas Pakulat
On 09.09.08 10:03:40, Kerri Reno wrote: > I would like to do a checkable QComboBox. QtDesigner does it, but I'm > not sure how. When you choose the standard buttons on the > QDialogButtonBox, it lets you check items in a list. Maybe it's a > ListWidget, but then how does it pop up that way? > >

Re: [PyQt] table model and pixmap

2008-09-09 Thread Scott Frankel
Hello, Looking at documentation for the QSqlRelationalDelegate class, I've hacked my way through to displaying a pixmap in a table view, though it's buggy. Hopefully, someone will be able to suggest solutions or documentation/ examples to fix the following: - at launch, the fields displ

Re: [PyQt] py2exe and QtWebKit problem

2008-09-09 Thread echo0101
Hi, I am having the same problem using py2exe with a pyqt application with qwebview. Has anyone found a solution? Thanks. Original Message: Hi, I'm trying to make an exe from a PyQt4 app that uses WebKit. But I've got the following problem : Traceback (most recent call last): File "main.p

Re: [PyQt] py2exe and QtWebKit problem

2008-09-09 Thread echo0101
someone on the webkit irc was nice enough to help me... turns out the trivial solution to this is to include PyQt4.QtNetwork On Tue, Sep 9, 2008 at 6:50 PM, <[EMAIL PROTECTED]> wrote: > Hi, > I am having the same problem using py2exe with a pyqt application with > qwebview. Has anyone found a

[PyQt] selecting items from a treeview using code

2008-09-09 Thread Wim Verhavert
Sounds easy he, but this one is really driving me crazy... So here's what I've done so far. Ok: I have a QTreeview (using QT Designer by the way) filled with objects using my own homebrew objectTableModel(QAbstractTableModel). This model stores POPO's and allows me to retrieve them. So far no pro

[PyQt] [PYKDE4]Using existing KPart widget

2008-09-09 Thread Luca Ferrari
Hi all! I've this problem, I would like to create a widget that can preview all type of files using KPart in PyKDE4. Here http://api.kde.org/4.1-api/kdelibs-apidocs/kparts/html/index.html I've found this: For a complete, and very simple, example of how to use KParts to display any kind of file (

[PyQt] Bug in QString comparison

2008-09-09 Thread Giovanni Bajo
Hello Phil, this looks weird to me (using sip 4.7.6, PyQt 4.4.2, Qt 4.4.0): === $ python Python 2.5.2 (r252:60911, May 7 2008, 15:21:12) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> f

Re: [PyQt] table model and pixmap

2008-09-09 Thread Scott Frankel
Hello, If anyone has an idea on how to resolve the buggy delegate behavior I mention below, I'd great appreciate it! Thanks! Scott On Sep 9, 2008, at 10:03 AM, Scott Frankel wrote: Hello, Looking at documentation for the QSqlRelationalDelegate class, I've hacked my way through to d