-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathecmcMainWndDesigner.py
76 lines (68 loc) · 3.38 KB
/
ecmcMainWndDesigner.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ecmcMainWndDesigner.ui'
#
# Created by: PyQt5 UI code generator 5.4.1
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(346, 293)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
self.gridLayout.setObjectName("gridLayout")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.motorLayout = QtWidgets.QVBoxLayout()
self.motorLayout.setObjectName("motorLayout")
self.lblPrefix = QtWidgets.QLabel(self.centralwidget)
self.lblPrefix.setObjectName("lblPrefix")
self.motorLayout.addWidget(self.lblPrefix)
self.comboPrefix = QtWidgets.QComboBox(self.centralwidget)
self.comboPrefix.setObjectName("comboPrefix")
self.motorLayout.addWidget(self.comboPrefix)
self.lineIOCPrefix = QtWidgets.QLineEdit(self.centralwidget)
self.lineIOCPrefix.setObjectName("lineIOCPrefix")
self.motorLayout.addWidget(self.lineIOCPrefix)
self.label = QtWidgets.QLabel(self.centralwidget)
self.label.setObjectName("label")
self.motorLayout.addWidget(self.label)
self.comboPvName = QtWidgets.QComboBox(self.centralwidget)
self.comboPvName.setCurrentText("")
self.comboPvName.setObjectName("comboPvName")
self.motorLayout.addWidget(self.comboPvName)
self.linepvName = QtWidgets.QLineEdit(self.centralwidget)
self.linepvName.setObjectName("linepvName")
self.motorLayout.addWidget(self.linepvName)
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.motorLayout.addItem(spacerItem)
self.pbStartGUI = QtWidgets.QPushButton(self.centralwidget)
self.pbStartGUI.setObjectName("pbStartGUI")
self.motorLayout.addWidget(self.pbStartGUI)
self.horizontalLayout.addLayout(self.motorLayout)
self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.actionExit = QtWidgets.QAction(MainWindow)
self.actionExit.setObjectName("actionExit")
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "ecmc"))
self.lblPrefix.setText(_translate("MainWindow", "ioc prefix"))
self.label.setText(_translate("MainWindow", "pv name"))
self.pbStartGUI.setText(_translate("MainWindow", "open gui"))
self.actionExit.setText(_translate("MainWindow", "Exit"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
MainWindow = QtWidgets.QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())