[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Nokia pwns Trolltech for $153MM
From:       "Angel Leon" <gubatron () gmail ! com>
Date:       2008-01-28 14:13:42
Message-ID: f2a9157b0801280613r1cdbb30bs3ebb2c3c4729bb70 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


http://www.engadgetmobile.com/2008/01/28/nokia-acquires-trolltech-the-biggest-little-company-youve-ne/

Take that Android, awesome move by Nokia to make Mobile development open.
Let's hope things will only get better for Qt with Nokia behind it, for
mobile developers as well as Desktop and
Server developers.

On Jan 28, 2008 1:41 AM, <pyqt-request@riverbankcomputing.com> wrote:

> Send PyQt mailing list submissions to
>        pyqt@riverbankcomputing.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> or, via email, send a message with subject or body 'help' to
>        pyqt-request@riverbankcomputing.com
>
> You can reach the person managing the list at
>        pyqt-owner@riverbankcomputing.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PyQt digest..."
>
>
> Today's Topics:
>
>   1. Re: Re: Re: How to communicate with mysql? (Hans-Peter Jansen)
>   2. How to write a GUI interface for a set of Python programs?
>      (Algis Kabaila)
>   3. Re: processEvents on QlistWidget operations does nothing
>      (Andreas Pakulat)
>   4. Re: How to write a GUI interface for a set of Python
>      programs? (Hans-Peter Jansen)
>   5. Re: How to write a GUI interface for a set of Python
>      programs? (Andreas Pakulat)
>   6. Re: How to write a GUI interface for a set of Python
>      programs? (Algis Kabaila)
>   7. Qt designer & KDE (Daniel O'Connor)
>   8. Re: How to write a GUI interface for a set of Python
>      programs? (Andreas Pakulat)
>   9. Re: Qt designer & KDE (Andreas Pakulat)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 27 Jan 2008 21:11:21 +0100
> From: Hans-Peter Jansen <hpj@urpla.net>
> Subject: Re: [PyQt] Re: Re: How to communicate with mysql?
> To: pyqt@riverbankcomputing.com
> Message-ID: <200801272111.22125.hpj@urpla.net>
> Content-Type: text/plain;  charset="utf-8"
>
> Am Sonntag, 27. Januar 2008 schrieb Ryen Lee:
> > > > Hi everybody! I am a newbie for PyQT.Now I am write a simple
> programm
> > > > which
> > > >
> > > > > use mysql as its database,but I find it is very diffucult to use
> > > > > the
> > > >
> > > > PyQT
> > > >
> > > > > APIs.I write sth like that:
> > > > >
> > > > > db = QtSql.QSqlDatabase.addDatabase("QMYSQL")
> > > > > db.setHostName("127.0.0.1")
> > > > > db.setDatabaseName("test")
> > > > > db.setUserName("root")
> > > > > db.setPassword("123456")
> > > > > db.open()
> > > > >
> > > > > but it just doesn't work. <snip>
> > > >
> > > >    - Meaning? What does db.open() return, True or False? Does the
> > > >    database "test"
> > > >    exist? And is Qt configured with MySQL support?
> > > >
> > > >    Or did you perhaps call these methods before you had created a
> > > >    QApplication or
> > > >    a QCoreApplication object? That won't work and the error messages
> > > >    aren't very
> > > >    helpful for this case.
> > > >
> > > >    I can't test your code, because I don't have MySQL installed.
> > > >
> > > >    HTH
> > > >    Sibylle
> > > >
> > > >
> > > >
> > > > --
> > > > Dr. Sibylle Koczian
> > >
> > > Thank you for your reply!
> >
> >  I try to fix the problem as you told,but I failed finally.I think PyQt
> > doesn't support mysql very well,because when I change
> > db = QtSql.QSqlDatabase.addDatabase("QMYSQL")
> > to
> > db = QtSql.QSqlDatabase.addDatabase("QSQLITE")
> >
> > it works.So I decide to use mysqldb instead of PyQT's APIs
>
> Your logic above doesn't make any sense (for me at least).
>
> While you're free to use whatever database backend/interface you want, I'm
> inclined to mention, that I use mysql successfully since ages (I did some
> of the PyQt3 examples, when I started) with lots of success. Sure, some
> API
> details looks arkward from a python perspective due to the underlying C++
> type system (QVariant and friends), but on the plus side, it's a pleasure
> to create/display a table with 30000 records without problems (neither at
> the memory nor at the slowness front due to some pretty elaborated Qt
> algorithms at work down under). It will take significant developer
> resources to create something on par with the Qt database framework (been
> there, done that for specialized tkinter case).
>
> I cannot imagine, that the situation turned much worse with PyQt4.
>
> Cheers,
> Pete
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 28 Jan 2008 09:21:20 +1100
> From: Algis Kabaila <akabaila@pcug.org.au>
> Subject: [PyQt] How to write a GUI interface for a set of Python
>        programs?
> To: pyqt@riverbankcomputing.com
> Message-ID: <200801280921.20297.akabaila@pcug.org.au>
> Content-Type: text/plain;  charset="utf-8"
>
> On Mon, 28 Jan 2008 07:11:21I another thread Hans-Peter Jansen wrote:
> > Am Sonntag, 27. Januar 2008 schrieb Ryen Lee:
> > > > > Hi everybody! I am a newbie for PyQT.Now I am write a simple
> programm
> > > > >
> [...]
> The above sentence from another thread describes well my current status.
>
> In the last few years I wrote a series of programs in Python for
> Structural
> Analysis for Engineering structures.  IMHO, Python is a great teaching
> language that enables one to expose the basic principles of programming
> without having to go into extraneous details.
>
> Currently those programs lack GUI.  I would like to write GUI with a
> minimum
> need to substantially change my extant Python programs and a
> minimum "immersion" into yet another computer language (I am 83 and have
> learned many languages - computer since the valve computer days as well as
> human - in my long and varied life).
>
> PyQt interface looks pretty, it is an integral part of KDE, so it seems
> like
> the right candidate for my objectives.
>
> Is it possible to create a GUI with QtDesigner and "assemble" it into PyQt
> from the *.ui files and then outside of the QtDesigner call extant Python
> programs?  Or is that an impossible dream?
>
> If that is possible, how can I achieve that aim with the latest (?)
> QtDesigner
> version 3.3.8?
>
> Your suggestions on this topic will be gratefully received.
>
> Yours sincerely,
>
> OldAl
> from Canberra, the capital of Down Under.
>
> --
> Algis Kabaila (Dr)
> http://akabaila.pcug.org.au/StructuralAnalysis/
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 27 Jan 2008 23:22:36 +0100
> From: Andreas Pakulat <apaku@gmx.de>
> Subject: Re: [PyQt] processEvents on QlistWidget operations does
>        nothing
> To: qt-interest@trolltech.com, pyqt@riverbankcomputing.com
> Message-ID: <20080127222236.GA8622@morpheus.apaku.dnsalias.org>
> Content-Type: text/plain; charset=us-ascii
>
> On 27.01.08 13:36:37, Scott Aron Bloom wrote:
> > > Its not about replacing 1 line of code, its about properly designing
> > > your applications business logic. Moving heavy work into a thread is
> > the
> > > right thing to do (or separate process). QApplication::processEvents
> > is
> > > the ugly hack for those who are not able to use threads properly.
> > >
> > > Andreas
> > >
> > But... adding 1 item to a list view.. is not heavy work.. And neigher
> > does it appear that the creation of the complete list of items...
>
> Right, but thats not what the code actually does and I also suspect that
> adding the item is still done in the main thread.
>
> > If the code was actually downloading the content of each URL... then I
> > would put it in a thread..
>
> Thats exactly what the urllib-call (notice the read() at the end of that
> line) does, it opens the url and reads the whole file. And I suspect
> that this is the part that got moved into a separate thread. Now maybe
> I've just seen far worse code, but a short QThread::run() that iterates
> over urls, downloads them and then emits a signal for each with whatever
> content is needed doesn't look ugly to me.
>
> Andreas
>
> --
> This will be a memorable month -- no matter how hard you try to forget it.
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 27 Jan 2008 23:41:03 +0100
> From: Hans-Peter Jansen <hpj@urpla.net>
> Subject: Re: [PyQt] How to write a GUI interface for a set of Python
>        programs?
> To: pyqt@riverbankcomputing.com
> Message-ID: <200801272341.04223.hpj@urpla.net>
> Content-Type: text/plain;  charset="utf-8"
>
> Am Sonntag, 27. Januar 2008 schrieb Algis Kabaila:
> > On Mon, 28 Jan 2008 07:11:21I another thread Hans-Peter Jansen wrote:
> > > Am Sonntag, 27. Januar 2008 schrieb Ryen Lee:
> > > > > > Hi everybody! I am a newbie for PyQT.Now I am write a simple
> > > > > > programm
> >
> > [...]
> > The above sentence from another thread describes well my current status.
> >
> > In the last few years I wrote a series of programs in Python for
> > Structural Analysis for Engineering structures.  IMHO, Python is a great
> > teaching language that enables one to expose the basic principles of
> > programming without having to go into extraneous details.
> >
> > Currently those programs lack GUI.  I would like to write GUI with a
> > minimum need to substantially change my extant Python programs and a
> > minimum "immersion" into yet another computer language (I am 83 and have
> > learned many languages - computer since the valve computer days as well
> > as human - in my long and varied life).
> >
> > PyQt interface looks pretty, it is an integral part of KDE, so it seems
> > like the right candidate for my objectives.
>
> Congrats for the tasteful choice and welcome to the club.
>
> > Is it possible to create a GUI with QtDesigner and "assemble" it into
> > PyQt from the *.ui files and then outside of the QtDesigner call extant
> > Python programs?  Or is that an impossible dream?
>
> Sure you can.
>
> > If that is possible, how can I achieve that aim with the latest (?)
> > QtDesigner version 3.3.8?
>
> The easiest way is to use eric. But there are a lot of successful generic
> approaches. E.g. for historical reasons, I'm using a classical Makefile
> approach for quick deployment.
>
> Start reading http://www.diotavelli.net/PyQtWiki, and come back, if you're
> stuck in the details.
>
> > Your suggestions on this topic will be gratefully received.
> >
> > Yours sincerely,
> >
> > OldAl
> > from Canberra, the capital of Down Under.
>
> Bye,
> Pete
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 27 Jan 2008 23:55:26 +0100
> From: Andreas Pakulat <apaku@gmx.de>
> Subject: Re: [PyQt] How to write a GUI interface for a set of Python
>        programs?
> To: pyqt@riverbankcomputing.com
> Message-ID: <20080127225526.GD8622@morpheus.apaku.dnsalias.org>
> Content-Type: text/plain; charset=us-ascii
>
> On 28.01.08 09:21:20, Algis Kabaila wrote:
> > On Mon, 28 Jan 2008 07:11:21I another thread Hans-Peter Jansen wrote:
> > > Am Sonntag, 27. Januar 2008 schrieb Ryen Lee:
> > > > > > Hi everybody! I am a newbie for PyQT.Now I am write a simple
> programm
> > > > > >
> > [...]
> > The above sentence from another thread describes well my current status.
> >
> > In the last few years I wrote a series of programs in Python for
> Structural
> > Analysis for Engineering structures.  IMHO, Python is a great teaching
> > language that enables one to expose the basic principles of programming
> > without having to go into extraneous details.
> >
> > Currently those programs lack GUI.  I would like to write GUI with a
> minimum
> > need to substantially change my extant Python programs and a
> > minimum "immersion" into yet another computer language (I am 83 and have
> > learned many languages - computer since the valve computer days as well
> as
> > human - in my long and varied life).
> >
> > PyQt interface looks pretty, it is an integral part of KDE, so it seems
> like
> > the right candidate for my objectives.
> >
> > Is it possible to create a GUI with QtDesigner and "assemble" it into
> PyQt
> > from the *.ui files and then outside of the QtDesigner call extant
> Python
> > programs?  Or is that an impossible dream?
>
> Thats quite easy using a python-written class that uses the .ui file to
> setup the GUI.
>
> > If that is possible, how can I achieve that aim with the latest (?)
> QtDesigner
> > version 3.3.8?
>
> I suggest to look into PyQt4 instead, Qt 3.3 is not maintained anymore
> by TT (maybe for important security fixes) and thus doesn't get updates
> anymore. PyQt4/Qt4 is the current state of the art and it still ships
> with designer, though the actual use of the .ui files has changed a bit.
>
> Andreas
>
> --
> Better hope the life-inspector doesn't come around while you have your
> life in such a mess.
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 28 Jan 2008 14:55:45 +1100
> From: Algis Kabaila <akabaila@pcug.org.au>
> Subject: Re: [PyQt] How to write a GUI interface for a set of Python
>        programs?
> To: pyqt@riverbankcomputing.com
> Cc: Andreas Pakulat <apaku@gmx.de>
> Message-ID: <200801281455.45268.akabaila@pcug.org.au>
> Content-Type: text/plain;  charset="iso-8859-1"
>
> Andreas,
>
> Many thanks for your prompt answer.  I use openSUSE 10.3 and thought I
> already
> had Qt4 installed.  Looking at the Yast package list, it would seem that
> this
> is so.  I do not remember how I installed the QtDesigner - I don't think
> that
> it came in a suse rpm package, as yast does not show it.
>
> I was wondering at the version number of my QtDesigner (3.3.8). Can I
> assume
> that it should be 4.4.x if Qt4 is used?
>
> I confess to have been wondering at the strange numbering of QtDesigner,
> but
> concluded, evidently quite wrongly - and stupidly - that it must be
> separate
> numbers from the Qt version.
>
> Ah well, write it down to old age...
>
> Thanks again,
>
> Al.
>
> On Mon, 28 Jan 2008 09:55:26 Andreas Pakulat wrote:
> > On 28.01.08 09:21:20, Algis Kabaila wrote:
> > > On Mon, 28 Jan 2008 07:11:21I another thread Hans-Peter Jansen wrote:
> > > > Am Sonntag, 27. Januar 2008 schrieb Ryen Lee:
> > > > > > > Hi everybody! I am a newbie for PyQT.Now I am write a simple
> > > > > > > programm
> > >
> > > [...]
> > > The above sentence from another thread describes well my current
> status.
> > >
> > > In the last few years I wrote a series of programs in Python for
> > > Structural Analysis for Engineering structures.  IMHO, Python is a
> great
> > > teaching language that enables one to expose the basic principles of
> > > programming without having to go into extraneous details.
> > >
> > > Currently those programs lack GUI.  I would like to write GUI with a
> > > minimum need to substantially change my extant Python programs and a
> > > minimum "immersion" into yet another computer language (I am 83 and
> have
> > > learned many languages - computer since the valve computer days as
> well
> > > as human - in my long and varied life).
> > >
> > > PyQt interface looks pretty, it is an integral part of KDE, so it
> seems
> > > like the right candidate for my objectives.
> > >
> > > Is it possible to create a GUI with QtDesigner and "assemble" it into
> > > PyQt from the *.ui files and then outside of the QtDesigner call
> extant
> > > Python programs?  Or is that an impossible dream?
> >
> > Thats quite easy using a python-written class that uses the .ui file to
> > setup the GUI.
> >
> > > If that is possible, how can I achieve that aim with the latest (?)
> > > QtDesigner version 3.3.8?
> >
> > I suggest to look into PyQt4 instead, Qt 3.3 is not maintained anymore
> > by TT (maybe for important security fixes) and thus doesn't get updates
> > anymore. PyQt4/Qt4 is the current state of the art and it still ships
> > with designer, though the actual use of the .ui files has changed a bit.
> >
> > Andreas
>
>
>
> --
> Algis Kabaila (Dr)
> http://akabaila.pcug.org.au/StructuralAnalysis/
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 28 Jan 2008 14:59:42 +1030
> From: "Daniel O'Connor" <darius@dons.net.au>
> Subject: [PyQt] Qt designer & KDE
> To: pyqt@riverbankcomputing.com
> Message-ID: <200801281459.49446.darius@dons.net.au>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
> This might be OT but any answers would be greatly appreciated..
>
> What is the canonical way to build a KDE application using a GUI
> designer? I've tried both Qt designer and kdevdesigner but they both
> generate QMainWindow classes and I can't see how to change this (baring
> editing the code pyuic generates which seems like a kludge)
>
> Thanks.
>
> --
> Daniel O'Connor software and network engineer
> for Genesis Software - http://www.gsoft.com.au
> "The nice thing about standards is that there
> are so many of them to choose from."
>  -- Andrew Tanenbaum
> GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 187 bytes
> Desc: This is a digitally signed message part.
> Url :
> http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080128/cbf685f2/attachment-0001.bin
>
> ------------------------------
>
> Message: 8
> Date: Mon, 28 Jan 2008 07:38:13 +0100
> From: Andreas Pakulat <apaku@gmx.de>
> Subject: Re: [PyQt] How to write a GUI interface for a set of Python
>        programs?
> To: pyqt@riverbankcomputing.com
> Message-ID: <20080128063813.GA22280@morpheus.apaku.dnsalias.org>
> Content-Type: text/plain; charset=us-ascii
>
> On 28.01.08 14:55:45, Algis Kabaila wrote:
> > Andreas,
> >
> > Many thanks for your prompt answer.  I use openSUSE 10.3 and thought I
> already
> > had Qt4 installed.  Looking at the Yast package list, it would seem that
> this
> > is so.  I do not remember how I installed the QtDesigner - I don't think
> that
> > it came in a suse rpm package, as yast does not show it.
> >
> > I was wondering at the version number of my QtDesigner (3.3.8). Can I
> assume
> > that it should be 4.4.x if Qt4 is used?
>
> It should probably be 4.3.x currently (4.4 has not yet seen a Beta
> release). I don't know how SuSE packages Qt, but usually the various
> bits are split across multiple packages, i.e. one for the libraries, one
> for the header files and another one for developer apps like designer.
> In Debian there's even a separate package for each designer version
> (qt3-designer vs. qt4-designer).
>
> A search in Yast should help finding it, in any way I'm pretty sure SuSE
> does ship the Qt4 version of designer, its part of the Qt4 sources which
> they use to build the packages.
>
> > I confess to have been wondering at the strange numbering of QtDesigner,
> but
> > concluded, evidently quite wrongly - and stupidly - that it must be
> separate
> > numbers from the Qt version.
>
> No, designer uses teh same versioning numbers as Qt itself, only the
> qmake buildtool has its own version numbers.
>
> Andreas
>
> --
> You have a strong appeal for members of your own sex.
>
>
> ------------------------------
>
> Message: 9
> Date: Mon, 28 Jan 2008 07:40:29 +0100
> From: Andreas Pakulat <apaku@gmx.de>
> Subject: Re: [PyQt] Qt designer & KDE
> To: pyqt@riverbankcomputing.com
> Message-ID: <20080128064029.GB22280@morpheus.apaku.dnsalias.org>
> Content-Type: text/plain; charset=us-ascii
>
> On 28.01.08 14:59:42, Daniel O'Connor wrote:
> > This might be OT but any answers would be greatly appreciated..
> >
> > What is the canonical way to build a KDE application using a GUI
> > designer? I've tried both Qt designer and kdevdesigner but they both
> > generate QMainWindow classes and I can't see how to change this (baring
> > editing the code pyuic generates which seems like a kludge)
>
> Use Qt4/KDE4 or rewrite the .ui file with an editor. In Qt4/KDE4 you can
> apply the .ui file to a KMainWindow instead of a QMainWindow.
>
> I don't know how good that works currently, but I did have a KMainWindow
> template created from an empty QMainWindow template. Just put it under
> $HOME/.designer/templates and it will show up.
>
> Andreas
>
> --
> You will be recognized and honored as a community leader.
>
>
> ------------------------------
>
> _______________________________________________
> PyQt mailing list
> PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> End of PyQt Digest, Vol 42, Issue 50
> ************************************
>



