Re: [PyQt] pyuic4 vs uic.loadUI

2010-09-28 Thread fpp
On Tue, Sep 28, 2010 at 6:19 PM, pard wrote: > Hi > I have found that some people use pyuic4 to compile their ui files and some > load them dynamically using loadUI. > Does anyone have the pro's and con's of each of these methods? What is the > recommended PyQT way of doing this? Thanks for start

Re: [PyQt] Newbie QMainWindow tips

2010-09-16 Thread fpp
On Thu, Sep 16, 2010 at 7:46 PM, Eric Frederich wrote: > > I think that seems to be my problem. > Just way too many ways to skin this cat. > I'd hate to say something good about Java (especially now that they're owned > by Orable) but there were much less options for me to get overwhelmed with. >

[PyQt] Fwd: Newbie QMainWindow tips

2010-09-16 Thread fpp
Sorry, did it again ! :-) -- Forwarded message -- From: fpp Date: Thu, Sep 16, 2010 at 7:27 PM Subject: Re: [PyQt] Newbie QMainWindow tips To: Eric Frederich On Thu, Sep 16, 2010 at 7:24 PM, Eric Frederich wrote: > > So if I connect the tab bar's currentChanged(

Re: [PyQt] Howto use the Qt documentation successfully - Was: Re: Access to lines of text on textEdit.

2010-09-15 Thread fpp
On Wed, Sep 15, 2010 at 12:06 PM, Hans-Peter Jansen wrote: > > If there ever will be usable python apps on mobile devices (they will) with > complex UIs, that not always let the user remember the interpreted python > penalty, those will be from our camp. Actually there are a lot of those already,

Re: [PyQt] Howto use the Qt documentation successfully - Was: Re: Access to lines of text on textEdit.

2010-09-15 Thread fpp
On Wed, Sep 15, 2010 at 12:06 PM, Hans-Peter Jansen wrote: > > You're still welcome ;-) Oooops, I took too long to write that message, and Hans-Peter beat me to the punch, with almost the same arguments :-) ___ PyQt mailing listPyQt@riverbankcomputi

Re: [PyQt] Howto use the Qt documentation successfully - Was: Re: Access to lines of text on textEdit.

2010-09-15 Thread fpp
On Wed, Sep 15, 2010 at 1:25 AM, Peter Milliken wrote: > > After reviewing and reflecting on my experiences with PyQt over the last two > weeks and also considering the implications of some of your comments here > which relate to a depth of knowledge that isn't immediately obvious to a > newbie su

Re: [PyQt] Howto use the Qt documentation successfully - Was: Re: Access to lines of text on textEdit.

2010-09-14 Thread fpp
On Tue, Sep 14, 2010 at 8:48 PM, Hans-Peter Jansen wrote: > Download a matching zip archive, e.g.: > ftp://ftp.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.3.zip, > extract the doc/qch/*.qch files and register them within assistant. > Pete Thanks for that ! I tried unpacking the qch fo

Re: [PyQt] Composite widgets?

2010-09-06 Thread fpp
On Mon, Sep 6, 2010 at 10:15 PM, Hans-Peter Jansen wrote: > > Start browsing the Qt documentation. Yes, it's a bit arkward to ignore the > C++ decoration, but after getting used to, you start to enjoy to be able to > ignore all the C++ related complexities and regret all those poor C++ > hackers:

Re: [PyQt] events / signals

2010-08-26 Thread fpp
On Wed, Aug 25, 2010 at 10:43 PM, Eric Frederich wrote: > If I find myself subclassing a widget just to get something to happen on an > event am I doing something wrong? > Is there another way to accomplish this? > Is there a way to use an event like a signal in a self.connect? > For example... If

Re: [PyQt] QAction, signals, eric4, Windows and Linux...

2010-08-25 Thread fpp
On Wed, Aug 25, 2010 at 12:33 AM, David Boddie wrote: > > The activated() signal is a "Qt 3 support member" of QAction: > >  http://doc.qt.nokia.com/latest/qaction-qt3.html > > This means that it is available if Qt has been built to contain code to > support APIs in Qt 3, to help people port appli

[PyQt] QAction, signals, eric4, Windows and Linux...

2010-08-23 Thread fpp
Hi, I'm currently working on a simple app, which I code on a Windows desktop using Designer and eric4, then copy over to a Nokia N900, which uses a specific version of Linux (Maemo5). I spent some time today trying to understand why the menu and toolbar were working fine on the desktop, but not o

Re: [PyQt] QDockwidget advice needed

2010-08-18 Thread fpp
On Wed, Aug 18, 2010 at 10:10 PM, danny wrote: > FWIW, I do have Mark Summerfield's book and I agree it is brilliant. > However, he does not give an example of how to connect a dock window to a tree > item. His examples include how to keep two widgets synchronized, but that is > not > my problem.

Re: [PyQt] QDockwidget advice needed

2010-08-18 Thread fpp
On Wed, Aug 18, 2010 at 9:22 PM, Hans-Peter Jansen wrote: > > As you seem to be in the early stages of approaching Qt, you read Mark > Summerfields book "Rapid GUI Programming with Python and Qt" already? You > don't? What a pity. Read it. And no, I'm not affiliated in any way to Mark > nor P&H, o

Re: [PyQt] Just for fun: QCompleter accessing a QListWidget's internal model through a "proxy" ?

2010-08-17 Thread fpp
On Tue, Aug 17, 2010 at 9:25 PM, Matt Newell wrote: > On Tuesday 17 August 2010 11:23:55 fpp wrote: >> So I thought, perhaps naively, that it might be possible to build a >> kind of "proxy" model, that would feed a completer with data pulled >> from a list widget&#

[PyQt] Just for fun: QCompleter accessing a QListWidget's internal model through a "proxy" ?

2010-08-17 Thread fpp
Hi everyone, After many moons of lurking I have finally subscribed to ask for advice about my current challenge: In this app I'm working on (my first "real", non-trivial one, admittedly), I have a number of QListWidgets in the main window, holding plain strings, each with an associated QLineEdit