Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (16 sloc) 433 Bytes
#-*-coding:utf-8-*-
from PyQt4.QtGui import *
from PyQt4 import uic
class AnaPencere(QMainWindow):
def __init__(self,ebeveyn=None):
QWidget.__init__(self,ebeveyn)
self.ui = uic.loadUi('qt3.ui',self)
def merhabaDe(self):
isim = self.ui.lineEdit.text()
merhaba = self.ui.label.text()
merhaba += isim
self.ui.label.setText(merhaba)
uygulama = QApplication([])
pencere = AnaPencere()
pencere.show()
uygulama.exec_()