|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Preferences.ConfigurationPages.IconsPage</title> |
|
6 <style> |
|
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' |
|
8 </style> |
|
9 </head> |
|
10 <body><a NAME="top" ID="top"></a> |
|
11 <h1>eric5.Preferences.ConfigurationPages.IconsPage</h1> |
|
12 <p> |
|
13 Module implementing the Icons configuration page. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#IconsPage">IconsPage</a></td> |
|
23 <td>Class implementing the Icons configuration page.</td> |
|
24 </tr> |
|
25 </table> |
|
26 <h3>Functions</h3> |
|
27 <table> |
|
28 <tr> |
|
29 <td><a href="#create">create</a></td> |
|
30 <td>Module function to create the configuration page.</td> |
|
31 </tr> |
|
32 </table> |
|
33 <hr /><hr /> |
|
34 <a NAME="IconsPage" ID="IconsPage"></a> |
|
35 <h2>IconsPage</h2> |
|
36 <p> |
|
37 Class implementing the Icons configuration page. |
|
38 </p> |
|
39 <h3>Derived from</h3> |
|
40 ConfigurationPageBase, Ui_IconsPage |
|
41 <h3>Class Attributes</h3> |
|
42 <table> |
|
43 <tr><td>None</td></tr> |
|
44 </table> |
|
45 <h3>Methods</h3> |
|
46 <table> |
|
47 <tr> |
|
48 <td><a href="#IconsPage.__init__">IconsPage</a></td> |
|
49 <td>Constructor</td> |
|
50 </tr><tr> |
|
51 <td><a href="#IconsPage.on_addIconDirectoryButton_clicked">on_addIconDirectoryButton_clicked</a></td> |
|
52 <td>Private slot to add the icon directory displayed to the listbox.</td> |
|
53 </tr><tr> |
|
54 <td><a href="#IconsPage.on_deleteIconDirectoryButton_clicked">on_deleteIconDirectoryButton_clicked</a></td> |
|
55 <td>Private slot to delete the currently selected directory of the listbox.</td> |
|
56 </tr><tr> |
|
57 <td><a href="#IconsPage.on_downButton_clicked">on_downButton_clicked</a></td> |
|
58 <td>Private slot called to move the selected item down in the list.</td> |
|
59 </tr><tr> |
|
60 <td><a href="#IconsPage.on_iconDirectoryButton_clicked">on_iconDirectoryButton_clicked</a></td> |
|
61 <td>Private slot to select an icon directory.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#IconsPage.on_iconDirectoryEdit_textChanged">on_iconDirectoryEdit_textChanged</a></td> |
|
64 <td>Private slot to handle the textChanged signal of the directory edit.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#IconsPage.on_iconDirectoryList_currentRowChanged">on_iconDirectoryList_currentRowChanged</a></td> |
|
67 <td>Private slot to handle the currentRowChanged signal of the icons directory list.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#IconsPage.on_showIconsButton_clicked">on_showIconsButton_clicked</a></td> |
|
70 <td>Private slot to display a preview of an icons directory.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#IconsPage.on_upButton_clicked">on_upButton_clicked</a></td> |
|
73 <td>Private slot called to move the selected item up in the list.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#IconsPage.save">save</a></td> |
|
76 <td>Public slot to save the Icons configuration.</td> |
|
77 </tr> |
|
78 </table> |
|
79 <a NAME="IconsPage.__init__" ID="IconsPage.__init__"></a> |
|
80 <h4>IconsPage (Constructor)</h4> |
|
81 <b>IconsPage</b>(<i></i>) |
|
82 <p> |
|
83 Constructor |
|
84 </p><a NAME="IconsPage.on_addIconDirectoryButton_clicked" ID="IconsPage.on_addIconDirectoryButton_clicked"></a> |
|
85 <h4>IconsPage.on_addIconDirectoryButton_clicked</h4> |
|
86 <b>on_addIconDirectoryButton_clicked</b>(<i></i>) |
|
87 <p> |
|
88 Private slot to add the icon directory displayed to the listbox. |
|
89 </p><a NAME="IconsPage.on_deleteIconDirectoryButton_clicked" ID="IconsPage.on_deleteIconDirectoryButton_clicked"></a> |
|
90 <h4>IconsPage.on_deleteIconDirectoryButton_clicked</h4> |
|
91 <b>on_deleteIconDirectoryButton_clicked</b>(<i></i>) |
|
92 <p> |
|
93 Private slot to delete the currently selected directory of the listbox. |
|
94 </p><a NAME="IconsPage.on_downButton_clicked" ID="IconsPage.on_downButton_clicked"></a> |
|
95 <h4>IconsPage.on_downButton_clicked</h4> |
|
96 <b>on_downButton_clicked</b>(<i></i>) |
|
97 <p> |
|
98 Private slot called to move the selected item down in the list. |
|
99 </p><a NAME="IconsPage.on_iconDirectoryButton_clicked" ID="IconsPage.on_iconDirectoryButton_clicked"></a> |
|
100 <h4>IconsPage.on_iconDirectoryButton_clicked</h4> |
|
101 <b>on_iconDirectoryButton_clicked</b>(<i></i>) |
|
102 <p> |
|
103 Private slot to select an icon directory. |
|
104 </p><a NAME="IconsPage.on_iconDirectoryEdit_textChanged" ID="IconsPage.on_iconDirectoryEdit_textChanged"></a> |
|
105 <h4>IconsPage.on_iconDirectoryEdit_textChanged</h4> |
|
106 <b>on_iconDirectoryEdit_textChanged</b>(<i>txt</i>) |
|
107 <p> |
|
108 Private slot to handle the textChanged signal of the directory edit. |
|
109 </p><dl> |
|
110 <dt><i>txt</i></dt> |
|
111 <dd> |
|
112 the text of the directory edit (string) |
|
113 </dd> |
|
114 </dl><a NAME="IconsPage.on_iconDirectoryList_currentRowChanged" ID="IconsPage.on_iconDirectoryList_currentRowChanged"></a> |
|
115 <h4>IconsPage.on_iconDirectoryList_currentRowChanged</h4> |
|
116 <b>on_iconDirectoryList_currentRowChanged</b>(<i>row</i>) |
|
117 <p> |
|
118 Private slot to handle the currentRowChanged signal of the icons directory list. |
|
119 </p><dl> |
|
120 <dt><i>row</i></dt> |
|
121 <dd> |
|
122 the current row (integer) |
|
123 </dd> |
|
124 </dl><a NAME="IconsPage.on_showIconsButton_clicked" ID="IconsPage.on_showIconsButton_clicked"></a> |
|
125 <h4>IconsPage.on_showIconsButton_clicked</h4> |
|
126 <b>on_showIconsButton_clicked</b>(<i></i>) |
|
127 <p> |
|
128 Private slot to display a preview of an icons directory. |
|
129 </p><a NAME="IconsPage.on_upButton_clicked" ID="IconsPage.on_upButton_clicked"></a> |
|
130 <h4>IconsPage.on_upButton_clicked</h4> |
|
131 <b>on_upButton_clicked</b>(<i></i>) |
|
132 <p> |
|
133 Private slot called to move the selected item up in the list. |
|
134 </p><a NAME="IconsPage.save" ID="IconsPage.save"></a> |
|
135 <h4>IconsPage.save</h4> |
|
136 <b>save</b>(<i></i>) |
|
137 <p> |
|
138 Public slot to save the Icons configuration. |
|
139 </p> |
|
140 <div align="right"><a href="#top">Up</a></div> |
|
141 <hr /><hr /> |
|
142 <a NAME="create" ID="create"></a> |
|
143 <h2>create</h2> |
|
144 <b>create</b>(<i>dlg</i>) |
|
145 <p> |
|
146 Module function to create the configuration page. |
|
147 </p><dl> |
|
148 <dt><i>dlg</i></dt> |
|
149 <dd> |
|
150 reference to the configuration dialog |
|
151 </dd> |
|
152 </dl> |
|
153 <div align="right"><a href="#top">Up</a></div> |
|
154 <hr /> |
|
155 </body></html> |