[PyQt] Model/View trouble

2007-09-27 Thread Никитин Артем
Hello, I have trouble with Model/View in PyQt 4.3.0-b1 (PyQt-Py2.5-gpl-4.3.0-b1.exe). My program using model inherit by QtCore.QAbstractTableModel and view inherit by QtGui.QTableView. In model I reimplement method data, like this: def data(self, index, role = Qt.DisplayRole): if not index.isVa

Re: [PyQt] newbie question re docks

2007-09-27 Thread Linos
Horst Herb escribió: > Hi, > > I am new to PyQt4, trying to write my first app. > > I would like to write an application with multiple docking widgets. The > application should remember the state (size, location) of the docked widgets > (wherever the user has placed them). > > How can I achiev

[PyQt] newbie question re docks

2007-09-27 Thread Horst Herb
Hi, I am new to PyQt4, trying to write my first app. I would like to write an application with multiple docking widgets. The application should remember the state (size, location) of the docked widgets (wherever the user has placed them). How can I achieve this? Could anybody please explain, p

Re: [PyQt] Eric3 issue: importing modules with the same name as an Eric module

2007-09-27 Thread Detlev Offenbach
On Donnerstag, 27. September 2007, Sundance wrote: > Detlev wrote: > > You are right! And here are instructions for fixing it. > > Hi Detlev, > > Awesome! Thank you for this! > > Don't we risk bumping into the very same problem if somebody ever tries > to run something with a DebugConfig module in

Re: [PyQt] Next SIP and PyQt4 Releases

2007-09-27 Thread David Boddie
On Thu Sep 27 13:33:28 BST 2007, Phil Thompson wrote: > On Thursday 27 September 2007, Mike Tammerman wrote: [...] > > Looking at the code, I can see that, it can be instantiated from C++. > > The ctor isn't documented, so it's assumed that it's not part of the public > API. Plus, the constru

[PyQt] Re: Build PyQt with sql Driver plugins

2007-09-27 Thread Linos
[EMAIL PROTECTED] escribió: > > Citando Linos <[EMAIL PROTECTED]>: > >> Paulino escribió: >>> Linos escreveu: [EMAIL PROTECTED] escribió: > Citando Linos <[EMAIL PROTECTED]>: > > >> [EMAIL PROTECTED] escribió: >> >>> Citando Linos <[EMAIL PROTECTED]>: >>> >>>

Re: [PyQt] Eric3 issue: importing modules with the same name as an Eric module

2007-09-27 Thread Sundance
Detlev wrote: > You are right! And here are instructions for fixing it. Hi Detlev, Awesome! Thank you for this! Don't we risk bumping into the very same problem if somebody ever tries to run something with a DebugConfig module in Eric though? In that spirit, I think I've found a more robust f

Re: [PyQt] Next SIP and PyQt4 Releases

2007-09-27 Thread Phil Thompson
On Thursday 27 September 2007, Mike Tammerman wrote: > I think QColorDialog cannot be instantiated or subclassed from PyQt. I > don't really know if the same behaviour exists in C++. I looked at the > source code of the QColorDialog::getColor function and it is > > QColor QColorDialog::getColor(con

[PyQt] Re: Build PyQt with sql Driver plugins

2007-09-27 Thread paulino1
Citando Linos <[EMAIL PROTECTED]>: Paulino escribió: Linos escreveu: [EMAIL PROTECTED] escribió: Citando Linos <[EMAIL PROTECTED]>: [EMAIL PROTECTED] escribió: Citando Linos <[EMAIL PROTECTED]>: Paulino escribió: *>Linos* info at linos.es

Re: [PyQt] Re: Help with help action

2007-09-27 Thread Mark Summerfield
On 2007-09-27, Thorsten Kampe wrote: > * Mark Summerfield (Thu, 27 Sep 2007 08:45:59 +0100) > > > On 2007-09-26, Thorsten Kampe wrote: > > > I'm trying to teach myself GUI programmming with the help of the new > > > PyQt book and the examples from the PyQt package. Although I've been > > > doing Py

Re: [PyQt] Next SIP and PyQt4 Releases

2007-09-27 Thread Mike Tammerman
I think QColorDialog cannot be instantiated or subclassed from PyQt. I don't really know if the same behaviour exists in C++. I looked at the source code of the QColorDialog::getColor function and it is QColor QColorDialog::getColor(const QColor& initial, QWidget *parent) { QColorDialog *dlg =

[PyQt] Re: Help with help action

2007-09-27 Thread Thorsten Kampe
* Mark Summerfield (Thu, 27 Sep 2007 08:45:59 +0100) > On 2007-09-26, Thorsten Kampe wrote: > > I'm trying to teach myself GUI programmming with the help of the new > > PyQt book and the examples from the PyQt package. Although I've been > > doing Python for five years I have a hard time doing OOP

[PyQt] Re: Build PyQt with sql Driver plugins

2007-09-27 Thread Linos
Paulino escribió: > Linos escreveu: >> [EMAIL PROTECTED] escribió: >> >>> Citando Linos <[EMAIL PROTECTED]>: >>> >>> [EMAIL PROTECTED] escribió: > Citando Linos <[EMAIL PROTECTED]>: > > >> Paulino escribió: >> >>> *>Linos* info at

Re: [PyQt] Installation problem in linux

2007-09-27 Thread Andreas Pakulat
On 27.09.07 15:56:28, Shyamsundar, Purkayastha (Purkayastha)** CTR ** wrote: > Andreas > > Qt 3 was installed by linux os by default and I installed qt4 in a > different location because I thought pyqt4 would be compatible with qt4 > > But I didn't know about the -q option in configure.py and it

