Mon, 17 Mar 2014 19:11:48 +0100
Extended QsciScintillaCompat to allow to set the modified status and made the selection of an encoding in the editor change the modified state.
2387
2d119e79ab54
Regenerated source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
2386
diff
changeset
|
1 | <!DOCTYPE html> |
2211
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2 | <html><head> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
3 | <title>eric5.QScintilla.SpellingDictionaryEditDialog</title> |
2387
2d119e79ab54
Regenerated source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
2386
diff
changeset
|
4 | <meta charset="UTF-8"> |
2211
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
5 | <style> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
6 | body { |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
7 | background: #EDECE6; |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
8 | margin: 0em 1em 10em 1em; |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
9 | color: black; |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
10 | } |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
11 | |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
12 | h1 { color: white; background: #85774A; } |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
13 | h2 { color: white; background: #85774A; } |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
14 | h3 { color: white; background: #9D936E; } |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
15 | h4 { color: white; background: #9D936E; } |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
16 | |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
17 | a { color: #BA6D36; } |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
18 | |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
19 | </style> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
20 | </head> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
21 | <body><a NAME="top" ID="top"></a> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
22 | <h1>eric5.QScintilla.SpellingDictionaryEditDialog</h1> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
23 | <p> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
24 | Module implementing a dialog to edit the various spell checking dictionaries. |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
25 | </p> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
26 | <h3>Global Attributes</h3> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
27 | <table> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
28 | <tr><td>None</td></tr> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
29 | </table> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
30 | <h3>Classes</h3> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
31 | <table> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
32 | <tr> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
33 | <td><a href="#SpellingDictionaryEditDialog">SpellingDictionaryEditDialog</a></td> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
34 | <td>Class implementing a dialog to edit the various spell checking dictionaries.</td> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
35 | </tr> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
36 | </table> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
37 | <h3>Functions</h3> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
38 | <table> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
39 | <tr><td>None</td></tr> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
40 | </table> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
41 | <hr /><hr /> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
42 | <a NAME="SpellingDictionaryEditDialog" ID="SpellingDictionaryEditDialog"></a> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
43 | <h2>SpellingDictionaryEditDialog</h2> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
44 | <p> |
3018
70924c0bdaf1
Corrected some source docu issues and regenerated the source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
2387
diff
changeset
|
45 | Class implementing a dialog to edit the various spell checking |
70924c0bdaf1
Corrected some source docu issues and regenerated the source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
2387
diff
changeset
|
46 | dictionaries. |
2211
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
47 | </p> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
48 | <h3>Derived from</h3> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
49 | QDialog, Ui_SpellingDictionaryEditDialog |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
50 | <h3>Class Attributes</h3> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
51 | <table> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
52 | <tr><td>None</td></tr> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
53 | </table> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
54 | <h3>Class Methods</h3> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
55 | <table> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
56 | <tr><td>None</td></tr> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
57 | </table> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
58 | <h3>Methods</h3> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
59 | <table> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
60 | <tr> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
61 | <td><a href="#SpellingDictionaryEditDialog.__init__">SpellingDictionaryEditDialog</a></td> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
62 | <td>Constructor</td> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
63 | </tr><tr> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
64 | <td><a href="#SpellingDictionaryEditDialog.getData">getData</a></td> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
65 | <td>Public method to get the data.</td> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
66 | </tr><tr> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
67 | <td><a href="#SpellingDictionaryEditDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
68 | <td>Private slot to handle adding an entry.</td> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
69 | </tr> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
70 | </table> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
71 | <h3>Static Methods</h3> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
72 | <table> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
73 | <tr><td>None</td></tr> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
74 | </table> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
75 | <a NAME="SpellingDictionaryEditDialog.__init__" ID="SpellingDictionaryEditDialog.__init__"></a> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
76 | <h4>SpellingDictionaryEditDialog (Constructor)</h4> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
77 | <b>SpellingDictionaryEditDialog</b>(<i>data, info, parent=None</i>) |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
78 | <p> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
79 | Constructor |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
80 | </p><dl> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
81 | <dt><i>data</i></dt> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
82 | <dd> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
83 | contents to be edited (string) |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
84 | </dd><dt><i>info</i></dt> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
85 | <dd> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
86 | info string to show at the header (string) |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
87 | </dd><dt><i>parent</i></dt> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
88 | <dd> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
89 | reference to the parent widget (QWidget) |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
90 | </dd> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
91 | </dl><a NAME="SpellingDictionaryEditDialog.getData" ID="SpellingDictionaryEditDialog.getData"></a> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
92 | <h4>SpellingDictionaryEditDialog.getData</h4> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
93 | <b>getData</b>(<i></i>) |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
94 | <p> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
95 | Public method to get the data. |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
96 | </p><dl> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
97 | <dt>Returns:</dt> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
98 | <dd> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
99 | data of the dialog (string) |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
100 | </dd> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
101 | </dl><a NAME="SpellingDictionaryEditDialog.on_addButton_clicked" ID="SpellingDictionaryEditDialog.on_addButton_clicked"></a> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
102 | <h4>SpellingDictionaryEditDialog.on_addButton_clicked</h4> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
103 | <b>on_addButton_clicked</b>(<i></i>) |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
104 | <p> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
105 | Private slot to handle adding an entry. |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
106 | </p> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
107 | <div align="right"><a href="#top">Up</a></div> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
108 | <hr /> |
86bdcfac4a4a
Added a dialog to edit the various spell checking dictionaries.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
109 | </body></html> |