|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Preferences.ConfigurationPages.InterfacePage</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Preferences.ConfigurationPages.InterfacePage</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the Interface configuration page. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#InterfacePage">InterfacePage</a></td> |
|
25 <td>Class implementing the Interface configuration page.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 |
|
32 <tr> |
|
33 <td><a href="#create">create</a></td> |
|
34 <td>Module function to create the configuration page.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <hr /> |
|
38 <hr /> |
|
39 <a NAME="InterfacePage" ID="InterfacePage"></a> |
|
40 <h2>InterfacePage</h2> |
|
41 |
|
42 <p> |
|
43 Class implementing the Interface configuration page. |
|
44 </p> |
|
45 <h3>Derived from</h3> |
|
46 ConfigurationPageBase, Ui_InterfacePage |
|
47 <h3>Class Attributes</h3> |
|
48 |
|
49 <table> |
|
50 <tr><td>None</td></tr> |
|
51 </table> |
|
52 <h3>Class Methods</h3> |
|
53 |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 |
|
59 <table> |
|
60 |
|
61 <tr> |
|
62 <td><a href="#InterfacePage.__init__">InterfacePage</a></td> |
|
63 <td>Constructor</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#InterfacePage.__populateLanguageCombo">__populateLanguageCombo</a></td> |
|
67 <td>Private method to initialize the language combo box.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#InterfacePage.__populateStyleCombo">__populateStyleCombo</a></td> |
|
71 <td>Private method to populate the style combo box.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#InterfacePage.__setIconBarSamples">__setIconBarSamples</a></td> |
|
75 <td>Private slot to set the colors of the icon bar color samples.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#InterfacePage.on_combinedLeftRightSidebarCheckBox_toggled">on_combinedLeftRightSidebarCheckBox_toggled</a></td> |
|
79 <td>Private slot handling a change of the combined sidebars checkbox.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#InterfacePage.on_iconBarButton_clicked">on_iconBarButton_clicked</a></td> |
|
83 <td>Private slot to select the icon bar color.</td> |
|
84 </tr> |
|
85 <tr> |
|
86 <td><a href="#InterfacePage.on_resetLayoutButton_clicked">on_resetLayoutButton_clicked</a></td> |
|
87 <td>Private method to reset layout to factory defaults.</td> |
|
88 </tr> |
|
89 <tr> |
|
90 <td><a href="#InterfacePage.save">save</a></td> |
|
91 <td>Public slot to save the Interface configuration.</td> |
|
92 </tr> |
|
93 </table> |
|
94 <h3>Static Methods</h3> |
|
95 |
|
96 <table> |
|
97 <tr><td>None</td></tr> |
|
98 </table> |
|
99 |
|
100 <a NAME="InterfacePage.__init__" ID="InterfacePage.__init__"></a> |
|
101 <h4>InterfacePage (Constructor)</h4> |
|
102 <b>InterfacePage</b>(<i></i>) |
|
103 |
|
104 <p> |
|
105 Constructor |
|
106 </p> |
|
107 <a NAME="InterfacePage.__populateLanguageCombo" ID="InterfacePage.__populateLanguageCombo"></a> |
|
108 <h4>InterfacePage.__populateLanguageCombo</h4> |
|
109 <b>__populateLanguageCombo</b>(<i></i>) |
|
110 |
|
111 <p> |
|
112 Private method to initialize the language combo box. |
|
113 </p> |
|
114 <a NAME="InterfacePage.__populateStyleCombo" ID="InterfacePage.__populateStyleCombo"></a> |
|
115 <h4>InterfacePage.__populateStyleCombo</h4> |
|
116 <b>__populateStyleCombo</b>(<i></i>) |
|
117 |
|
118 <p> |
|
119 Private method to populate the style combo box. |
|
120 </p> |
|
121 <a NAME="InterfacePage.__setIconBarSamples" ID="InterfacePage.__setIconBarSamples"></a> |
|
122 <h4>InterfacePage.__setIconBarSamples</h4> |
|
123 <b>__setIconBarSamples</b>(<i></i>) |
|
124 |
|
125 <p> |
|
126 Private slot to set the colors of the icon bar color samples. |
|
127 </p> |
|
128 <a NAME="InterfacePage.on_combinedLeftRightSidebarCheckBox_toggled" ID="InterfacePage.on_combinedLeftRightSidebarCheckBox_toggled"></a> |
|
129 <h4>InterfacePage.on_combinedLeftRightSidebarCheckBox_toggled</h4> |
|
130 <b>on_combinedLeftRightSidebarCheckBox_toggled</b>(<i>checked</i>) |
|
131 |
|
132 <p> |
|
133 Private slot handling a change of the combined sidebars checkbox. |
|
134 </p> |
|
135 <dl> |
|
136 |
|
137 <dt><i>checked</i> (bool)</dt> |
|
138 <dd> |
|
139 state of the checkbox |
|
140 </dd> |
|
141 </dl> |
|
142 <a NAME="InterfacePage.on_iconBarButton_clicked" ID="InterfacePage.on_iconBarButton_clicked"></a> |
|
143 <h4>InterfacePage.on_iconBarButton_clicked</h4> |
|
144 <b>on_iconBarButton_clicked</b>(<i></i>) |
|
145 |
|
146 <p> |
|
147 Private slot to select the icon bar color. |
|
148 </p> |
|
149 <a NAME="InterfacePage.on_resetLayoutButton_clicked" ID="InterfacePage.on_resetLayoutButton_clicked"></a> |
|
150 <h4>InterfacePage.on_resetLayoutButton_clicked</h4> |
|
151 <b>on_resetLayoutButton_clicked</b>(<i></i>) |
|
152 |
|
153 <p> |
|
154 Private method to reset layout to factory defaults. |
|
155 </p> |
|
156 <a NAME="InterfacePage.save" ID="InterfacePage.save"></a> |
|
157 <h4>InterfacePage.save</h4> |
|
158 <b>save</b>(<i></i>) |
|
159 |
|
160 <p> |
|
161 Public slot to save the Interface configuration. |
|
162 </p> |
|
163 <div align="right"><a href="#top">Up</a></div> |
|
164 <hr /> |
|
165 <hr /> |
|
166 <a NAME="create" ID="create"></a> |
|
167 <h2>create</h2> |
|
168 <b>create</b>(<i>dlg</i>) |
|
169 |
|
170 <p> |
|
171 Module function to create the configuration page. |
|
172 </p> |
|
173 <dl> |
|
174 |
|
175 <dt><i>dlg</i></dt> |
|
176 <dd> |
|
177 reference to the configuration dialog |
|
178 </dd> |
|
179 </dl> |
|
180 <dl> |
|
181 <dt>Return:</dt> |
|
182 <dd> |
|
183 reference to the instantiated page (ConfigurationPageBase) |
|
184 </dd> |
|
185 </dl> |
|
186 <div align="right"><a href="#top">Up</a></div> |
|
187 <hr /> |
|
188 </body></html> |