denedigimde bu hatayý veriyor
ilgine teþekkürler
Traceback (most recent call last):
File
"/home/turkbowling/workspace/den/src/global.py", line
18, in oku
if lineEdit.text( ):
NameError: global name 'lineEdit' is not defined
kod;--------------------------------------------
class sinif:
def __init__(self, ui):
self.ui = ui
def oku(self):
if lineEdit.text( ):
print ui.label_2.setText("sarti sagladi")
else:
print ui.label_2.setText("sarti
saglamadi")
-----------------------------------------------------
button click slot'u;-----------------------------
self.retranslateUi(MainWindow)
self.sinif=sinif(self)
QtCore.QObject.connect(self.pushButton,QtCore.SIGNAL("clicked()"),self.sinif.oku\
)
________________________________________________________________________________\
____
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