Re: [PyQt] Error while installing PyQtMobility 1.0 on Ubuntu 10.10

2011-04-19 Thread Phil Thompson
On Tue, 19 Apr 2011 00:22:30 +0200, David Boddie wrote: > On Mon, 18 Apr 2011 11:24:13 +0100, Phil Thompson wrote: >> On Mon, 18 Apr 2011 18:13:17 +0800, chinakr wrote: > > [...] > >> > Generating the C++ source for the QtContacts module... >> > sip: >> >> /home/chinakr/src/PyQtMobility-gpl-1.0

Re: [PyQt] Python property in QObject masks AttributeErrors

2011-04-19 Thread Phil Thompson
On Tue, 19 Apr 2011 08:46:13 +0200, Benjamin Kloster wrote: > On Mon, 2011-04-18 at 22:18 +0100, Phil Thompson wrote: >> On Mon, 18 Apr 2011 14:07:13 +0200, Benjamin Kloster >> wrote: >> > Hi everyone, >> > twice now I've stumbled over a subtle bug when subclassing QObject. >> > When >> > the get

Re: [PyQt] Python property in QObject masks AttributeErrors

2011-04-19 Thread Benjamin Kloster
On Tue, 2011-04-19 at 08:08 +0100, Phil Thompson wrote: > On Tue, 19 Apr 2011 08:46:13 +0200, Benjamin Kloster > wrote: > > On Mon, 2011-04-18 at 22:18 +0100, Phil Thompson wrote: > >> On Mon, 18 Apr 2011 14:07:13 +0200, Benjamin Kloster > >> wrote: > >> > Hi everyone, > >> > twice now I've stumb

[PyQt] Reopening QT Window - Segfault

2011-04-19 Thread Michka Popoff
Hello I need some help to implement a QT Window to draw some OpenGL in an python-GTK2 application. In the GTK application, I have a push button which will launch an OpenGL scenery (In a QT window). I should be able to close the OpenGL Window and to reopen it as many times as I want, without exitin

Re: [PyQt] Disable context menu of a plugin in QWebview

2011-04-19 Thread Hans-Peter Jansen
On Monday 18 April 2011, 11:16:17 Gelonida N wrote: > Hi, > > Now I am able to activate a flash plugin in my QWebview browser and > things work as they should. > > There is just one minor problem > > > The browser should always display a given context menu when the user > clicks on the riht mouse b

Re: [PyQt] Error while installing PyQtMobility 1.0 on Ubuntu 10.10

2011-04-19 Thread David Boddie
On Tue Apr 19 08:06:05 BST 2011, Phil Thompson wrote: > Can you try with the current SIP snapshot. OK, the code generation appears to work with the latest SIP snapshot and PyQtMobility 1.0, building against Qt Mobility 1.1.1. However, I encounter the following error when building the QtLocation m

Re: [PyQt] Error while installing PyQtMobility 1.0 on Ubuntu 10.10

2011-04-19 Thread Phil Thompson
On Tue, 19 Apr 2011 16:46:47 +0100, David Boddie wrote: > On Tue Apr 19 08:06:05 BST 2011, Phil Thompson wrote: > >> Can you try with the current SIP snapshot. > > OK, the code generation appears to work with the latest SIP snapshot and > PyQtMobility 1.0, building against Qt Mobility 1.1.1. How

Re: [PyQt] Error while installing PyQtMobility 1.0 on Ubuntu 10.10

2011-04-19 Thread Phil Thompson
On Tue, 19 Apr 2011 16:46:47 +0100, David Boddie wrote: > On Tue Apr 19 08:06:05 BST 2011, Phil Thompson wrote: > >> Can you try with the current SIP snapshot. > > OK, the code generation appears to work with the latest SIP snapshot and > PyQtMobility 1.0, building against Qt Mobility 1.1.1. How

Re: [PyQt] Help with Design of Dialog interface

2011-04-19 Thread alsaf
Thanks for that David, much appreciated. I've tried the two examples and it is exactly what I'm looking for. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Question on QTreeView, interactive expanding/collapsing

