Documentation/Source/eric5.QScintilla.SpellCheckingDialog.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.QScintilla.SpellCheckingDialog</h1> 23 <h1>eric5.QScintilla.SpellCheckingDialog</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#112;&#101;&#108;&#108; &#99;&#104;&#101;&#99;&#107;&#105;&#110;&#103; &#100;&#105;&#97;&#108;&#111;&#103;. 25 Module implementing the spell checking dialog.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#SpellCheckingDialog">SpellCheckingDialog</a></td> 34 <td><a href="#SpellCheckingDialog">SpellCheckingDialog</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#112;&#101;&#108;&#108; &#99;&#104;&#101;&#99;&#107;&#105;&#110;&#103; &#100;&#105;&#97;&#108;&#111;&#103;.</td> 35 <td>Class implementing the spell checking dialog.</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr><td>None</td></tr> 40 <tr><td>None</td></tr>
41 </table> 41 </table>
42 <hr /><hr /> 42 <hr /><hr />
43 <a NAME="SpellCheckingDialog" ID="SpellCheckingDialog"></a> 43 <a NAME="SpellCheckingDialog" ID="SpellCheckingDialog"></a>
44 <h2>SpellCheckingDialog</h2> 44 <h2>SpellCheckingDialog</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#112;&#101;&#108;&#108; &#99;&#104;&#101;&#99;&#107;&#105;&#110;&#103; &#100;&#105;&#97;&#108;&#111;&#103;. 46 Class implementing the spell checking dialog.
47 </p> 47 </p>
48 <h3>Derived from</h3> 48 <h3>Derived from</h3>
49 QDialog, Ui_SpellCheckingDialog 49 QDialog, Ui_SpellCheckingDialog
50 <h3>Class Attributes</h3> 50 <h3>Class Attributes</h3>
51 <table> 51 <table>
53 </table> 53 </table>
54 <h3>Methods</h3> 54 <h3>Methods</h3>
55 <table> 55 <table>
56 <tr> 56 <tr>
57 <td><a href="#SpellCheckingDialog.__init__">SpellCheckingDialog</a></td> 57 <td><a href="#SpellCheckingDialog.__init__">SpellCheckingDialog</a></td>
58 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 58 <td>Constructor</td>
59 </tr><tr> 59 </tr><tr>
60 <td><a href="#SpellCheckingDialog.__advance">__advance</a></td> 60 <td><a href="#SpellCheckingDialog.__advance">__advance</a></td>
61 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;v&#97;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#110;&#101;x&#116; &#101;&#114;&#114;&#111;&#114;.</td> 61 <td>Private method to advance to the next error.</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#SpellCheckingDialog.__enableButtons">__enableButtons</a></td> 63 <td><a href="#SpellCheckingDialog.__enableButtons">__enableButtons</a></td>
64 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110;&#115; &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#101;.</td> 64 <td>Private method to set the buttons enabled state.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#SpellCheckingDialog.on_addButton_clicked">on_addButton_clicked</a></td> 66 <td><a href="#SpellCheckingDialog.on_addButton_clicked">on_addButton_clicked</a></td>
67 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#97;&#100;&#100; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; w&#111;&#114;&#100; &#116;&#111; &#116;&#104;&#101; &#112;&#101;&#114;&#115;&#111;&#110;&#97;&#108; w&#111;&#114;&#100; &#108;&#105;&#115;&#116;.</td> 67 <td>Private slot to add the current word to the personal word list.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#SpellCheckingDialog.on_changeEdit_textChanged">on_changeEdit_textChanged</a></td> 69 <td><a href="#SpellCheckingDialog.on_changeEdit_textChanged">on_changeEdit_textChanged</a></td>
70 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116; &#116;&#101;x&#116;.</td> 70 <td>Private method to handle a change of the replacement text.</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#SpellCheckingDialog.on_ignoreAllButton_clicked">on_ignoreAllButton_clicked</a></td> 72 <td><a href="#SpellCheckingDialog.on_ignoreAllButton_clicked">on_ignoreAllButton_clicked</a></td>
73 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#97;&#108;w&#97;y&#115; &#105;&#103;&#110;&#111;&#114;&#101; &#116;&#104;&#101; &#102;&#111;&#117;&#110;&#100; &#101;&#114;&#114;&#111;&#114;.</td> 73 <td>Private slot to always ignore the found error.</td>
74 </tr><tr> 74 </tr><tr>
75 <td><a href="#SpellCheckingDialog.on_ignoreButton_clicked">on_ignoreButton_clicked</a></td> 75 <td><a href="#SpellCheckingDialog.on_ignoreButton_clicked">on_ignoreButton_clicked</a></td>
76 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#105;&#103;&#110;&#111;&#114;&#101; &#116;&#104;&#101; &#102;&#111;&#117;&#110;&#100; &#101;&#114;&#114;&#111;&#114;.</td> 76 <td>Private slot to ignore the found error.</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#SpellCheckingDialog.on_replaceAllButton_clicked">on_replaceAllButton_clicked</a></td> 78 <td><a href="#SpellCheckingDialog.on_replaceAllButton_clicked">on_replaceAllButton_clicked</a></td>
79 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#112;&#108;&#97;&#99;&#101; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; w&#111;&#114;&#100; w&#105;&#116;&#104; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#114;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116;.</td> 79 <td>Private slot to replace the current word with the given replacement.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#SpellCheckingDialog.on_replaceButton_clicked">on_replaceButton_clicked</a></td> 81 <td><a href="#SpellCheckingDialog.on_replaceButton_clicked">on_replaceButton_clicked</a></td>
82 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#112;&#108;&#97;&#99;&#101; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; w&#111;&#114;&#100; w&#105;&#116;&#104; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#114;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116;.</td> 82 <td>Private slot to replace the current word with the given replacement.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#SpellCheckingDialog.on_suggestionsList_currentTextChanged">on_suggestionsList_currentTextChanged</a></td> 84 <td><a href="#SpellCheckingDialog.on_suggestionsList_currentTextChanged">on_suggestionsList_currentTextChanged</a></td>
85 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#97; &#115;&#117;&#103;&#103;&#101;&#115;&#116;&#105;&#111;&#110;.</td> 85 <td>Private method to handle the selection of a suggestion.</td>
86 </tr> 86 </tr>
87 </table> 87 </table>
88 <a NAME="SpellCheckingDialog.__init__" ID="SpellCheckingDialog.__init__"></a> 88 <a NAME="SpellCheckingDialog.__init__" ID="SpellCheckingDialog.__init__"></a>
89 <h4>SpellCheckingDialog (Constructor)</h4> 89 <h4>SpellCheckingDialog (Constructor)</h4>
90 <b>SpellCheckingDialog</b>(<i>spellChecker, startPos, endPos, parent = None</i>) 90 <b>SpellCheckingDialog</b>(<i>spellChecker, startPos, endPos, parent = None</i>)
91 <p> 91 <p>
92 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 92 Constructor
93 </p><a NAME="SpellCheckingDialog.__advance" ID="SpellCheckingDialog.__advance"></a> 93 </p><a NAME="SpellCheckingDialog.__advance" ID="SpellCheckingDialog.__advance"></a>
94 <h4>SpellCheckingDialog.__advance</h4> 94 <h4>SpellCheckingDialog.__advance</h4>
95 <b>__advance</b>(<i></i>) 95 <b>__advance</b>(<i></i>)
96 <p> 96 <p>
97 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;v&#97;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#110;&#101;x&#116; &#101;&#114;&#114;&#111;&#114;. 97 Private method to advance to the next error.
98 </p><a NAME="SpellCheckingDialog.__enableButtons" ID="SpellCheckingDialog.__enableButtons"></a> 98 </p><a NAME="SpellCheckingDialog.__enableButtons" ID="SpellCheckingDialog.__enableButtons"></a>
99 <h4>SpellCheckingDialog.__enableButtons</h4> 99 <h4>SpellCheckingDialog.__enableButtons</h4>
100 <b>__enableButtons</b>(<i>enable</i>) 100 <b>__enableButtons</b>(<i>enable</i>)
101 <p> 101 <p>
102 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110;&#115; &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#101;. 102 Private method to set the buttons enabled state.
103 </p><a NAME="SpellCheckingDialog.on_addButton_clicked" ID="SpellCheckingDialog.on_addButton_clicked"></a> 103 </p><a NAME="SpellCheckingDialog.on_addButton_clicked" ID="SpellCheckingDialog.on_addButton_clicked"></a>
104 <h4>SpellCheckingDialog.on_addButton_clicked</h4> 104 <h4>SpellCheckingDialog.on_addButton_clicked</h4>
105 <b>on_addButton_clicked</b>(<i></i>) 105 <b>on_addButton_clicked</b>(<i></i>)
106 <p> 106 <p>
107 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#97;&#100;&#100; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; w&#111;&#114;&#100; &#116;&#111; &#116;&#104;&#101; &#112;&#101;&#114;&#115;&#111;&#110;&#97;&#108; w&#111;&#114;&#100; &#108;&#105;&#115;&#116;. 107 Private slot to add the current word to the personal word list.
108 </p><a NAME="SpellCheckingDialog.on_changeEdit_textChanged" ID="SpellCheckingDialog.on_changeEdit_textChanged"></a> 108 </p><a NAME="SpellCheckingDialog.on_changeEdit_textChanged" ID="SpellCheckingDialog.on_changeEdit_textChanged"></a>
109 <h4>SpellCheckingDialog.on_changeEdit_textChanged</h4> 109 <h4>SpellCheckingDialog.on_changeEdit_textChanged</h4>
110 <b>on_changeEdit_textChanged</b>(<i>text</i>) 110 <b>on_changeEdit_textChanged</b>(<i>text</i>)
111 <p> 111 <p>
112 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116; &#116;&#101;x&#116;. 112 Private method to handle a change of the replacement text.
113 </p><dl> 113 </p><dl>
114 <dt><i>text</i></dt> 114 <dt><i>text</i></dt>
115 <dd> 115 <dd>
116 &#99;&#111;&#110;&#116;&#101;&#110;&#116;&#115; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#110;&#101; &#101;&#100;&#105;&#116; (&#115;&#116;&#114;&#105;&#110;&#103;) 116 contents of the line edit (string)
117 </dd> 117 </dd>
118 </dl><a NAME="SpellCheckingDialog.on_ignoreAllButton_clicked" ID="SpellCheckingDialog.on_ignoreAllButton_clicked"></a> 118 </dl><a NAME="SpellCheckingDialog.on_ignoreAllButton_clicked" ID="SpellCheckingDialog.on_ignoreAllButton_clicked"></a>
119 <h4>SpellCheckingDialog.on_ignoreAllButton_clicked</h4> 119 <h4>SpellCheckingDialog.on_ignoreAllButton_clicked</h4>
120 <b>on_ignoreAllButton_clicked</b>(<i></i>) 120 <b>on_ignoreAllButton_clicked</b>(<i></i>)
121 <p> 121 <p>
122 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#97;&#108;w&#97;y&#115; &#105;&#103;&#110;&#111;&#114;&#101; &#116;&#104;&#101; &#102;&#111;&#117;&#110;&#100; &#101;&#114;&#114;&#111;&#114;. 122 Private slot to always ignore the found error.
123 </p><a NAME="SpellCheckingDialog.on_ignoreButton_clicked" ID="SpellCheckingDialog.on_ignoreButton_clicked"></a> 123 </p><a NAME="SpellCheckingDialog.on_ignoreButton_clicked" ID="SpellCheckingDialog.on_ignoreButton_clicked"></a>
124 <h4>SpellCheckingDialog.on_ignoreButton_clicked</h4> 124 <h4>SpellCheckingDialog.on_ignoreButton_clicked</h4>
125 <b>on_ignoreButton_clicked</b>(<i></i>) 125 <b>on_ignoreButton_clicked</b>(<i></i>)
126 <p> 126 <p>
127 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#105;&#103;&#110;&#111;&#114;&#101; &#116;&#104;&#101; &#102;&#111;&#117;&#110;&#100; &#101;&#114;&#114;&#111;&#114;. 127 Private slot to ignore the found error.
128 </p><a NAME="SpellCheckingDialog.on_replaceAllButton_clicked" ID="SpellCheckingDialog.on_replaceAllButton_clicked"></a> 128 </p><a NAME="SpellCheckingDialog.on_replaceAllButton_clicked" ID="SpellCheckingDialog.on_replaceAllButton_clicked"></a>
129 <h4>SpellCheckingDialog.on_replaceAllButton_clicked</h4> 129 <h4>SpellCheckingDialog.on_replaceAllButton_clicked</h4>
130 <b>on_replaceAllButton_clicked</b>(<i></i>) 130 <b>on_replaceAllButton_clicked</b>(<i></i>)
131 <p> 131 <p>
132 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#112;&#108;&#97;&#99;&#101; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; w&#111;&#114;&#100; w&#105;&#116;&#104; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#114;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116;. 132 Private slot to replace the current word with the given replacement.
133 </p><a NAME="SpellCheckingDialog.on_replaceButton_clicked" ID="SpellCheckingDialog.on_replaceButton_clicked"></a> 133 </p><a NAME="SpellCheckingDialog.on_replaceButton_clicked" ID="SpellCheckingDialog.on_replaceButton_clicked"></a>
134 <h4>SpellCheckingDialog.on_replaceButton_clicked</h4> 134 <h4>SpellCheckingDialog.on_replaceButton_clicked</h4>
135 <b>on_replaceButton_clicked</b>(<i></i>) 135 <b>on_replaceButton_clicked</b>(<i></i>)
136 <p> 136 <p>
137 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#112;&#108;&#97;&#99;&#101; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; w&#111;&#114;&#100; w&#105;&#116;&#104; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#114;&#101;&#112;&#108;&#97;&#99;&#101;&#109;&#101;&#110;&#116;. 137 Private slot to replace the current word with the given replacement.
138 </p><a NAME="SpellCheckingDialog.on_suggestionsList_currentTextChanged" ID="SpellCheckingDialog.on_suggestionsList_currentTextChanged"></a> 138 </p><a NAME="SpellCheckingDialog.on_suggestionsList_currentTextChanged" ID="SpellCheckingDialog.on_suggestionsList_currentTextChanged"></a>
139 <h4>SpellCheckingDialog.on_suggestionsList_currentTextChanged</h4> 139 <h4>SpellCheckingDialog.on_suggestionsList_currentTextChanged</h4>
140 <b>on_suggestionsList_currentTextChanged</b>(<i>currentText</i>) 140 <b>on_suggestionsList_currentTextChanged</b>(<i>currentText</i>)
141 <p> 141 <p>
142 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#97; &#115;&#117;&#103;&#103;&#101;&#115;&#116;&#105;&#111;&#110;. 142 Private method to handle the selection of a suggestion.
143 </p><dl> 143 </p><dl>
144 <dt><i>currentText</i></dt> 144 <dt><i>currentText</i></dt>
145 <dd> 145 <dd>
146 &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116;&#108;y &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#116;&#101;x&#116; (&#115;&#116;&#114;&#105;&#110;&#103;) 146 the currently selected text (string)
147 </dd> 147 </dd>
148 </dl> 148 </dl>
149 <div align="right"><a href="#top">Up</a></div> 149 <div align="right"><a href="#top">Up</a></div>
150 <hr /> 150 <hr />
151 </body></html> 151 </body></html>

eric ide

mercurial