|
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>eric5.QScintilla.SpellCheckingDialog</title> |
|
6 <style> |
|
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' |
|
8 </style> |
|
9 </head> |
|
10 <body><a NAME="top" ID="top"></a> |
|
11 <h1>eric5.QScintilla.SpellCheckingDialog</h1> |
|
12 <p> |
|
13 Module implementing the spell checking dialog. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#SpellCheckingDialog">SpellCheckingDialog</a></td> |
|
23 <td>Class implementing the spell checking dialog.</td> |
|
24 </tr> |
|
25 </table> |
|
26 <h3>Functions</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <hr /><hr /> |
|
31 <a NAME="SpellCheckingDialog" ID="SpellCheckingDialog"></a> |
|
32 <h2>SpellCheckingDialog</h2> |
|
33 <p> |
|
34 Class implementing the spell checking dialog. |
|
35 </p> |
|
36 <h3>Derived from</h3> |
|
37 QDialog, Ui_SpellCheckingDialog |
|
38 <h3>Class Attributes</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <h3>Methods</h3> |
|
43 <table> |
|
44 <tr> |
|
45 <td><a href="#SpellCheckingDialog.__init__">SpellCheckingDialog</a></td> |
|
46 <td>Constructor</td> |
|
47 </tr><tr> |
|
48 <td><a href="#SpellCheckingDialog.__advance">__advance</a></td> |
|
49 <td>Private method to advance to the next error.</td> |
|
50 </tr><tr> |
|
51 <td><a href="#SpellCheckingDialog.__enableButtons">__enableButtons</a></td> |
|
52 <td>Private method to set the buttons enabled state.</td> |
|
53 </tr><tr> |
|
54 <td><a href="#SpellCheckingDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
|
55 <td>Private slot to add the current word to the personal word list.</td> |
|
56 </tr><tr> |
|
57 <td><a href="#SpellCheckingDialog.on_changeEdit_textChanged">on_changeEdit_textChanged</a></td> |
|
58 <td>Private method to handle a change of the replacement text.</td> |
|
59 </tr><tr> |
|
60 <td><a href="#SpellCheckingDialog.on_ignoreAllButton_clicked">on_ignoreAllButton_clicked</a></td> |
|
61 <td>Private slot to always ignore the found error.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SpellCheckingDialog.on_ignoreButton_clicked">on_ignoreButton_clicked</a></td> |
|
64 <td>Private slot to ignore the found error.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#SpellCheckingDialog.on_replaceAllButton_clicked">on_replaceAllButton_clicked</a></td> |
|
67 <td>Private slot to replace the current word with the given replacement.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SpellCheckingDialog.on_replaceButton_clicked">on_replaceButton_clicked</a></td> |
|
70 <td>Private slot to replace the current word with the given replacement.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#SpellCheckingDialog.on_suggestionsList_currentTextChanged">on_suggestionsList_currentTextChanged</a></td> |
|
73 <td>Private method to handle the selection of a suggestion.</td> |
|
74 </tr> |
|
75 </table> |
|
76 <a NAME="SpellCheckingDialog.__init__" ID="SpellCheckingDialog.__init__"></a> |
|
77 <h4>SpellCheckingDialog (Constructor)</h4> |
|
78 <b>SpellCheckingDialog</b>(<i>spellChecker, startPos, endPos, parent = None</i>) |
|
79 <p> |
|
80 Constructor |
|
81 </p><a NAME="SpellCheckingDialog.__advance" ID="SpellCheckingDialog.__advance"></a> |
|
82 <h4>SpellCheckingDialog.__advance</h4> |
|
83 <b>__advance</b>(<i></i>) |
|
84 <p> |
|
85 Private method to advance to the next error. |
|
86 </p><a NAME="SpellCheckingDialog.__enableButtons" ID="SpellCheckingDialog.__enableButtons"></a> |
|
87 <h4>SpellCheckingDialog.__enableButtons</h4> |
|
88 <b>__enableButtons</b>(<i>enable</i>) |
|
89 <p> |
|
90 Private method to set the buttons enabled state. |
|
91 </p><a NAME="SpellCheckingDialog.on_addButton_clicked" ID="SpellCheckingDialog.on_addButton_clicked"></a> |
|
92 <h4>SpellCheckingDialog.on_addButton_clicked</h4> |
|
93 <b>on_addButton_clicked</b>(<i></i>) |
|
94 <p> |
|
95 Private slot to add the current word to the personal word list. |
|
96 </p><a NAME="SpellCheckingDialog.on_changeEdit_textChanged" ID="SpellCheckingDialog.on_changeEdit_textChanged"></a> |
|
97 <h4>SpellCheckingDialog.on_changeEdit_textChanged</h4> |
|
98 <b>on_changeEdit_textChanged</b>(<i>text</i>) |
|
99 <p> |
|
100 Private method to handle a change of the replacement text. |
|
101 </p><dl> |
|
102 <dt><i>text</i></dt> |
|
103 <dd> |
|
104 contents of the line edit (string) |
|
105 </dd> |
|
106 </dl><a NAME="SpellCheckingDialog.on_ignoreAllButton_clicked" ID="SpellCheckingDialog.on_ignoreAllButton_clicked"></a> |
|
107 <h4>SpellCheckingDialog.on_ignoreAllButton_clicked</h4> |
|
108 <b>on_ignoreAllButton_clicked</b>(<i></i>) |
|
109 <p> |
|
110 Private slot to always ignore the found error. |
|
111 </p><a NAME="SpellCheckingDialog.on_ignoreButton_clicked" ID="SpellCheckingDialog.on_ignoreButton_clicked"></a> |
|
112 <h4>SpellCheckingDialog.on_ignoreButton_clicked</h4> |
|
113 <b>on_ignoreButton_clicked</b>(<i></i>) |
|
114 <p> |
|
115 Private slot to ignore the found error. |
|
116 </p><a NAME="SpellCheckingDialog.on_replaceAllButton_clicked" ID="SpellCheckingDialog.on_replaceAllButton_clicked"></a> |
|
117 <h4>SpellCheckingDialog.on_replaceAllButton_clicked</h4> |
|
118 <b>on_replaceAllButton_clicked</b>(<i></i>) |
|
119 <p> |
|
120 Private slot to replace the current word with the given replacement. |
|
121 </p><a NAME="SpellCheckingDialog.on_replaceButton_clicked" ID="SpellCheckingDialog.on_replaceButton_clicked"></a> |
|
122 <h4>SpellCheckingDialog.on_replaceButton_clicked</h4> |
|
123 <b>on_replaceButton_clicked</b>(<i></i>) |
|
124 <p> |
|
125 Private slot to replace the current word with the given replacement. |
|
126 </p><a NAME="SpellCheckingDialog.on_suggestionsList_currentTextChanged" ID="SpellCheckingDialog.on_suggestionsList_currentTextChanged"></a> |
|
127 <h4>SpellCheckingDialog.on_suggestionsList_currentTextChanged</h4> |
|
128 <b>on_suggestionsList_currentTextChanged</b>(<i>currentText</i>) |
|
129 <p> |
|
130 Private method to handle the selection of a suggestion. |
|
131 </p><dl> |
|
132 <dt><i>currentText</i></dt> |
|
133 <dd> |
|
134 the currently selected text (string) |
|
135 </dd> |
|
136 </dl> |
|
137 <div align="right"><a href="#top">Up</a></div> |
|
138 <hr /> |
|
139 </body></html> |