eric7/Documentation/Source/eric7.Preferences.ConfigurationPages.EditorHighlightingStylesSelectionDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Preferences.ConfigurationPages.EditorHighlightingStylesSelectionDialog</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body>
22 <a NAME="top" ID="top"></a>
23 <h1>eric7.Preferences.ConfigurationPages.EditorHighlightingStylesSelectionDialog</h1>
24
25 <p>
26 Module implementing a dialog to select the styles to be imported/exported.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#EditorHighlightingStylesSelectionDialog">EditorHighlightingStylesSelectionDialog</a></td>
39 <td>Class implementing a dialog to select the styles to be imported/exported.</td>
40 </tr>
41 </table>
42 <h3>Functions</h3>
43
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr />
48 <hr />
49 <a NAME="EditorHighlightingStylesSelectionDialog" ID="EditorHighlightingStylesSelectionDialog"></a>
50 <h2>EditorHighlightingStylesSelectionDialog</h2>
51
52 <p>
53 Class implementing a dialog to select the styles to be imported/exported.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_EditorHighlightingStylesSelectionDialog
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>None</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Methods</h3>
68
69 <table>
70
71 <tr>
72 <td><a href="#EditorHighlightingStylesSelectionDialog.__init__">EditorHighlightingStylesSelectionDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#EditorHighlightingStylesSelectionDialog.__updateOkButton">__updateOkButton</a></td>
77 <td>Private slot to update the state of the OK button.</td>
78 </tr>
79 <tr>
80 <td><a href="#EditorHighlightingStylesSelectionDialog.getLexerNames">getLexerNames</a></td>
81 <td>Public method to get the selected lexer names.</td>
82 </tr>
83 <tr>
84 <td><a href="#EditorHighlightingStylesSelectionDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
85 <td>Private slot to handle the user pressing a button.</td>
86 </tr>
87 <tr>
88 <td><a href="#EditorHighlightingStylesSelectionDialog.on_lexersList_itemChanged">on_lexersList_itemChanged</a></td>
89 <td>Private slot to react on changes in check state.</td>
90 </tr>
91 </table>
92 <h3>Static Methods</h3>
93
94 <table>
95 <tr><td>None</td></tr>
96 </table>
97
98 <a NAME="EditorHighlightingStylesSelectionDialog.__init__" ID="EditorHighlightingStylesSelectionDialog.__init__"></a>
99 <h4>EditorHighlightingStylesSelectionDialog (Constructor)</h4>
100 <b>EditorHighlightingStylesSelectionDialog</b>(<i>lexerNames, forImport, preselect=None, parent=None</i>)
101
102 <p>
103 Constructor
104 </p>
105 <dl>
106
107 <dt><i>lexerNames</i> (list of str)</dt>
108 <dd>
109 list of lexer names to select from
110 </dd>
111 <dt><i>forImport</i> (bool)</dt>
112 <dd>
113 flag indicating a dialog for importing styles
114 </dd>
115 <dt><i>preselect</i> (list of str)</dt>
116 <dd>
117 list of lexer names to be preselected
118 </dd>
119 <dt><i>parent</i> (QWidget)</dt>
120 <dd>
121 reference to the parent widget
122 </dd>
123 </dl>
124 <a NAME="EditorHighlightingStylesSelectionDialog.__updateOkButton" ID="EditorHighlightingStylesSelectionDialog.__updateOkButton"></a>
125 <h4>EditorHighlightingStylesSelectionDialog.__updateOkButton</h4>
126 <b>__updateOkButton</b>(<i></i>)
127
128 <p>
129 Private slot to update the state of the OK button.
130 </p>
131 <a NAME="EditorHighlightingStylesSelectionDialog.getLexerNames" ID="EditorHighlightingStylesSelectionDialog.getLexerNames"></a>
132 <h4>EditorHighlightingStylesSelectionDialog.getLexerNames</h4>
133 <b>getLexerNames</b>(<i></i>)
134
135 <p>
136 Public method to get the selected lexer names.
137 </p>
138 <dl>
139 <dt>Return:</dt>
140 <dd>
141 list of selected lexer names
142 </dd>
143 </dl>
144 <dl>
145 <dt>Return Type:</dt>
146 <dd>
147 list of str
148 </dd>
149 </dl>
150 <a NAME="EditorHighlightingStylesSelectionDialog.on_buttonBox_clicked" ID="EditorHighlightingStylesSelectionDialog.on_buttonBox_clicked"></a>
151 <h4>EditorHighlightingStylesSelectionDialog.on_buttonBox_clicked</h4>
152 <b>on_buttonBox_clicked</b>(<i>button</i>)
153
154 <p>
155 Private slot to handle the user pressing a button.
156 </p>
157 <dl>
158
159 <dt><i>button</i> (QAbstractButton)</dt>
160 <dd>
161 reference to the button pressed
162 </dd>
163 </dl>
164 <a NAME="EditorHighlightingStylesSelectionDialog.on_lexersList_itemChanged" ID="EditorHighlightingStylesSelectionDialog.on_lexersList_itemChanged"></a>
165 <h4>EditorHighlightingStylesSelectionDialog.on_lexersList_itemChanged</h4>
166 <b>on_lexersList_itemChanged</b>(<i>item</i>)
167
168 <p>
169 Private slot to react on changes in check state.
170 </p>
171 <dl>
172
173 <dt><i>item</i> (QListWidgetItem)</dt>
174 <dd>
175 reference to the changed item
176 </dd>
177 </dl>
178 <div align="right"><a href="#top">Up</a></div>
179 <hr />
180 </body></html>

eric ide

mercurial