Re: [PyQt] QtScintilla2 and fonts

2007-06-26 Thread kib2
Phil Thompson a écrit : On Tuesday 26 June 2007 1:38 pm, kib2 wrote: Hi, I'm trying to play with QtScintilla2 and something is going wrong : editor = QsciScintilla() font = QtGui.QFont() font.setFamily("Consolas") font.setPointSize(10) editor.setFont(font) editor.setMarginsFont(font) the prob

[PyQt] Qt CSS Validation.

2007-06-26 Thread charles chen
Hi, I'd like to use Qt 4.3's new Qt CSS Validator. It's part of the Qt Designer Tool. http://labs.trolltech.com/blogs/2007/06/04/backgrounds-pseudo-states-qt-43-style-sheets/ It appears to be "StyleSheetValidator" in textpropertyeditor.cpp. I've never written SIP before; would an

[PyQt] pylupdate patch for UTF-8 support

2007-06-26 Thread Giovanni Bajo
Hi, this patch is needed for me to be able to correctly run pylupdate over Python UTF-8 source code, containing UTF-8 literal strings. The code uses self.tr() instead of self.trUtf8() and changes the defaultCodecForTr to UTF-8 at startup. This is Trolltech's recommended way to avoid using tr

Re: [PyQt] QtScintilla2 and fonts

2007-06-26 Thread Phil Thompson
On Tuesday 26 June 2007 1:38 pm, kib2 wrote: > Hi, > > I'm trying to play with QtScintilla2 and something is going wrong : > > editor = QsciScintilla() > font = QtGui.QFont() > font.setFamily("Consolas") > font.setPointSize(10) > editor.setFont(font) > editor.setMarginsFont(font) > > the problem he

[PyQt] QtScintilla2 and fonts

2007-06-26 Thread kib2
Hi, I'm trying to play with QtScintilla2 and something is going wrong : editor = QsciScintilla() font = QtGui.QFont() font.setFamily("Consolas") font.setPointSize(10) editor.setFont(font) editor.setMarginsFont(font) the problem here is that the Margin font is set correctly, but not the editor

[PyQt] Python Contractor(s) wanted

2007-06-26 Thread Rakesh Thakrar
Hi All, My client is looking for a number of Python to join an existing project team for along term contract. Suitable candidates will have to demonstrate programming skills with Python or C++. Candidates with only C++ must demonstrate experience of in any one of the following; QT, GTK, KDE or sim

Re: [PyQt] PyKDE doesn't compile with latest sip & PyQt

2007-06-26 Thread Ismail Dönmez
On Monday 25 June 2007 15:22:46 Phil Thompson wrote: > On Monday 25 June 2007 9:33 am, Ismail Dönmez wrote: > > Hi Phil, > > > > On Sunday 24 June 2007 12:43:03 Phil Thompson wrote: > > > I think if you use -j2 instead of -i it will compile (and in a > > > reasonable time). I'll update the patch (o

[PyQt] QPainter Again

2007-06-26 Thread [EMAIL PROTECTED]
Hello and sorry but i don't understand the mistacke: I do as follow: class PictureFrame(QtGui.QFrame): def __init__(self, parent = None): QFrame.__init__(self, parent) self.picture = QtGui.QPicture() def paintEvent(self, event): p