[PyQt] Getting pylint and PyQt4 to work

2009-07-27 Thread pyqtmail_dharland
There are problems getting pylint to recognise PyQt4, meaning pylints output is next to useless, filled with messages saying classes do not exist. In case anyone else is suffering this problem, I've attached an email I sent to the pylint author containing a patch that will fix the issue. I hope

Re: [PyQt] Error when using Chinese characters in PyQt Designer

2009-07-27 Thread Christoph Burgmer
Am Freitag, 24. Juli 2009 schrieb ZelluX: > Hi, all > > In PyQt Designer 4.5.2 I set the property 'text' of a QPushButton to some > Chinese characters, and when I run pyuic4 to generate the coresponding .py > file, it reports error, here is traceback: _snip_ > It seems pyuic4 cannot handle Chines

[PyQt] Need help to create graph node and movable slider as shown in the image.

2009-07-27 Thread tabish-->
http://www.nabble.com/file/p24655601/shotgun1.jpg http://www.nabble.com/file/p24655601/houdini.jpg Please help me out how can i proceed in developing these features. the colored slide bar and the node graph. please help i am stuck. -- View this message in context: http://www.nabble.com/Need-h

[PyQt] /Transfer/ annotation not respected?

2009-07-27 Thread Giovanni Bajo
Hi Phil, Using sip 4.8.2-snapshot, PyQt 4.5.2: import sip from PyQt4.Qt import * class W(QGLWidget): def __init__(self, parent=None): format = QGLFormat() ctx = QGLContext(format, None) sip.dump(ctx) QGLWidget.__init

Re: [PyQt] Re: QStyle manipulations

2009-07-27 Thread Hans-Peter Jansen
Am Montag, 27. Juli 2009 schrieb Hans-Peter Jansen: > Am Montag, 27. Juli 2009 schrieb Hans-Peter Jansen: > > > > Next you find a test script simply intercepting this slot, but while > > the constructor of PlastiqueStyle is being called correctly, the slot > > is not :-(. > > For what is worth, he

Re: [PyQt] Re: QStyle manipulations

2009-07-27 Thread Phil Thompson
On Mon, 27 Jul 2009 18:40:18 +0200, "Hans-Peter Jansen" wrote: > Am Montag, 27. Juli 2009 schrieb Hans-Peter Jansen: >> Am Montag, 27. Juli 2009 schrieb Hans-Peter Jansen: >> > >> > Next you find a test script simply intercepting this slot, but while >> > the constructor of PlastiqueStyle is being

Re: [PyQt] Re: QStyle manipulations

2009-07-27 Thread Hans-Peter Jansen
Am Montag, 27. Juli 2009 schrieb Phil Thompson: > On Mon, 27 Jul 2009 18:40:18 +0200, "Hans-Peter Jansen" > > wrote: > > Am Montag, 27. Juli 2009 schrieb Hans-Peter Jansen: > >> Am Montag, 27. Juli 2009 schrieb Hans-Peter Jansen: > >> > Next you find a test script simply intercepting this slot, bu

[PyQt] QGraphicsView, QTableView and a QComboBox Editor

2009-07-27 Thread Aron Bierbaum
We are running into a few issues with item views and QGraphicsView. We have a custom delegate that displays a combo box with valid values. The issue we are seeing is that this works great when using the basic QTableView. But as soon as we add the view to a QGraphicsProxyWidget so that we can place

Re: [PyQt] Re: QStyle manipulations

2009-07-27 Thread Hans-Peter Jansen
Am Montag, 27. Juli 2009 schrieb Hans-Peter Jansen: > Am Montag, 27. Juli 2009 schrieb Phil Thompson: > > On Mon, 27 Jul 2009 18:40:18 +0200, "Hans-Peter Jansen" > > > > wrote: > > > Am Montag, 27. Juli 2009 schrieb Hans-Peter Jansen: > > >> Am Montag, 27. Juli 2009 schrieb Hans-Peter Jansen: > >

Re: [PyQt] Re: QStyle manipulations

2009-07-27 Thread Phil Thompson
On Mon, 27 Jul 2009 21:03:59 +0200, "Hans-Peter Jansen" wrote: > Am Montag, 27. Juli 2009 schrieb Hans-Peter Jansen: >> Am Montag, 27. Juli 2009 schrieb Phil Thompson: >> > On Mon, 27 Jul 2009 18:40:18 +0200, "Hans-Peter Jansen" >> > >> > wrote: >> > > Am Montag, 27. Juli 2009 schrieb Hans-Peter

Re: [PyQt] Re: QStyle manipulations

2009-07-27 Thread Hans-Peter Jansen
Am Montag, 27. Juli 2009 schrieb Phil Thompson: > On Mon, 27 Jul 2009 21:03:59 +0200, "Hans-Peter Jansen" > >> > >> const_cast >> *>(this)->qt_metacall(QMetaObject::InvokeMetaMethod, > >> d->layoutSpacingIndex, param); return result; > >> } > >> > >> > >> Do you see any chance of getting this