2011-04-19 Thread James Polk
Greetings All, In a typical QTreeView,...the default behaviour of clicking on a "plus box", i.e. the branch boxes of the tree, yields a "single box open", or in the case of collapsing, a "single box closed" event. Is there any way to use a keyboard modifier, like SHIFT, CTRL, and/or ALT, to expa

Re: [PyQt] Question on QTreeView, interactive expanding/collapsing

2011-04-19 Thread James Polk
Whoops,...just found the *-hotkey,nevermind, lol... --- On Tue, 4/19/11, James Polk wrote: From: James Polk Subject: Question on QTreeView, interactive expanding/collapsing To: pyqt@riverbankcomputing.com Date: Tuesday, April 19, 2011, 2:09 PM Greetings All, In a typical QTreeView,...

Re: [PyQt] Question on QTreeView, interactive expanding/collapsing

2011-04-19 Thread Zoltan Szalai
The "*" key expands all children but you can easily implement your own expand / collapse subtree functionality. bests Zoli On 2011.04.19. 23:09, James Polk wrote: Greetings All, In a typical QTreeView,...the default behaviour of clicking on a "plus box", i.e. the branch boxes of the tree,

Re: [PyQt] Disable context menu of a plugin in QWebview

2011-04-19 Thread Gelonida N
Hi Hans-Peter, Thanks for your answer. On 04/19/2011 03:00 PM, Hans-Peter Jansen wrote: > On Monday 18 April 2011, 11:16:17 Gelonida N wrote: >> Hi, >> >> Now I am able to activate a flash plugin in my QWebview browser and >> things work as they should. >> >> There is just one minor problem >> >>

Re: [PyQt] Disable context menu of a plugin in QWebview

2011-04-19 Thread Gelonida G
Hi Hans-Peter, Thanks for your answer. On 04/19/2011 03:00 PM, Hans-Peter Jansen wrote: > On Monday 18 April 2011, 11:16:17 Gelonida N wrote: >> Hi, >> >> Now I am able to activate a flash plugin in my QWebview browser and >> things work as they should. >> >> There is just one minor problem >> >>

Re: [PyQt] Question on QTreeView, interactive expanding/collapsing

2011-04-19 Thread Paul Du Bois
If you need hotkey+click then this is the best way I've found to do it # Implement shift-click to expand/contract @pyqtSlot(QModelIndex) def _on_expanded(self, index): if self._in_shift_press: self._in_shift_press = False _recursive_set_expand

Re: [PyQt] Question on QTreeView, interactive expanding/collapsing

2011-04-19 Thread James Polk
That's Cool!...Thanks Paul! --- On Tue, 4/19/11, Paul Du Bois wrote: From: Paul Du Bois Subject: RE: [PyQt] Question on QTreeView, interactive expanding/collapsing To: "James Polk" , pyqt@riverbankcomputing.com Date: Tuesday, April 19, 2011, 3:25 PM If you need hotkey+click then this is th

[PyQt] Kudos

2011-04-19 Thread Eric Frederich
Hey Phil, I recently built some Python bindings (using Cython) for a 3rd party library that had to be built using Visual Studio 2005. Its great having these bindings and being able to use Python. Unfortunately, to install any other Python modules I have to build them myself as nobody offers versio

Re: [PyQt] Question on QTreeView, interactive expanding/collapsing

2011-04-19 Thread Knacktus
Am 19.04.2011 23:29, schrieb Zoltan Szalai: The "*" key expands all children but you can easily implement your own expand / collapse subtree functionality. Wow, I didn't know about that! But Qt needs a method to expand all subchildren recursively. Why is this method not available? Or is it?

[PyQt] Textedit font changes

2011-04-19 Thread ad3d
Hi guys, i want to use the font size,type of font,font color,underline,bold,italic..functions for QTextEdit using pyqt.. can someone plz help me on this.. Regards, ad3d -- View this message in context: http://old.nabble.com/Textedit-font-changes-tp31438562p31438562.html Sent from the PyQt m