src/eric7/Plugins/WizardPlugins/QRegularExpressionWizard/Ui_QRegularExpressionWizardDialog.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/QRegularExpressionWizardDialog.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_QRegularExpressionWizardDialog(object):
13 def setupUi(self, QRegularExpressionWizardDialog):
14 QRegularExpressionWizardDialog.setObjectName("QRegularExpressionWizardDialog")
15 QRegularExpressionWizardDialog.resize(800, 700)
16 QRegularExpressionWizardDialog.setProperty("sizeGripEnabled", True)
17 self.verticalLayout_4 = QtWidgets.QVBoxLayout(QRegularExpressionWizardDialog)
18 self.verticalLayout_4.setObjectName("verticalLayout_4")
19 self.hboxlayout = QtWidgets.QHBoxLayout()
20 self.hboxlayout.setObjectName("hboxlayout")
21 self.variableLabel = QtWidgets.QLabel(parent=QRegularExpressionWizardDialog)
22 self.variableLabel.setObjectName("variableLabel")
23 self.hboxlayout.addWidget(self.variableLabel)
24 self.variableLineEdit = QtWidgets.QLineEdit(parent=QRegularExpressionWizardDialog)
25 self.variableLineEdit.setObjectName("variableLineEdit")
26 self.hboxlayout.addWidget(self.variableLineEdit)
27 self.verticalLayout_4.addLayout(self.hboxlayout)
28 self.variableLine = QtWidgets.QFrame(parent=QRegularExpressionWizardDialog)
29 self.variableLine.setFrameShape(QtWidgets.QFrame.Shape.HLine)
30 self.variableLine.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
31 self.variableLine.setFrameShape(QtWidgets.QFrame.Shape.HLine)
32 self.variableLine.setObjectName("variableLine")
33 self.verticalLayout_4.addWidget(self.variableLine)
34 self.horizontalLayout = QtWidgets.QHBoxLayout()
35 self.horizontalLayout.setObjectName("horizontalLayout")
36 self.commentButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
37 self.commentButton.setObjectName("commentButton")
38 self.horizontalLayout.addWidget(self.commentButton)
39 self.charButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
40 self.charButton.setObjectName("charButton")
41 self.horizontalLayout.addWidget(self.charButton)
42 self.anycharButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
43 self.anycharButton.setObjectName("anycharButton")
44 self.horizontalLayout.addWidget(self.anycharButton)
45 self.repeatButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
46 self.repeatButton.setObjectName("repeatButton")
47 self.horizontalLayout.addWidget(self.repeatButton)
48 self.nonGroupButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
49 self.nonGroupButton.setObjectName("nonGroupButton")
50 self.horizontalLayout.addWidget(self.nonGroupButton)
51 self.atomicGroupButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
52 self.atomicGroupButton.setObjectName("atomicGroupButton")
53 self.horizontalLayout.addWidget(self.atomicGroupButton)
54 self.groupButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
55 self.groupButton.setObjectName("groupButton")
56 self.horizontalLayout.addWidget(self.groupButton)
57 self.namedGroupButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
58 self.namedGroupButton.setObjectName("namedGroupButton")
59 self.horizontalLayout.addWidget(self.namedGroupButton)
60 self.namedReferenceButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
61 self.namedReferenceButton.setObjectName("namedReferenceButton")
62 self.horizontalLayout.addWidget(self.namedReferenceButton)
63 self.altnButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
64 self.altnButton.setObjectName("altnButton")
65 self.horizontalLayout.addWidget(self.altnButton)
66 self.beglineButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
67 self.beglineButton.setObjectName("beglineButton")
68 self.horizontalLayout.addWidget(self.beglineButton)
69 self.endlineButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
70 self.endlineButton.setObjectName("endlineButton")
71 self.horizontalLayout.addWidget(self.endlineButton)
72 self.wordboundButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
73 self.wordboundButton.setObjectName("wordboundButton")
74 self.horizontalLayout.addWidget(self.wordboundButton)
75 self.nonwordboundButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
76 self.nonwordboundButton.setObjectName("nonwordboundButton")
77 self.horizontalLayout.addWidget(self.nonwordboundButton)
78 self.poslookaheadButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
79 self.poslookaheadButton.setObjectName("poslookaheadButton")
80 self.horizontalLayout.addWidget(self.poslookaheadButton)
81 self.neglookaheadButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
82 self.neglookaheadButton.setObjectName("neglookaheadButton")
83 self.horizontalLayout.addWidget(self.neglookaheadButton)
84 self.poslookbehindButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
85 self.poslookbehindButton.setObjectName("poslookbehindButton")
86 self.horizontalLayout.addWidget(self.poslookbehindButton)
87 self.neglookbehindButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
88 self.neglookbehindButton.setObjectName("neglookbehindButton")
89 self.horizontalLayout.addWidget(self.neglookbehindButton)
90 spacerItem = QtWidgets.QSpacerItem(16, 20, QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Minimum)
91 self.horizontalLayout.addItem(spacerItem)
92 self.undoButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
93 self.undoButton.setObjectName("undoButton")
94 self.horizontalLayout.addWidget(self.undoButton)
95 self.redoButton = QtWidgets.QToolButton(parent=QRegularExpressionWizardDialog)
96 self.redoButton.setObjectName("redoButton")
97 self.horizontalLayout.addWidget(self.redoButton)
98 spacerItem1 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
99 self.horizontalLayout.addItem(spacerItem1)
100 self.verticalLayout_4.addLayout(self.horizontalLayout)
101 self.splitter_2 = QtWidgets.QSplitter(parent=QRegularExpressionWizardDialog)
102 self.splitter_2.setOrientation(QtCore.Qt.Orientation.Vertical)
103 self.splitter_2.setChildrenCollapsible(False)
104 self.splitter_2.setObjectName("splitter_2")
105 self.widget = QtWidgets.QWidget(parent=self.splitter_2)
106 self.widget.setObjectName("widget")
107 self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.widget)
108 self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
109 self.verticalLayout_3.setObjectName("verticalLayout_3")
110 self.splitter = QtWidgets.QSplitter(parent=self.widget)
111 self.splitter.setOrientation(QtCore.Qt.Orientation.Vertical)
112 self.splitter.setChildrenCollapsible(False)
113 self.splitter.setObjectName("splitter")
114 self.widget1 = QtWidgets.QWidget(parent=self.splitter)
115 self.widget1.setObjectName("widget1")
116 self.verticalLayout = QtWidgets.QVBoxLayout(self.widget1)
117 self.verticalLayout.setContentsMargins(0, 0, 0, 0)
118 self.verticalLayout.setObjectName("verticalLayout")
119 self.textLabel1 = QtWidgets.QLabel(parent=self.widget1)
120 self.textLabel1.setAlignment(QtCore.Qt.AlignmentFlag.AlignTop)
121 self.textLabel1.setObjectName("textLabel1")
122 self.verticalLayout.addWidget(self.textLabel1)
123 self.regexpTextEdit = QtWidgets.QTextEdit(parent=self.widget1)
124 self.regexpTextEdit.setAcceptRichText(False)
125 self.regexpTextEdit.setObjectName("regexpTextEdit")
126 self.verticalLayout.addWidget(self.regexpTextEdit)
127 self.widget2 = QtWidgets.QWidget(parent=self.splitter)
128 self.widget2.setObjectName("widget2")
129 self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.widget2)
130 self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
131 self.verticalLayout_2.setObjectName("verticalLayout_2")
132 self.textLabel2 = QtWidgets.QLabel(parent=self.widget2)
133 self.textLabel2.setAlignment(QtCore.Qt.AlignmentFlag.AlignTop)
134 self.textLabel2.setObjectName("textLabel2")
135 self.verticalLayout_2.addWidget(self.textLabel2)
136 self.textTextEdit = QtWidgets.QTextEdit(parent=self.widget2)
137 self.textTextEdit.setAcceptRichText(False)
138 self.textTextEdit.setObjectName("textTextEdit")
139 self.verticalLayout_2.addWidget(self.textTextEdit)
140 self.verticalLayout_3.addWidget(self.splitter)
141 self.gridLayout = QtWidgets.QGridLayout()
142 self.gridLayout.setObjectName("gridLayout")
143 self.caseInsensitiveCheckBox = QtWidgets.QCheckBox(parent=self.widget)
144 self.caseInsensitiveCheckBox.setObjectName("caseInsensitiveCheckBox")
145 self.gridLayout.addWidget(self.caseInsensitiveCheckBox, 0, 0, 1, 1)
146 self.multilineCheckBox = QtWidgets.QCheckBox(parent=self.widget)
147 self.multilineCheckBox.setObjectName("multilineCheckBox")
148 self.gridLayout.addWidget(self.multilineCheckBox, 0, 1, 1, 1)
149 self.dotallCheckBox = QtWidgets.QCheckBox(parent=self.widget)
150 self.dotallCheckBox.setObjectName("dotallCheckBox")
151 self.gridLayout.addWidget(self.dotallCheckBox, 0, 2, 1, 1)
152 self.extendedCheckBox = QtWidgets.QCheckBox(parent=self.widget)
153 self.extendedCheckBox.setObjectName("extendedCheckBox")
154 self.gridLayout.addWidget(self.extendedCheckBox, 1, 0, 1, 1)
155 self.greedinessCheckBox = QtWidgets.QCheckBox(parent=self.widget)
156 self.greedinessCheckBox.setObjectName("greedinessCheckBox")
157 self.gridLayout.addWidget(self.greedinessCheckBox, 1, 1, 1, 1)
158 self.unicodeCheckBox = QtWidgets.QCheckBox(parent=self.widget)
159 self.unicodeCheckBox.setObjectName("unicodeCheckBox")
160 self.gridLayout.addWidget(self.unicodeCheckBox, 1, 2, 1, 1)
161 self.captureCheckBox = QtWidgets.QCheckBox(parent=self.widget)
162 self.captureCheckBox.setObjectName("captureCheckBox")
163 self.gridLayout.addWidget(self.captureCheckBox, 2, 0, 1, 1)
164 self.verticalLayout_3.addLayout(self.gridLayout)
165 self.resultTable = QtWidgets.QTableWidget(parent=self.splitter_2)
166 self.resultTable.setEditTriggers(QtWidgets.QAbstractItemView.EditTrigger.NoEditTriggers)
167 self.resultTable.setObjectName("resultTable")
168 self.resultTable.setColumnCount(0)
169 self.resultTable.setRowCount(0)
170 self.verticalLayout_4.addWidget(self.splitter_2)
171 self.buttonBox = QtWidgets.QDialogButtonBox(parent=QRegularExpressionWizardDialog)
172 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
173 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Close|QtWidgets.QDialogButtonBox.StandardButton.Ok)
174 self.buttonBox.setObjectName("buttonBox")
175 self.verticalLayout_4.addWidget(self.buttonBox)
176
177 self.retranslateUi(QRegularExpressionWizardDialog)
178 QtCore.QMetaObject.connectSlotsByName(QRegularExpressionWizardDialog)
179 QRegularExpressionWizardDialog.setTabOrder(self.variableLineEdit, self.commentButton)
180 QRegularExpressionWizardDialog.setTabOrder(self.commentButton, self.charButton)
181 QRegularExpressionWizardDialog.setTabOrder(self.charButton, self.anycharButton)
182 QRegularExpressionWizardDialog.setTabOrder(self.anycharButton, self.repeatButton)
183 QRegularExpressionWizardDialog.setTabOrder(self.repeatButton, self.nonGroupButton)
184 QRegularExpressionWizardDialog.setTabOrder(self.nonGroupButton, self.atomicGroupButton)
185 QRegularExpressionWizardDialog.setTabOrder(self.atomicGroupButton, self.groupButton)
186 QRegularExpressionWizardDialog.setTabOrder(self.groupButton, self.namedGroupButton)
187 QRegularExpressionWizardDialog.setTabOrder(self.namedGroupButton, self.namedReferenceButton)
188 QRegularExpressionWizardDialog.setTabOrder(self.namedReferenceButton, self.altnButton)
189 QRegularExpressionWizardDialog.setTabOrder(self.altnButton, self.beglineButton)
190 QRegularExpressionWizardDialog.setTabOrder(self.beglineButton, self.endlineButton)
191 QRegularExpressionWizardDialog.setTabOrder(self.endlineButton, self.wordboundButton)
192 QRegularExpressionWizardDialog.setTabOrder(self.wordboundButton, self.nonwordboundButton)
193 QRegularExpressionWizardDialog.setTabOrder(self.nonwordboundButton, self.poslookaheadButton)
194 QRegularExpressionWizardDialog.setTabOrder(self.poslookaheadButton, self.neglookaheadButton)
195 QRegularExpressionWizardDialog.setTabOrder(self.neglookaheadButton, self.poslookbehindButton)
196 QRegularExpressionWizardDialog.setTabOrder(self.poslookbehindButton, self.neglookbehindButton)
197 QRegularExpressionWizardDialog.setTabOrder(self.neglookbehindButton, self.undoButton)
198 QRegularExpressionWizardDialog.setTabOrder(self.undoButton, self.redoButton)
199 QRegularExpressionWizardDialog.setTabOrder(self.redoButton, self.regexpTextEdit)
200 QRegularExpressionWizardDialog.setTabOrder(self.regexpTextEdit, self.textTextEdit)
201 QRegularExpressionWizardDialog.setTabOrder(self.textTextEdit, self.caseInsensitiveCheckBox)
202 QRegularExpressionWizardDialog.setTabOrder(self.caseInsensitiveCheckBox, self.multilineCheckBox)
203 QRegularExpressionWizardDialog.setTabOrder(self.multilineCheckBox, self.dotallCheckBox)
204 QRegularExpressionWizardDialog.setTabOrder(self.dotallCheckBox, self.extendedCheckBox)
205 QRegularExpressionWizardDialog.setTabOrder(self.extendedCheckBox, self.greedinessCheckBox)
206 QRegularExpressionWizardDialog.setTabOrder(self.greedinessCheckBox, self.unicodeCheckBox)
207 QRegularExpressionWizardDialog.setTabOrder(self.unicodeCheckBox, self.captureCheckBox)
208 QRegularExpressionWizardDialog.setTabOrder(self.captureCheckBox, self.resultTable)
209 QRegularExpressionWizardDialog.setTabOrder(self.resultTable, self.buttonBox)
210
211 def retranslateUi(self, QRegularExpressionWizardDialog):
212 _translate = QtCore.QCoreApplication.translate
213 QRegularExpressionWizardDialog.setWindowTitle(_translate("QRegularExpressionWizardDialog", "QRegularExpression Wizard"))
214 self.variableLabel.setText(_translate("QRegularExpressionWizardDialog", "Variable Name:"))
215 self.commentButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Comment: (?#)</b>\n"
216 "<p>Insert some comment inside your regexp.</p>"))
217 self.commentButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Comment: (?#)</b>\n"
218 "<p>Insert some comment inside your regexp.The regex engine ignores everything after the (?# until the first closing round bracket. \n"
219 "The following example could clarify the regexp which match a valid date: </p>\n"
220 "<p>(?#year)(19|20)\\d\\d[- /.](?#month)(0[1-9]|1[012])[- /.](?#day)(0[1-9]|[12][0-9]|3[01])</p>"))
221 self.charButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Single character of a range (e.g. [abcd])</b><p>Select a single character of a range via a specific dialog.</p>"))
222 self.charButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Single character of a range (e.g. [abcd])</b><p>Select a single character of a range via a specific dialog. This dialog will help to edit the range of characters and add some specific conditions.</p>s"))
223 self.anycharButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Any character: \'.\'</b>\n"
224 "<p>Select to insert a dot (.) in your regexp.</p>"))
225 self.anycharButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Any character: \'.\'</b>\n"
226 "<p>Select to insert a dot (.) in your regexp. The dot matches a single character, except line break characters (by default). \n"
227 "E.g. \'gr.y\' matches \'gray\', \'grey\', \'gr%y\', etc. Use the dot sparingly. Often, a character class or negated\n"
228 "character class is faster and more precise.</p>"))
229 self.repeatButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Repeat contents</b>\n"
230 "<p>Select a repetition condition via a specific dialog. This dialog will help to specify the allowed range for repetitions.</p>"))
231 self.repeatButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Repeat contents</b>\n"
232 "<p>Select a repetition condition via a specific dialog. This dialog will help to specify the allowed range for repetitions.</p>"))
233 self.nonGroupButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Non capturing parentheses: (?:)</b>\n"
234 "<p>Select to insert some non capturing brackets.</p>"))
235 self.nonGroupButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Non capturing parentheses: (?:)</b>\n"
236 "<p>Select to insert some non capturing brackets. It can be used to apply a regexp quantifier (eg. \'?\' or \'+\') to the entire\n"
237 "group of characters inside the brakets. E.g. the regex \'Set(?:Value)?\' matches \'Set\' or \'SetValue\'. The \'?:\' inside the brakets\n"
238 "means that the content of the match (called the backreference) is not stored for further use.</p>"))
239 self.atomicGroupButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Atomic non capturing parentheses: (?>)</b>\n"
240 "<p>Select to insert some atomic non capturing brackets.</p>"))
241 self.atomicGroupButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Atomic non capturing parentheses: (?>)</b>\n"
242 "<p>Select to insert some atomic non capturing brackets. It can be used to apply a regexp quantifier (eg. \'?\' or \'+\') to the entire\n"
243 "group of characters inside the brakets. E.g. the regex \'Set(?>Value)?\' matches \'Set\' or \'SetValue\'. The \'?>\' inside the brakets\n"
244 "means that the content of the match (called the backreference) is not stored for further use.</p>"))
245 self.groupButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Group: ()</b>\n"
246 "<p>Select to insert some capturing brackets.</p>"))
247 self.groupButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Group: ()</b>\n"
248 "<p>Select to insert some capturing brackets. They can be used to apply a regexp quantifier (e.g. \'?\' or \'+\') to the entire group of \n"
249 "characters inside the brakets. E.g. the regex \'Set(Value)?\' matches \'Set\' or \'SetValue\'. Contrary to non-capturing parentheses, \n"
250 "the backreference matched inside the brakets is stored for further use (i.e. \'Value\' in the second example above). \n"
251 "One can access the backereference with the \'\\1\' expression. </p>\n"
252 "<p>E.g. \'([a-c])x\\1x\\1\' will match \'axaxa\', \'bxbxb\' and \'cxcxc\'.</p>"))
253 self.namedGroupButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Named group: (?P&lt;<i>groupname</i>&gt;)</b>\n"
254 "<p>Select to insert some named group brackets.</p>"))
255 self.namedGroupButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Named group: (?P&lt;<i>groupname</i>&gt;)</b>\n"
256 "<p>Select to insert some named group brackets. Usage is similar to standard group parentheses as the matched \n"
257 "backreference is also stored for further usage. The difference is that a name is given to the match. This is useful when \n"
258 "the work to do on the match becomes a bit complicated. One can access the backreference via the group name (i.e (?P=<i>groupname</i>)).\n"
259 "E.g. (?P<foo>[abc])x(?P=foo)x(?P=foo)x matches \'axaxax\',\'bxbxbx\' or \'cxcxcx\' (\'foo\' is the group name)</p>"))
260 self.namedReferenceButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Reference named group: (?P=<i>groupname</i>)</b>\n"
261 "<p>Select to insert a reference to named group previously declared.</p>"))
262 self.namedReferenceButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Reference named group: (?P=<i>groupname</i>)</b>\n"
263 "<p>Select to insert a reference to named group previously declared. Each reference group refers to the match\n"
264 " found by the corresponding named group. In the following example, (?P=foo) may refer to the charaters \'a\',\'b\' or \'c\'.</p>\n"
265 "<p>E.g. (?P<foo>[abc])x(?P=foo)x(?P=foo)x matches \'axaxax\',\'bxbxbx\' or \'cxcxcx\'.</p>"))
266 self.altnButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Alternatives: \'|\'</b>\n"
267 "<p>Select to insert the alternation symbol \'|\'. </p>"))
268 self.altnButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Alternatives: \'|\'</b>\n"
269 "<p>Select to insert the alternation symbol \'|\'. The alternation is used to match a single regular expression out of \n"
270 "several possible regular expressions. E.g. \'cat|dog|mouse|fish\' matches words containing the word \'cat\', \'dog\',\'mouse\' or \'fish\'.\n"
271 "Be aware that in the above example, the alternatives refer to whole or part of words. If you want to match exactly the\n"
272 " words \'cat\', \'dog\', ... you should express the fact that you only want to match complete words: \'\\b(cat|dog|mouse|fish)\\b\'</p>"))
273 self.beglineButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Begin of line: \'^\'</b>\n"
274 "<p>Select to insert the start line character (^).</p>"))
275 self.beglineButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Begin of line: \'^\'</b>\n"
276 "<p>Select to insert the start line character (^). It is used to find some expressions at the begining of lines.\n"
277 "E.g. \'^[A-Z]\' match lines starting with a capitalized character. </p>"))
278 self.endlineButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>End of line: \'$\'</b>\n"
279 "<p>Select to insert the end of line character ($).</p>"))
280 self.endlineButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>End of line: \'$\'</b>\n"
281 "<p>Select to insert the end of line character ($). It is used to find some expressions at the end of lines.</p>"))
282 self.wordboundButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Word boundary</b>\n"
283 "<p>Select to insert the word boudary character (\\b).</p>"))
284 self.wordboundButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Word boundary</b>\n"
285 "<p>Select to insert the word boudary character (\\b). This character is used to express the fact that word \n"
286 "must begin or end at this position. E.g. \'\\bcat\\b\' matches exactly the word \'cat\' while \'concatenation\' is ignored.</p>"))
287 self.nonwordboundButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Non word boundary</b>\n"
288 "<p>Select to insert the word boudary character (\\B). \\B is the negated version of \\b.</p>"))
289 self.nonwordboundButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Non word boundary</b>\n"
290 "<p>Select to insert the word boudary character (\\B). \\B is the negated version of \\b. \\B matches at every position where \\b \n"
291 "does not. Effectively, \\B matches at any position between two word characters as well as at any position between two non-word characters.</p>"))
292 self.poslookaheadButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Positive lookahead: (?=<i>regexpr</i>)</b>\n"
293 "<p>Select to insert the positive lookhead brackets.</p>"))
294 self.poslookaheadButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Positive lookahead: (?=<i>regexpr</i>)</b>\n"
295 "<p>Select to insert the positive lookhead brackets. Basically, positive lookhead is used to match a character only if followed by another one.\n"
296 "Writting \'q(?=u)\' means that you want to match the \'q\' character only if it is followed by \'u\'. In this statement \'u\' is a trivial \n"
297 "regexp which may be replaced by a more complex expression; q(?=[abc])\' will match a \'q\' if followed by either \'a\', \'b\' or \'c\'.</p>"))
298 self.neglookaheadButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Negative lookahead: (?!<i>regexpr</i>)</b>\n"
299 "<p>Select to insert the negative lookhead brackets.</p>"))
300 self.neglookaheadButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Negative lookahead: (?!<i>regexpr</i>)</b>\n"
301 "<p>Select to insert the negative lookhead brackets. Basically, negative lookhead is used to match a character only if it is not\n"
302 "followed by a another one. Writting \'q(?!u)\' means that you want to match \'q\' only if it is not followed by \'u\'. In this statement, \'u\' is a\n"
303 "trivial regexp which may be replaced by a more complex expression; \'q(?![abc])\' will match a \'q\' if it is followed by anything else than \'a\', \'b\' or \'c\'.</p>"))
304 self.poslookbehindButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Positive lookbehind: (?&lt;=<i>regexpr</i>)</b>\n"
305 "<p>Select to insert the positive lookbehind brackets.</p>"))
306 self.poslookbehindButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Positive lookbehind: (?&lt;=<i>regexpr</i>)</b>\n"
307 "<p>Select to insert the positive lookbehind brackets. Lookbehind has the same effect as lookahead, but works backwards. \n"
308 "It is used to match a character only if preceded by another one. Writting \'(?&lt;=u)q\' means that you want to match the \'q\' character \n"
309 "only if it is preceded by \'u\'. As with lookhead, \'u\' may be replaced by a more complex expression; \'(?&lt;=[abc])q\' will match a \'q\' if preceded by either \'a\', \'b\' or \'c\'.</p>"))
310 self.neglookbehindButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Negative lookbehind (?&lt;!<i>regexpr</i>)</b>\n"
311 "<p>Select to insert the negative lookbehind brackets.</p>"))
312 self.neglookbehindButton.setWhatsThis(_translate("QRegularExpressionWizardDialog", "<b>Negative lookbehind (?&lt;!<i>regexpr</i>)</b>\n"
313 "<p>Select to insert the negative lookbehind brackets. Lookbehind has the same effect as lookahead, \n"
314 "but works backwards. It is used to match a character only if not preceded by another one. Writting \'(?&lt;!u)q\' means that you want to match the \'q\' \n"
315 "character only if it is not preceded by \'u\'. As other lookaround, \'u\' may be replaced by a more complex \n"
316 "expression; \'(?&lt;![abc])q\' will match a \'q\' only if not preceded by either \'a\', \'b\' nor \'c\'.</p>"))
317 self.undoButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Undo last edit</b>"))
318 self.redoButton.setToolTip(_translate("QRegularExpressionWizardDialog", "<b>Redo last edit</b>"))
319 self.textLabel1.setText(_translate("QRegularExpressionWizardDialog", "Regexp:"))
320 self.textLabel2.setText(_translate("QRegularExpressionWizardDialog", "Text:"))
321 self.caseInsensitiveCheckBox.setText(_translate("QRegularExpressionWizardDialog", "Case Insensitive"))
322 self.multilineCheckBox.setToolTip(_translate("QRegularExpressionWizardDialog", "\"^\" matches beginning of line, \"$\" matches end of line"))
323 self.multilineCheckBox.setText(_translate("QRegularExpressionWizardDialog", "Match Linebreaks"))
324 self.dotallCheckBox.setToolTip(_translate("QRegularExpressionWizardDialog", "\".\" matches everything including linebreaks"))
325 self.dotallCheckBox.setText(_translate("QRegularExpressionWizardDialog", "Dot matches everything"))
326 self.extendedCheckBox.setText(_translate("QRegularExpressionWizardDialog", "Extended Pattern Syntax"))
327 self.greedinessCheckBox.setText(_translate("QRegularExpressionWizardDialog", "Inverted Greediness"))
328 self.unicodeCheckBox.setText(_translate("QRegularExpressionWizardDialog", "Unicode"))
329 self.captureCheckBox.setToolTip(_translate("QRegularExpressionWizardDialog", "Non-named capturing groups do not capture substrings"))
330 self.captureCheckBox.setText(_translate("QRegularExpressionWizardDialog", "Don\'t Capture"))

eric ide

mercurial