-- 
"Linux: Because rebooting is for adding new hardware"

Linux User #399138
My P2P Client - http://www.frostwire.com
My Infinite Storage Page - http://www.mybloop.com
My Podcast - http://www.wedoit4you.com
My Blog - http://www.gubatron.com/blog
My Twitter - http://www.twitter.com/gubatron
My Skype - gubatron

[Attachment #5 (text/html)]

<a href="http://www.engadgetmobile.com/2008/01/28/nokia-acquires-trolltech-the-biggest \
-little-company-youve-ne/">http://www.engadgetmobile.com/2008/01/28/nokia-acquires-trolltech-the-biggest-little-company-youve-ne/</a><br>
 <br>Take that Android, awesome move by Nokia to make Mobile development open. \
<br>Let&#39;s hope things will only get better for Qt with Nokia behind it, for \
mobile developers as well as Desktop and<br>Server developers.<br> <br><div \
class="gmail_quote">On Jan 28, 2008 1:41 AM,  &lt;<a \
href="mailto:pyqt-request@riverbankcomputing.com">pyqt-request@riverbankcomputing.com</a>&gt; \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Send PyQt mailing list \
submissions to<br> &nbsp; &nbsp; &nbsp; &nbsp;<a \
href="mailto:pyqt@riverbankcomputing.com">pyqt@riverbankcomputing.com</a><br><br>To \
subscribe or unsubscribe via the World Wide Web, visit<br> &nbsp; &nbsp; &nbsp; \
&nbsp;<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" \
target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br> or, \
via email, send a message with subject or body &#39;help&#39; to<br> &nbsp; &nbsp; \
&nbsp; &nbsp;<a href="mailto:pyqt-request@riverbankcomputing.com">pyqt-request@riverbankcomputing.com</a><br><br>You \
can reach the person managing the list at<br>  &nbsp; &nbsp; &nbsp; &nbsp;<a \
href="mailto:pyqt-owner@riverbankcomputing.com">pyqt-owner@riverbankcomputing.com</a><br><br>When \
replying, please edit your Subject line so it is more specific<br>than &quot;Re: \
Contents of PyQt digest...&quot;<br> <br><br>Today&#39;s Topics:<br><br> &nbsp; 1. \
Re: Re: Re: How to communicate with mysql? (Hans-Peter Jansen)<br> &nbsp; 2. How to \
write a GUI interface for a set of Python programs?<br> &nbsp; &nbsp; &nbsp;(Algis \
Kabaila)<br> &nbsp; 3. Re: processEvents on QlistWidget operations does nothing<br>  \
&nbsp; &nbsp; &nbsp;(Andreas Pakulat)<br> &nbsp; 4. Re: How to write a GUI interface \
for a set of Python<br> &nbsp; &nbsp; &nbsp;programs? (Hans-Peter Jansen)<br> &nbsp; \
5. Re: How to write a GUI interface for a set of Python<br> &nbsp; &nbsp; \
&nbsp;programs? (Andreas Pakulat)<br>  &nbsp; 6. Re: How to write a GUI interface for \
a set of Python<br> &nbsp; &nbsp; &nbsp;programs? (Algis Kabaila)<br> &nbsp; 7. Qt \
designer &amp; KDE (Daniel O&#39;Connor)<br> &nbsp; 8. Re: How to write a GUI \
interface for a set of Python<br> &nbsp; &nbsp; &nbsp;programs? (Andreas Pakulat)<br> \
&nbsp; 9. Re: Qt designer &amp; KDE (Andreas \
Pakulat)<br><br><br>----------------------------------------------------------------------<br><br>Message: \
1<br>Date: Sun, 27 Jan 2008 21:11:21 +0100<br>From: Hans-Peter Jansen &lt;<a \
                href="mailto:hpj@urpla.net">hpj@urpla.net</a>&gt;<br>
Subject: Re: [PyQt] Re: Re: How to communicate with mysql?<br>To: <a \
href="mailto:pyqt@riverbankcomputing.com">pyqt@riverbankcomputing.com</a><br>Message-ID: \
&lt;<a href="mailto:200801272111.22125.hpj@urpla.net">200801272111.22125.hpj@urpla.net</a>&gt;<br>
                
Content-Type: text/plain; &nbsp;charset=&quot;utf-8&quot;<br><br>Am Sonntag, 27. \
Januar 2008 schrieb Ryen Lee:<br>&gt; &gt; &gt; Hi everybody! I am a newbie for \
PyQT.Now I am write a simple programm<br>&gt; &gt; &gt; which<br> &gt; &gt; \
&gt;<br>&gt; &gt; &gt; &gt; use mysql as its database,but I find it is very diffucult \
to use<br>&gt; &gt; &gt; &gt; the<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; PyQT<br>&gt; \
&gt; &gt;<br>&gt; &gt; &gt; &gt; APIs.I write sth like that:<br> &gt; &gt; &gt; \
&gt;<br>&gt; &gt; &gt; &gt; db = \
QtSql.QSqlDatabase.addDatabase(&quot;QMYSQL&quot;)<br>&gt; &gt; &gt; &gt; \
db.setHostName(&quot;<a href="http://127.0.0.1" \
target="_blank">127.0.0.1</a>&quot;)<br>&gt; &gt; &gt; &gt; \
db.setDatabaseName(&quot;test&quot;)<br> &gt; &gt; &gt; &gt; \
db.setUserName(&quot;root&quot;)<br>&gt; &gt; &gt; &gt; \
db.setPassword(&quot;123456&quot;)<br>&gt; &gt; &gt; &gt; db.open()<br>&gt; &gt; &gt; \
&gt;<br>&gt; &gt; &gt; &gt; but it just doesn&#39;t work. &lt;snip&gt;<br> &gt; &gt; \
&gt;<br>&gt; &gt; &gt; &nbsp; &nbsp;- Meaning? What does db.open() return, True or \
False? Does the<br>&gt; &gt; &gt; &nbsp; &nbsp;database &quot;test&quot;<br>&gt; &gt; \
&gt; &nbsp; &nbsp;exist? And is Qt configured with MySQL support?<br>&gt; &gt; \
&gt;<br> &gt; &gt; &gt; &nbsp; &nbsp;Or did you perhaps call these methods before you \
had created a<br>&gt; &gt; &gt; &nbsp; &nbsp;QApplication or<br>&gt; &gt; &gt; &nbsp; \
&nbsp;a QCoreApplication object? That won&#39;t work and the error messages<br>&gt; \
&gt; &gt; &nbsp; &nbsp;aren&#39;t very<br> &gt; &gt; &gt; &nbsp; &nbsp;helpful for \
this case.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &nbsp; &nbsp;I can&#39;t test your \
code, because I don&#39;t have MySQL installed.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; \
&nbsp; &nbsp;HTH<br>&gt; &gt; &gt; &nbsp; &nbsp;Sibylle<br> &gt; &gt; &gt;<br>&gt; \
&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; --<br>&gt; &gt; &gt; Dr. Sibylle \
Koczian<br>&gt; &gt;<br>&gt; &gt; Thank you for your reply!<br>&gt;<br>&gt; &nbsp;I \
try to fix the problem as you told,but I failed finally.I think PyQt<br> &gt; \
doesn&#39;t support mysql very well,because when I change<br>&gt; db = \
QtSql.QSqlDatabase.addDatabase(&quot;QMYSQL&quot;)<br>&gt; to<br>&gt; db = \
QtSql.QSqlDatabase.addDatabase(&quot;QSQLITE&quot;)<br>&gt;<br>&gt; it works.So I \
decide to use mysqldb instead of PyQT&#39;s APIs<br> <br>Your logic above doesn&#39;t \
make any sense (for me at least).<br><br>While you&#39;re free to use whatever \
database backend/interface you want, I&#39;m<br>inclined to mention, that I use mysql \
successfully since ages (I did some<br> of the PyQt3 examples, when I started) with \
lots of success. Sure, some API<br>details looks arkward from a python perspective \
due to the underlying C++<br>type system (QVariant and friends), but on the plus \
side, it&#39;s a pleasure<br> to create/display a table with 30000 records without \
problems (neither at<br>the memory nor at the slowness front due to some pretty \
elaborated Qt<br>algorithms at work down under). It will take significant \
developer<br>resources to create something on par with the Qt database framework \
(been<br> there, done that for specialized tkinter case).<br><br>I cannot imagine, \
that the situation turned much worse with \
PyQt4.<br><br>Cheers,<br>Pete<br><br><br><br>------------------------------<br><br>Message: \
                2<br>Date: Mon, 28 Jan 2008 09:21:20 +1100<br>
From: Algis Kabaila &lt;<a \
href="mailto:akabaila@pcug.org.au">akabaila@pcug.org.au</a>&gt;<br>Subject: [PyQt] \
How to write a GUI interface for a set of Python<br> &nbsp; &nbsp; &nbsp; \
&nbsp;programs?<br>To: <a \
                href="mailto:pyqt@riverbankcomputing.com">pyqt@riverbankcomputing.com</a><br>
                
Message-ID: &lt;<a href="mailto:200801280921.20297.akabaila@pcug.org.au">200801280921.20297.akabaila@pcug.org.au</a>&gt;<br>Content-Type: \
text/plain; &nbsp;charset=&quot;utf-8&quot;<br><br>On Mon, 28 Jan 2008 07:11:21I \
another thread Hans-Peter Jansen wrote:<br> &gt; Am Sonntag, 27. Januar 2008 schrieb \
Ryen Lee:<br>&gt; &gt; &gt; &gt; Hi everybody! I am a newbie for PyQT.Now I am write \
a simple programm<br>&gt; &gt; &gt; &gt;<br>[...]<br>The above sentence from another \
thread describes well my current status.<br> <br>In the last few years I wrote a \
series of programs in Python for Structural<br>Analysis for Engineering structures. \
&nbsp;IMHO, Python is a great teaching<br>language that enables one to expose the \
basic principles of programming<br> without having to go into extraneous \
details.<br><br>Currently those programs lack GUI. &nbsp;I would like to write GUI \
with a minimum<br>need to substantially change my extant Python programs and \
a<br>minimum &quot;immersion&quot; into yet another computer language (I am 83 and \
have<br> learned many languages - computer since the valve computer days as well \
as<br>human - in my long and varied life).<br><br>PyQt interface looks pretty, it is \
an integral part of KDE, so it seems like<br>the right candidate for my \
objectives.<br> <br>Is it possible to create a GUI with QtDesigner and \
&quot;assemble&quot; it into PyQt<br>from the *.ui files and then outside of the \
QtDesigner call extant Python<br>programs? &nbsp;Or is that an impossible \
dream?<br><br>If that is possible, how can I achieve that aim with the latest (?) \
QtDesigner<br> version 3.3.8?<br><br>Your suggestions on this topic will be \
gratefully received.<br><br>Yours sincerely,<br><br>OldAl<br>from Canberra, the \
capital of Down Under.<br><br>--<br>Algis Kabaila (Dr)<br><a \
href="http://akabaila.pcug.org.au/StructuralAnalysis/" \
target="_blank">http://akabaila.pcug.org.au/StructuralAnalysis/</a><br> \
<br><br>------------------------------<br><br>Message: 3<br>Date: Sun, 27 Jan 2008 \
23:22:36 +0100<br>From: Andreas Pakulat &lt;<a \
href="mailto:apaku@gmx.de">apaku@gmx.de</a>&gt;<br>Subject: Re: [PyQt] processEvents \
on QlistWidget operations does<br>  &nbsp; &nbsp; &nbsp; &nbsp;nothing<br>To: <a \
href="mailto:qt-interest@trolltech.com">qt-interest@trolltech.com</a>, <a \
href="mailto:pyqt@riverbankcomputing.com">pyqt@riverbankcomputing.com</a><br>Message-ID: \
&lt;<a href="mailto:20080127222236.GA8622@morpheus.apaku.dnsalias.org">20080127222236.GA8622@morpheus.apaku.dnsalias.org</a>&gt;<br>
                
Content-Type: text/plain; charset=us-ascii<br><br>On 27.01.08 13:36:37, Scott Aron \
Bloom wrote:<br>&gt; &gt; Its not about replacing 1 line of code, its about properly \
designing<br>&gt; &gt; your applications business logic. Moving heavy work into a \
thread is<br> &gt; the<br>&gt; &gt; right thing to do (or separate process). \
QApplication::processEvents<br>&gt; is<br>&gt; &gt; the ugly hack for those who are \
not able to use threads properly.<br>&gt; &gt;<br>&gt; &gt; Andreas<br>&gt; &gt;<br> \
&gt; But... adding 1 item to a list view.. is not heavy work.. And neigher<br>&gt; \
does it appear that the creation of the complete list of items...<br><br>Right, but \
thats not what the code actually does and I also suspect that<br> adding the item is \
still done in the main thread.<br><br>&gt; If the code was actually downloading the \
content of each URL... then I<br>&gt; would put it in a thread..<br><br>Thats exactly \
what the urllib-call (notice the read() at the end of that<br> line) does, it opens \
the url and reads the whole file. And I suspect<br>that this is the part that got \
moved into a separate thread. Now maybe<br>I&#39;ve just seen far worse code, but a \
short QThread::run() that iterates<br> over urls, downloads them and then emits a \
signal for each with whatever<br>content is needed doesn&#39;t look ugly to \
me.<br><br>Andreas<br><br>--<br>This will be a memorable month -- no matter how hard \
you try to forget it.<br> <br><br>------------------------------<br><br>Message: \
4<br>Date: Sun, 27 Jan 2008 23:41:03 +0100<br>From: Hans-Peter Jansen &lt;<a \
href="mailto:hpj@urpla.net">hpj@urpla.net</a>&gt;<br>Subject: Re: [PyQt] How to write \
a GUI interface for a set of Python<br>  &nbsp; &nbsp; &nbsp; &nbsp;programs?<br>To: \
<a href="mailto:pyqt@riverbankcomputing.com">pyqt@riverbankcomputing.com</a><br>Message-ID: \
&lt;<a href="mailto:200801272341.04223.hpj@urpla.net">200801272341.04223.hpj@urpla.net</a>&gt;<br>Content-Type: \
text/plain; &nbsp;charset=&quot;utf-8&quot;<br> <br>Am Sonntag, 27. Januar 2008 \
schrieb Algis Kabaila:<br>&gt; On Mon, 28 Jan 2008 07:11:21I another thread \
Hans-Peter Jansen wrote:<br>&gt; &gt; Am Sonntag, 27. Januar 2008 schrieb Ryen \
Lee:<br>&gt; &gt; &gt; &gt; &gt; Hi everybody! I am a newbie for PyQT.Now I am write \
a simple<br> &gt; &gt; &gt; &gt; &gt; programm<br>&gt;<br>&gt; [...]<br>&gt; The \
above sentence from another thread describes well my current status.<br>&gt;<br>&gt; \
In the last few years I wrote a series of programs in Python for<br> &gt; Structural \
Analysis for Engineering structures. &nbsp;IMHO, Python is a great<br>&gt; teaching \
language that enables one to expose the basic principles of<br>&gt; programming \
without having to go into extraneous details.<br> &gt;<br>&gt; Currently those \
programs lack GUI. &nbsp;I would like to write GUI with a<br>&gt; minimum need to \
substantially change my extant Python programs and a<br>&gt; minimum \
&quot;immersion&quot; into yet another computer language (I am 83 and have<br> &gt; \
learned many languages - computer since the valve computer days as well<br>&gt; as \
human - in my long and varied life).<br>&gt;<br>&gt; PyQt interface looks pretty, it \
is an integral part of KDE, so it seems<br>&gt; like the right candidate for my \
objectives.<br> <br>Congrats for the tasteful choice and welcome to the \
club.<br><br>&gt; Is it possible to create a GUI with QtDesigner and \
&quot;assemble&quot; it into<br>&gt; PyQt from the *.ui files and then outside of the \
QtDesigner call extant<br> &gt; Python programs? &nbsp;Or is that an impossible \
dream?<br><br>Sure you can.<br><br>&gt; If that is possible, how can I achieve that \
aim with the latest (?)<br>&gt; QtDesigner version 3.3.8?<br><br>The easiest way is \
to use eric. But there are a lot of successful generic<br> approaches. E.g. for \
historical reasons, I&#39;m using a classical Makefile<br>approach for quick \
deployment.<br><br>Start reading <a href="http://www.diotavelli.net/PyQtWiki" \
target="_blank">http://www.diotavelli.net/PyQtWiki</a>, and come back, if \
you&#39;re<br> stuck in the details.<br><br>&gt; Your suggestions on this topic will \
be gratefully received.<br>&gt;<br>&gt; Yours sincerely,<br>&gt;<br>&gt; \
OldAl<br>&gt; from Canberra, the capital of Down Under.<br><br>Bye,<br>Pete<br> \
<br><br>------------------------------<br><br>Message: 5<br>Date: Sun, 27 Jan 2008 \
23:55:26 +0100<br>From: Andreas Pakulat &lt;<a \
href="mailto:apaku@gmx.de">apaku@gmx.de</a>&gt;<br>Subject: Re: [PyQt] How to write a \
GUI interface for a set of Python<br>  &nbsp; &nbsp; &nbsp; &nbsp;programs?<br>To: <a \
href="mailto:pyqt@riverbankcomputing.com">pyqt@riverbankcomputing.com</a><br>Message-ID: \
&lt;<a href="mailto:20080127225526.GD8622@morpheus.apaku.dnsalias.org">20080127225526.GD8622@morpheus.apaku.dnsalias.org</a>&gt;<br>
                
Content-Type: text/plain; charset=us-ascii<br><br>On 28.01.08 09:21:20, Algis Kabaila \
wrote:<br>&gt; On Mon, 28 Jan 2008 07:11:21I another thread Hans-Peter Jansen \
wrote:<br>&gt; &gt; Am Sonntag, 27. Januar 2008 schrieb Ryen Lee:<br> &gt; &gt; &gt; \
&gt; &gt; Hi everybody! I am a newbie for PyQT.Now I am write a simple \
programm<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; [...]<br>&gt; The above sentence from \
another thread describes well my current status.<br> &gt;<br>&gt; In the last few \
years I wrote a series of programs in Python for Structural<br>&gt; Analysis for \
Engineering structures. &nbsp;IMHO, Python is a great teaching<br>&gt; language that \
enables one to expose the basic principles of programming<br> &gt; without having to \
go into extraneous details.<br>&gt;<br>&gt; Currently those programs lack GUI. \
&nbsp;I would like to write GUI with a minimum<br>&gt; need to substantially change \
my extant Python programs and a<br>&gt; minimum &quot;immersion&quot; into yet \
another computer language (I am 83 and have<br> &gt; learned many languages - \
computer since the valve computer days as well as<br>&gt; human - in my long and \
varied life).<br>&gt;<br>&gt; PyQt interface looks pretty, it is an integral part of \
KDE, so it seems like<br> &gt; the right candidate for my objectives.<br>&gt;<br>&gt; \
Is it possible to create a GUI with QtDesigner and &quot;assemble&quot; it into \
PyQt<br>&gt; from the *.ui files and then outside of the QtDesigner call extant \
Python<br> &gt; programs? &nbsp;Or is that an impossible dream?<br><br>Thats quite \
easy using a python-written class that uses the .ui file to<br>setup the \
GUI.<br><br>&gt; If that is possible, how can I achieve that aim with the latest (?) \
QtDesigner<br> &gt; version 3.3.8?<br><br>I suggest to look into PyQt4 instead, Qt \
3.3 is not maintained anymore<br>by TT (maybe for important security fixes) and thus \
doesn&#39;t get updates<br>anymore. PyQt4/Qt4 is the current state of the art and it \
still ships<br> with designer, though the actual use of the .ui files has changed a \
bit.<br><br>Andreas<br><br>--<br>Better hope the life-inspector doesn&#39;t come \
around while you have your<br>life in such a \
mess.<br><br><br>------------------------------<br> <br>Message: 6<br>Date: Mon, 28 \
Jan 2008 14:55:45 +1100<br>From: Algis Kabaila &lt;<a \
href="mailto:akabaila@pcug.org.au">akabaila@pcug.org.au</a>&gt;<br>Subject: Re: \
[PyQt] How to write a GUI interface for a set of Python<br>  &nbsp; &nbsp; &nbsp; \
&nbsp;programs?<br>To: <a \
href="mailto:pyqt@riverbankcomputing.com">pyqt@riverbankcomputing.com</a><br>Cc: \
Andreas Pakulat &lt;<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>&gt;<br>Message-ID: \
&lt;<a href="mailto:200801281455.45268.akabaila@pcug.org.au">200801281455.45268.akabaila@pcug.org.au</a>&gt;<br>
                
Content-Type: text/plain; \
&nbsp;charset=&quot;iso-8859-1&quot;<br><br>Andreas,<br><br>Many thanks for your \
prompt answer. &nbsp;I use openSUSE 10.3 and thought I already<br>had Qt4 installed. \
&nbsp;Looking at the Yast package list, it would seem that this<br> is so. &nbsp;I do \
not remember how I installed the QtDesigner - I don&#39;t think that<br>it came in a \
suse rpm package, as yast does not show it.<br><br>I was wondering at the version \
number of my QtDesigner (3.3.8). Can I assume<br> that it should be 4.4.x if Qt4 is \
used?<br><br>I confess to have been wondering at the strange numbering of QtDesigner, \
but<br>concluded, evidently quite wrongly - and stupidly - that it must be \
separate<br>numbers from the Qt version.<br> <br>Ah well, write it down to old \
age...<br><br>Thanks again,<br><br>Al.<br><br>On Mon, 28 Jan 2008 09:55:26 Andreas \
Pakulat wrote:<br>&gt; On 28.01.08 09:21:20, Algis Kabaila wrote:<br>&gt; &gt; On \
Mon, 28 Jan 2008 07:11:21I another thread Hans-Peter Jansen wrote:<br> &gt; &gt; &gt; \
Am Sonntag, 27. Januar 2008 schrieb Ryen Lee:<br>&gt; &gt; &gt; &gt; &gt; &gt; Hi \
everybody! I am a newbie for PyQT.Now I am write a simple<br>&gt; &gt; &gt; &gt; &gt; \
&gt; programm<br>&gt; &gt;<br>&gt; &gt; [...]<br> &gt; &gt; The above sentence from \
another thread describes well my current status.<br>&gt; &gt;<br>&gt; &gt; In the \
last few years I wrote a series of programs in Python for<br>&gt; &gt; Structural \
Analysis for Engineering structures. &nbsp;IMHO, Python is a great<br> &gt; &gt; \
teaching language that enables one to expose the basic principles of<br>&gt; &gt; \
programming without having to go into extraneous details.<br>&gt; &gt;<br>&gt; &gt; \
Currently those programs lack GUI. &nbsp;I would like to write GUI with a<br> &gt; \
&gt; minimum need to substantially change my extant Python programs and a<br>&gt; \
&gt; minimum &quot;immersion&quot; into yet another computer language (I am 83 and \
have<br>&gt; &gt; learned many languages - computer since the valve computer days as \
well<br> &gt; &gt; as human - in my long and varied life).<br>&gt; &gt;<br>&gt; &gt; \
PyQt interface looks pretty, it is an integral part of KDE, so it seems<br>&gt; &gt; \
like the right candidate for my objectives.<br>&gt; &gt;<br> &gt; &gt; Is it possible \
to create a GUI with QtDesigner and &quot;assemble&quot; it into<br>&gt; &gt; PyQt \
from the *.ui files and then outside of the QtDesigner call extant<br>&gt; &gt; \
Python programs? &nbsp;Or is that an impossible dream?<br> &gt;<br>&gt; Thats quite \
easy using a python-written class that uses the .ui file to<br>&gt; setup the \
GUI.<br>&gt;<br>&gt; &gt; If that is possible, how can I achieve that aim with the \
latest (?)<br>&gt; &gt; QtDesigner version 3.3.8?<br> &gt;<br>&gt; I suggest to look \
into PyQt4 instead, Qt 3.3 is not maintained anymore<br>&gt; by TT (maybe for \
important security fixes) and thus doesn&#39;t get updates<br>&gt; anymore. PyQt4/Qt4 \
is the current state of the art and it still ships<br> &gt; with designer, though the \
actual use of the .ui files has changed a bit.<br>&gt;<br>&gt; \
Andreas<br><br><br><br>--<br>Algis Kabaila (Dr)<br><a \
href="http://akabaila.pcug.org.au/StructuralAnalysis/" \
target="_blank">http://akabaila.pcug.org.au/StructuralAnalysis/</a><br> \
<br><br>------------------------------<br><br>Message: 7<br>Date: Mon, 28 Jan 2008 \
14:59:42 +1030<br>From: &quot;Daniel O&#39;Connor&quot; &lt;<a \
href="mailto:darius@dons.net.au">darius@dons.net.au</a>&gt;<br>Subject: [PyQt] Qt \
                designer &amp; KDE<br>
To: <a href="mailto:pyqt@riverbankcomputing.com">pyqt@riverbankcomputing.com</a><br>Message-ID: \
&lt;<a href="mailto:200801281459.49446.darius@dons.net.au">200801281459.49446.darius@dons.net.au</a>&gt;<br>Content-Type: \
text/plain; charset=&quot;us-ascii&quot;<br> <br>Hi,<br>This might be OT but any \
answers would be greatly appreciated..<br><br>What is the canonical way to build a \
KDE application using a GUI<br>designer? I&#39;ve tried both Qt designer and \
kdevdesigner but they both<br> generate QMainWindow classes and I can&#39;t see how \
to change this (baring<br>editing the code pyuic generates which seems like a \
kludge)<br><br>Thanks.<br><br>--<br>Daniel O&#39;Connor software and network \
engineer<br>for Genesis Software - <a href="http://www.gsoft.com.au" \
target="_blank">http://www.gsoft.com.au</a><br> &quot;The nice thing about standards \
is that there<br>are so many of them to choose from.&quot;<br> &nbsp;-- Andrew \
Tanenbaum<br>GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F \
CE8C<br>-------------- next part --------------<br> A non-text attachment was \
scrubbed...<br>Name: not available<br>Type: application/pgp-signature<br>Size: 187 \
bytes<br>Desc: This is a digitally signed message part.<br>Url : <a \
href="http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080128/cbf685f2/attachment-0001.bin" \
target="_blank">http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080128/cbf685f2/attachment-0001.bin</a><br>
 <br>------------------------------<br><br>Message: 8<br>Date: Mon, 28 Jan 2008 \
07:38:13 +0100<br>From: Andreas Pakulat &lt;<a \
href="mailto:apaku@gmx.de">apaku@gmx.de</a>&gt;<br>Subject: Re: [PyQt] How to write a \
GUI interface for a set of Python<br>  &nbsp; &nbsp; &nbsp; &nbsp;programs?<br>To: <a \
href="mailto:pyqt@riverbankcomputing.com">pyqt@riverbankcomputing.com</a><br>Message-ID: \
&lt;<a href="mailto:20080128063813.GA22280@morpheus.apaku.dnsalias.org">20080128063813.GA22280@morpheus.apaku.dnsalias.org</a>&gt;<br>
                
Content-Type: text/plain; charset=us-ascii<br><br>On 28.01.08 14:55:45, Algis Kabaila \
wrote:<br>&gt; Andreas,<br>&gt;<br>&gt; Many thanks for your prompt answer. &nbsp;I \
use openSUSE 10.3 and thought I already<br>&gt; had Qt4 installed. &nbsp;Looking at \
the Yast package list, it would seem that this<br> &gt; is so. &nbsp;I do not \
remember how I installed the QtDesigner - I don&#39;t think that<br>&gt; it came in a \
suse rpm package, as yast does not show it.<br>&gt;<br>&gt; I was wondering at the \
version number of my QtDesigner (3.3.8). Can I assume<br> &gt; that it should be \
4.4.x if Qt4 is used?<br><br>It should probably be 4.3.x currently (4.4 has not yet \
seen a Beta<br>release). I don&#39;t know how SuSE packages Qt, but usually the \
various<br>bits are split across multiple packages, i.e. one for the libraries, \
one<br> for the header files and another one for developer apps like designer.<br>In \
Debian there&#39;s even a separate package for each designer version<br>(qt3-designer \
vs. qt4-designer).<br><br>A search in Yast should help finding it, in any way I&#39;m \
pretty sure SuSE<br> does ship the Qt4 version of designer, its part of the Qt4 \
sources which<br>they use to build the packages.<br><br>&gt; I confess to have been \
wondering at the strange numbering of QtDesigner, but<br>&gt; concluded, evidently \
quite wrongly - and stupidly - that it must be separate<br> &gt; numbers from the Qt \
version.<br><br>No, designer uses teh same versioning numbers as Qt itself, only \
the<br>qmake buildtool has its own version numbers.<br><br>Andreas<br><br>--<br>You \
have a strong appeal for members of your own sex.<br> \
<br><br>------------------------------<br><br>Message: 9<br>Date: Mon, 28 Jan 2008 \
07:40:29 +0100<br>From: Andreas Pakulat &lt;<a \
href="mailto:apaku@gmx.de">apaku@gmx.de</a>&gt;<br>Subject: Re: [PyQt] Qt designer \
                &amp; KDE<br>
