ChimeraTK-ControlSystemAdapter-OPCUAAdapter  04.00.01
historyUI.py
Go to the documentation of this file.
1 # -*- coding: utf-8 -*-
2 
3 # Form implementation generated from reading ui file 'historyUI.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_HistoryDialog(object):
15  def setupUi(self, HistoryDialog):
16  HistoryDialog.setObjectName("HistoryDialog")
17  HistoryDialog.resize(678, 178)
18  self.verticalLayout = QtWidgets.QVBoxLayout(HistoryDialog)
19  self.verticalLayout.setObjectName("verticalLayout")
20  self.horizontalLayout = QtWidgets.QHBoxLayout()
21  self.horizontalLayout.setObjectName("horizontalLayout")
22  self.label = QtWidgets.QLabel(HistoryDialog)
23  self.label.setObjectName("label")
24  self.horizontalLayout.addWidget(self.label)
25  spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
26  self.horizontalLayout.addItem(spacerItem)
27  self.historyName = QtWidgets.QLineEdit(HistoryDialog)
28  self.historyName.setMinimumSize(QtCore.QSize(500, 0))
29  self.historyName.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
30  self.historyName.setObjectName("historyName")
31  self.horizontalLayout.addWidget(self.historyName)
32  self.verticalLayout.addLayout(self.horizontalLayout)
33  self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
34  self.horizontalLayout_2.setObjectName("horizontalLayout_2")
35  self.label_2 = QtWidgets.QLabel(HistoryDialog)
36  self.label_2.setObjectName("label_2")
37  self.horizontalLayout_2.addWidget(self.label_2)
38  spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
39  self.horizontalLayout_2.addItem(spacerItem1)
40  self.entriesPerResponse = QtWidgets.QSpinBox(HistoryDialog)
41  self.entriesPerResponse.setMinimumSize(QtCore.QSize(0, 0))
42  self.entriesPerResponse.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
43  self.entriesPerResponse.setMinimum(1)
44  self.entriesPerResponse.setMaximum(100000)
45  self.entriesPerResponse.setProperty("value", 100)
46  self.entriesPerResponse.setObjectName("entriesPerResponse")
47  self.horizontalLayout_2.addWidget(self.entriesPerResponse)
48  self.verticalLayout.addLayout(self.horizontalLayout_2)
49  self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
50  self.horizontalLayout_3.setObjectName("horizontalLayout_3")
51  self.label_3 = QtWidgets.QLabel(HistoryDialog)
52  self.label_3.setObjectName("label_3")
53  self.horizontalLayout_3.addWidget(self.label_3)
54  spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
55  self.horizontalLayout_3.addItem(spacerItem2)
56  self.bufferLength = QtWidgets.QSpinBox(HistoryDialog)
57  self.bufferLength.setMinimumSize(QtCore.QSize(0, 0))
58  self.bufferLength.setLayoutDirection(QtCore.Qt.LeftToRight)
59  self.bufferLength.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
60  self.bufferLength.setMinimum(2)
61  self.bufferLength.setMaximum(1000000000)
62  self.bufferLength.setProperty("value", 100)
63  self.bufferLength.setObjectName("bufferLength")
64  self.horizontalLayout_3.addWidget(self.bufferLength)
65  self.verticalLayout.addLayout(self.horizontalLayout_3)
66  self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
67  self.horizontalLayout_4.setObjectName("horizontalLayout_4")
68  self.label_4 = QtWidgets.QLabel(HistoryDialog)
69  self.label_4.setObjectName("label_4")
70  self.horizontalLayout_4.addWidget(self.label_4)
71  spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
72  self.horizontalLayout_4.addItem(spacerItem3)
73  self.samplingInterval = QtWidgets.QSpinBox(HistoryDialog)
74  self.samplingInterval.setMinimumSize(QtCore.QSize(0, 0))
75  self.samplingInterval.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
76  self.samplingInterval.setPrefix("")
77  self.samplingInterval.setMaximum(600000)
78  self.samplingInterval.setProperty("value", 1000)
79  self.samplingInterval.setObjectName("samplingInterval")
80  self.horizontalLayout_4.addWidget(self.samplingInterval)
81  self.label_5 = QtWidgets.QLabel(HistoryDialog)
82  self.label_5.setObjectName("label_5")
83  self.horizontalLayout_4.addWidget(self.label_5)
84  self.verticalLayout.addLayout(self.horizontalLayout_4)
85  self.buttonBox = QtWidgets.QDialogButtonBox(HistoryDialog)
86  self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
87  self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
88  self.buttonBox.setObjectName("buttonBox")
89  self.verticalLayout.addWidget(self.buttonBox)
90 
91  self.retranslateUi(HistoryDialog)
92  self.buttonBox.accepted.connect(HistoryDialog.accept) # type: ignore
93  self.buttonBox.rejected.connect(HistoryDialog.reject) # type: ignore
94  QtCore.QMetaObject.connectSlotsByName(HistoryDialog)
95 
96  def retranslateUi(self, HistoryDialog):
97  _translate = QtCore.QCoreApplication.translate
98  HistoryDialog.setWindowTitle(_translate("HistoryDialog", "Dialog"))
99  self.label.setText(_translate("HistoryDialog", "History setting name:"))
100  self.label_2.setText(_translate("HistoryDialog", "Entries per response:"))
101  self.entriesPerResponse.setToolTip(_translate("HistoryDialog", "<html><head/><body><p>If a long history is requested by a client this number defines how data is transfered. A large number means big frames are used. A small number means multiple frames are used. They are connected via continuation points and multiple ReadHistoryRequest/ReadHistoryResponse messages are used.</p></body></html>"))
102  self.label_3.setText(_translate("HistoryDialog", "Buffer length:"))
103  self.bufferLength.setToolTip(_translate("HistoryDialog", "<html><head/><body><p>A ring buffer is used to store the history in memory. This number defines the size of the ring buffer.</p></body></html>"))
104  self.label_4.setText(_translate("HistoryDialog", "Sampling interval:"))
105  self.samplingInterval.setToolTip(_translate("HistoryDialog", "<html><head/><body><p>This number defines the sampling interval on the server side. If data updates happen faster on the server side this will not be seen by the history.</p></body></html>"))
106  self.label_5.setText(_translate("HistoryDialog", "ms"))
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.horizontalLayout_3
horizontalLayout_3
Definition: historyUI.py:49
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.historyName
historyName
Definition: historyUI.py:27
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.label
label
Definition: historyUI.py:22
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.buttonBox
buttonBox
Definition: historyUI.py:85
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.bufferLength
bufferLength
Definition: historyUI.py:56
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.horizontalLayout_4
horizontalLayout_4
Definition: historyUI.py:66
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.verticalLayout
verticalLayout
Definition: historyUI.py:18
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.setupUi
def setupUi(self, HistoryDialog)
Definition: historyUI.py:15
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.horizontalLayout
horizontalLayout
Definition: historyUI.py:20
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.label_4
label_4
Definition: historyUI.py:68
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.label_5
label_5
Definition: historyUI.py:81
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.horizontalLayout_2
horizontalLayout_2
Definition: historyUI.py:33
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog
Definition: historyUI.py:14
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.retranslateUi
def retranslateUi(self, HistoryDialog)
Definition: historyUI.py:96
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.samplingInterval
samplingInterval
Definition: historyUI.py:73
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.entriesPerResponse
entriesPerResponse
Definition: historyUI.py:40
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.label_3
label_3
Definition: historyUI.py:51
ctk_opcua_generator_tools.historyUI.Ui_HistoryDialog.label_2
label_2
Definition: historyUI.py:35