|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/WizardPlugins/PyRegExpWizard/PyRegExpWizardRepeatDialog.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_PyRegExpWizardRepeatDialog(object): |
|
13 def setupUi(self, PyRegExpWizardRepeatDialog): |
|
14 PyRegExpWizardRepeatDialog.setObjectName("PyRegExpWizardRepeatDialog") |
|
15 PyRegExpWizardRepeatDialog.resize(331, 223) |
|
16 PyRegExpWizardRepeatDialog.setSizeGripEnabled(True) |
|
17 self.vboxlayout = QtWidgets.QVBoxLayout(PyRegExpWizardRepeatDialog) |
|
18 self.vboxlayout.setObjectName("vboxlayout") |
|
19 self.groupBox = QtWidgets.QGroupBox(parent=PyRegExpWizardRepeatDialog) |
|
20 self.groupBox.setTitle("") |
|
21 self.groupBox.setFlat(True) |
|
22 self.groupBox.setObjectName("groupBox") |
|
23 self.gridlayout = QtWidgets.QGridLayout(self.groupBox) |
|
24 self.gridlayout.setContentsMargins(0, 0, 0, 0) |
|
25 self.gridlayout.setObjectName("gridlayout") |
|
26 self.textLabel1_6 = QtWidgets.QLabel(parent=self.groupBox) |
|
27 self.textLabel1_6.setObjectName("textLabel1_6") |
|
28 self.gridlayout.addWidget(self.textLabel1_6, 2, 2, 1, 1) |
|
29 self.textLabel1_7 = QtWidgets.QLabel(parent=self.groupBox) |
|
30 self.textLabel1_7.setObjectName("textLabel1_7") |
|
31 self.gridlayout.addWidget(self.textLabel1_7, 3, 2, 1, 1) |
|
32 self.textLabel1_5 = QtWidgets.QLabel(parent=self.groupBox) |
|
33 self.textLabel1_5.setObjectName("textLabel1_5") |
|
34 self.gridlayout.addWidget(self.textLabel1_5, 1, 2, 1, 1) |
|
35 self.lowerSpin = QtWidgets.QSpinBox(parent=self.groupBox) |
|
36 self.lowerSpin.setEnabled(False) |
|
37 self.lowerSpin.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight) |
|
38 self.lowerSpin.setProperty("value", 1) |
|
39 self.lowerSpin.setObjectName("lowerSpin") |
|
40 self.gridlayout.addWidget(self.lowerSpin, 4, 1, 1, 1) |
|
41 self.upperSpin = QtWidgets.QSpinBox(parent=self.groupBox) |
|
42 self.upperSpin.setEnabled(False) |
|
43 self.upperSpin.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight) |
|
44 self.upperSpin.setProperty("value", 1) |
|
45 self.upperSpin.setObjectName("upperSpin") |
|
46 self.gridlayout.addWidget(self.upperSpin, 4, 3, 1, 1) |
|
47 self.textLabel6 = QtWidgets.QLabel(parent=self.groupBox) |
|
48 self.textLabel6.setObjectName("textLabel6") |
|
49 self.gridlayout.addWidget(self.textLabel6, 4, 2, 1, 1) |
|
50 self.betweenButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
51 self.betweenButton.setObjectName("betweenButton") |
|
52 self.gridlayout.addWidget(self.betweenButton, 4, 0, 1, 1) |
|
53 self.exactSpin = QtWidgets.QSpinBox(parent=self.groupBox) |
|
54 self.exactSpin.setEnabled(False) |
|
55 self.exactSpin.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight) |
|
56 self.exactSpin.setProperty("value", 1) |
|
57 self.exactSpin.setObjectName("exactSpin") |
|
58 self.gridlayout.addWidget(self.exactSpin, 3, 1, 1, 1) |
|
59 self.exactButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
60 self.exactButton.setObjectName("exactButton") |
|
61 self.gridlayout.addWidget(self.exactButton, 3, 0, 1, 1) |
|
62 self.maxSpin = QtWidgets.QSpinBox(parent=self.groupBox) |
|
63 self.maxSpin.setEnabled(False) |
|
64 self.maxSpin.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight) |
|
65 self.maxSpin.setProperty("value", 1) |
|
66 self.maxSpin.setObjectName("maxSpin") |
|
67 self.gridlayout.addWidget(self.maxSpin, 2, 1, 1, 1) |
|
68 self.maxButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
69 self.maxButton.setObjectName("maxButton") |
|
70 self.gridlayout.addWidget(self.maxButton, 2, 0, 1, 1) |
|
71 self.minButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
72 self.minButton.setObjectName("minButton") |
|
73 self.gridlayout.addWidget(self.minButton, 1, 0, 1, 1) |
|
74 self.minSpin = QtWidgets.QSpinBox(parent=self.groupBox) |
|
75 self.minSpin.setEnabled(False) |
|
76 self.minSpin.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight) |
|
77 self.minSpin.setProperty("value", 1) |
|
78 self.minSpin.setObjectName("minSpin") |
|
79 self.gridlayout.addWidget(self.minSpin, 1, 1, 1, 1) |
|
80 self.unlimitedButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
81 self.unlimitedButton.setObjectName("unlimitedButton") |
|
82 self.gridlayout.addWidget(self.unlimitedButton, 0, 0, 1, 4) |
|
83 self.vboxlayout.addWidget(self.groupBox) |
|
84 self.minimalCheckBox = QtWidgets.QCheckBox(parent=PyRegExpWizardRepeatDialog) |
|
85 self.minimalCheckBox.setObjectName("minimalCheckBox") |
|
86 self.vboxlayout.addWidget(self.minimalCheckBox) |
|
87 self.buttonBox = QtWidgets.QDialogButtonBox(parent=PyRegExpWizardRepeatDialog) |
|
88 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
89 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
90 self.buttonBox.setObjectName("buttonBox") |
|
91 self.vboxlayout.addWidget(self.buttonBox) |
|
92 |
|
93 self.retranslateUi(PyRegExpWizardRepeatDialog) |
|
94 self.minButton.toggled['bool'].connect(self.minSpin.setEnabled) # type: ignore |
|
95 self.maxButton.toggled['bool'].connect(self.maxSpin.setEnabled) # type: ignore |
|
96 self.exactButton.toggled['bool'].connect(self.exactSpin.setEnabled) # type: ignore |
|
97 self.betweenButton.toggled['bool'].connect(self.lowerSpin.setEnabled) # type: ignore |
|
98 self.betweenButton.toggled['bool'].connect(self.upperSpin.setEnabled) # type: ignore |
|
99 self.buttonBox.accepted.connect(PyRegExpWizardRepeatDialog.accept) # type: ignore |
|
100 self.buttonBox.rejected.connect(PyRegExpWizardRepeatDialog.reject) # type: ignore |
|
101 QtCore.QMetaObject.connectSlotsByName(PyRegExpWizardRepeatDialog) |
|
102 PyRegExpWizardRepeatDialog.setTabOrder(self.unlimitedButton, self.minButton) |
|
103 PyRegExpWizardRepeatDialog.setTabOrder(self.minButton, self.minSpin) |
|
104 PyRegExpWizardRepeatDialog.setTabOrder(self.minSpin, self.maxButton) |
|
105 PyRegExpWizardRepeatDialog.setTabOrder(self.maxButton, self.maxSpin) |
|
106 PyRegExpWizardRepeatDialog.setTabOrder(self.maxSpin, self.exactButton) |
|
107 PyRegExpWizardRepeatDialog.setTabOrder(self.exactButton, self.exactSpin) |
|
108 PyRegExpWizardRepeatDialog.setTabOrder(self.exactSpin, self.betweenButton) |
|
109 PyRegExpWizardRepeatDialog.setTabOrder(self.betweenButton, self.lowerSpin) |
|
110 PyRegExpWizardRepeatDialog.setTabOrder(self.lowerSpin, self.upperSpin) |
|
111 PyRegExpWizardRepeatDialog.setTabOrder(self.upperSpin, self.minimalCheckBox) |
|
112 |
|
113 def retranslateUi(self, PyRegExpWizardRepeatDialog): |
|
114 _translate = QtCore.QCoreApplication.translate |
|
115 PyRegExpWizardRepeatDialog.setWindowTitle(_translate("PyRegExpWizardRepeatDialog", "Number of repetitions")) |
|
116 self.textLabel1_6.setText(_translate("PyRegExpWizardRepeatDialog", "times")) |
|
117 self.textLabel1_7.setText(_translate("PyRegExpWizardRepeatDialog", "times")) |
|
118 self.textLabel1_5.setText(_translate("PyRegExpWizardRepeatDialog", "times")) |
|
119 self.textLabel6.setText(_translate("PyRegExpWizardRepeatDialog", "and")) |
|
120 self.betweenButton.setText(_translate("PyRegExpWizardRepeatDialog", "Between")) |
|
121 self.exactButton.setText(_translate("PyRegExpWizardRepeatDialog", "Exactly")) |
|
122 self.maxButton.setText(_translate("PyRegExpWizardRepeatDialog", "Maximum")) |
|
123 self.minButton.setText(_translate("PyRegExpWizardRepeatDialog", "Minimum")) |
|
124 self.unlimitedButton.setText(_translate("PyRegExpWizardRepeatDialog", "Unlimited (incl. zero times)")) |
|
125 self.minimalCheckBox.setText(_translate("PyRegExpWizardRepeatDialog", "Minimal match")) |