Re: [PyQt] Installation problem in linux

2007-09-27 Thread Andreas Pakulat
On 27.09.07 15:50:58, Shyamsundar, Purkayastha (Purkayastha)** CTR ** wrote: > Actually the QTDIR env was set to the old qt installation Saw that you already solved your issue, but one note: Qt4 doesn't use the QTDIR variable anymore and thus also PyQt4 doesn't use it. Andreas -- You should go

RE: [PyQt] Installation problem in linux

2007-09-27 Thread Shyamsundar, Purkayastha \(Purkayastha\)** CTR **
Andreas Qt 3 was installed by linux os by default and I installed qt4 in a different location because I thought pyqt4 would be compatible with qt4 But I didn't know about the -q option in configure.py and it has worked for me. Thanks a million Regards Shyam -Original Message- Fro

RE: [PyQt] Installation problem in linux

2007-09-27 Thread Shyamsundar, Purkayastha \(Purkayastha\)** CTR **
Hi Actually the QTDIR env was set to the old qt installation I updated it to the newly installed qt4.3 and after this when I tried running configure.py I got the following long output ### [EMAIL PROTECTED] PyQt-x11-gpl-4.3]# py

Re: [PyQt] Installation problem in linux

2007-09-27 Thread Andreas Pakulat
On 27.09.07 14:59:05, Shyamsundar, Purkayastha (Purkayastha)** CTR ** wrote: > > > > It seems something is amiss in terms of qt path,I installed qt v 4 over > qt3.3 ( which was pre installed with os ) but I am unsble to

Re: [PyQt] Installation problem in linux

2007-09-27 Thread Phil Thompson
On Thursday 27 September 2007, Shyamsundar, Purkayastha (Purkayastha)** CTR ** wrote: > Here is the output from the -w option > > > > [EMAIL PROTECTED] PyQt-x11-gpl-4.3]# python2.5 configure.py -wDetermining > the layout

RE: [PyQt] Installation problem in linux

2007-09-27 Thread Shyamsundar, Purkayastha \(Purkayastha\)** CTR **
Here is the output from the -w option [EMAIL PROTECTED] PyQt-x11-gpl-4.3]# python2.5 configure.py -wDetermining the layout of your Qt installation.../usr/bin/qmake -o qtdirs.mk qtdirs.pro make -f qtdirs.mk g++ -c -pipe -

Re: [PyQt] Problem with pyuic4 and QColumnView widget

2007-09-27 Thread Phil Thompson
On Thursday 27 September 2007, duncan duncan wrote: > For a software I am developing I'd like to try to use a QColumnView widget. > All my gui is designed using the Designer and when I compile the .ui file > which had the widget I get this error: > > "Unknown Qt widget: QColumnView" > > both under

Re: [PyQt] Next SIP and PyQt4 Releases -> QDataWidgetMapper

2007-09-27 Thread Phil Thompson
On Wednesday 26 September 2007, Nicolas Girard wrote: > On mercredi 26 septembre 2007, Phil Thompson wrote: > > The next releases of SIP and PyQt4 will be made in the next few days. > > Both are maintenance releases (ie. mostly bug fixes). If anybody thinks > > there is something that still needs f

[PyQt] Problem with pyuic4 and QColumnView widget

2007-09-27 Thread duncan duncan
For a software I am developing I'd like to try to use a QColumnView widget. All my gui is designed using the Designer and when I compile the .ui file which had the widget I get this error: "Unknown Qt widget: QColumnView" both under Windows and under Linux. I am working with Qt 4.3 and PyQt 4.3.

Re: [PyQt] Installation problem in linux

2007-09-27 Thread Phil Thompson
On Thursday 27 September 2007, Shyamsundar, Purkayastha (Purkayastha)** CTR ** wrote: > Hi > > > > I downloaded PyQt-x11-gpl-4.3.tar.gz and installed it in linux ( RHEL v > 4.4 with 2.6 kernel ) > > > > When I execute the configure script I get the following error > > > > [EMAIL PROTECTED] PyQt-x1

Re: [PyQt] Installation problem in linux

2007-09-27 Thread duncan duncan
On 9/27/07, Shyamsundar, Purkayastha (Purkayastha)** CTR ** < [EMAIL PROTECTED]> wrote: > > Hi > > > > I downloaded PyQt-x11-gpl-4.3.tar.gz and installed it in linux ( RHEL v > 4.4 with 2.6 kernel ) > > > > When I execute the configure script I get the following error > > > > [EMAIL PROTECTED] PyQ

Re: [PyQt] Help with help action

2007-09-27 Thread Mark Summerfield
On 2007-09-26, Thorsten Kampe wrote: > Hi, > > I'm trying to teach myself GUI programmming with the help of the new > PyQt book and the examples from the PyQt package. Although I've been > doing Python for five years I have a hard time doing OOP stuff. > Frankly, I never know when and where to put

[PyQt] Installation problem in linux

2007-09-27 Thread Shyamsundar, Purkayastha \(Purkayastha\)** CTR **
Hi I downloaded PyQt-x11-gpl-4.3.tar.gz and installed it in linux ( RHEL v 4.4 with 2.6 kernel ) When I execute the configure script I get the following error [EMAIL PROTECTED] PyQt-x11-gpl-4.3]# python configure.py Determining the layout of your Qt installation... Error: Failed to c