[PyQt] QWebkit / QWebFrame

2012-01-09 Thread James Polk
whoops,...correction I typed "fancybrowser.py" but I actually meant "formextractor.py" Thanks, ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] QWebkit / QWebFrame

2012-01-09 Thread James Polk
Howdy, I believe Guru Hans-Peter ;-) posted a collection of PyQt examples that he converted into Python from the Qt C++ examples.. In one titled "fancybrowser.py" There's a few lines that read...         @QtCore.pyqtSlot()         def submit(self):             frame = self.ui.webView.page().m

[PyQt] Override QStyledItemDelegate.initStyleOption not working?

2012-01-09 Thread Andreas Pakulat
Hi, I'd like to customize the display of a model via a styleditemdelegate, in particular I want to add a decorating icon depending on some custom role from the model. As far as I can see the easiest way to do this would be overriding initStyleOption since then I can set the icon and icon-size dir

Re: [PyQt] Gesture programming in PyQt

2012-01-09 Thread Phil Thompson
On Mon, 09 Jan 2012 19:11:18 +0100, Detlev Offenbach wrote: > Am Montag, 9. Januar 2012, 09:58:39 schrieb Phil Thompson: >> On Sun, 08 Jan 2012 18:05:52 +0100, Detlev Offenbach >> >> wrote: >> > Am Samstag, 7. Januar 2012, 18:31:16 schrieb Phil Thompson: >> >> On Sat, 7 Jan 2012 15:33:08 +0100,

Re: [PyQt] Gesture programming in PyQt

2012-01-09 Thread Detlev Offenbach
Am Montag, 9. Januar 2012, 09:58:39 schrieb Phil Thompson: > On Sun, 08 Jan 2012 18:05:52 +0100, Detlev Offenbach > > wrote: > > Am Samstag, 7. Januar 2012, 18:31:16 schrieb Phil Thompson: > >> On Sat, 7 Jan 2012 15:33:08 +0100, Detlev Offenbach > >> > >> wrote: > >> > Hi Phil, > >> > > >> > c

Re: [PyQt] Gesture programming in PyQt

2012-01-09 Thread Phil Thompson
On Sun, 08 Jan 2012 18:05:52 +0100, Detlev Offenbach wrote: > Am Samstag, 7. Januar 2012, 18:31:16 schrieb Phil Thompson: >> On Sat, 7 Jan 2012 15:33:08 +0100, Detlev Offenbach >> >> wrote: >> > Hi Phil, >> > >> > can you test my little test script on your side? I tried it over here >> >> with

[PyQt] How to detect if event loop is already running?

2012-01-09 Thread Panupat Chongstitwattana
Running PyQt inside Maya 2010. If I start a UI and haven't closed it, running the script again will completely freeze Maya and I get the message about "The event loop is already running". I can prevent that by manually clicking the [x] button to close the UI before I rerun the script. But I'm won