Help - Search - Members - Calendar
Full Version: Python Kopsis Image & Qdateedit
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > Python
dixie
Hi at all, I'm working around a database client with python.
My code works great on my desktop but the QDateEdit class (PyQT) don't work on my zaurus.
I have installed the last Kopsis image.
The code is like this:
... omissis...
self.dateEdit5 = QDateEdit(self.tab1,"dateEdit5")
self.dateEdit5.setGeometry(QRect(130,120,80,21))
self.dateEdit5.setDate(QDate.currentDate())
...omissis...
The error returned is:
"...self.dateEdit5 = QDateEdit(self.tab1,"dateEdit5")
NemError: global name "QDateEdit" is not defined. ..."

I suppose that this class is unsupported in zaurus python image.

Anyone had this problem?
Any solution?

Tks

Paolo
zenyatta
I suspect it's not a Python limitation but rather one of those imposed by Sharp's implementation of Qt/Embedded. See the Trolltech site for details.

z.
dixie
QUOTE(zenyatta @ May 15 2005, 07:41 PM)
I suspect it's not a Python limitation but rather one of those imposed by Sharp's implementation of Qt/Embedded. See the Trolltech site for details.

z.
*


Tks Zenyatta, yes I'm agree with you but I don't know if it is sure.

Bye

Paolo
Mickeyl
QDateEdit is only present in Qt versions >= 3.0.0
dixie
QUOTE(Mickeyl @ May 15 2005, 10:45 PM)
QDateEdit is only present in Qt versions >= 3.0.0
*


Tks Micheyl.

Paolo
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.