OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Python => Topic started by: dixie on May 14, 2005, 05:30:55 pm

Title: Python Kopsis Image & Qdateedit
Post by: dixie on May 14, 2005, 05:30:55 pm
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
Title: Python Kopsis Image & Qdateedit
Post by: zenyatta on May 15, 2005, 03:41:28 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 (http://doc.trolltech.com/qtopia1.7/html/overview.html).

z.
Title: Python Kopsis Image & Qdateedit
Post by: dixie on May 15, 2005, 04:43:41 pm
Quote
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 (http://doc.trolltech.com/qtopia1.7/html/overview.html).

z.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=79929\"][{POST_SNAPBACK}][/a][/div]

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

Bye

Paolo
Title: Python Kopsis Image & Qdateedit
Post by: Mickeyl on May 15, 2005, 06:45:36 pm
QDateEdit is only present in Qt versions >= 3.0.0
Title: Python Kopsis Image & Qdateedit
Post by: dixie on May 16, 2005, 04:45:32 am
Quote
QDateEdit is only present in Qt versions >= 3.0.0
[div align=\"right\"][a href=\"index.php?act=findpost&pid=79943\"][{POST_SNAPBACK}][/a][/div]

Tks Micheyl.

Paolo