|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/MicroPython/NtpParametersDialog.ui' |
|
2 # |
|
3 # Created by: PyQt6 UI code generator 6.7.0 |
|
4 # |
|
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is |
|
6 # run again. Do not edit this file unless you know what you are doing. |
|
7 |
|
8 |
|
9 from PyQt6 import QtCore, QtGui, QtWidgets |
|
10 |
|
11 |
|
12 class Ui_NtpParametersDialog(object): |
|
13 def setupUi(self, NtpParametersDialog): |
|
14 NtpParametersDialog.setObjectName("NtpParametersDialog") |
|
15 NtpParametersDialog.resize(450, 172) |
|
16 NtpParametersDialog.setSizeGripEnabled(True) |
|
17 self.gridLayout = QtWidgets.QGridLayout(NtpParametersDialog) |
|
18 self.gridLayout.setObjectName("gridLayout") |
|
19 self.label = QtWidgets.QLabel(parent=NtpParametersDialog) |
|
20 self.label.setObjectName("label") |
|
21 self.gridLayout.addWidget(self.label, 0, 0, 1, 1) |
|
22 self.serverEdit = QtWidgets.QLineEdit(parent=NtpParametersDialog) |
|
23 self.serverEdit.setClearButtonEnabled(True) |
|
24 self.serverEdit.setObjectName("serverEdit") |
|
25 self.gridLayout.addWidget(self.serverEdit, 0, 1, 1, 2) |
|
26 self.label_2 = QtWidgets.QLabel(parent=NtpParametersDialog) |
|
27 self.label_2.setObjectName("label_2") |
|
28 self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) |
|
29 self.tzOffsetSpinBox = QtWidgets.QSpinBox(parent=NtpParametersDialog) |
|
30 self.tzOffsetSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
|
31 self.tzOffsetSpinBox.setMinimum(-12) |
|
32 self.tzOffsetSpinBox.setMaximum(12) |
|
33 self.tzOffsetSpinBox.setObjectName("tzOffsetSpinBox") |
|
34 self.gridLayout.addWidget(self.tzOffsetSpinBox, 1, 1, 1, 1) |
|
35 self.dstCheckBox = QtWidgets.QCheckBox(parent=NtpParametersDialog) |
|
36 self.dstCheckBox.setObjectName("dstCheckBox") |
|
37 self.gridLayout.addWidget(self.dstCheckBox, 1, 2, 1, 1) |
|
38 self.label_3 = QtWidgets.QLabel(parent=NtpParametersDialog) |
|
39 self.label_3.setObjectName("label_3") |
|
40 self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1) |
|
41 self.timeoutSpinBox = QtWidgets.QSpinBox(parent=NtpParametersDialog) |
|
42 self.timeoutSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
|
43 self.timeoutSpinBox.setMinimum(5) |
|
44 self.timeoutSpinBox.setMaximum(15) |
|
45 self.timeoutSpinBox.setProperty("value", 10) |
|
46 self.timeoutSpinBox.setObjectName("timeoutSpinBox") |
|
47 self.gridLayout.addWidget(self.timeoutSpinBox, 2, 1, 1, 1) |
|
48 spacerItem = QtWidgets.QSpacerItem(250, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
49 self.gridLayout.addItem(spacerItem, 2, 2, 1, 1) |
|
50 self.rememberCheckBox = QtWidgets.QCheckBox(parent=NtpParametersDialog) |
|
51 self.rememberCheckBox.setObjectName("rememberCheckBox") |
|
52 self.gridLayout.addWidget(self.rememberCheckBox, 3, 0, 1, 3) |
|
53 self.buttonBox = QtWidgets.QDialogButtonBox(parent=NtpParametersDialog) |
|
54 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
55 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok|QtWidgets.QDialogButtonBox.StandardButton.RestoreDefaults) |
|
56 self.buttonBox.setObjectName("buttonBox") |
|
57 self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 3) |
|
58 |
|
59 self.retranslateUi(NtpParametersDialog) |
|
60 self.buttonBox.accepted.connect(NtpParametersDialog.accept) # type: ignore |
|
61 self.buttonBox.rejected.connect(NtpParametersDialog.reject) # type: ignore |
|
62 QtCore.QMetaObject.connectSlotsByName(NtpParametersDialog) |
|
63 NtpParametersDialog.setTabOrder(self.serverEdit, self.tzOffsetSpinBox) |
|
64 NtpParametersDialog.setTabOrder(self.tzOffsetSpinBox, self.dstCheckBox) |
|
65 NtpParametersDialog.setTabOrder(self.dstCheckBox, self.timeoutSpinBox) |
|
66 NtpParametersDialog.setTabOrder(self.timeoutSpinBox, self.rememberCheckBox) |
|
67 |
|
68 def retranslateUi(self, NtpParametersDialog): |
|
69 _translate = QtCore.QCoreApplication.translate |
|
70 NtpParametersDialog.setWindowTitle(_translate("NtpParametersDialog", "NTP Parameter")) |
|
71 self.label.setText(_translate("NtpParametersDialog", "NTP Server:")) |
|
72 self.serverEdit.setToolTip(_translate("NtpParametersDialog", "Enter the name of the NTP server.")) |
|
73 self.label_2.setText(_translate("NtpParametersDialog", "Time Zone Offset:")) |
|
74 self.tzOffsetSpinBox.setToolTip(_translate("NtpParametersDialog", "Enter the time zone offset to UTC.")) |
|
75 self.tzOffsetSpinBox.setSuffix(_translate("NtpParametersDialog", " h")) |
|
76 self.dstCheckBox.setToolTip(_translate("NtpParametersDialog", "Select to indicate that daylight savings is in effect (i.e. 1h plus to UTC).")) |
|
77 self.dstCheckBox.setText(_translate("NtpParametersDialog", "Is Daylight Savings")) |
|
78 self.label_3.setText(_translate("NtpParametersDialog", "Timeout:")) |
|
79 self.timeoutSpinBox.setToolTip(_translate("NtpParametersDialog", "Enter the timeout in seconds.")) |
|
80 self.timeoutSpinBox.setSuffix(_translate("NtpParametersDialog", " s")) |
|
81 self.rememberCheckBox.setToolTip(_translate("NtpParametersDialog", "Select to remember the entered NTP parameters.")) |
|
82 self.rememberCheckBox.setText(_translate("NtpParametersDialog", "Remember Parameters")) |