Re: [PyQt] Please tell me if I have this straight...

2011-08-06 Thread David Cortesi
OK, David Boddie helped clear up my confusion (as did rereading chapter 1 of "Rapid GUI Programming") -- to get from a QString to something I can work on in Python it is only necessary to apply unicode(). Doh! (Facepalm). BLEEP represents any transformation that the user requires, which is not in

Re: [PyQt] desktop workspace

2011-08-06 Thread Hans-Peter Jansen
On Saturday 06 August 2011, 01:35:55 emmanuel_mays...@lynceantech.com wrote: > I am trying to save the geometry and and the workspace where the > application has been closed. Is there a way with Python/Qt to get the > info on the workspace number!? While Arnold is generally right, there might be

Re: [PyQt] Help needed with SIP

2011-08-06 Thread Hans-Peter Jansen
On Saturday 06 August 2011, 23:28:05 Vipul Raheja wrote: > Hi, > > Thanks for your reply Phil. > > I had earlier installed SIP and PyQt4 through apt-get in Ubuntu, but > was still getting the same problem since there was no QtGuimod.sip > file present on my system. Probably, your local sip/PyQt ma

Re: [PyQt] Help needed with SIP

2011-08-06 Thread Vipul Raheja
Hi, Thanks for your reply Phil. I had earlier installed SIP and PyQt4 through apt-get in Ubuntu, but was still getting the same problem since there was no QtGuimod.sip file present on my system. I removed them and tried installing SIP and PyQt4 again from their sources. I am getting the following

[PyQt] qwebpage memory issue

2011-08-06 Thread ozgur
Hi all. I am using a QWebPage object for one of my applications, but it takes too much memory space. Just one instance takes about 150 MBs after I load a few pages. Is it normal, and if it is, is there anything I can do to reduce memory consumption? (I don't need a GUI b.t.w, but I think it is no

Re: [PyQt] desktop workspace

2011-08-06 Thread Arnold Krille
On Saturday 06 August 2011 01:35:55 emmanuel_mays...@lynceantech.com wrote: > I am trying to save the geometry and and the workspace where the > application has been closed. Is there a way with Python/Qt to get the info > on the workspace number!? Why? Its either the window-managers task to restor

Re: [PyQt] Help with Login Dialog / QThread issues

2011-08-06 Thread Baz Walter
On 05/08/11 17:46, Eric Frederich wrote: Any takers? On Thu, Jul 7, 2011 at 12:38 PM, Eric Frederich wrote: Hello, I am trying to create a login dialog for my application. Logging in can take a couple of seconds so I wanted to show a progress bar during the login process. I think that for my

Re: [PyQt] desktop workspace

2011-08-06 Thread Baz Walter
On 06/08/11 00:35, emmanuel_mays...@lynceantech.com wrote: I am trying to save the geometry and and the workspace where the application has been closed. Is there a way with Python/Qt to get the info on the workspace number!? you could use dbus: >>> import dbus >>> bus = dbus.SessionBus() >>>

Re: [PyQt] Help needed with SIP

2011-08-06 Thread Phil Thompson
On Sat, 6 Aug 2011 20:45:19 +0530, Vipul Raheja wrote: > Hi all, > > I am trying to wrap the Qt module of OSSIM, an image-processing tool. I was > just beginning to dive into the wrapping process and created a .sip file to > wrap a class, ossimPlanetQtAboutDialog. But I am getting the following >

[PyQt] Help needed with SIP

2011-08-06 Thread Vipul Raheja
Hi all, I am trying to wrap the Qt module of OSSIM, an image-processing tool. I was just beginning to dive into the wrapping process and created a .sip file to wrap a class, ossimPlanetQtAboutDialog. But I am getting the following error on executing the sip command: vipul@vipul-laptop:~/ossim-svn

Re: [PyQt] Please tell me if I have this straight...

2011-08-06 Thread Hans-Peter Jansen
On Saturday 06 August 2011, 00:35:51 David Boddie wrote: > On Fri Aug 5 19:27:51 BST 2011, David Cortesi wrote: > > I present a document to a user in a QPlainTextEdit widget. The > > widget nicely handles most editing functions, but there is a unique > > operation I want to provide. When the user s