Re: [PyKDE] Seperating logic code from gui code?

2005-12-15 Thread David Boddie
On Thu, 15 Dec 2005, Arthur Pemberton wrote: > I am new to Qt programming and PyQt. I am attempting to build a client for > AllofMp3.com, I already have most of the logic code down. But now I want to > build a GUI with PyQt. What rules should I follow to make the program > useable in the console,

Re: [PyKDE] Problems with some C++ sintax

2005-12-15 Thread Douglas Soares de Andrade
Yes, Thanks for the observation. Em Quinta 15 Dezembro 2005 22:43, Patrick K. O'Brien escreveu: > Torsten Marek wrote: > >>>class LicenseWizardPage(WizardPage): # (1) > >>> def __init__(self, _wizard): # (2) > >>> WizardParge.__init__(self, wizard) # (3) > >>> self.wizard =

Re: [PyKDE] Problems with some C++ sintax

2005-12-15 Thread Patrick K. O'Brien
Torsten Marek wrote: > >>>class LicenseWizardPage(WizardPage): # (1) >>> def __init__(self, _wizard): # (2) >>> WizardParge.__init__(self, wizard) # (3) >>> self.wizard = wizard # (4) >>> > > > Hi, > > and (2) should be > def __init__(self, wizard): and (3) should b

Re: [PyKDE] Problems with some C++ sintax

2005-12-15 Thread Douglas Soares de Andrade
Hi Torsten, Thank you for lighten up the path for this little apprentice :) See ya Em Quinta 15 Dezembro 2005 21:55, Torsten Marek escreveu: > > class LicenseWizardPage(WizardPage): # (1) > > def __init__(self, _wizard): # (2) > > WizardParge.__init__(self, wizard) # (3) > >

Re: [PyKDE] Problems with some C++ sintax

2005-12-15 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > class LicenseWizardPage(WizardPage): # (1) > def __init__(self, _wizard): # (2) > WizardParge.__init__(self, wizard) # (3) > self.wizard = wizard # (4) > Hi, and (2) should be def __init__(self, wizard): - -- To

Re: [PyKDE] Seperating logic code from gui code?

2005-12-15 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arthur Pemberton schrieb: > Hello, > > I am new to Qt programming and PyQt. I am attempting to build a client for > AllofMp3.com, I already have most of the logic code down. But now I want to > build a GUI with PyQt. What rules should I follow to make

Re: [PyKDE] Problems with some C++ sintax

2005-12-15 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Douglas Soares de Andrade schrieb: > Hi all, > > Im trying to port the Qt4 example "complexwizard" under the dialog folder. > > Here is the code i dont understand: > > class LicenseWizardPage : public WizardPage //(1), inheritance > { > public: >

Re: [PyKDE] Problems with some C++ sintax

2005-12-15 Thread Douglas Soares de Andrade
My doubt is not before "public", it is after it. Sorry. Em Quinta 15 Dezembro 2005 19:38, Douglas Soares de Andrade escreveu: > Hi all, > > Im trying to port the Qt4 example "complexwizard" under the dialog folder. > > Here is the code i dont understand: > > class LicenseWizardPage : public Wizar

[PyKDE] Problems with some C++ sintax

2005-12-15 Thread Douglas Soares de Andrade
Hi all, Im trying to port the Qt4 example "complexwizard" under the dialog folder. Here is the code i dont understand: class LicenseWizardPage : public WizardPage { public: LicenseWizardPage(LicenseWizard *wizard) : WizardPage(wizard), wizard(wizard) {} protected: LicenseWizard

[PyKDE] sipdistutils: setup include paths

2005-12-15 Thread Giovanni Bajo
Phil, while using sipdistutils as part of a larger building system, I realized that there is a bug in the current version: the include path for the compiler are not setup properly, so it either won't find "sip.h" while compiling, or use whichever version is installed in the standard Python path, w

[PyKDE] Seperating logic code from gui code?

2005-12-15 Thread Arthur Pemberton
Hello, I am new to Qt programming and PyQt. I am attempting to build a client for AllofMp3.com, I already have most of the logic code down. But now I want to build a GUI with PyQt. What rules should I follow to make the program useable in the console, but also with a GUI? Thank you.-- As a boy I