Thread
:
[Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
View Single Post
noobmonkey
2010-02-17 , 21:58
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#
26
ok well tried it....
my class is
class Ui_MainWindow(object):
The error is:
Attribute error: 'UI_MainWindow' object has no attribute 'connect'
Button call in class, sub function,
def setupUi(self, MainWindow):
self.connect(self.pushButton, QtCore.SIGNAL("clicked()"), self.updateTab1)
Function in Class:
def updateTab1(self, MainWindow):
__________________
----------- Follow me on
Twitter
here
----------- My
Photography Website and Blog
is
here
----------- Author of the N900
Health Check Application
----------- New Version in Extras Devel (Dec 2010 -
2.9.10
)
----------- Are you on the N900 World Map? -
http://pininthemap.com/maemo
- masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo
in the future
? -
Quote & Reply
|
noobmonkey
View Public Profile
Send a private message to noobmonkey
Find all posts by noobmonkey