Re: [PyQt] A good PyQt “Primer”?

2012-12-11 Thread šãñ
I have started with this very basic stuff to begin with... On Wed, Dec 12, 2012 at 12:41 AM, Nico Dufort wrote: > This one is fairly easy to follow: > > http://zetcode.com/tutorials/pyqt4/ > > also for PySide: > http://zetcode.com/gui/pysidetutorial/ > > > > On Tue, Dec 11, 2012 at 3:08 AM, šãñ

Re: [PyQt] A good PyQt “Primer”?

2012-12-11 Thread Nico Dufort
This one is fairly easy to follow: http://zetcode.com/tutorials/pyqt4/ also for PySide: http://zetcode.com/gui/pysidetutorial/ On Tue, Dec 11, 2012 at 3:08 AM, šãñ wrote: > I want this book but I don't have cash to buy it. > > > On Tue, Dec 11, 2012 at 4:30 PM, Tony Lynch wrote: > >> We hav

Re: [PyQt] Wrap with SIP in-out string parameters in class method

2012-12-11 Thread Matt Newell
On Tuesday, December 11, 2012 02:56:51 AM Alexander Bruy wrote: > Hi all, > > I'm new to SIP and have some troubles with wrapping class in SIP. > I need to declare some parameters as in and out. > > Here is class header > > class AuthData > { > public: > virtual ~AuthData(); > bool get

[PyQt] how do I reorder items of QListWidget

2012-12-11 Thread šãñ
so far I came up with this script i am not sure why it is not giving me desired result ** *def changePriority(self,*args): crntRow = self.listWidget.currentRow() total=self.listWidget.count() print "Total no. of items %s, and selected item number is %s"%(total,crn

[PyQt] FW: A good PyQt “Primer”?

2012-12-11 Thread Pietro Moras
Fascinated by the courtesy, usefulness and oddity of this thread: Thank you! - P.M. From: studio-pm at hotmail dot com To: pyqt@riverbankcomputing.com Subject: A good PyQt “Primer”? Date: Tue, 11 Dec 2012 09:19:50 + Desiring to test my hands on PyQt (and Python 3) I'd love to be advise

Re: [PyQt] A good PyQt “Primer”?

2012-12-11 Thread šãñ
thr u go, the link by Joe Borg its pdf format of the book now u can inform the publisher's legal department. On Tue, Dec 11, 2012 at 5:46 PM, Joe Borġ wrote: > > http://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&ved=0CEsQFjAD&url=http%3A%2F%2Fwodepics.googlecode.com%2Ffil

Re: [PyQt] A good PyQt “Primer”?

2012-12-11 Thread Joe Borġ
http://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&ved=0CEsQFjAD&url=http%3A%2F%2Fwodepics.googlecode.com%2Ffiles%2Frapid_gui_programming_with_python_and_qt.pdf&ei=ryPHUKHOBOSg0QXAuID4BQ&usg=AFQjCNFx8WHD7QPD3Kj-SdUpl3pJFlJDcw Regards, Joseph David Borġ http://www.jdborg.c

Re: [PyQt] A good PyQt “Primer”?

2012-12-11 Thread Mark Summerfield
On Tue, 11 Dec 2012 11:28:52 + Joe Borġ wrote: > The book is free. No it isn't! Although people have done rip-offs of the PDF from time to time, the book is commercial and must be paid for. If you see free copies please let me know so that I can inform the publisher's legal department. > >

Re: [PyQt] A good PyQt “Primer”?

2012-12-11 Thread šãñ
are you kidding me, Look at Amazon what it says http://www.amazon.co.uk/Rapid-GUI-Programming-Python-Development/dp/0132354187/ref=sr_1_1?ie=UTF8&qid=1355226018&sr=8-1 On Tue, Dec 11, 2012 at 4:58 PM, Joe Borġ wrote: > The book is free. > > > > Regards, > Joseph David Borġ > http://www.jdborg.

Re: [PyQt] Wrap with SIP in-out string parameters in class method

2012-12-11 Thread Alexander Bruy
Hi Phil, thanks! With QStrings it works fine. On Tue, 11 Dec 2012 11:07:58 + Phil Thompson wrote: > > Try passing QStrings as arguments rather than Python strings. > > Phil -- Alexander Bruy ___ PyQt mailing listPyQt@riverbankcomputing.com

Re: [PyQt] A good PyQt “Primer”?

2012-12-11 Thread Joe Borġ
The book is free. Regards, Joseph David Borġ http://www.jdborg.com On 11 December 2012 11:08, šãñ wrote: > I want this book but I don't have cash to buy it. > > > On Tue, Dec 11, 2012 at 4:30 PM, Tony Lynch wrote: > >> We have this book and have found it to be an excellent guide, >> >> Ton

Re: [PyQt] A good PyQt “Primer”?

2012-12-11 Thread šãñ
I want this book but I don't have cash to buy it. On Tue, Dec 11, 2012 at 4:30 PM, Tony Lynch wrote: > We have this book and have found it to be an excellent guide, > > Tony > > > -Original Message- > > From: pyqt-boun...@riverbankcomputing.com [mailto:pyqt- > > boun...@riverbankcomputi

Re: [PyQt] Wrap with SIP in-out string parameters in class method

2012-12-11 Thread Phil Thompson
On Tue, 11 Dec 2012 12:56:51 +0200, Alexander Bruy wrote: > Hi all, > > I'm new to SIP and have some troubles with wrapping class in SIP. > I need to declare some parameters as in and out. > > Here is class header > > class AuthData > { > public: > virtual ~AuthData(); > bool get( QSt

Re: [PyQt] A good PyQt “Primer”?

2012-12-11 Thread Tony Lynch
We have this book and have found it to be an excellent guide, Tony > -Original Message- > From: pyqt-boun...@riverbankcomputing.com [mailto:pyqt- > boun...@riverbankcomputing.com] On Behalf Of Mark Summerfield > Sent: 11 December 2012 09:36 > To: pyqt@riverbankcomputing.com > Subject: Re:

[PyQt] Wrap with SIP in-out string parameters in class method

2012-12-11 Thread Alexander Bruy
Hi all, I'm new to SIP and have some troubles with wrapping class in SIP. I need to declare some parameters as in and out. Here is class header class AuthData { public: virtual ~AuthData(); bool get( QString dbName, QString &username, QString &password, QString message = QString::null

Re: [PyQt] A good PyQt “Primer”?

2012-12-11 Thread Mark Summerfield
On Tue, 11 Dec 2012 09:19:50 + Pietro Moras wrote: > > Desiring to test my hands on PyQt (and Python 3) I'd love to be advised > which the PyQt “primer” to start from (by the way: having found the > ordinary PyQt documentation utterly unpractical for beginners). Thank > you.- P.M.

[PyQt] A good PyQt “Primer”?

2012-12-11 Thread Pietro Moras
Desiring to test my hands on PyQt (and Python 3) I'd love to be advised which the PyQt “primer” to start from (by the way: having found the ordinary PyQt documentation utterly unpractical for beginners). Thank you.- P.M. __