@@ -15,7 +15,9 except AttributeError: | |||||
15 | _fromUtf8 = lambda s: s |
|
15 | _fromUtf8 = lambda s: s | |
16 |
|
16 | |||
17 | class Ui_MainWindow(object): |
|
17 | class Ui_MainWindow(object): | |
|
18 | ||||
18 | def setupUi(self, MainWindow): |
|
19 | def setupUi(self, MainWindow): | |
|
20 | ||||
19 | MainWindow.setObjectName(_fromUtf8("MainWindow")) |
|
21 | MainWindow.setObjectName(_fromUtf8("MainWindow")) | |
20 | MainWindow.resize(866, 587) |
|
22 | MainWindow.resize(866, 587) | |
21 | self.centralWidget = QtGui.QWidget(MainWindow) |
|
23 | self.centralWidget = QtGui.QWidget(MainWindow) | |
@@ -221,6 +223,7 class Ui_MainWindow(object): | |||||
221 | self.tabWidgetVol = QtGui.QTabWidget(self.tab_7) |
|
223 | self.tabWidgetVol = QtGui.QTabWidget(self.tab_7) | |
222 | self.tabWidgetVol.setEnabled(True) |
|
224 | self.tabWidgetVol.setEnabled(True) | |
223 | self.tabWidgetVol.setGeometry(QtCore.QRect(10, 10, 291, 331)) |
|
225 | self.tabWidgetVol.setGeometry(QtCore.QRect(10, 10, 291, 331)) | |
|
226 | ||||
224 | self.tabWidgetVol.setObjectName(_fromUtf8("tabWidgetVol")) |
|
227 | self.tabWidgetVol.setObjectName(_fromUtf8("tabWidgetVol")) | |
225 | self.tab_3 = QtGui.QWidget() |
|
228 | self.tab_3 = QtGui.QWidget() | |
226 | self.tab_3.setObjectName(_fromUtf8("tab_3")) |
|
229 | self.tab_3.setObjectName(_fromUtf8("tab_3")) | |
@@ -1047,6 +1050,30 class Ui_MainWindow(object): | |||||
1047 | self.actCreateObj.setToolTip(QtGui.QApplication.translate("MainWindow", "Manage Create", None, QtGui.QApplication.UnicodeUTF8)) |
|
1050 | self.actCreateObj.setToolTip(QtGui.QApplication.translate("MainWindow", "Manage Create", None, QtGui.QApplication.UnicodeUTF8)) | |
1048 | self.menuFileCerrarObj.setText(QtGui.QApplication.translate("MainWindow", "Cerrar", None, QtGui.QApplication.UnicodeUTF8)) |
|
1051 | self.menuFileCerrarObj.setText(QtGui.QApplication.translate("MainWindow", "Cerrar", None, QtGui.QApplication.UnicodeUTF8)) | |
1049 |
|
1052 | |||
|
1053 | class Ui_BasicWindow(Ui_MainWindow): | |||
|
1054 | ||||
|
1055 | def setupUi(self, BasicWindow): | |||
|
1056 | ||||
|
1057 | Ui_MainWindow.setupUi(self, BasicWindow) | |||
|
1058 | ||||
|
1059 | def retranslateUi(self,BasicWindow): | |||
|
1060 | ||||
|
1061 | Ui_MainWindow.retranslateUi(self,BasicWindow) | |||
|
1062 | ||||
|
1063 | ||||
|
1064 | ||||
|
1065 | ||||
|
1066 | ||||
|
1067 | class Ui_AdvancedWindow(Ui_MainWindow): | |||
|
1068 | ||||
|
1069 | def setupUi(self, AdvancedWindow): | |||
|
1070 | ||||
|
1071 | Ui_MainWindow.setupUi(self, AdvancedWindow) | |||
|
1072 | ||||
|
1073 | def retranslateUi(self, AdvancedWindow): | |||
|
1074 | ||||
|
1075 | Ui_MainWindow.retranslateUi(self, AdvancedWindow) | |||
|
1076 | ||||
1050 | from PyQt4 import Qsci |
|
1077 | from PyQt4 import Qsci | |
1051 |
|
1078 | |||
1052 | if __name__ == "__main__": |
|
1079 | if __name__ == "__main__": |
@@ -2,7 +2,7 | |||||
2 |
|
2 | |||
3 | # Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\UIDOS\unitProcess.ui' |
|
3 | # Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\UIDOS\unitProcess.ui' | |
4 | # |
|
4 | # | |
5 |
# Created: T |
|
5 | # Created: Tue Dec 18 15:34:51 2012 | |
6 | # by: PyQt4 UI code generator 4.9.4 |
|
6 | # by: PyQt4 UI code generator 4.9.4 | |
7 | # |
|
7 | # | |
8 | # WARNING! All changes made in this file will be lost! |
|
8 | # WARNING! All changes made in this file will be lost! | |
@@ -17,14 +17,14 except AttributeError: | |||||
17 | class Ui_UnitProcess(object): |
|
17 | class Ui_UnitProcess(object): | |
18 | def setupUi(self, MainWindow): |
|
18 | def setupUi(self, MainWindow): | |
19 | MainWindow.setObjectName(_fromUtf8("MainWindow")) |
|
19 | MainWindow.setObjectName(_fromUtf8("MainWindow")) | |
20 |
MainWindow.resize(2 |
|
20 | MainWindow.resize(212, 181) | |
21 | self.centralWidget = QtGui.QWidget(MainWindow) |
|
21 | self.centralWidget = QtGui.QWidget(MainWindow) | |
22 | self.centralWidget.setObjectName(_fromUtf8("centralWidget")) |
|
22 | self.centralWidget.setObjectName(_fromUtf8("centralWidget")) | |
23 | self.comboInputBox = QtGui.QComboBox(self.centralWidget) |
|
23 | self.comboInputBox = QtGui.QComboBox(self.centralWidget) | |
24 |
self.comboInputBox.setGeometry(QtCore.QRect(80, 50, 1 |
|
24 | self.comboInputBox.setGeometry(QtCore.QRect(80, 50, 121, 22)) | |
25 | self.comboInputBox.setObjectName(_fromUtf8("comboInputBox")) |
|
25 | self.comboInputBox.setObjectName(_fromUtf8("comboInputBox")) | |
26 | self.comboTypeBox = QtGui.QComboBox(self.centralWidget) |
|
26 | self.comboTypeBox = QtGui.QComboBox(self.centralWidget) | |
27 |
self.comboTypeBox.setGeometry(QtCore.QRect(80, 90, 1 |
|
27 | self.comboTypeBox.setGeometry(QtCore.QRect(80, 90, 121, 22)) | |
28 | self.comboTypeBox.setObjectName(_fromUtf8("comboTypeBox")) |
|
28 | self.comboTypeBox.setObjectName(_fromUtf8("comboTypeBox")) | |
29 | self.comboTypeBox.addItem(_fromUtf8("")) |
|
29 | self.comboTypeBox.addItem(_fromUtf8("")) | |
30 | self.comboTypeBox.addItem(_fromUtf8("")) |
|
30 | self.comboTypeBox.addItem(_fromUtf8("")) | |
@@ -54,26 +54,19 class Ui_UnitProcess(object): | |||||
54 | self.typeLabel.setFont(font) |
|
54 | self.typeLabel.setFont(font) | |
55 | self.typeLabel.setObjectName(_fromUtf8("typeLabel")) |
|
55 | self.typeLabel.setObjectName(_fromUtf8("typeLabel")) | |
56 | self.unitPokbut = QtGui.QPushButton(self.centralWidget) |
|
56 | self.unitPokbut = QtGui.QPushButton(self.centralWidget) | |
57 |
self.unitPokbut.setGeometry(QtCore.QRect( |
|
57 | self.unitPokbut.setGeometry(QtCore.QRect(10, 130, 91, 23)) | |
58 | font = QtGui.QFont() |
|
58 | font = QtGui.QFont() | |
59 | font.setBold(False) |
|
59 | font.setBold(False) | |
60 | font.setWeight(50) |
|
60 | font.setWeight(50) | |
61 | self.unitPokbut.setFont(font) |
|
61 | self.unitPokbut.setFont(font) | |
62 | self.unitPokbut.setObjectName(_fromUtf8("unitPokbut")) |
|
62 | self.unitPokbut.setObjectName(_fromUtf8("unitPokbut")) | |
63 | self.unitPcancelbut = QtGui.QPushButton(self.centralWidget) |
|
63 | self.unitPcancelbut = QtGui.QPushButton(self.centralWidget) | |
64 |
self.unitPcancelbut.setGeometry(QtCore.QRect(1 |
|
64 | self.unitPcancelbut.setGeometry(QtCore.QRect(110, 130, 91, 23)) | |
65 | font = QtGui.QFont() |
|
65 | font = QtGui.QFont() | |
66 | font.setBold(False) |
|
66 | font.setBold(False) | |
67 | font.setWeight(50) |
|
67 | font.setWeight(50) | |
68 | self.unitPcancelbut.setFont(font) |
|
68 | self.unitPcancelbut.setFont(font) | |
69 | self.unitPcancelbut.setObjectName(_fromUtf8("unitPcancelbut")) |
|
69 | self.unitPcancelbut.setObjectName(_fromUtf8("unitPcancelbut")) | |
70 | self.unitPsavebut = QtGui.QPushButton(self.centralWidget) |
|
|||
71 | self.unitPsavebut.setGeometry(QtCore.QRect(20, 130, 51, 23)) |
|
|||
72 | font = QtGui.QFont() |
|
|||
73 | font.setBold(False) |
|
|||
74 | font.setWeight(50) |
|
|||
75 | self.unitPsavebut.setFont(font) |
|
|||
76 | self.unitPsavebut.setObjectName(_fromUtf8("unitPsavebut")) |
|
|||
77 | MainWindow.setCentralWidget(self.centralWidget) |
|
70 | MainWindow.setCentralWidget(self.centralWidget) | |
78 |
|
71 | |||
79 | self.retranslateUi(MainWindow) |
|
72 | self.retranslateUi(MainWindow) | |
@@ -89,7 +82,6 class Ui_UnitProcess(object): | |||||
89 | self.typeLabel.setText(QtGui.QApplication.translate("MainWindow", "Type:", None, QtGui.QApplication.UnicodeUTF8)) |
|
82 | self.typeLabel.setText(QtGui.QApplication.translate("MainWindow", "Type:", None, QtGui.QApplication.UnicodeUTF8)) | |
90 | self.unitPokbut.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) |
|
83 | self.unitPokbut.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) | |
91 | self.unitPcancelbut.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) |
|
84 | self.unitPcancelbut.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) | |
92 | self.unitPsavebut.setText(QtGui.QApplication.translate("MainWindow", "Save", None, QtGui.QApplication.UnicodeUTF8)) |
|
|||
93 |
|
85 | |||
94 |
|
86 | |||
95 | if __name__ == "__main__": |
|
87 | if __name__ == "__main__": | |
@@ -100,3 +92,4 if __name__ == "__main__": | |||||
100 | ui.setupUi(MainWindow) |
|
92 | ui.setupUi(MainWindow) | |
101 | MainWindow.show() |
|
93 | MainWindow.show() | |
102 | sys.exit(app.exec_()) |
|
94 | sys.exit(app.exec_()) | |
|
95 |
General Comments 0
You need to be logged in to leave comments.
Login now