|
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_iconDirectoryList_currentRowChanged">on_iconDirectoryList_currentRowChanged</a></td> |
|
76 <td>Private slot to handle the currentRowChanged signal of the icons directory list.</td> |
|
77 </tr><tr> |
|
78 <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> |
|
80 </tr><tr> |
|
81 <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> |
|
83 </tr><tr> |
|
84 <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> |
|
86 </tr><tr> |
|
87 <td><a href="#IconsPage.save">save</a></td> |
|
88 <td>Public slot to save the Icons configuration.</td> |
|
89 </tr> |
|
90 </table> |
|
91 <h3>Static Methods</h3> |
|
92 <table> |
|
93 <tr><td>None</td></tr> |
|
94 </table> |
|
95 <a NAME="IconsPage.__init__" ID="IconsPage.__init__"></a> |
|
96 <h4>IconsPage (Constructor)</h4> |
|
97 <b>IconsPage</b>(<i></i>) |
|
98 <p> |
|
99 Constructor |
|
100 </p><a NAME="IconsPage.on_addIconDirectoryButton_clicked" ID="IconsPage.on_addIconDirectoryButton_clicked"></a> |
|
101 <h4>IconsPage.on_addIconDirectoryButton_clicked</h4> |
|
102 <b>on_addIconDirectoryButton_clicked</b>(<i></i>) |
|
103 <p> |
|
104 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> |
|
106 <h4>IconsPage.on_deleteIconDirectoryButton_clicked</h4> |
|
107 <b>on_deleteIconDirectoryButton_clicked</b>(<i></i>) |
|
108 <p> |
|
109 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> |
|
111 <h4>IconsPage.on_downButton_clicked</h4> |
|
112 <b>on_downButton_clicked</b>(<i></i>) |
|
113 <p> |
|
114 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> |
|
116 <h4>IconsPage.on_iconDirectoryList_currentRowChanged</h4> |
|
117 <b>on_iconDirectoryList_currentRowChanged</b>(<i>row</i>) |
|
118 <p> |
|
119 Private slot to handle the currentRowChanged signal of the icons |
|
120 directory list. |
|
121 </p><dl> |
|
122 <dt><i>row</i></dt> |
|
123 <dd> |
|
124 the current row (integer) |
|
125 </dd> |
|
126 </dl><a NAME="IconsPage.on_iconDirectoryPicker_textChanged" ID="IconsPage.on_iconDirectoryPicker_textChanged"></a> |
|
127 <h4>IconsPage.on_iconDirectoryPicker_textChanged</h4> |
|
128 <b>on_iconDirectoryPicker_textChanged</b>(<i>txt</i>) |
|
129 <p> |
|
130 Private slot to handle the textChanged signal of the directory picker. |
|
131 </p><dl> |
|
132 <dt><i>txt</i></dt> |
|
133 <dd> |
|
134 the text of the directory picker (string) |
|
135 </dd> |
|
136 </dl><a NAME="IconsPage.on_showIconsButton_clicked" ID="IconsPage.on_showIconsButton_clicked"></a> |
|
137 <h4>IconsPage.on_showIconsButton_clicked</h4> |
|
138 <b>on_showIconsButton_clicked</b>(<i></i>) |
|
139 <p> |
|
140 Private slot to display a preview of an icons directory. |
|
141 </p><a NAME="IconsPage.on_upButton_clicked" ID="IconsPage.on_upButton_clicked"></a> |
|
142 <h4>IconsPage.on_upButton_clicked</h4> |
|
143 <b>on_upButton_clicked</b>(<i></i>) |
|
144 <p> |
|
145 Private slot called to move the selected item up in the list. |
|
146 </p><a NAME="IconsPage.save" ID="IconsPage.save"></a> |
|
147 <h4>IconsPage.save</h4> |
|
148 <b>save</b>(<i></i>) |
|
149 <p> |
|
150 Public slot to save the Icons configuration. |
|
151 </p> |
|
152 <div align="right"><a href="#top">Up</a></div> |
|
153 <hr /><hr /> |
|
154 <a NAME="create" ID="create"></a> |
|
155 <h2>create</h2> |
|
156 <b>create</b>(<i>dlg</i>) |
|
157 <p> |
|
158 Module function to create the configuration page. |
|
159 </p><dl> |
|
160 <dt><i>dlg</i></dt> |
|
161 <dd> |
|
162 reference to the configuration dialog |
|
163 </dd> |
|
164 </dl><dl> |
|
165 <dt>Returns:</dt> |
|
166 <dd> |
|
167 reference to the instantiated page (ConfigurationPageBase) |
|
168 </dd> |
|
169 </dl> |
|
170 <div align="right"><a href="#top">Up</a></div> |
|
171 <hr /> |
|
172 </body></html> |