|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Preferences.ConfigurationPages.IconsPage</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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Preferences.ConfigurationPages.IconsPage</h1> |
|
23 <p> |
|
24 Module implementing the Icons configuration page. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#IconsPage">IconsPage</a></td> |
|
34 <td>Class implementing the Icons configuration page.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr> |
|
40 <td><a href="#create">create</a></td> |
|
41 <td>Module function to create the configuration page.</td> |
|
42 </tr> |
|
43 </table> |
|
44 <hr /><hr /> |
|
45 <a NAME="IconsPage" ID="IconsPage"></a> |
|
46 <h2>IconsPage</h2> |
|
47 <p> |
|
48 Class implementing the Icons configuration page. |
|
49 </p> |
|
50 <h3>Derived from</h3> |
|
51 ConfigurationPageBase, Ui_IconsPage |
|
52 <h3>Class Attributes</h3> |
|
53 <table> |
|
54 <tr><td>None</td></tr> |
|
55 </table> |
|
56 <h3>Class Methods</h3> |
|
57 <table> |
|
58 <tr><td>None</td></tr> |
|
59 </table> |
|
60 <h3>Methods</h3> |
|
61 <table> |
|
62 <tr> |
|
63 <td><a href="#IconsPage.__init__">IconsPage</a></td> |
|
64 <td>Constructor</td> |
|
65 </tr><tr> |
|
66 <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> |
|
68 </tr><tr> |
|
69 <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> |
|
71 </tr><tr> |
|
72 <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> |
|
74 </tr><tr> |
|
75 <td><a href="#IconsPage.on_iconDirectoryButton_clicked">on_iconDirectoryButton_clicked</a></td> |
|
76 <td>Private slot to select an icon directory.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#IconsPage.on_iconDirectoryEdit_textChanged">on_iconDirectoryEdit_textChanged</a></td> |
|
79 <td>Private slot to handle the textChanged signal of the directory edit.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#IconsPage.on_iconDirectoryList_currentRowChanged">on_iconDirectoryList_currentRowChanged</a></td> |
|
82 <td>Private slot to handle the currentRowChanged signal of the icons directory list.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#IconsPage.on_showIconsButton_clicked">on_showIconsButton_clicked</a></td> |
|
85 <td>Private slot to display a preview of an icons directory.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#IconsPage.on_upButton_clicked">on_upButton_clicked</a></td> |
|
88 <td>Private slot called to move the selected item up in the list.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#IconsPage.save">save</a></td> |
|
91 <td>Public slot to save the Icons configuration.</td> |
|
92 </tr> |
|
93 </table> |
|
94 <h3>Static Methods</h3> |
|
95 <table> |
|
96 <tr><td>None</td></tr> |
|
97 </table> |
|
98 <a NAME="IconsPage.__init__" ID="IconsPage.__init__"></a> |
|
99 <h4>IconsPage (Constructor)</h4> |
|
100 <b>IconsPage</b>(<i></i>) |
|
101 <p> |
|
102 Constructor |
|
103 </p><a NAME="IconsPage.on_addIconDirectoryButton_clicked" ID="IconsPage.on_addIconDirectoryButton_clicked"></a> |
|
104 <h4>IconsPage.on_addIconDirectoryButton_clicked</h4> |
|
105 <b>on_addIconDirectoryButton_clicked</b>(<i></i>) |
|
106 <p> |
|
107 Private slot to add the icon directory displayed to the listbox. |
|
108 </p><a NAME="IconsPage.on_deleteIconDirectoryButton_clicked" ID="IconsPage.on_deleteIconDirectoryButton_clicked"></a> |
|
109 <h4>IconsPage.on_deleteIconDirectoryButton_clicked</h4> |
|
110 <b>on_deleteIconDirectoryButton_clicked</b>(<i></i>) |
|
111 <p> |
|
112 Private slot to delete the currently selected directory of the listbox. |
|
113 </p><a NAME="IconsPage.on_downButton_clicked" ID="IconsPage.on_downButton_clicked"></a> |
|
114 <h4>IconsPage.on_downButton_clicked</h4> |
|
115 <b>on_downButton_clicked</b>(<i></i>) |
|
116 <p> |
|
117 Private slot called to move the selected item down in the list. |
|
118 </p><a NAME="IconsPage.on_iconDirectoryButton_clicked" ID="IconsPage.on_iconDirectoryButton_clicked"></a> |
|
119 <h4>IconsPage.on_iconDirectoryButton_clicked</h4> |
|
120 <b>on_iconDirectoryButton_clicked</b>(<i></i>) |
|
121 <p> |
|
122 Private slot to select an icon directory. |
|
123 </p><a NAME="IconsPage.on_iconDirectoryEdit_textChanged" ID="IconsPage.on_iconDirectoryEdit_textChanged"></a> |
|
124 <h4>IconsPage.on_iconDirectoryEdit_textChanged</h4> |
|
125 <b>on_iconDirectoryEdit_textChanged</b>(<i>txt</i>) |
|
126 <p> |
|
127 Private slot to handle the textChanged signal of the directory edit. |
|
128 </p><dl> |
|
129 <dt><i>txt</i></dt> |
|
130 <dd> |
|
131 the text of the directory edit (string) |
|
132 </dd> |
|
133 </dl><a NAME="IconsPage.on_iconDirectoryList_currentRowChanged" ID="IconsPage.on_iconDirectoryList_currentRowChanged"></a> |
|
134 <h4>IconsPage.on_iconDirectoryList_currentRowChanged</h4> |
|
135 <b>on_iconDirectoryList_currentRowChanged</b>(<i>row</i>) |
|
136 <p> |
|
137 Private slot to handle the currentRowChanged signal of the icons |
|
138 directory list. |
|
139 </p><dl> |
|
140 <dt><i>row</i></dt> |
|
141 <dd> |
|
142 the current row (integer) |
|
143 </dd> |
|
144 </dl><a NAME="IconsPage.on_showIconsButton_clicked" ID="IconsPage.on_showIconsButton_clicked"></a> |
|
145 <h4>IconsPage.on_showIconsButton_clicked</h4> |
|
146 <b>on_showIconsButton_clicked</b>(<i></i>) |
|
147 <p> |
|
148 Private slot to display a preview of an icons directory. |
|
149 </p><a NAME="IconsPage.on_upButton_clicked" ID="IconsPage.on_upButton_clicked"></a> |
|
150 <h4>IconsPage.on_upButton_clicked</h4> |
|
151 <b>on_upButton_clicked</b>(<i></i>) |
|
152 <p> |
|
153 Private slot called to move the selected item up in the list. |
|
154 </p><a NAME="IconsPage.save" ID="IconsPage.save"></a> |
|
155 <h4>IconsPage.save</h4> |
|
156 <b>save</b>(<i></i>) |
|
157 <p> |
|
158 Public slot to save the Icons configuration. |
|
159 </p> |
|
160 <div align="right"><a href="#top">Up</a></div> |
|
161 <hr /><hr /> |
|
162 <a NAME="create" ID="create"></a> |
|
163 <h2>create</h2> |
|
164 <b>create</b>(<i>dlg</i>) |
|
165 <p> |
|
166 Module function to create the configuration page. |
|
167 </p><dl> |
|
168 <dt><i>dlg</i></dt> |
|
169 <dd> |
|
170 reference to the configuration dialog |
|
171 </dd> |
|
172 </dl><dl> |
|
173 <dt>Returns:</dt> |
|
174 <dd> |
|
175 reference to the instantiated page (ConfigurationPageBase) |
|
176 </dd> |
|
177 </dl> |
|
178 <div align="right"><a href="#top">Up</a></div> |
|
179 <hr /> |
|
180 </body></html> |