Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. def initUI(self):
  2.  
  3. lbl2 = QLabel(str(Lenta), self)
  4. lbl2.move(35, 40)
  5. btn = QPushButton('Сдать машину Тьюринга!', self)
  6. btn.clicked.connect(QCoreApplication.instance().quit)
  7. btn.resize(btn.sizeHint())
  8. btn.move(50, 80)
  9.  
  10. self.setGeometry(300, 300, 250, 150)
  11. self.setWindowTitle('task_1')
  12. self.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement