src/eric7/Documentation/Source/eric7.Plugins.WizardPlugins.PyRegExpWizard.PyRegExpWizardCharactersDialog.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10437
2f70ca07f0af
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.WizardPlugins.PyRegExpWizard.PyRegExpWizardCharactersDialog</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.Plugins.WizardPlugins.PyRegExpWizard.PyRegExpWizardCharactersDialog</h1>
10
11 <p>
12 Module implementing a dialog for entering character classes.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#PyRegExpWizardCharactersDialog">PyRegExpWizardCharactersDialog</a></td>
25 <td>Class implementing a dialog for entering character classes.</td>
26 </tr>
27 </table>
28 <h3>Functions</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <hr />
34 <hr />
35 <a NAME="PyRegExpWizardCharactersDialog" ID="PyRegExpWizardCharactersDialog"></a>
36 <h2>PyRegExpWizardCharactersDialog</h2>
37
38 <p>
39 Class implementing a dialog for entering character classes.
40 </p>
41 <h3>Derived from</h3>
42 QDialog, Ui_PyRegExpWizardCharactersDialog
43 <h3>Class Attributes</h3>
44
45 <table>
46 <tr><td>predefinedClasses</td></tr><tr><td>specialChars</td></tr>
47 </table>
48 <h3>Class Methods</h3>
49
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Methods</h3>
54
55 <table>
56
57 <tr>
58 <td><a href="#PyRegExpWizardCharactersDialog.__init__">PyRegExpWizardCharactersDialog</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#PyRegExpWizardCharactersDialog.__addRangesLine">__addRangesLine</a></td>
63 <td>Private slot to add a line of entry widgets for character ranges.</td>
64 </tr>
65 <tr>
66 <td><a href="#PyRegExpWizardCharactersDialog.__addSinglesLine">__addSinglesLine</a></td>
67 <td>Private slot to add a line of entry widgets for single characters.</td>
68 </tr>
69 <tr>
70 <td><a href="#PyRegExpWizardCharactersDialog.__formatCharacter">__formatCharacter</a></td>
71 <td>Private method to format the characters entered into the dialog.</td>
72 </tr>
73 <tr>
74 <td><a href="#PyRegExpWizardCharactersDialog.__performSelectedAction">__performSelectedAction</a></td>
75 <td>Private method performing some actions depending on the input.</td>
76 </tr>
77 <tr>
78 <td><a href="#PyRegExpWizardCharactersDialog.__rangesCharTypeSelected">__rangesCharTypeSelected</a></td>
79 <td>Private slot to handle the activated(int) signal of the char ranges combo boxes.</td>
80 </tr>
81 <tr>
82 <td><a href="#PyRegExpWizardCharactersDialog.__singlesCharTypeSelected">__singlesCharTypeSelected</a></td>
83 <td>Private slot to handle the activated(int) signal of the single chars combo boxes.</td>
84 </tr>
85 <tr>
86 <td><a href="#PyRegExpWizardCharactersDialog.getCharacters">getCharacters</a></td>
87 <td>Public method to return the character string assembled via the dialog.</td>
88 </tr>
89 </table>
90 <h3>Static Methods</h3>
91
92 <table>
93 <tr><td>None</td></tr>
94 </table>
95
96 <a NAME="PyRegExpWizardCharactersDialog.__init__" ID="PyRegExpWizardCharactersDialog.__init__"></a>
97 <h4>PyRegExpWizardCharactersDialog (Constructor)</h4>
98 <b>PyRegExpWizardCharactersDialog</b>(<i>parent=None</i>)
99
100 <p>
101 Constructor
102 </p>
103 <dl>
104
105 <dt><i>parent</i></dt>
106 <dd>
107 parent widget (QWidget)
108 </dd>
109 </dl>
110 <a NAME="PyRegExpWizardCharactersDialog.__addRangesLine" ID="PyRegExpWizardCharactersDialog.__addRangesLine"></a>
111 <h4>PyRegExpWizardCharactersDialog.__addRangesLine</h4>
112 <b>__addRangesLine</b>(<i></i>)
113
114 <p>
115 Private slot to add a line of entry widgets for character ranges.
116 </p>
117 <a NAME="PyRegExpWizardCharactersDialog.__addSinglesLine" ID="PyRegExpWizardCharactersDialog.__addSinglesLine"></a>
118 <h4>PyRegExpWizardCharactersDialog.__addSinglesLine</h4>
119 <b>__addSinglesLine</b>(<i></i>)
120
121 <p>
122 Private slot to add a line of entry widgets for single characters.
123 </p>
124 <a NAME="PyRegExpWizardCharactersDialog.__formatCharacter" ID="PyRegExpWizardCharactersDialog.__formatCharacter"></a>
125 <h4>PyRegExpWizardCharactersDialog.__formatCharacter</h4>
126 <b>__formatCharacter</b>(<i>index, char</i>)
127
128 <p>
129 Private method to format the characters entered into the dialog.
130 </p>
131 <dl>
132
133 <dt><i>index</i></dt>
134 <dd>
135 selected list index (integer)
136 </dd>
137 <dt><i>char</i></dt>
138 <dd>
139 character string enetered into the dialog (string)
140 </dd>
141 </dl>
142 <dl>
143 <dt>Return:</dt>
144 <dd>
145 formated character string (string)
146 </dd>
147 </dl>
148 <a NAME="PyRegExpWizardCharactersDialog.__performSelectedAction" ID="PyRegExpWizardCharactersDialog.__performSelectedAction"></a>
149 <h4>PyRegExpWizardCharactersDialog.__performSelectedAction</h4>
150 <b>__performSelectedAction</b>(<i>index, lineedit</i>)
151
152 <p>
153 Private method performing some actions depending on the input.
154 </p>
155 <dl>
156
157 <dt><i>index</i></dt>
158 <dd>
159 selected list index (integer)
160 </dd>
161 <dt><i>lineedit</i></dt>
162 <dd>
163 line edit widget to act on (QLineEdit)
164 </dd>
165 </dl>
166 <a NAME="PyRegExpWizardCharactersDialog.__rangesCharTypeSelected" ID="PyRegExpWizardCharactersDialog.__rangesCharTypeSelected"></a>
167 <h4>PyRegExpWizardCharactersDialog.__rangesCharTypeSelected</h4>
168 <b>__rangesCharTypeSelected</b>(<i>index, combo</i>)
169
170 <p>
171 Private slot to handle the activated(int) signal of the char ranges
172 combo boxes.
173 </p>
174 <dl>
175
176 <dt><i>index</i> (int)</dt>
177 <dd>
178 selected list index
179 </dd>
180 <dt><i>combo</i> (QComboBox)</dt>
181 <dd>
182 reference to the combo box
183 </dd>
184 </dl>
185 <a NAME="PyRegExpWizardCharactersDialog.__singlesCharTypeSelected" ID="PyRegExpWizardCharactersDialog.__singlesCharTypeSelected"></a>
186 <h4>PyRegExpWizardCharactersDialog.__singlesCharTypeSelected</h4>
187 <b>__singlesCharTypeSelected</b>(<i>index, combo</i>)
188
189 <p>
190 Private slot to handle the activated(int) signal of the single chars
191 combo boxes.
192 </p>
193 <dl>
194
195 <dt><i>index</i> (int)</dt>
196 <dd>
197 selected list index
198 </dd>
199 <dt><i>combo</i> (QComboBox)</dt>
200 <dd>
201 reference to the combo box
202 </dd>
203 </dl>
204 <a NAME="PyRegExpWizardCharactersDialog.getCharacters" ID="PyRegExpWizardCharactersDialog.getCharacters"></a>
205 <h4>PyRegExpWizardCharactersDialog.getCharacters</h4>
206 <b>getCharacters</b>(<i></i>)
207
208 <p>
209 Public method to return the character string assembled via the dialog.
210 </p>
211 <dl>
212 <dt>Return:</dt>
213 <dd>
214 formatted string for character classes (string)
215 </dd>
216 </dl>
217 <div align="right"><a href="#top">Up</a></div>
218 <hr />
219 </body></html>

eric ide

mercurial