[PyQt] problem with tab key to switch focus in Qt-based plugins in QtWebKit

2010-04-12 Thread Matthew Scott
I am experiencing strange behavior when embedding Qt-based plugins into web pages rendered using QtWebKit. The plugins have child widgets accessible using the tab key, e.g. QLineEdit widgets. When there are no tab-accessible elements on the page, it only takes one keystroke of the tab key to move

Re: [PyQt] Drag and drop: Pixmap and lineedit/label problem

2010-04-12 Thread Nick Gaens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Try to call raise() on the widget. http://doc.trolltech.com/4.6/qwidget.html#raise On 12/04/2010 23:33, Anshul Jain wrote: > Hello > > I'm trying to implement drag and drop and also trying to display a > label/LineEdit on my image. But the problem

Re: [PyQt] problem with QGraphicsItem

2010-04-12 Thread Philippe Crave
really perfect! simple, works very well. thank you. 2010/4/12 David Boddie > On Tue, 6 Apr 2010 22:10:40 +0200, Philippe Crave wrote: > > > I posted that question few days ago, but no answers. Maybe nobody use > > QGraphicItem. I do not know. I am new at pyqt (still reading the pyqt > > book !).

Re: [PyQt] Overcoming slow startup

2010-04-12 Thread Andreas Pakulat
On 11.04.10 22:27:04, Thorsten Kampe wrote: > Hi, > > I wrote a simple application that displays output of an external CLI > tool in a QTreeWidget. In a normal setup, the external tool will take > less than one minute to terminate. Unfortunately - depending on the > setup of the external applic

Re: [PyQt] QAbstractItemModel causes segfault

2010-04-12 Thread Sebastian Elsner
*bump* No ideas on this one? On Wed, 07 Apr 2010 18:14:28 +0200, Sebastian Elsner wrote: One additional question: You wrote, that internalPointer() is not meant to be used outside of the model. But how would I get the associated object from a QModelIndex? I am using selectedIndex()