Hi Zoli,
Thanks you're right. I thought I must have missed the bleeding obvious
when it did not work before. It works fine now.
Cheers.
On Tue, 3 May 2011 01:29:10 PM Zoltan Szalai wrote:
> Hi Brad,
>
> He means that you should call the focusOutEvent of the base class in
> your reimplementa
Hi Brad,
He means that you should call the focusOutEvent of the base class in
your reimplementation of focusOutEvent.
It's desired because QTextEdit reimplements focusOutEvent from QWidget.
Something like this:
def focusOutEvent(self, e):
QtGui.QTextEdit.focusOutEvent(self, e)
Hi Pete,
Thanks for you reply but I don't understand what you are suggesting as a
solution. I tried to take you at your suggestion and replace the line
'def focusOutEvent(self, e):' with 'QtGui.QTextEdit.focusOutEvent(self, e)'
but it did not work. (Invalid syntax error). I even tried variation
I commented the line that was giving me problems (in fact, just an argument
of the function
which doesn't seem too important).
Now, I have a linking error :
python26.libwrote:
> On Mon, 2 May 2011 15:20:03 +0200, Johanna
> wrote:
> > Well, that's good to know, even if it's not good news for me!
On Monday 02 May 2011, 12:39:33 Brad Ralph wrote:
> Hello,
>
> I am trying to subclass QTextEdit to implement a foucsOutEvent. I
> must be doing something wrong however because when I replace the
> standard QTextEdit with my subclass I get the following error mesages
> when I close the program. (o
PyQtMobility v1.0.1 has been released. This fixes a build problem.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
With 0x0207 it gives me some errors about the else statement.
I tried with #if PY_VERSION_HEX > 0x0206 and the following error
disappears :
NMAKE : fatal error U1077: '"D:\ProgramFiles\Microsoft Visual Studio
9.0\VC\bin\nmake.exe"' : return code '0x2'
The others remain though..
ps : sor
PyQt v4.8.4 and SIP v4.12.2 have been released and can be downloaded from
the usual places.
Both releases include relatively minor functional enhancements - see the
homepage or the respective NEWS files for the details.
Phil
___
PyQt mailing listPyQ
On Mon, 2 May 2011 11:53:14 +0200, Johanna
wrote:
> Hello,
>
> I am trying to compile SIP since a few days in order to install PyQt.
> I can't find lead on the web so I thought I'd better ask for help here.
>
> I unzipped the latest sip archive (4.12.1)and run the configure command.
> Then when
Hello,
I am trying to subclass QTextEdit to implement a foucsOutEvent. I must be
doing something wrong however because when I replace the standard QTextEdit
with my subclass I get the following error mesages when I close the program.
(once for each instance of my subclass). I don't when a req
Hello,
I am trying to compile SIP since a few days in order to install PyQt.
I can't find lead on the web so I thought I'd better ask for help here.
I unzipped the latest sip archive (4.12.1)and run the configure command.
Then when I tried to run nmake it gives me the following error :
.\voidptr
On Sun, 01 May 2011 20:16:53 -0500, Jack Cosgrove
wrote:
> I will describe the general task I am performing beforehand as there may
> be better way to do it than I am currently trying.
>
> I am making a Python editor and console using Qt. This includes a
> QScintilla editor and a QTextEdit for te
12 matches
Mail list logo