Re: [PyKDE] QColor.fromRgb and QColor.setRgb bug??

2006-09-29 Thread David Boddie
On Friday 29 September 2006 09:07:58 -0500, Allen Bierbaum wrote: > From the documentation to PyQt it seems that this line should work: > >>> QtGui.QColor.fromRgb(QtGui.QApplication.style().styleHint(QtGui.QStyle. > >>>SH_Table_GridLineColor,option)) > > Traceback (most recent call last): >   File

Re: [PyKDE] QT4 PyQt Wowes - a bug ?

2006-09-29 Thread David Boddie
On Saturday 30 September 2006 00:06, Dave S wrote: > Thanks for replying :) I just about worked it out but it took most of the > day and a couple of headache pills. Strange how the simplest thing ... Over time you gain experience with the sort of errors that can occur, and you recognize what the

Re: [PyKDE] QT4 PyQt Wowes - a bug ?

2006-09-29 Thread Dave S
On Friday 29 September 2006 17:58, David Boddie wrote: > On Friday 29 September 2006 11:44:36 +0100, Dave S wrote: > > Now knowing that PyQt4 does not support the QT4  'Qt3Support' module - > > and having opened and re-saved my QT3 dialogs as QT4 dialogs in QT4 > > designer I realised that the dial

Re: [PyKDE] QT4 PyQt Wowes - a bug ?

2006-09-29 Thread David Boddie
On Friday 29 September 2006 11:44:36 +0100, Dave S wrote: > Now knowing that PyQt4 does not support the QT4  'Qt3Support' module - and > having opened and re-saved my QT3 dialogs as QT4 dialogs in QT4 designer I > realised that the dialogs are simply changed to use the ' Qt3Support' > module  - I

Re: [PyKDE] A bug confirmed

2006-09-29 Thread David Boddie
On Friday 29 September 2006 17:35, Dave S wrote: > On Friday 29 September 2006 12:50, David Boddie wrote: > > This is related to your other message. You need to run pyuic4 instead of > > pyuic. If pyuic4 didn't get installed then that's a bug with the build > > system. pyuic is for PyQt applicatio

Re: [PyKDE] [SOLVED] A bug confirmed

2006-09-29 Thread Dave S
Well its taken best part of a day but I solved it (smug grin) :):):) Because I am creating a 'MainWindow' I have to call it with #!/bin/env/python import mainscreen, sys from PyQt4 import * def main(args): app = QtGui.QApplication(sys.argv) window = QtGui.QMainWindow() # *** The change

Re: [PyKDE] A bug confirmed

2006-09-29 Thread Dave S
On Friday 29 September 2006 12:50, David Boddie wrote: > On Fri Sep 29 13:22:40 MEST 2006, Dave S wrote: > > Start QT4 designer - create a new form type 'main window' > > > > put a push button on it :) > > > > save it > > > > pyuic it ... > > > > Try to call it with ... > > [Code snipped] > > > and

[PyKDE] QColor.fromRgb and QColor.setRgb bug??

2006-09-29 Thread Allen Bierbaum
From the documentation to PyQt it seems that this line should work: QtGui.QColor.fromRgb(QtGui.QApplication.style().styleHint(QtGui.QStyle.SH_Table_GridLineColor,option)) Traceback (most recent call last): File "", line 1, in TypeError: insufficient number of arguments to QColor.fromRgb()

Re: [PyKDE] [QScintilla2] install on windows

2006-09-29 Thread Jürgen Urner
Phil Thompson schrieb: Hi all I have a question regarding QScintilla2 on windows. I would like to play around with the snapshot but can't get it installed. The configure script is looking for "pyqtconfig" and this is not included in the binary distro of PyQt. Anyone any help or pointers for a p

Re: [PyKDE] A bug confirmed

2006-09-29 Thread Dave S
On Friday 29 September 2006 12:50, David Boddie wrote: > On Fri Sep 29 13:22:40 MEST 2006, Dave S wrote: > > Start QT4 designer - create a new form type 'main window' > > > > put a push button on it :) > > > > save it > > > > pyuic it ... > > > > Try to call it with ... > > [Code snipped] > > > and

Re: [PyKDE] [QScintilla2] install on windows

2006-09-29 Thread Phil Thompson
> > Hi all > > I have a question regarding QScintilla2 on windows. > I would like to play around with the snapshot but can't > get it installed. > > The configure script is looking for "pyqtconfig" and this > is not included in the binary distro of PyQt. Anyone any help > or pointers for a poor lit

Re: [PyKDE] A bug confirmed

2006-09-29 Thread David Boddie
On Fri Sep 29 13:22:40 MEST 2006, Dave S wrote: > Start QT4 designer - create a new form type 'main window' > > put a push button on it :) > > save it > > pyuic it ... > > Try to call it with ... [Code snipped] > and you get a 'setCentralWidget' error. > > QT v4.1.4; PyQt v4.0.1; and Pytho

Re: [PyKDE] [QScintilla2] install on windows

2006-09-29 Thread Jürgen Urner
Hans-Peter Jansen schrieb: Am Freitag, 29. September 2006 12:34 schrieb Jürgen Urner: Hi all I have a question regarding QScintilla2 on windows. I would like to play around with the snapshot but can't get it installed. The configure script is looking for "pyqtconfig" and this is not include

[PyKDE] A bug confirmed

2006-09-29 Thread Dave S
This is an easily reproducible bug. Start QT4 designer - create a new form type 'main window' put a push button on it :) save it pyuic it ... Try to call it with ... #!/bin/env/python import mainscreen, sys from PyQt4 import * def main(args): app = QtGui.QApplication(sys.argv) wind

Re: [PyKDE] [QScintilla2] install on windows

2006-09-29 Thread Hans-Peter Jansen
Am Freitag, 29. September 2006 12:34 schrieb Jürgen Urner: > Hi all > > I have a question regarding QScintilla2 on windows. > I would like to play around with the snapshot but can't > get it installed. > > The configure script is looking for "pyqtconfig" and this > is not included in the binary dis

[PyKDE] QT4 PyQt Wowes - a bug ?

2006-09-29 Thread Dave S
Hi all, I got problems. Now knowing that PyQt4 does not support the QT4 'Qt3Support' module - and having opened and re-saved my QT3 dialogs as QT4 dialogs in QT4 designer I realised that the dialogs are simply changed to use the ' Qt3Support' module - I hit a problem ! So I decided that I wo

[PyKDE] [QScintilla2] install on windows

2006-09-29 Thread Jürgen Urner
Hi all I have a question regarding QScintilla2 on windows. I would like to play around with the snapshot but can't get it installed. The configure script is looking for "pyqtconfig" and this is not included in the binary distro of PyQt. Anyone any help or pointers for a poor little micros~1 use

Re: [PyKDE] [PyQt4] Python 2.5 compliance

2006-09-29 Thread Phil Thompson
> Hi. > Is the snapshot version of PyQt4 fully compliant with Python 2.5? if > not, is there a scheduled date for it? Yes - so long as you use a SIP snapshot as well. Phil ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofe

Re: [PyKDE] sip compiling problem

2006-09-29 Thread Phil Thompson
> Ok, I just had tried againg downloading the package > from http://www.riverbankcomputing.co.uk/sip/download.php > and all it's the same. > > Is there any other place from where can I get sip? I don't see how getting the same package from somewhere else is going to help. The current snapshot bui