|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Preferences.ConfigurationPages.QtPage</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.QtPage</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the Qt 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="#QtPage">QtPage</a></td> |
|
25 <td>Class implementing the Qt 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="QtPage" ID="QtPage"></a> |
|
40 <h2>QtPage</h2> |
|
41 |
|
42 <p> |
|
43 Class implementing the Qt configuration page. |
|
44 </p> |
|
45 <h3>Derived from</h3> |
|
46 ConfigurationPageBase, Ui_QtPage |
|
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="#QtPage.__init__">QtPage</a></td> |
|
63 <td>Constructor</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#QtPage.__populateAndSetVenvComboBox">__populateAndSetVenvComboBox</a></td> |
|
67 <td>Private method to populate and set the virtual environment combo boxes.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#QtPage.__populateAndSetVenvComboBoxes">__populateAndSetVenvComboBoxes</a></td> |
|
71 <td>Private method to populate the virtual environment combo boxes.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#QtPage.__showVirtualEnvManager">__showVirtualEnvManager</a></td> |
|
75 <td>Private method to show the virtual environment manager dialog.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#QtPage.__updateQtSample">__updateQtSample</a></td> |
|
79 <td>Private slot to update the Qt tools sample label.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#QtPage.on_qtPostfixEdit_textChanged">on_qtPostfixEdit_textChanged</a></td> |
|
83 <td>Private slot to handle a change in the entered Qt directory.</td> |
|
84 </tr> |
|
85 <tr> |
|
86 <td><a href="#QtPage.on_qtPrefixEdit_textChanged">on_qtPrefixEdit_textChanged</a></td> |
|
87 <td>Private slot to handle a change in the entered Qt directory.</td> |
|
88 </tr> |
|
89 <tr> |
|
90 <td><a href="#QtPage.save">save</a></td> |
|
91 <td>Public slot to save the Qt 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="QtPage.__init__" ID="QtPage.__init__"></a> |
|
101 <h4>QtPage (Constructor)</h4> |
|
102 <b>QtPage</b>(<i></i>) |
|
103 |
|
104 <p> |
|
105 Constructor |
|
106 </p> |
|
107 <a NAME="QtPage.__populateAndSetVenvComboBox" ID="QtPage.__populateAndSetVenvComboBox"></a> |
|
108 <h4>QtPage.__populateAndSetVenvComboBox</h4> |
|
109 <b>__populateAndSetVenvComboBox</b>(<i>comboBox, envKey, initial</i>) |
|
110 |
|
111 <p> |
|
112 Private method to populate and set the virtual environment combo boxes. |
|
113 </p> |
|
114 <dl> |
|
115 |
|
116 <dt><i>comboBox</i> (QComboBox)</dt> |
|
117 <dd> |
|
118 reference to the combo box to be populated |
|
119 </dd> |
|
120 <dt><i>envKey</i> (str)</dt> |
|
121 <dd> |
|
122 preferences key for the environment |
|
123 </dd> |
|
124 <dt><i>initial</i> (bool)</dt> |
|
125 <dd> |
|
126 flag indicating an initial population |
|
127 </dd> |
|
128 </dl> |
|
129 <a NAME="QtPage.__populateAndSetVenvComboBoxes" ID="QtPage.__populateAndSetVenvComboBoxes"></a> |
|
130 <h4>QtPage.__populateAndSetVenvComboBoxes</h4> |
|
131 <b>__populateAndSetVenvComboBoxes</b>(<i>initial</i>) |
|
132 |
|
133 <p> |
|
134 Private method to populate the virtual environment combo boxes. |
|
135 </p> |
|
136 <dl> |
|
137 |
|
138 <dt><i>initial</i> (bool)</dt> |
|
139 <dd> |
|
140 flag indicating an initial population |
|
141 </dd> |
|
142 </dl> |
|
143 <a NAME="QtPage.__showVirtualEnvManager" ID="QtPage.__showVirtualEnvManager"></a> |
|
144 <h4>QtPage.__showVirtualEnvManager</h4> |
|
145 <b>__showVirtualEnvManager</b>(<i></i>) |
|
146 |
|
147 <p> |
|
148 Private method to show the virtual environment manager dialog. |
|
149 </p> |
|
150 <a NAME="QtPage.__updateQtSample" ID="QtPage.__updateQtSample"></a> |
|
151 <h4>QtPage.__updateQtSample</h4> |
|
152 <b>__updateQtSample</b>(<i></i>) |
|
153 |
|
154 <p> |
|
155 Private slot to update the Qt tools sample label. |
|
156 </p> |
|
157 <a NAME="QtPage.on_qtPostfixEdit_textChanged" ID="QtPage.on_qtPostfixEdit_textChanged"></a> |
|
158 <h4>QtPage.on_qtPostfixEdit_textChanged</h4> |
|
159 <b>on_qtPostfixEdit_textChanged</b>(<i>txt</i>) |
|
160 |
|
161 <p> |
|
162 Private slot to handle a change in the entered Qt directory. |
|
163 </p> |
|
164 <dl> |
|
165 |
|
166 <dt><i>txt</i></dt> |
|
167 <dd> |
|
168 the entered string (string) |
|
169 </dd> |
|
170 </dl> |
|
171 <a NAME="QtPage.on_qtPrefixEdit_textChanged" ID="QtPage.on_qtPrefixEdit_textChanged"></a> |
|
172 <h4>QtPage.on_qtPrefixEdit_textChanged</h4> |
|
173 <b>on_qtPrefixEdit_textChanged</b>(<i>txt</i>) |
|
174 |
|
175 <p> |
|
176 Private slot to handle a change in the entered Qt directory. |
|
177 </p> |
|
178 <dl> |
|
179 |
|
180 <dt><i>txt</i></dt> |
|
181 <dd> |
|
182 the entered string (string) |
|
183 </dd> |
|
184 </dl> |
|
185 <a NAME="QtPage.save" ID="QtPage.save"></a> |
|
186 <h4>QtPage.save</h4> |
|
187 <b>save</b>(<i></i>) |
|
188 |
|
189 <p> |
|
190 Public slot to save the Qt configuration. |
|
191 </p> |
|
192 <div align="right"><a href="#top">Up</a></div> |
|
193 <hr /> |
|
194 <hr /> |
|
195 <a NAME="create" ID="create"></a> |
|
196 <h2>create</h2> |
|
197 <b>create</b>(<i>dlg</i>) |
|
198 |
|
199 <p> |
|
200 Module function to create the configuration page. |
|
201 </p> |
|
202 <dl> |
|
203 |
|
204 <dt><i>dlg</i></dt> |
|
205 <dd> |
|
206 reference to the configuration dialog |
|
207 </dd> |
|
208 </dl> |
|
209 <dl> |
|
210 <dt>Return:</dt> |
|
211 <dd> |
|
212 reference to the instantiated page (ConfigurationPageBase) |
|
213 </dd> |
|
214 </dl> |
|
215 <div align="right"><a href="#top">Up</a></div> |
|
216 <hr /> |
|
217 </body></html> |