~mcfletch/eric/update-to-4.5.13

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>eric4.Plugins.WizardPlugins.PyRegExpWizard.PyRegExpWizardCharactersDialog</title>
<style>
body {
    background:white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #4FA4FF; }
h2 { color: white; background: #4FA4FF; }
h3 { color: white; background: #00557F; }
h4 { color: white; background: #00557F; }
    
a { color: #AA5500; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric4.Plugins.WizardPlugins.PyRegExpWizard.PyRegExpWizardCharactersDialog</h1>
<p>
Module implementing a dialog for entering character classes.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#PyRegExpWizardCharactersDialog">PyRegExpWizardCharactersDialog</a></td>
<td>Class implementing a dialog for entering character classes.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="PyRegExpWizardCharactersDialog" ID="PyRegExpWizardCharactersDialog"></a>
<h2>PyRegExpWizardCharactersDialog</h2>
<p>
    Class implementing a dialog for entering character classes.
</p>
<h3>Derived from</h3>
QDialog, Ui_PyRegExpWizardCharactersDialog
<h3>Class Attributes</h3>
<table>
<tr><td>predefinedClasses</td></tr><tr><td>specialChars</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#PyRegExpWizardCharactersDialog.__init__">PyRegExpWizardCharactersDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#PyRegExpWizardCharactersDialog.__addRangesLine">__addRangesLine</a></td>
<td>Private slot to add a line of entry widgets for character ranges.</td>
</tr><tr>
<td><a href="#PyRegExpWizardCharactersDialog.__addSinglesLine">__addSinglesLine</a></td>
<td>Private slot to add a line of entry widgets for single characters.</td>
</tr><tr>
<td><a href="#PyRegExpWizardCharactersDialog.__formatCharacter">__formatCharacter</a></td>
<td>Private method to format the characters entered into the dialog.</td>
</tr><tr>
<td><a href="#PyRegExpWizardCharactersDialog.__performSelectedAction">__performSelectedAction</a></td>
<td>Private method performing some actions depending on the input.</td>
</tr><tr>
<td><a href="#PyRegExpWizardCharactersDialog.__rangesCharTypeSelected">__rangesCharTypeSelected</a></td>
<td>Private slot to handle the activated(int) signal of the char ranges combo boxes.</td>
</tr><tr>
<td><a href="#PyRegExpWizardCharactersDialog.__singlesCharTypeSelected">__singlesCharTypeSelected</a></td>
<td>Private slot to handle the activated(int) signal of the single chars combo boxes.</td>
</tr><tr>
<td><a href="#PyRegExpWizardCharactersDialog.getCharacters">getCharacters</a></td>
<td>Public method to return the character string assembled via the dialog.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="PyRegExpWizardCharactersDialog.__init__" ID="PyRegExpWizardCharactersDialog.__init__"></a>
<h4>PyRegExpWizardCharactersDialog (Constructor)</h4>
<b>PyRegExpWizardCharactersDialog</b>(<i>parent = None</i>)
<p>
        Constructor
</p><dl>
<dt><i>parent</i></dt>
<dd>
parent widget (QWidget)
</dd>
</dl><a NAME="PyRegExpWizardCharactersDialog.__addRangesLine" ID="PyRegExpWizardCharactersDialog.__addRangesLine"></a>
<h4>PyRegExpWizardCharactersDialog.__addRangesLine</h4>
<b>__addRangesLine</b>(<i></i>)
<p>
        Private slot to add a line of entry widgets for character ranges.
</p><a NAME="PyRegExpWizardCharactersDialog.__addSinglesLine" ID="PyRegExpWizardCharactersDialog.__addSinglesLine"></a>
<h4>PyRegExpWizardCharactersDialog.__addSinglesLine</h4>
<b>__addSinglesLine</b>(<i></i>)
<p>
        Private slot to add a line of entry widgets for single characters.
</p><a NAME="PyRegExpWizardCharactersDialog.__formatCharacter" ID="PyRegExpWizardCharactersDialog.__formatCharacter"></a>
<h4>PyRegExpWizardCharactersDialog.__formatCharacter</h4>
<b>__formatCharacter</b>(<i>index, char</i>)
<p>
        Private method to format the characters entered into the dialog.
</p><dl>
<dt><i>index</i></dt>
<dd>
selected list index (integer)
</dd><dt><i>char</i></dt>
<dd>
character string enetered into the dialog (string)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
formated character string (string)
</dd>
</dl><a NAME="PyRegExpWizardCharactersDialog.__performSelectedAction" ID="PyRegExpWizardCharactersDialog.__performSelectedAction"></a>
<h4>PyRegExpWizardCharactersDialog.__performSelectedAction</h4>
<b>__performSelectedAction</b>(<i>index, lineedit</i>)
<p>
        Private method performing some actions depending on the input.
</p><dl>
<dt><i>index</i></dt>
<dd>
selected list index (integer)
</dd><dt><i>lineedit</i></dt>
<dd>
line edit widget to act on (QLineEdit)
</dd>
</dl><a NAME="PyRegExpWizardCharactersDialog.__rangesCharTypeSelected" ID="PyRegExpWizardCharactersDialog.__rangesCharTypeSelected"></a>
<h4>PyRegExpWizardCharactersDialog.__rangesCharTypeSelected</h4>
<b>__rangesCharTypeSelected</b>(<i>index</i>)
<p>
        Private slot to handle the activated(int) signal of the char ranges combo boxes.
</p><dl>
<dt><i>index</i></dt>
<dd>
selected list index (integer)
</dd>
</dl><a NAME="PyRegExpWizardCharactersDialog.__singlesCharTypeSelected" ID="PyRegExpWizardCharactersDialog.__singlesCharTypeSelected"></a>
<h4>PyRegExpWizardCharactersDialog.__singlesCharTypeSelected</h4>
<b>__singlesCharTypeSelected</b>(<i>index</i>)
<p>
        Private slot to handle the activated(int) signal of the single chars combo boxes.
</p><dl>
<dt><i>index</i></dt>
<dd>
selected list index (integer)
</dd>
</dl><a NAME="PyRegExpWizardCharactersDialog.getCharacters" ID="PyRegExpWizardCharactersDialog.getCharacters"></a>
<h4>PyRegExpWizardCharactersDialog.getCharacters</h4>
<b>getCharacters</b>(<i></i>)
<p>
        Public method to return the character string assembled via the dialog.
</p><dl>
<dt>Returns:</dt>
<dd>
formatted string for character classes (string)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>