diff -r cb644326633e -r a5e4cb4bed43 Documentation/Source/eric5.Plugins.WizardPlugins.QRegExpWizard.QRegExpWizardCharactersDialog.html --- a/Documentation/Source/eric5.Plugins.WizardPlugins.QRegExpWizard.QRegExpWizardCharactersDialog.html Sat Apr 28 16:12:31 2012 +0200 +++ b/Documentation/Source/eric5.Plugins.WizardPlugins.QRegExpWizard.QRegExpWizardCharactersDialog.html Sat Apr 28 17:00:32 2012 +0200 @@ -49,7 +49,7 @@ QDialog, Ui_QRegExpWizardCharactersDialog <h3>Class Attributes</h3> <table> -<tr><td>predefinedClasses</td></tr><tr><td>specialChars</td></tr> +<tr><td>RegExpMode</td></tr><tr><td>W3CMode</td></tr><tr><td>WildcardMode</td></tr> </table> <h3>Class Methods</h3> <table> @@ -70,9 +70,18 @@ <td><a href="#QRegExpWizardCharactersDialog.__formatCharacter">__formatCharacter</a></td> <td>Private method to format the characters entered into the dialog.</td> </tr><tr> +<td><a href="#QRegExpWizardCharactersDialog.__initCharacterSelectors">__initCharacterSelectors</a></td> +<td>Private method to initialize the W3C character selector entries.</td> +</tr><tr> <td><a href="#QRegExpWizardCharactersDialog.__performSelectedAction">__performSelectedAction</a></td> <td>Private method performing some actions depending on the input.</td> </tr><tr> +<td><a href="#QRegExpWizardCharactersDialog.__populateCharTypeCombo">__populateCharTypeCombo</a></td> +<td>Private method to populate a given character type selection combo box.</td> +</tr><tr> +<td><a href="#QRegExpWizardCharactersDialog.__populateW3cCharacterCombo">__populateW3cCharacterCombo</a></td> +<td>Private method to populate a W3C character selection combo.</td> +</tr><tr> <td><a href="#QRegExpWizardCharactersDialog.__rangesCharTypeSelected">__rangesCharTypeSelected</a></td> <td>Private slot to handle the activated(int) signal of the char ranges combo boxes.</td> </tr><tr> @@ -89,11 +98,14 @@ </table> <a NAME="QRegExpWizardCharactersDialog.__init__" ID="QRegExpWizardCharactersDialog.__init__"></a> <h4>QRegExpWizardCharactersDialog (Constructor)</h4> -<b>QRegExpWizardCharactersDialog</b>(<i>parent=None</i>) +<b>QRegExpWizardCharactersDialog</b>(<i>mode=RegExpMode, parent=None</i>) <p> Constructor </p><dl> -<dt><i>parent</i></dt> +<dt><i>mode</i></dt> +<dd> +mode of the dialog (one of RegExpMode, WildcardMode, W3CMode) +</dd><dt><i>parent</i></dt> <dd> parent widget (QWidget) </dd> @@ -109,34 +121,69 @@ Private slot to add a line of entry widgets for single characters. </p><a NAME="QRegExpWizardCharactersDialog.__formatCharacter" ID="QRegExpWizardCharactersDialog.__formatCharacter"></a> <h4>QRegExpWizardCharactersDialog.__formatCharacter</h4> -<b>__formatCharacter</b>(<i>index, char</i>) +<b>__formatCharacter</b>(<i>char, format</i>) <p> Private method to format the characters entered into the dialog. </p><dl> -<dt><i>index</i></dt> +<dt><i>char</i></dt> <dd> -selected list index (integer) -</dd><dt><i>char</i></dt> +character string entered into the dialog (string) +</dd><dt><i>format</i></dt> <dd> -character string enetered into the dialog (string) +string giving a special format (-c, -h, -i or -o) or + the already formatted character (string) </dd> </dl><dl> <dt>Returns:</dt> <dd> -formated character string (string) +formatted character string (string) </dd> -</dl><a NAME="QRegExpWizardCharactersDialog.__performSelectedAction" ID="QRegExpWizardCharactersDialog.__performSelectedAction"></a> +</dl><a NAME="QRegExpWizardCharactersDialog.__initCharacterSelectors" ID="QRegExpWizardCharactersDialog.__initCharacterSelectors"></a> +<h4>QRegExpWizardCharactersDialog.__initCharacterSelectors</h4> +<b>__initCharacterSelectors</b>(<i></i>) +<p> + Private method to initialize the W3C character selector entries. +</p><a NAME="QRegExpWizardCharactersDialog.__performSelectedAction" ID="QRegExpWizardCharactersDialog.__performSelectedAction"></a> <h4>QRegExpWizardCharactersDialog.__performSelectedAction</h4> -<b>__performSelectedAction</b>(<i>index, lineedit</i>) +<b>__performSelectedAction</b>(<i>format, lineedit, combo</i>) <p> Private method performing some actions depending on the input. </p><dl> -<dt><i>index</i></dt> +<dt><i>format</i></dt> <dd> -selected list index (integer) +format of the selected entry (string) </dd><dt><i>lineedit</i></dt> <dd> line edit widget to act on (QLineEdit) +</dd><dt><i>combo</i></dt> +<dd> +combo box widget to act on (QComboBox) +</dd> +</dl><a NAME="QRegExpWizardCharactersDialog.__populateCharTypeCombo" ID="QRegExpWizardCharactersDialog.__populateCharTypeCombo"></a> +<h4>QRegExpWizardCharactersDialog.__populateCharTypeCombo</h4> +<b>__populateCharTypeCombo</b>(<i>combo, isSingle</i>) +<p> + Private method to populate a given character type selection combo box. +</p><dl> +<dt><i>combo</i></dt> +<dd> +reference to the combo box to be populated (QComboBox) +</dd><dt><i>isSingle</i></dt> +<dd> +flag indicating a singles combo (boolean) +</dd> +</dl><a NAME="QRegExpWizardCharactersDialog.__populateW3cCharacterCombo" ID="QRegExpWizardCharactersDialog.__populateW3cCharacterCombo"></a> +<h4>QRegExpWizardCharactersDialog.__populateW3cCharacterCombo</h4> +<b>__populateW3cCharacterCombo</b>(<i>combo, format</i>) +<p> + Private method to populate a W3C character selection combo. +</p><dl> +<dt><i>combo</i></dt> +<dd> +combo box to be populated (QComboBox) +</dd><dt><i>format</i></dt> +<dd> +format identifier (one of "-ccp", "-ccn", "-cbp", "-cbn") </dd> </dl><a NAME="QRegExpWizardCharactersDialog.__rangesCharTypeSelected" ID="QRegExpWizardCharactersDialog.__rangesCharTypeSelected"></a> <h4>QRegExpWizardCharactersDialog.__rangesCharTypeSelected</h4>