-
Notifications
You must be signed in to change notification settings - Fork 0
/
showGui.py
32 lines (26 loc) · 1.36 KB
/
showGui.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'show.ui'
#
# Created: Mon Oct 22 22:39:48 2012
# by: pyside-uic 0.2.14 running on PySide 1.1.2
#
# WARNING! All changes made in this file will be lost!
from PySide import QtCore, QtGui
class Ui_mainDialog(object):
def setupUi(self, mainDialog):
mainDialog.setObjectName("mainDialog")
mainDialog.resize(263, 70)
self.nameEdit = QtGui.QLineEdit(mainDialog)
self.nameEdit.setGeometry(QtCore.QRect(10, 30, 161, 21))
self.nameEdit.setText("")
self.nameEdit.setObjectName("nameEdit")
self.showButton = QtGui.QPushButton(mainDialog)
self.showButton.setGeometry(QtCore.QRect(180, 30, 75, 23))
self.showButton.setObjectName("showButton")
self.retranslateUi(mainDialog)
QtCore.QMetaObject.connectSlotsByName(mainDialog)
mainDialog.setTabOrder(self.showButton, self.nameEdit)
def retranslateUi(self, mainDialog):
mainDialog.setWindowTitle(QtGui.QApplication.translate("mainDialog", "Main Dialog", None, QtGui.QApplication.UnicodeUTF8))
self.nameEdit.setPlaceholderText(QtGui.QApplication.translate("mainDialog", "What is your name?", None, QtGui.QApplication.UnicodeUTF8))
self.showButton.setText(QtGui.QApplication.translate("mainDialog", "Show!", None, QtGui.QApplication.UnicodeUTF8))