|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Preferences.ConfigurationPages.QtPage</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> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Preferences.ConfigurationPages.QtPage</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing the Qt configuration page. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#QtPage">QtPage</a></td> |
|
39 <td>Class implementing the Qt configuration page.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 |
|
46 <tr> |
|
47 <td><a href="#create">create</a></td> |
|
48 <td>Module function to create the configuration page.</td> |
|
49 </tr> |
|
50 </table> |
|
51 <hr /> |
|
52 <hr /> |
|
53 <a NAME="QtPage" ID="QtPage"></a> |
|
54 <h2>QtPage</h2> |
|
55 |
|
56 <p> |
|
57 Class implementing the Qt configuration page. |
|
58 </p> |
|
59 <h3>Derived from</h3> |
|
60 ConfigurationPageBase, Ui_QtPage |
|
61 <h3>Class Attributes</h3> |
|
62 |
|
63 <table> |
|
64 <tr><td>None</td></tr> |
|
65 </table> |
|
66 <h3>Class Methods</h3> |
|
67 |
|
68 <table> |
|
69 <tr><td>None</td></tr> |
|
70 </table> |
|
71 <h3>Methods</h3> |
|
72 |
|
73 <table> |
|
74 |
|
75 <tr> |
|
76 <td><a href="#QtPage.__init__">QtPage</a></td> |
|
77 <td>Constructor</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#QtPage.__populateAndSetVenvComboBox">__populateAndSetVenvComboBox</a></td> |
|
81 <td>Private method to populate and set the virtual environment combo boxes.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#QtPage.__populateAndSetVenvComboBoxes">__populateAndSetVenvComboBoxes</a></td> |
|
85 <td>Private method to populate the virtual environment combo boxes.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#QtPage.__showVirtualEnvManager">__showVirtualEnvManager</a></td> |
|
89 <td>Private method to show the virtual environment manager dialog.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#QtPage.__updateQtSample">__updateQtSample</a></td> |
|
93 <td>Private slot to update the Qt tools sample label.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#QtPage.on_pyqt5VenvDlgButton_clicked">on_pyqt5VenvDlgButton_clicked</a></td> |
|
97 <td>Private slot to show the virtual environment manager dialog.</td> |
|
98 </tr> |
|
99 <tr> |
|
100 <td><a href="#QtPage.on_pyqt6VenvDlgButton_clicked">on_pyqt6VenvDlgButton_clicked</a></td> |
|
101 <td>Private slot to show the virtual environment manager dialog.</td> |
|
102 </tr> |
|
103 <tr> |
|
104 <td><a href="#QtPage.on_pyside2VenvDlgButton_clicked">on_pyside2VenvDlgButton_clicked</a></td> |
|
105 <td>Private slot to show the virtual environment manager dialog.</td> |
|
106 </tr> |
|
107 <tr> |
|
108 <td><a href="#QtPage.on_pyside6VenvDlgButton_clicked">on_pyside6VenvDlgButton_clicked</a></td> |
|
109 <td>Private slot to show the virtual environment manager dialog.</td> |
|
110 </tr> |
|
111 <tr> |
|
112 <td><a href="#QtPage.on_qtPostfixEdit_textChanged">on_qtPostfixEdit_textChanged</a></td> |
|
113 <td>Private slot to handle a change in the entered Qt directory.</td> |
|
114 </tr> |
|
115 <tr> |
|
116 <td><a href="#QtPage.on_qtPrefixEdit_textChanged">on_qtPrefixEdit_textChanged</a></td> |
|
117 <td>Private slot to handle a change in the entered Qt directory.</td> |
|
118 </tr> |
|
119 <tr> |
|
120 <td><a href="#QtPage.save">save</a></td> |
|
121 <td>Public slot to save the Qt configuration.</td> |
|
122 </tr> |
|
123 </table> |
|
124 <h3>Static Methods</h3> |
|
125 |
|
126 <table> |
|
127 <tr><td>None</td></tr> |
|
128 </table> |
|
129 |
|
130 <a NAME="QtPage.__init__" ID="QtPage.__init__"></a> |
|
131 <h4>QtPage (Constructor)</h4> |
|
132 <b>QtPage</b>(<i></i>) |
|
133 |
|
134 <p> |
|
135 Constructor |
|
136 </p> |
|
137 <a NAME="QtPage.__populateAndSetVenvComboBox" ID="QtPage.__populateAndSetVenvComboBox"></a> |
|
138 <h4>QtPage.__populateAndSetVenvComboBox</h4> |
|
139 <b>__populateAndSetVenvComboBox</b>(<i>comboBox, envKey, initial</i>) |
|
140 |
|
141 <p> |
|
142 Private method to populate and set the virtual environment combo boxes. |
|
143 </p> |
|
144 <dl> |
|
145 |
|
146 <dt><i>comboBox</i> (QComboBox)</dt> |
|
147 <dd> |
|
148 reference to the combo box to be populated |
|
149 </dd> |
|
150 <dt><i>envKey</i> (str)</dt> |
|
151 <dd> |
|
152 preferences key for the environment |
|
153 </dd> |
|
154 <dt><i>initial</i> (bool)</dt> |
|
155 <dd> |
|
156 flag indicating an initial population |
|
157 </dd> |
|
158 </dl> |
|
159 <a NAME="QtPage.__populateAndSetVenvComboBoxes" ID="QtPage.__populateAndSetVenvComboBoxes"></a> |
|
160 <h4>QtPage.__populateAndSetVenvComboBoxes</h4> |
|
161 <b>__populateAndSetVenvComboBoxes</b>(<i>initial</i>) |
|
162 |
|
163 <p> |
|
164 Private method to populate the virtual environment combo boxes. |
|
165 </p> |
|
166 <dl> |
|
167 |
|
168 <dt><i>initial</i> (bool)</dt> |
|
169 <dd> |
|
170 flag indicating an initial population |
|
171 </dd> |
|
172 </dl> |
|
173 <a NAME="QtPage.__showVirtualEnvManager" ID="QtPage.__showVirtualEnvManager"></a> |
|
174 <h4>QtPage.__showVirtualEnvManager</h4> |
|
175 <b>__showVirtualEnvManager</b>(<i></i>) |
|
176 |
|
177 <p> |
|
178 Private method to show the virtual environment manager dialog. |
|
179 </p> |
|
180 <a NAME="QtPage.__updateQtSample" ID="QtPage.__updateQtSample"></a> |
|
181 <h4>QtPage.__updateQtSample</h4> |
|
182 <b>__updateQtSample</b>(<i></i>) |
|
183 |
|
184 <p> |
|
185 Private slot to update the Qt tools sample label. |
|
186 </p> |
|
187 <a NAME="QtPage.on_pyqt5VenvDlgButton_clicked" ID="QtPage.on_pyqt5VenvDlgButton_clicked"></a> |
|
188 <h4>QtPage.on_pyqt5VenvDlgButton_clicked</h4> |
|
189 <b>on_pyqt5VenvDlgButton_clicked</b>(<i></i>) |
|
190 |
|
191 <p> |
|
192 Private slot to show the virtual environment manager dialog. |
|
193 </p> |
|
194 <a NAME="QtPage.on_pyqt6VenvDlgButton_clicked" ID="QtPage.on_pyqt6VenvDlgButton_clicked"></a> |
|
195 <h4>QtPage.on_pyqt6VenvDlgButton_clicked</h4> |
|
196 <b>on_pyqt6VenvDlgButton_clicked</b>(<i></i>) |
|
197 |
|
198 <p> |
|
199 Private slot to show the virtual environment manager dialog. |
|
200 </p> |
|
201 <a NAME="QtPage.on_pyside2VenvDlgButton_clicked" ID="QtPage.on_pyside2VenvDlgButton_clicked"></a> |
|
202 <h4>QtPage.on_pyside2VenvDlgButton_clicked</h4> |
|
203 <b>on_pyside2VenvDlgButton_clicked</b>(<i></i>) |
|
204 |
|
205 <p> |
|
206 Private slot to show the virtual environment manager dialog. |
|
207 </p> |
|
208 <a NAME="QtPage.on_pyside6VenvDlgButton_clicked" ID="QtPage.on_pyside6VenvDlgButton_clicked"></a> |
|
209 <h4>QtPage.on_pyside6VenvDlgButton_clicked</h4> |
|
210 <b>on_pyside6VenvDlgButton_clicked</b>(<i></i>) |
|
211 |
|
212 <p> |
|
213 Private slot to show the virtual environment manager dialog. |
|
214 </p> |
|
215 <a NAME="QtPage.on_qtPostfixEdit_textChanged" ID="QtPage.on_qtPostfixEdit_textChanged"></a> |
|
216 <h4>QtPage.on_qtPostfixEdit_textChanged</h4> |
|
217 <b>on_qtPostfixEdit_textChanged</b>(<i>txt</i>) |
|
218 |
|
219 <p> |
|
220 Private slot to handle a change in the entered Qt directory. |
|
221 </p> |
|
222 <dl> |
|
223 |
|
224 <dt><i>txt</i></dt> |
|
225 <dd> |
|
226 the entered string (string) |
|
227 </dd> |
|
228 </dl> |
|
229 <a NAME="QtPage.on_qtPrefixEdit_textChanged" ID="QtPage.on_qtPrefixEdit_textChanged"></a> |
|
230 <h4>QtPage.on_qtPrefixEdit_textChanged</h4> |
|
231 <b>on_qtPrefixEdit_textChanged</b>(<i>txt</i>) |
|
232 |
|
233 <p> |
|
234 Private slot to handle a change in the entered Qt directory. |
|
235 </p> |
|
236 <dl> |
|
237 |
|
238 <dt><i>txt</i></dt> |
|
239 <dd> |
|
240 the entered string (string) |
|
241 </dd> |
|
242 </dl> |
|
243 <a NAME="QtPage.save" ID="QtPage.save"></a> |
|
244 <h4>QtPage.save</h4> |
|
245 <b>save</b>(<i></i>) |
|
246 |
|
247 <p> |
|
248 Public slot to save the Qt configuration. |
|
249 </p> |
|
250 <div align="right"><a href="#top">Up</a></div> |
|
251 <hr /> |
|
252 <hr /> |
|
253 <a NAME="create" ID="create"></a> |
|
254 <h2>create</h2> |
|
255 <b>create</b>(<i>dlg</i>) |
|
256 |
|
257 <p> |
|
258 Module function to create the configuration page. |
|
259 </p> |
|
260 <dl> |
|
261 |
|
262 <dt><i>dlg</i></dt> |
|
263 <dd> |
|
264 reference to the configuration dialog |
|
265 </dd> |
|
266 </dl> |
|
267 <dl> |
|
268 <dt>Return:</dt> |
|
269 <dd> |
|
270 reference to the instantiated page (ConfigurationPageBase) |
|
271 </dd> |
|
272 </dl> |
|
273 <div align="right"><a href="#top">Up</a></div> |
|
274 <hr /> |
|
275 </body></html> |