16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Preferences.ConfigurationPages.IconsPage</h1> |
23 <h1>eric6.Preferences.ConfigurationPages.IconsPage</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the Icons configuration page. |
26 Module implementing the Icons configuration page. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#IconsPage">IconsPage</a></td> |
38 <td><a href="#IconsPage">IconsPage</a></td> |
34 <td>Class implementing the Icons configuration page.</td> |
39 <td>Class implementing the Icons configuration page.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
38 <table> |
43 |
|
44 <table> |
|
45 |
39 <tr> |
46 <tr> |
40 <td><a href="#create">create</a></td> |
47 <td><a href="#create">create</a></td> |
41 <td>Module function to create the configuration page.</td> |
48 <td>Module function to create the configuration page.</td> |
42 </tr> |
49 </tr> |
43 </table> |
50 </table> |
44 <hr /><hr /> |
51 <hr /> |
|
52 <hr /> |
45 <a NAME="IconsPage" ID="IconsPage"></a> |
53 <a NAME="IconsPage" ID="IconsPage"></a> |
46 <h2>IconsPage</h2> |
54 <h2>IconsPage</h2> |
|
55 |
47 <p> |
56 <p> |
48 Class implementing the Icons configuration page. |
57 Class implementing the Icons configuration page. |
49 </p> |
58 </p> |
50 <h3>Derived from</h3> |
59 <h3>Derived from</h3> |
51 ConfigurationPageBase, Ui_IconsPage |
60 ConfigurationPageBase, Ui_IconsPage |
52 <h3>Class Attributes</h3> |
61 <h3>Class Attributes</h3> |
|
62 |
53 <table> |
63 <table> |
54 <tr><td>None</td></tr> |
64 <tr><td>None</td></tr> |
55 </table> |
65 </table> |
56 <h3>Class Methods</h3> |
66 <h3>Class Methods</h3> |
|
67 |
57 <table> |
68 <table> |
58 <tr><td>None</td></tr> |
69 <tr><td>None</td></tr> |
59 </table> |
70 </table> |
60 <h3>Methods</h3> |
71 <h3>Methods</h3> |
61 <table> |
72 |
|
73 <table> |
|
74 |
62 <tr> |
75 <tr> |
63 <td><a href="#IconsPage.__init__">IconsPage</a></td> |
76 <td><a href="#IconsPage.__init__">IconsPage</a></td> |
64 <td>Constructor</td> |
77 <td>Constructor</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#IconsPage.on_addIconDirectoryButton_clicked">on_addIconDirectoryButton_clicked</a></td> |
80 <td><a href="#IconsPage.on_addIconDirectoryButton_clicked">on_addIconDirectoryButton_clicked</a></td> |
67 <td>Private slot to add the icon directory displayed to the listbox.</td> |
81 <td>Private slot to add the icon directory displayed to the listbox.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#IconsPage.on_deleteIconDirectoryButton_clicked">on_deleteIconDirectoryButton_clicked</a></td> |
84 <td><a href="#IconsPage.on_deleteIconDirectoryButton_clicked">on_deleteIconDirectoryButton_clicked</a></td> |
70 <td>Private slot to delete the currently selected directory of the listbox.</td> |
85 <td>Private slot to delete the currently selected directory of the listbox.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#IconsPage.on_downButton_clicked">on_downButton_clicked</a></td> |
88 <td><a href="#IconsPage.on_downButton_clicked">on_downButton_clicked</a></td> |
73 <td>Private slot called to move the selected item down in the list.</td> |
89 <td>Private slot called to move the selected item down in the list.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#IconsPage.on_iconDirectoryList_currentRowChanged">on_iconDirectoryList_currentRowChanged</a></td> |
92 <td><a href="#IconsPage.on_iconDirectoryList_currentRowChanged">on_iconDirectoryList_currentRowChanged</a></td> |
76 <td>Private slot to handle the currentRowChanged signal of the icons directory list.</td> |
93 <td>Private slot to handle the currentRowChanged signal of the icons directory list.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#IconsPage.on_iconDirectoryPicker_textChanged">on_iconDirectoryPicker_textChanged</a></td> |
96 <td><a href="#IconsPage.on_iconDirectoryPicker_textChanged">on_iconDirectoryPicker_textChanged</a></td> |
79 <td>Private slot to handle the textChanged signal of the directory picker.</td> |
97 <td>Private slot to handle the textChanged signal of the directory picker.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#IconsPage.on_showIconsButton_clicked">on_showIconsButton_clicked</a></td> |
100 <td><a href="#IconsPage.on_showIconsButton_clicked">on_showIconsButton_clicked</a></td> |
82 <td>Private slot to display a preview of an icons directory.</td> |
101 <td>Private slot to display a preview of an icons directory.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#IconsPage.on_upButton_clicked">on_upButton_clicked</a></td> |
104 <td><a href="#IconsPage.on_upButton_clicked">on_upButton_clicked</a></td> |
85 <td>Private slot called to move the selected item up in the list.</td> |
105 <td>Private slot called to move the selected item up in the list.</td> |
86 </tr><tr> |
106 </tr> |
|
107 <tr> |
87 <td><a href="#IconsPage.save">save</a></td> |
108 <td><a href="#IconsPage.save">save</a></td> |
88 <td>Public slot to save the Icons configuration.</td> |
109 <td>Public slot to save the Icons configuration.</td> |
89 </tr> |
110 </tr> |
90 </table> |
111 </table> |
91 <h3>Static Methods</h3> |
112 <h3>Static Methods</h3> |
92 <table> |
113 |
93 <tr><td>None</td></tr> |
114 <table> |
94 </table> |
115 <tr><td>None</td></tr> |
|
116 </table> |
|
117 |
95 <a NAME="IconsPage.__init__" ID="IconsPage.__init__"></a> |
118 <a NAME="IconsPage.__init__" ID="IconsPage.__init__"></a> |
96 <h4>IconsPage (Constructor)</h4> |
119 <h4>IconsPage (Constructor)</h4> |
97 <b>IconsPage</b>(<i></i>) |
120 <b>IconsPage</b>(<i></i>) |
|
121 |
98 <p> |
122 <p> |
99 Constructor |
123 Constructor |
100 </p><a NAME="IconsPage.on_addIconDirectoryButton_clicked" ID="IconsPage.on_addIconDirectoryButton_clicked"></a> |
124 </p> |
|
125 <a NAME="IconsPage.on_addIconDirectoryButton_clicked" ID="IconsPage.on_addIconDirectoryButton_clicked"></a> |
101 <h4>IconsPage.on_addIconDirectoryButton_clicked</h4> |
126 <h4>IconsPage.on_addIconDirectoryButton_clicked</h4> |
102 <b>on_addIconDirectoryButton_clicked</b>(<i></i>) |
127 <b>on_addIconDirectoryButton_clicked</b>(<i></i>) |
|
128 |
103 <p> |
129 <p> |
104 Private slot to add the icon directory displayed to the listbox. |
130 Private slot to add the icon directory displayed to the listbox. |
105 </p><a NAME="IconsPage.on_deleteIconDirectoryButton_clicked" ID="IconsPage.on_deleteIconDirectoryButton_clicked"></a> |
131 </p> |
|
132 <a NAME="IconsPage.on_deleteIconDirectoryButton_clicked" ID="IconsPage.on_deleteIconDirectoryButton_clicked"></a> |
106 <h4>IconsPage.on_deleteIconDirectoryButton_clicked</h4> |
133 <h4>IconsPage.on_deleteIconDirectoryButton_clicked</h4> |
107 <b>on_deleteIconDirectoryButton_clicked</b>(<i></i>) |
134 <b>on_deleteIconDirectoryButton_clicked</b>(<i></i>) |
|
135 |
108 <p> |
136 <p> |
109 Private slot to delete the currently selected directory of the listbox. |
137 Private slot to delete the currently selected directory of the listbox. |
110 </p><a NAME="IconsPage.on_downButton_clicked" ID="IconsPage.on_downButton_clicked"></a> |
138 </p> |
|
139 <a NAME="IconsPage.on_downButton_clicked" ID="IconsPage.on_downButton_clicked"></a> |
111 <h4>IconsPage.on_downButton_clicked</h4> |
140 <h4>IconsPage.on_downButton_clicked</h4> |
112 <b>on_downButton_clicked</b>(<i></i>) |
141 <b>on_downButton_clicked</b>(<i></i>) |
|
142 |
113 <p> |
143 <p> |
114 Private slot called to move the selected item down in the list. |
144 Private slot called to move the selected item down in the list. |
115 </p><a NAME="IconsPage.on_iconDirectoryList_currentRowChanged" ID="IconsPage.on_iconDirectoryList_currentRowChanged"></a> |
145 </p> |
|
146 <a NAME="IconsPage.on_iconDirectoryList_currentRowChanged" ID="IconsPage.on_iconDirectoryList_currentRowChanged"></a> |
116 <h4>IconsPage.on_iconDirectoryList_currentRowChanged</h4> |
147 <h4>IconsPage.on_iconDirectoryList_currentRowChanged</h4> |
117 <b>on_iconDirectoryList_currentRowChanged</b>(<i>row</i>) |
148 <b>on_iconDirectoryList_currentRowChanged</b>(<i>row</i>) |
|
149 |
118 <p> |
150 <p> |
119 Private slot to handle the currentRowChanged signal of the icons |
151 Private slot to handle the currentRowChanged signal of the icons |
120 directory list. |
152 directory list. |
121 </p><dl> |
153 </p> |
|
154 <dl> |
|
155 |
122 <dt><i>row</i></dt> |
156 <dt><i>row</i></dt> |
123 <dd> |
157 <dd> |
124 the current row (integer) |
158 the current row (integer) |
125 </dd> |
159 </dd> |
126 </dl><a NAME="IconsPage.on_iconDirectoryPicker_textChanged" ID="IconsPage.on_iconDirectoryPicker_textChanged"></a> |
160 </dl> |
|
161 <a NAME="IconsPage.on_iconDirectoryPicker_textChanged" ID="IconsPage.on_iconDirectoryPicker_textChanged"></a> |
127 <h4>IconsPage.on_iconDirectoryPicker_textChanged</h4> |
162 <h4>IconsPage.on_iconDirectoryPicker_textChanged</h4> |
128 <b>on_iconDirectoryPicker_textChanged</b>(<i>txt</i>) |
163 <b>on_iconDirectoryPicker_textChanged</b>(<i>txt</i>) |
|
164 |
129 <p> |
165 <p> |
130 Private slot to handle the textChanged signal of the directory picker. |
166 Private slot to handle the textChanged signal of the directory picker. |
131 </p><dl> |
167 </p> |
|
168 <dl> |
|
169 |
132 <dt><i>txt</i></dt> |
170 <dt><i>txt</i></dt> |
133 <dd> |
171 <dd> |
134 the text of the directory picker (string) |
172 the text of the directory picker (string) |
135 </dd> |
173 </dd> |
136 </dl><a NAME="IconsPage.on_showIconsButton_clicked" ID="IconsPage.on_showIconsButton_clicked"></a> |
174 </dl> |
|
175 <a NAME="IconsPage.on_showIconsButton_clicked" ID="IconsPage.on_showIconsButton_clicked"></a> |
137 <h4>IconsPage.on_showIconsButton_clicked</h4> |
176 <h4>IconsPage.on_showIconsButton_clicked</h4> |
138 <b>on_showIconsButton_clicked</b>(<i></i>) |
177 <b>on_showIconsButton_clicked</b>(<i></i>) |
|
178 |
139 <p> |
179 <p> |
140 Private slot to display a preview of an icons directory. |
180 Private slot to display a preview of an icons directory. |
141 </p><a NAME="IconsPage.on_upButton_clicked" ID="IconsPage.on_upButton_clicked"></a> |
181 </p> |
|
182 <a NAME="IconsPage.on_upButton_clicked" ID="IconsPage.on_upButton_clicked"></a> |
142 <h4>IconsPage.on_upButton_clicked</h4> |
183 <h4>IconsPage.on_upButton_clicked</h4> |
143 <b>on_upButton_clicked</b>(<i></i>) |
184 <b>on_upButton_clicked</b>(<i></i>) |
|
185 |
144 <p> |
186 <p> |
145 Private slot called to move the selected item up in the list. |
187 Private slot called to move the selected item up in the list. |
146 </p><a NAME="IconsPage.save" ID="IconsPage.save"></a> |
188 </p> |
|
189 <a NAME="IconsPage.save" ID="IconsPage.save"></a> |
147 <h4>IconsPage.save</h4> |
190 <h4>IconsPage.save</h4> |
148 <b>save</b>(<i></i>) |
191 <b>save</b>(<i></i>) |
|
192 |
149 <p> |
193 <p> |
150 Public slot to save the Icons configuration. |
194 Public slot to save the Icons configuration. |
151 </p> |
195 </p> |
152 <div align="right"><a href="#top">Up</a></div> |
196 <div align="right"><a href="#top">Up</a></div> |
153 <hr /><hr /> |
197 <hr /> |
|
198 <hr /> |
154 <a NAME="create" ID="create"></a> |
199 <a NAME="create" ID="create"></a> |
155 <h2>create</h2> |
200 <h2>create</h2> |
156 <b>create</b>(<i>dlg</i>) |
201 <b>create</b>(<i>dlg</i>) |
|
202 |
157 <p> |
203 <p> |
158 Module function to create the configuration page. |
204 Module function to create the configuration page. |
159 </p><dl> |
205 </p> |
|
206 <dl> |
|
207 |
160 <dt><i>dlg</i></dt> |
208 <dt><i>dlg</i></dt> |
161 <dd> |
209 <dd> |
162 reference to the configuration dialog |
210 reference to the configuration dialog |
163 </dd> |
211 </dd> |
164 </dl><dl> |
212 </dl> |
|
213 <dl> |
165 <dt>Returns:</dt> |
214 <dt>Returns:</dt> |
166 <dd> |
215 <dd> |
167 reference to the instantiated page (ConfigurationPageBase) |
216 reference to the instantiated page (ConfigurationPageBase) |
168 </dd> |
217 </dd> |
169 </dl> |
218 </dl> |