Re: [PyQt] Re: QStyle manipulations

2009-07-27 Thread Phil Thompson
On Mon, 27 Jul 2009 22:56:57 +0200, "Hans-Peter Jansen" wrote: > Am Montag, 27. Juli 2009 schrieb Phil Thompson: >> On Mon, 27 Jul 2009 21:03:59 +0200, "Hans-Peter Jansen" >> >> >> >> const_cast> >> *>(this)->qt_metacall(QMetaObject::InvokeMetaMethod, >> >> d->layoutSpacingIndex, param); retu

Re: [PyQt] Problem with folding and QSciScintilla

2009-07-27 Thread projetmbc
Baz Walter a écrit : projetmbc wrote: Baz Walter a écrit : hello christophe i expanded my earlier example to include folding. this is a complete config files lexer based on the lexer for properties files in src/LexOthers.cpp. Thanks for this. Santa Claus exists... ;-) I'll look at and st

[PyQt] Request-QSciScintilla

2009-07-27 Thread projetmbc
Hello, in some language like HTML there are PhP codes and/or JavaScript code embeded. It could be usefull to have a way to tell to Scintilla to use some specific Lexer for specific lines. With this kind of feature, it could be easy to make custom lexers that call general ones for some part of t

Re: [PyQt] Problem with folding and QSciScintilla

2009-07-27 Thread projetmbc
Baz Walter a écrit : projetmbc wrote: Baz Walter a écrit : hello christophe i expanded my earlier example to include folding. this is a complete config files lexer based on the lexer for properties files in src/LexOthers.cpp. Thanks for this. Santa Claus exists... ;-) I'll look at and st

[PyQt] Looking for signal from QTreeView

2009-07-27 Thread Jamie Riotto
I have a QTreeView that allows internal moves and drags & drops. I have no problem getting a signal when an item is selected or edited, but I can't figure out how to catch a signal when a drag-and-drop has made one item in the tree a child of another item. Any suggestions? Thanks - Jamie Riotto __

Re: [PyQt] Re: QStyle manipulations

2009-07-27 Thread Hans-Peter Jansen
Am Montag, 27. Juli 2009 schrieb Phil Thompson: > On Mon, 27 Jul 2009 22:56:57 +0200, "Hans-Peter Jansen" > > wrote: > > Am Montag, 27. Juli 2009 schrieb Phil Thompson: > >> On Mon, 27 Jul 2009 21:03:59 +0200, "Hans-Peter Jansen" > >> > >> > >> >> const_cast >> >> *>(this)->qt_metacall(QMetaO

Re: [PyQt] Re: QStyle manipulations

2009-07-27 Thread Giovanni Bajo
On Tue, 28 Jul 2009 01:24:19 +0200, "Hans-Peter Jansen" wrote: > Am Montag, 27. Juli 2009 schrieb Phil Thompson: >> On Mon, 27 Jul 2009 22:56:57 +0200, "Hans-Peter Jansen" >> >> wrote: >> > Am Montag, 27. Juli 2009 schrieb Phil Thompson: >> >> On Mon, 27 Jul 2009 21:03:59 +0200, "Hans-Peter Janse