To: <a href="mailto:pyqt@riverbankcomputing.com">pyqt@riverbankcomputing.com</a><br>Message-ID: \
&lt;<a href="mailto:20080128064029.GB22280@morpheus.apaku.dnsalias.org">20080128064029.GB22280@morpheus.apaku.dnsalias.org</a>&gt;<br>
                
Content-Type: text/plain; charset=us-ascii<br><br>On 28.01.08 14:59:42, Daniel \
O&#39;Connor wrote:<br>&gt; This might be OT but any answers would be greatly \
appreciated..<br>&gt;<br>&gt; What is the canonical way to build a KDE application \
using a GUI<br> &gt; designer? I&#39;ve tried both Qt designer and kdevdesigner but \
they both<br>&gt; generate QMainWindow classes and I can&#39;t see how to change this \
(baring<br>&gt; editing the code pyuic generates which seems like a kludge)<br> \
<br>Use Qt4/KDE4 or rewrite the .ui file with an editor. In Qt4/KDE4 you can<br>apply \
the .ui file to a KMainWindow instead of a QMainWindow.<br><br>I don&#39;t know how \
good that works currently, but I did have a KMainWindow<br> template created from an \
empty QMainWindow template. Just put it under<br>$HOME/.designer/templates and it \
will show up.<br><br>Andreas<br><br>--<br>You will be recognized and honored as a \
community leader.<br><br><br>------------------------------<br> \
<br>_______________________________________________<br>PyQt mailing list<br><a \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br><a \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" \
target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br> \
<br>End of PyQt Digest, Vol 42, Issue \
50<br>************************************<br></blockquote></div><br><br \
clear="all"><br>-- <br>&quot;Linux: Because rebooting is for adding new \
hardware&quot;<br><br>Linux User #399138<br> My P2P Client - <a \
href="http://www.frostwire.com">http://www.frostwire.com</a><br>My Infinite Storage \
Page - <a href="http://www.mybloop.com">http://www.mybloop.com</a><br>My Podcast - <a \
href="http://www.wedoit4you.com">http://www.wedoit4you.com</a><br> My Blog - <a \
href="http://www.gubatron.com/blog">http://www.gubatron.com/blog</a><br>My Twitter - \
<a href="http://www.twitter.com/gubatron">http://www.twitter.com/gubatron</a><br>My \
Skype - gubatron



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic