src/eric7/Plugins/WizardPlugins/QRegularExpressionWizard/Ui_QRegularExpressionWizardRepeatDialog.py

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

eric ide

mercurial