Documentation/Source/eric4.Plugins.WizardPlugins.PyRegExpWizard.PyRegExpWizardCharactersDialog.html

changeset 3
0d9daebf5b8c
equal deleted inserted replaced
2:bc6196164237 3:0d9daebf5b8c
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric4.Plugins.WizardPlugins.PyRegExpWizard.PyRegExpWizardCharactersDialog</title>
6 <style>
7 body {
8 background:white;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #4FA4FF; }
14 h2 { color: white; background: #4FA4FF; }
15 h3 { color: white; background: #00557F; }
16 h4 { color: white; background: #00557F; }
17
18 a { color: #AA5500; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric4.Plugins.WizardPlugins.PyRegExpWizard.PyRegExpWizardCharactersDialog</h1>
24 <p>
25 Module implementing a dialog for entering character classes.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#PyRegExpWizardCharactersDialog">PyRegExpWizardCharactersDialog</a></td>
35 <td>Class implementing a dialog for entering character classes.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="PyRegExpWizardCharactersDialog" ID="PyRegExpWizardCharactersDialog"></a>
44 <h2>PyRegExpWizardCharactersDialog</h2>
45 <p>
46 Class implementing a dialog for entering character classes.
47 </p>
48 <h3>Derived from</h3>
49 QDialog, Ui_PyRegExpWizardCharactersDialog
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>predefinedClasses</td></tr><tr><td>specialChars</td></tr>
53 </table>
54 <h3>Methods</h3>
55 <table>
56 <tr>
57 <td><a href="#PyRegExpWizardCharactersDialog.__init__">PyRegExpWizardCharactersDialog</a></td>
58 <td>Constructor</td>
59 </tr><tr>
60 <td><a href="#PyRegExpWizardCharactersDialog.__addRangesLine">__addRangesLine</a></td>
61 <td>Private slot to add a line of entry widgets for character ranges.</td>
62 </tr><tr>
63 <td><a href="#PyRegExpWizardCharactersDialog.__addSinglesLine">__addSinglesLine</a></td>
64 <td>Private slot to add a line of entry widgets for single characters.</td>
65 </tr><tr>
66 <td><a href="#PyRegExpWizardCharactersDialog.__formatCharacter">__formatCharacter</a></td>
67 <td>Private method to format the characters entered into the dialog.</td>
68 </tr><tr>
69 <td><a href="#PyRegExpWizardCharactersDialog.__performSelectedAction">__performSelectedAction</a></td>
70 <td>Private method performing some actions depending on the input.</td>
71 </tr><tr>
72 <td><a href="#PyRegExpWizardCharactersDialog.__rangesCharTypeSelected">__rangesCharTypeSelected</a></td>
73 <td>Private slot to handle the activated(int) signal of the char ranges combo boxes.</td>
74 </tr><tr>
75 <td><a href="#PyRegExpWizardCharactersDialog.__singlesCharTypeSelected">__singlesCharTypeSelected</a></td>
76 <td>Private slot to handle the activated(int) signal of the single chars combo boxes.</td>
77 </tr><tr>
78 <td><a href="#PyRegExpWizardCharactersDialog.getCharacters">getCharacters</a></td>
79 <td>Public method to return the character string assembled via the dialog.</td>
80 </tr>
81 </table>
82 <a NAME="PyRegExpWizardCharactersDialog.__init__" ID="PyRegExpWizardCharactersDialog.__init__"></a>
83 <h4>PyRegExpWizardCharactersDialog (Constructor)</h4>
84 <b>PyRegExpWizardCharactersDialog</b>(<i>parent = None</i>)
85 <p>
86 Constructor
87 </p><dl>
88 <dt><i>parent</i></dt>
89 <dd>
90 parent widget (QWidget)
91 </dd>
92 </dl><a NAME="PyRegExpWizardCharactersDialog.__addRangesLine" ID="PyRegExpWizardCharactersDialog.__addRangesLine"></a>
93 <h4>PyRegExpWizardCharactersDialog.__addRangesLine</h4>
94 <b>__addRangesLine</b>(<i></i>)
95 <p>
96 Private slot to add a line of entry widgets for character ranges.
97 </p><a NAME="PyRegExpWizardCharactersDialog.__addSinglesLine" ID="PyRegExpWizardCharactersDialog.__addSinglesLine"></a>
98 <h4>PyRegExpWizardCharactersDialog.__addSinglesLine</h4>
99 <b>__addSinglesLine</b>(<i></i>)
100 <p>
101 Private slot to add a line of entry widgets for single characters.
102 </p><a NAME="PyRegExpWizardCharactersDialog.__formatCharacter" ID="PyRegExpWizardCharactersDialog.__formatCharacter"></a>
103 <h4>PyRegExpWizardCharactersDialog.__formatCharacter</h4>
104 <b>__formatCharacter</b>(<i>index, char</i>)
105 <p>
106 Private method to format the characters entered into the dialog.
107 </p><dl>
108 <dt><i>index</i></dt>
109 <dd>
110 selected list index (integer)
111 </dd><dt><i>char</i></dt>
112 <dd>
113 character string enetered into the dialog (string)
114 </dd>
115 </dl><dl>
116 <dt>Returns:</dt>
117 <dd>
118 formated character string (string)
119 </dd>
120 </dl><a NAME="PyRegExpWizardCharactersDialog.__performSelectedAction" ID="PyRegExpWizardCharactersDialog.__performSelectedAction"></a>
121 <h4>PyRegExpWizardCharactersDialog.__performSelectedAction</h4>
122 <b>__performSelectedAction</b>(<i>index, lineedit</i>)
123 <p>
124 Private method performing some actions depending on the input.
125 </p><dl>
126 <dt><i>index</i></dt>
127 <dd>
128 selected list index (integer)
129 </dd><dt><i>lineedit</i></dt>
130 <dd>
131 line edit widget to act on (QLineEdit)
132 </dd>
133 </dl><a NAME="PyRegExpWizardCharactersDialog.__rangesCharTypeSelected" ID="PyRegExpWizardCharactersDialog.__rangesCharTypeSelected"></a>
134 <h4>PyRegExpWizardCharactersDialog.__rangesCharTypeSelected</h4>
135 <b>__rangesCharTypeSelected</b>(<i>index</i>)
136 <p>
137 Private slot to handle the activated(int) signal of the char ranges combo boxes.
138 </p><dl>
139 <dt><i>index</i></dt>
140 <dd>
141 selected list index (integer)
142 </dd>
143 </dl><a NAME="PyRegExpWizardCharactersDialog.__singlesCharTypeSelected" ID="PyRegExpWizardCharactersDialog.__singlesCharTypeSelected"></a>
144 <h4>PyRegExpWizardCharactersDialog.__singlesCharTypeSelected</h4>
145 <b>__singlesCharTypeSelected</b>(<i>index</i>)
146 <p>
147 Private slot to handle the activated(int) signal of the single chars combo boxes.
148 </p><dl>
149 <dt><i>index</i></dt>
150 <dd>
151 selected list index (integer)
152 </dd>
153 </dl><a NAME="PyRegExpWizardCharactersDialog.getCharacters" ID="PyRegExpWizardCharactersDialog.getCharacters"></a>
154 <h4>PyRegExpWizardCharactersDialog.getCharacters</h4>
155 <b>getCharacters</b>(<i></i>)
156 <p>
157 Public method to return the character string assembled via the dialog.
158 </p><dl>
159 <dt>Returns:</dt>
160 <dd>
161 formatted string for character classes (string)
162 </dd>
163 </dl>
164 <div align="right"><a href="#top">Up</a></div>
165 <hr />
166 </body></html>

eric ide

mercurial