ChimeraTK-ControlSystemAdapter-OPCUAAdapter  04.00.01
generatorUI.py
Go to the documentation of this file.
1 # -*- coding: utf-8 -*-
2 
3 # Form implementation generated from reading ui file 'generatorUI.ui'
4 #
5 # Created by: PyQt5 UI code generator 5.15.6
6 #
7 # WARNING: Any manual changes made to this file will be lost when pyuic5 is
8 # run again. Do not edit this file unless you know what you are doing.
9 
10 
11 from PyQt5 import QtCore, QtGui, QtWidgets
12 
13 
14 class Ui_MainWindow(object):
15  def setupUi(self, MainWindow):
16  MainWindow.setObjectName("MainWindow")
17  MainWindow.resize(1147, 856)
18  self.centralwidget = QtWidgets.QWidget(MainWindow)
19  self.centralwidget.setObjectName("centralwidget")
20  self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
21  self.verticalLayout.setObjectName("verticalLayout")
22  self.horizontalLayout = QtWidgets.QHBoxLayout()
23  self.horizontalLayout.setObjectName("horizontalLayout")
24  self.label = QtWidgets.QLabel(self.centralwidget)
25  self.label.setObjectName("label")
26  self.horizontalLayout.addWidget(self.label)
27  self.rootFolder = QtWidgets.QLineEdit(self.centralwidget)
28  self.rootFolder.setLayoutDirection(QtCore.Qt.LeftToRight)
29  self.rootFolder.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
30  self.rootFolder.setObjectName("rootFolder")
31  self.horizontalLayout.addWidget(self.rootFolder)
32  self.label_2 = QtWidgets.QLabel(self.centralwidget)
33  self.label_2.setObjectName("label_2")
34  self.horizontalLayout.addWidget(self.label_2)
35  self.applicationName = QtWidgets.QLineEdit(self.centralwidget)
36  self.applicationName.setLayoutDirection(QtCore.Qt.LeftToRight)
37  self.applicationName.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
38  self.applicationName.setObjectName("applicationName")
39  self.horizontalLayout.addWidget(self.applicationName)
40  self.label_3 = QtWidgets.QLabel(self.centralwidget)
41  self.label_3.setObjectName("label_3")
42  self.horizontalLayout.addWidget(self.label_3)
43  self.port = QtWidgets.QSpinBox(self.centralwidget)
44  self.port.setMinimum(0)
45  self.port.setMaximum(99999)
46  self.port.setProperty("value", 16664)
47  self.port.setObjectName("port")
48  self.horizontalLayout.addWidget(self.port)
49  self.label_10 = QtWidgets.QLabel(self.centralwidget)
50  self.label_10.setObjectName("label_10")
51  self.horizontalLayout.addWidget(self.label_10)
52  self.logLevelComboBox = QtWidgets.QComboBox(self.centralwidget)
53  self.logLevelComboBox.setObjectName("logLevelComboBox")
54  self.logLevelComboBox.addItem("")
55  self.logLevelComboBox.addItem("")
56  self.logLevelComboBox.addItem("")
57  self.logLevelComboBox.addItem("")
58  self.logLevelComboBox.addItem("")
59  self.logLevelComboBox.addItem("")
60  self.horizontalLayout.addWidget(self.logLevelComboBox)
61  self.verticalLayout.addLayout(self.horizontalLayout)
62  self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
63  self.horizontalLayout_3.setObjectName("horizontalLayout_3")
64  self.label_6 = QtWidgets.QLabel(self.centralwidget)
65  self.label_6.setObjectName("label_6")
66  self.horizontalLayout_3.addWidget(self.label_6)
67  self.applicationDescription = QtWidgets.QLineEdit(self.centralwidget)
68  self.applicationDescription.setLayoutDirection(QtCore.Qt.LeftToRight)
69  self.applicationDescription.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
70  self.applicationDescription.setObjectName("applicationDescription")
71  self.horizontalLayout_3.addWidget(self.applicationDescription)
72  self.verticalLayout.addLayout(self.horizontalLayout_3)
73  self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
74  self.horizontalLayout_2.setObjectName("horizontalLayout_2")
75  self.addHistorySettingButton = QtWidgets.QPushButton(self.centralwidget)
76  self.addHistorySettingButton.setObjectName("addHistorySettingButton")
77  self.horizontalLayout_2.addWidget(self.addHistorySettingButton)
78  self.histories = QtWidgets.QComboBox(self.centralwidget)
79  self.histories.setMinimumSize(QtCore.QSize(0, 0))
80  self.histories.setEditable(False)
81  self.histories.setObjectName("histories")
82  self.horizontalLayout_2.addWidget(self.histories)
83  self.editHistorySettingButton = QtWidgets.QPushButton(self.centralwidget)
84  self.editHistorySettingButton.setEnabled(False)
85  self.editHistorySettingButton.setObjectName("editHistorySettingButton")
86  self.horizontalLayout_2.addWidget(self.editHistorySettingButton)
87  self.setHistoryForInputsButton = QtWidgets.QRadioButton(self.centralwidget)
88  self.setHistoryForInputsButton.setEnabled(False)
89  self.setHistoryForInputsButton.setObjectName("setHistoryForInputsButton")
91  spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
92  self.horizontalLayout_2.addItem(spacerItem)
93  self.enableLoginSwitch = QtWidgets.QCheckBox(self.centralwidget)
94  self.enableLoginSwitch.setObjectName("enableLoginSwitch")
95  self.horizontalLayout_2.addWidget(self.enableLoginSwitch)
96  self.label_4 = QtWidgets.QLabel(self.centralwidget)
97  self.label_4.setObjectName("label_4")
98  self.horizontalLayout_2.addWidget(self.label_4)
99  self.userName = QtWidgets.QLineEdit(self.centralwidget)
100  self.userName.setEnabled(False)
101  self.userName.setMaximumSize(QtCore.QSize(100, 16777215))
102  self.userName.setText("")
103  self.userName.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
104  self.userName.setObjectName("userName")
105  self.horizontalLayout_2.addWidget(self.userName)
106  self.label_5 = QtWidgets.QLabel(self.centralwidget)
107  self.label_5.setObjectName("label_5")
108  self.horizontalLayout_2.addWidget(self.label_5)
109  self.password = QtWidgets.QLineEdit(self.centralwidget)
110  self.password.setEnabled(False)
111  self.password.setMaximumSize(QtCore.QSize(100, 16777215))
112  self.password.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
113  self.password.setObjectName("password")
114  self.horizontalLayout_2.addWidget(self.password)
115  self.verticalLayout.addLayout(self.horizontalLayout_2)
116  self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
117  self.horizontalLayout_4.setObjectName("horizontalLayout_4")
118  self.horizontalFrame = QtWidgets.QFrame(self.centralwidget)
119  self.horizontalFrame.setFrameShape(QtWidgets.QFrame.Box)
120  self.horizontalFrame.setObjectName("horizontalFrame")
121  self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.horizontalFrame)
122  self.horizontalLayout_5.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
123  self.horizontalLayout_5.setContentsMargins(1, -1, -1, -1)
124  self.horizontalLayout_5.setObjectName("horizontalLayout_5")
125  self.label_9 = QtWidgets.QLabel(self.horizontalFrame)
126  self.label_9.setObjectName("label_9")
127  self.horizontalLayout_5.addWidget(self.label_9)
128  self.label_7 = QtWidgets.QLabel(self.horizontalFrame)
129  self.label_7.setAutoFillBackground(False)
130  self.label_7.setStyleSheet("background-color: rgb(254, 232, 200);")
131  self.label_7.setObjectName("label_7")
132  self.horizontalLayout_5.addWidget(self.label_7)
133  self.label_8 = QtWidgets.QLabel(self.horizontalFrame)
134  self.label_8.setAutoFillBackground(False)
135  self.label_8.setStyleSheet("background-color: rgb(229, 245, 224);")
136  self.label_8.setObjectName("label_8")
137  self.horizontalLayout_5.addWidget(self.label_8)
138  self.horizontalLayout_4.addWidget(self.horizontalFrame)
139  spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
140  self.horizontalLayout_4.addItem(spacerItem1)
141  self.enableEncryptionButton = QtWidgets.QCheckBox(self.centralwidget)
142  self.enableEncryptionButton.setObjectName("enableEncryptionButton")
143  self.horizontalLayout_4.addWidget(self.enableEncryptionButton)
144  self.addUnsecureEndpoint = QtWidgets.QCheckBox(self.centralwidget)
145  self.addUnsecureEndpoint.setEnabled(False)
146  self.addUnsecureEndpoint.setObjectName("addUnsecureEndpoint")
147  self.horizontalLayout_4.addWidget(self.addUnsecureEndpoint)
148  self.configureEncryptionButton = QtWidgets.QPushButton(self.centralwidget)
149  self.configureEncryptionButton.setEnabled(False)
150  self.configureEncryptionButton.setObjectName("configureEncryptionButton")
151  self.horizontalLayout_4.addWidget(self.configureEncryptionButton)
152  self.verticalLayout.addLayout(self.horizontalLayout_4)
153  self.treeWidget = QtWidgets.QTreeWidget(self.centralwidget)
154  self.treeWidget.setAcceptDrops(True)
155  self.treeWidget.setDragEnabled(True)
156  self.treeWidget.setIndentation(20)
157  self.treeWidget.setObjectName("treeWidget")
158  self.treeWidget.headerItem().setText(0, "Name")
159  self.treeWidget.header().setVisible(True)
160  self.treeWidget.header().setDefaultSectionSize(100)
161  self.verticalLayout.addWidget(self.treeWidget)
162  MainWindow.setCentralWidget(self.centralwidget)
163  self.menubar = QtWidgets.QMenuBar(MainWindow)
164  self.menubar.setGeometry(QtCore.QRect(0, 0, 1147, 22))
165  self.menubar.setObjectName("menubar")
166  self.menuFile = QtWidgets.QMenu(self.menubar)
167  self.menuFile.setToolTipsVisible(False)
168  self.menuFile.setObjectName("menuFile")
169  MainWindow.setMenuBar(self.menubar)
170  self.statusbar = QtWidgets.QStatusBar(MainWindow)
171  self.statusbar.setObjectName("statusbar")
172  MainWindow.setStatusBar(self.statusbar)
173  self.actionOpen_File = QtWidgets.QAction(MainWindow)
174  self.actionOpen_File.setObjectName("actionOpen_File")
175  self.actionQuit = QtWidgets.QAction(MainWindow)
176  self.actionQuit.setShortcut("")
177  self.actionQuit.setObjectName("actionQuit")
178  self.actionSave_as = QtWidgets.QAction(MainWindow)
179  self.actionSave_as.setObjectName("actionSave_as")
180  self.actionSave = QtWidgets.QAction(MainWindow)
181  self.actionSave.setEnabled(False)
182  self.actionSave.setObjectName("actionSave")
183  self.actionLoad_mapping_file = QtWidgets.QAction(MainWindow)
184  self.actionLoad_mapping_file.setObjectName("actionLoad_mapping_file")
185  self.menuFile.addAction(self.actionOpen_File)
186  self.menuFile.addAction(self.actionSave_as)
187  self.menuFile.addAction(self.actionSave)
188  self.menuFile.addAction(self.actionLoad_mapping_file)
189  self.menuFile.addAction(self.actionQuit)
190  self.menubar.addAction(self.menuFile.menuAction())
191 
192  self.retranslateUi(MainWindow)
193  QtCore.QMetaObject.connectSlotsByName(MainWindow)
194 
195  def retranslateUi(self, MainWindow):
196  _translate = QtCore.QCoreApplication.translate
197  MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
198  self.label.setText(_translate("MainWindow", "Root folder name:"))
199  self.label_2.setText(_translate("MainWindow", "Application name:"))
200  self.label_3.setText(_translate("MainWindow", "Port:"))
201  self.label_10.setText(_translate("MainWindow", "LogLevel:"))
202  self.logLevelComboBox.setCurrentText(_translate("MainWindow", "INFO"))
203  self.logLevelComboBox.setItemText(0, _translate("MainWindow", "TRACE"))
204  self.logLevelComboBox.setItemText(1, _translate("MainWindow", "DEBUG"))
205  self.logLevelComboBox.setItemText(2, _translate("MainWindow", "INFO"))
206  self.logLevelComboBox.setItemText(3, _translate("MainWindow", "WARNING"))
207  self.logLevelComboBox.setItemText(4, _translate("MainWindow", "ERROR"))
208  self.logLevelComboBox.setItemText(5, _translate("MainWindow", "FATAL"))
209  self.label_6.setText(_translate("MainWindow", "Application description:"))
210  self.addHistorySettingButton.setText(_translate("MainWindow", "Add history setting"))
211  self.editHistorySettingButton.setText(_translate("MainWindow", "Edit history setting"))
212  self.setHistoryForInputsButton.setToolTip(_translate("MainWindow", "<html><head/><body><p>Use the selected history for all input process variables.</p></body></html>"))
213  self.setHistoryForInputsButton.setText(_translate("MainWindow", "Use selected history for inputs"))
214  self.enableLoginSwitch.setText(_translate("MainWindow", "Enable login"))
215  self.label_4.setText(_translate("MainWindow", "Username:"))
216  self.label_5.setText(_translate("MainWindow", "Password:"))
217  self.label_9.setText(_translate("MainWindow", "Color legend:"))
218  self.label_7.setText(_translate("MainWindow", "Controlsystem to Application"))
219  self.label_8.setText(_translate("MainWindow", "Application to Controlsystem"))
220  self.enableEncryptionButton.setText(_translate("MainWindow", "Enable encryption"))
221  self.addUnsecureEndpoint.setText(_translate("MainWindow", "Add non-encrypted Endpoint"))
222  self.configureEncryptionButton.setText(_translate("MainWindow", "Configure..."))
223  self.treeWidget.headerItem().setText(1, _translate("MainWindow", "Map"))
224  self.treeWidget.headerItem().setText(2, _translate("MainWindow", "History"))
225  self.treeWidget.headerItem().setText(3, _translate("MainWindow", "Unit"))
226  self.treeWidget.headerItem().setText(4, _translate("MainWindow", "Description"))
227  self.treeWidget.headerItem().setText(5, _translate("MainWindow", "Additional Location"))
228  self.menuFile.setTitle(_translate("MainWindow", "File"))
229  self.actionOpen_File.setText(_translate("MainWindow", "Open File..."))
230  self.actionQuit.setText(_translate("MainWindow", "Quit"))
231  self.actionSave_as.setText(_translate("MainWindow", "Save as..."))
232  self.actionSave.setText(_translate("MainWindow", "Save"))
233  self.actionLoad_mapping_file.setText(_translate("MainWindow", "Load mapping file..."))
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.applicationDescription
applicationDescription
Definition: generatorUI.py:67
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.password
password
Definition: generatorUI.py:109
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.addUnsecureEndpoint
addUnsecureEndpoint
Definition: generatorUI.py:144
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.label_8
label_8
Definition: generatorUI.py:133
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.label_4
label_4
Definition: generatorUI.py:96
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.horizontalLayout_4
horizontalLayout_4
Definition: generatorUI.py:116
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.configureEncryptionButton
configureEncryptionButton
Definition: generatorUI.py:148
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.horizontalFrame
horizontalFrame
Definition: generatorUI.py:118
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.setHistoryForInputsButton
setHistoryForInputsButton
Definition: generatorUI.py:87
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.userName
userName
Definition: generatorUI.py:99
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.horizontalLayout_3
horizontalLayout_3
Definition: generatorUI.py:62
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.setupUi
def setupUi(self, MainWindow)
Definition: generatorUI.py:15
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.label_9
label_9
Definition: generatorUI.py:125
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.histories
histories
Definition: generatorUI.py:78
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.port
port
Definition: generatorUI.py:43
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.label_3
label_3
Definition: generatorUI.py:40
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.logLevelComboBox
logLevelComboBox
Definition: generatorUI.py:52
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.actionOpen_File
actionOpen_File
Definition: generatorUI.py:173
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.editHistorySettingButton
editHistorySettingButton
Definition: generatorUI.py:83
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.statusbar
statusbar
Definition: generatorUI.py:170
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.label
label
Definition: generatorUI.py:24
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.label_10
label_10
Definition: generatorUI.py:49
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.retranslateUi
def retranslateUi(self, MainWindow)
Definition: generatorUI.py:195
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.centralwidget
centralwidget
Definition: generatorUI.py:18
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.menuFile
menuFile
Definition: generatorUI.py:166
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.label_5
label_5
Definition: generatorUI.py:106
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.actionQuit
actionQuit
Definition: generatorUI.py:175
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.actionLoad_mapping_file
actionLoad_mapping_file
Definition: generatorUI.py:183
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow
Definition: generatorUI.py:14
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.horizontalLayout_2
horizontalLayout_2
Definition: generatorUI.py:73
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.menubar
menubar
Definition: generatorUI.py:163
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.enableEncryptionButton
enableEncryptionButton
Definition: generatorUI.py:141
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.treeWidget
treeWidget
Definition: generatorUI.py:153
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.actionSave_as
actionSave_as
Definition: generatorUI.py:178
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.label_2
label_2
Definition: generatorUI.py:32
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.actionSave
actionSave
Definition: generatorUI.py:180
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.label_7
label_7
Definition: generatorUI.py:128
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.applicationName
applicationName
Definition: generatorUI.py:35
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.enableLoginSwitch
enableLoginSwitch
Definition: generatorUI.py:93
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.verticalLayout
verticalLayout
Definition: generatorUI.py:20
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.addHistorySettingButton
addHistorySettingButton
Definition: generatorUI.py:75
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.label_6
label_6
Definition: generatorUI.py:64
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.rootFolder
rootFolder
Definition: generatorUI.py:27
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.horizontalLayout
horizontalLayout
Definition: generatorUI.py:22
ctk_opcua_generator_tools.generatorUI.Ui_MainWindow.horizontalLayout_5
horizontalLayout_5
Definition: generatorUI.py:121