|
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.QScintilla.SpellCheckingDialog</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.QScintilla.SpellCheckingDialog</h1> |
|
24 <p> |
|
25 Module implementing the spell checking dialog. |
|
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="#SpellCheckingDialog">SpellCheckingDialog</a></td> |
|
35 <td>Class implementing the spell checking dialog.</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="SpellCheckingDialog" ID="SpellCheckingDialog"></a> |
|
44 <h2>SpellCheckingDialog</h2> |
|
45 <p> |
|
46 Class implementing the spell checking dialog. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_SpellCheckingDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#SpellCheckingDialog.__init__">SpellCheckingDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#SpellCheckingDialog.__advance">__advance</a></td> |
|
61 <td>Private method to advance to the next error.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SpellCheckingDialog.__enableButtons">__enableButtons</a></td> |
|
64 <td>Private method to set the buttons enabled state.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#SpellCheckingDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
|
67 <td>Private slot to add the current word to the personal word list.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SpellCheckingDialog.on_changeEdit_textChanged">on_changeEdit_textChanged</a></td> |
|
70 <td>Private method to handle a change of the replacement text.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#SpellCheckingDialog.on_ignoreAllButton_clicked">on_ignoreAllButton_clicked</a></td> |
|
73 <td>Private slot to always ignore the found error.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#SpellCheckingDialog.on_ignoreButton_clicked">on_ignoreButton_clicked</a></td> |
|
76 <td>Private slot to ignore the found error.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#SpellCheckingDialog.on_replaceAllButton_clicked">on_replaceAllButton_clicked</a></td> |
|
79 <td>Private slot to replace the current word with the given replacement.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#SpellCheckingDialog.on_replaceButton_clicked">on_replaceButton_clicked</a></td> |
|
82 <td>Private slot to replace the current word with the given replacement.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#SpellCheckingDialog.on_suggestionsList_currentTextChanged">on_suggestionsList_currentTextChanged</a></td> |
|
85 <td>Private method to handle the selection of a suggestion.</td> |
|
86 </tr> |
|
87 </table> |
|
88 <a NAME="SpellCheckingDialog.__init__" ID="SpellCheckingDialog.__init__"></a> |
|
89 <h4>SpellCheckingDialog (Constructor)</h4> |
|
90 <b>SpellCheckingDialog</b>(<i>spellChecker, startPos, endPos, parent = None</i>) |
|
91 <p> |
|
92 Constructor |
|
93 </p><a NAME="SpellCheckingDialog.__advance" ID="SpellCheckingDialog.__advance"></a> |
|
94 <h4>SpellCheckingDialog.__advance</h4> |
|
95 <b>__advance</b>(<i></i>) |
|
96 <p> |
|
97 Private method to advance to the next error. |
|
98 </p><a NAME="SpellCheckingDialog.__enableButtons" ID="SpellCheckingDialog.__enableButtons"></a> |
|
99 <h4>SpellCheckingDialog.__enableButtons</h4> |
|
100 <b>__enableButtons</b>(<i>enable</i>) |
|
101 <p> |
|
102 Private method to set the buttons enabled state. |
|
103 </p><a NAME="SpellCheckingDialog.on_addButton_clicked" ID="SpellCheckingDialog.on_addButton_clicked"></a> |
|
104 <h4>SpellCheckingDialog.on_addButton_clicked</h4> |
|
105 <b>on_addButton_clicked</b>(<i></i>) |
|
106 <p> |
|
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> |
|
109 <h4>SpellCheckingDialog.on_changeEdit_textChanged</h4> |
|
110 <b>on_changeEdit_textChanged</b>(<i>text</i>) |
|
111 <p> |
|
112 Private method to handle a change of the replacement text. |
|
113 </p><dl> |
|
114 <dt><i>text</i></dt> |
|
115 <dd> |
|
116 contents of the line edit (string) |
|
117 </dd> |
|
118 </dl><a NAME="SpellCheckingDialog.on_ignoreAllButton_clicked" ID="SpellCheckingDialog.on_ignoreAllButton_clicked"></a> |
|
119 <h4>SpellCheckingDialog.on_ignoreAllButton_clicked</h4> |
|
120 <b>on_ignoreAllButton_clicked</b>(<i></i>) |
|
121 <p> |
|
122 Private slot to always ignore the found error. |
|
123 </p><a NAME="SpellCheckingDialog.on_ignoreButton_clicked" ID="SpellCheckingDialog.on_ignoreButton_clicked"></a> |
|
124 <h4>SpellCheckingDialog.on_ignoreButton_clicked</h4> |
|
125 <b>on_ignoreButton_clicked</b>(<i></i>) |
|
126 <p> |
|
127 Private slot to ignore the found error. |
|
128 </p><a NAME="SpellCheckingDialog.on_replaceAllButton_clicked" ID="SpellCheckingDialog.on_replaceAllButton_clicked"></a> |
|
129 <h4>SpellCheckingDialog.on_replaceAllButton_clicked</h4> |
|
130 <b>on_replaceAllButton_clicked</b>(<i></i>) |
|
131 <p> |
|
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> |
|
134 <h4>SpellCheckingDialog.on_replaceButton_clicked</h4> |
|
135 <b>on_replaceButton_clicked</b>(<i></i>) |
|
136 <p> |
|
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> |
|
139 <h4>SpellCheckingDialog.on_suggestionsList_currentTextChanged</h4> |
|
140 <b>on_suggestionsList_currentTextChanged</b>(<i>currentText</i>) |
|
141 <p> |
|
142 Private method to handle the selection of a suggestion. |
|
143 </p><dl> |
|
144 <dt><i>currentText</i></dt> |
|
145 <dd> |
|
146 the currently selected text (string) |
|
147 </dd> |
|
148 </dl> |
|
149 <div align="right"><a href="#top">Up</a></div> |
|
150 <hr /> |
|
151 </body></html> |