Douglas Soares de Andrade wrote:

Hi !

Im trying to make a port of the book C++ GUI programming with Qt to Python. I alrealdy did the first chapter, but i tried to port the example in the section Subclassing Qt, but i have no success.
Some part of the cpp code is a little complicated to me, as this example:

FindDialog::FindDialog(QWidget *parent, const char *name) : QDialog(parent, name)

As i understood, it is a implementation of the constructor, but i cant get the idea in how to port it to python.

Can someone here can help me or translate this example to python, so i will do the rest, since it is most equal in the rest of the book.

The code is here:

http://www.unilestemg.br/find.tar.gz

Thank you all so much for any help.

FindDialog::FindDialog(QWidget *parent, const char *name) : QDialog(parent,

name)

---

def __init__(self, parent, name):
  QDialog.__init__(self, parent, name)

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to