[PyQt] QtCore.QMetaObject.connectSlotsByName(obj) question

2008-10-15 Thread Bruno Tikami
Hi all, I'm trying to get pyuic module to work with Qt4Designer .ui files but I'm facing some problems to connect the slots. Here's what I have: [login_ui.py] class LoginDialog(): ... self.okButton = QtGui.QPushButton(Dialog) self.okButton.setObjectName("okButton") and, in another python

Re: [PyQt] Re: mouseMoveEvent - Delay after mouse move.

2008-10-15 Thread mir amicitas
That sure looks like the bug that I ran into. I sent the qt people the details of what I found and my proposed fix . . . I was able to come up with a partial workaround. It fixes the problem but removes some of the tooltip functionality. It makes dragging behave as expected so that is good enou

[PyQt] Crash when using KFileItemList (regression) - with testcase

2008-10-15 Thread Krzysztof Lichota
Hi. I have run into regression when using KFileItemList which is emitted in signal. It worked OK in Kubuntu Dapper (pyQt 3.15.1, pyKDE 3.15.1+snapshot20060118, SIP 4.3.2), while in Kubuntu Hardy (pyQt 3.17.4, pyKDE 3.16.0, SIP 4.7.3) it causes application crash due to segfault. It seems crash hap

Re: [PyQt] python bindings around webkit

2008-10-15 Thread lkcl
Aaron Digulla wrote: > > Quoting Luke Kenneth Casson Leighton <[EMAIL PROTECTED]>: > > > I'd like to use the HTML edit mode of webkit (there is a demo editor > which comes with the webkit source). > there is? _great_. i wasn't aware of that. cool. very handy. > My main issue with

Re: [PyQt] python bindings to qwebkit - who's responsible for doing this work (anyone?)

2008-10-15 Thread lkcl
David Boddie wrote: > >> there's something very, very important that gobject can do, and i am >> unsure that it is appropriate to use e.g. QObject to do the same >> thing, or even if Qt4 is capable of doing what gobject can provide >> (which it could very well do, but i don't know how), and it's

Re: [PyQt] Context menu on items in QTreeView

2008-10-15 Thread Filip Gruszczyński
All these advice is very cool and makes it all simpler. Thanks for your help :-) -- Filip Gruszczyński ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Scroll Area Not Scrolling

2008-10-15 Thread Matthew Singer
I have an QScollArea that has a child that is a QWidet. The QWidget contains a number of GUI widgets.  In QDesigner, the scroll area works fine, the vertical scrollbar is there and active.  This is for both the design mode and the preview.   However when I run the resulting py file after runnin

Re: [PyQt] python bindings around webkit

2008-10-15 Thread Aaron Digulla
Quoting Luke Kenneth Casson Leighton <[EMAIL PROTECTED]>: I'm especially interested if I would be able to get access to the current cursor position in edit mode - that would allow me to use WebKit as the basis to write a very powerful WYSIWYG text editor. well... you can definitely get access

Re: [PyQt] design flaw in python khtml DOM bindings

2008-10-15 Thread lkcl
David Boddie wrote: > > I don't think it was a problem in PyKDE3. At least, I don't remember > running > into any issues with casting - not with the DOM classes anyway. My brother > wrote some convenience wrappers around the KHTML DOM, so I think I would > have > heard something if it had been

Re: [PyQt] design flaw in python khtml DOM bindings

2008-10-15 Thread lkcl
Jim Bublitz wrote: > > On Tuesday 14 October 2008 14:21, Luke Kenneth Casson Leighton wrote: > >> the issue is that the wrapper objects aren't unique [don't return the >> same python object for a given DOM c++ object], due to the underlying >> c++ objects being typecast down to "Node*" (or Elem

[PyQt] python bindings around webkit

2008-10-15 Thread Luke Kenneth Casson Leighton
> Hi, helloo :) > This sounds very interesting. I'm looking at this from a user > perspective. Will this allow me to access all and any object in a HTML > page loaded by Webkit? ep :) including (once it's implemented) the SVG canvas (ooo). you _can_ access the SVG canvas at the moment, b

[PyQt] PyQt installation issue

2008-10-15 Thread lennart80
I had troubles compiling PyQt on Windows. It seems like qtdirs.exe called from configure.py produces the wrong path to Qt, or did I do something wrong? This is part of the output from the configure step: ... Qt v4.4.3 free edition is being used. SIP 4.7.7 is being used. The Qt

Re: [PyQt] python bindings to qwebkit - who's responsible for doing this work (anyone?)

2008-10-15 Thread Aaron Digulla
Quoting Luke Kenneth Casson Leighton <[EMAIL PROTECTED]>: last month or so i added glib bindings to webkit, in order to make them available via pygtk's codegen.py as python bindings, for pywebkitgtk. to make that as clear as mud: around webkit's c++ DOM bindings i added glib bindings so that i