|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Project.PropertiesDialog</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.Project.PropertiesDialog</h1> |
|
23 <p> |
|
24 Module implementing the project properties dialog. |
|
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="#PropertiesDialog">PropertiesDialog</a></td> |
|
34 <td>Class implementing the project properties dialog.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="PropertiesDialog" ID="PropertiesDialog"></a> |
|
43 <h2>PropertiesDialog</h2> |
|
44 <p> |
|
45 Class implementing the project properties dialog. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_PropertiesDialog |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#PropertiesDialog.__init__">PropertiesDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#PropertiesDialog.getPPath">getPPath</a></td> |
|
64 <td>Public method to get the project path.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#PropertiesDialog.getProjectType">getProjectType</a></td> |
|
67 <td>Public method to get the selected project type.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#PropertiesDialog.on_dirPicker_textChanged">on_dirPicker_textChanged</a></td> |
|
70 <td>Private slot to handle a change of the project directory.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#PropertiesDialog.on_languageComboBox_currentIndexChanged">on_languageComboBox_currentIndexChanged</a></td> |
|
73 <td>Private slot handling the selection of a programming language.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog">on_mainscriptPicker_aboutToShowPathPickerDialog</a></td> |
|
76 <td>Private slot to perform actions before the main script selection dialog is shown.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#PropertiesDialog.on_mainscriptPicker_pathSelected">on_mainscriptPicker_pathSelected</a></td> |
|
79 <td>Private slot to check the selected main script name.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#PropertiesDialog.on_makeButton_clicked">on_makeButton_clicked</a></td> |
|
82 <td>Private slot to display the make properties dialog.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#PropertiesDialog.on_spellPropertiesButton_clicked">on_spellPropertiesButton_clicked</a></td> |
|
85 <td>Private slot to display the spelling properties dialog.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#PropertiesDialog.on_transPropertiesButton_clicked">on_transPropertiesButton_clicked</a></td> |
|
88 <td>Private slot to display the translations properties dialog.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#PropertiesDialog.on_vcsInfoButton_clicked">on_vcsInfoButton_clicked</a></td> |
|
91 <td>Private slot to display a vcs information dialog.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#PropertiesDialog.storeData">storeData</a></td> |
|
94 <td>Public method to store the entered/modified data.</td> |
|
95 </tr> |
|
96 </table> |
|
97 <h3>Static Methods</h3> |
|
98 <table> |
|
99 <tr><td>None</td></tr> |
|
100 </table> |
|
101 <a NAME="PropertiesDialog.__init__" ID="PropertiesDialog.__init__"></a> |
|
102 <h4>PropertiesDialog (Constructor)</h4> |
|
103 <b>PropertiesDialog</b>(<i>project, new=True, parent=None, name=None</i>) |
|
104 <p> |
|
105 Constructor |
|
106 </p><dl> |
|
107 <dt><i>project</i></dt> |
|
108 <dd> |
|
109 reference to the project object |
|
110 </dd><dt><i>new</i></dt> |
|
111 <dd> |
|
112 flag indicating the generation of a new project |
|
113 </dd><dt><i>parent</i></dt> |
|
114 <dd> |
|
115 parent widget of this dialog (QWidget) |
|
116 </dd><dt><i>name</i></dt> |
|
117 <dd> |
|
118 name of this dialog (string) |
|
119 </dd> |
|
120 </dl><a NAME="PropertiesDialog.getPPath" ID="PropertiesDialog.getPPath"></a> |
|
121 <h4>PropertiesDialog.getPPath</h4> |
|
122 <b>getPPath</b>(<i></i>) |
|
123 <p> |
|
124 Public method to get the project path. |
|
125 </p><dl> |
|
126 <dt>Returns:</dt> |
|
127 <dd> |
|
128 data of the project directory edit (string) |
|
129 </dd> |
|
130 </dl><a NAME="PropertiesDialog.getProjectType" ID="PropertiesDialog.getProjectType"></a> |
|
131 <h4>PropertiesDialog.getProjectType</h4> |
|
132 <b>getProjectType</b>(<i></i>) |
|
133 <p> |
|
134 Public method to get the selected project type. |
|
135 </p><dl> |
|
136 <dt>Returns:</dt> |
|
137 <dd> |
|
138 selected UI type (string) |
|
139 </dd> |
|
140 </dl><a NAME="PropertiesDialog.on_dirPicker_textChanged" ID="PropertiesDialog.on_dirPicker_textChanged"></a> |
|
141 <h4>PropertiesDialog.on_dirPicker_textChanged</h4> |
|
142 <b>on_dirPicker_textChanged</b>(<i>txt</i>) |
|
143 <p> |
|
144 Private slot to handle a change of the project directory. |
|
145 </p><dl> |
|
146 <dt><i>txt</i></dt> |
|
147 <dd> |
|
148 name of the project directory (string) |
|
149 </dd> |
|
150 </dl><a NAME="PropertiesDialog.on_languageComboBox_currentIndexChanged" ID="PropertiesDialog.on_languageComboBox_currentIndexChanged"></a> |
|
151 <h4>PropertiesDialog.on_languageComboBox_currentIndexChanged</h4> |
|
152 <b>on_languageComboBox_currentIndexChanged</b>(<i>language</i>) |
|
153 <p> |
|
154 Private slot handling the selection of a programming language. |
|
155 </p><dl> |
|
156 <dt><i>language</i></dt> |
|
157 <dd> |
|
158 selected programming language (string) |
|
159 </dd> |
|
160 </dl><a NAME="PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog" ID="PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog"></a> |
|
161 <h4>PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog</h4> |
|
162 <b>on_mainscriptPicker_aboutToShowPathPickerDialog</b>(<i></i>) |
|
163 <p> |
|
164 Private slot to perform actions before the main script selection dialog |
|
165 is shown. |
|
166 </p><a NAME="PropertiesDialog.on_mainscriptPicker_pathSelected" ID="PropertiesDialog.on_mainscriptPicker_pathSelected"></a> |
|
167 <h4>PropertiesDialog.on_mainscriptPicker_pathSelected</h4> |
|
168 <b>on_mainscriptPicker_pathSelected</b>(<i>script</i>) |
|
169 <p> |
|
170 Private slot to check the selected main script name. |
|
171 </p><dl> |
|
172 <dt><i>script</i> (str)</dt> |
|
173 <dd> |
|
174 name of the main script |
|
175 </dd> |
|
176 </dl><a NAME="PropertiesDialog.on_makeButton_clicked" ID="PropertiesDialog.on_makeButton_clicked"></a> |
|
177 <h4>PropertiesDialog.on_makeButton_clicked</h4> |
|
178 <b>on_makeButton_clicked</b>(<i></i>) |
|
179 <p> |
|
180 Private slot to display the make properties dialog. |
|
181 </p><a NAME="PropertiesDialog.on_spellPropertiesButton_clicked" ID="PropertiesDialog.on_spellPropertiesButton_clicked"></a> |
|
182 <h4>PropertiesDialog.on_spellPropertiesButton_clicked</h4> |
|
183 <b>on_spellPropertiesButton_clicked</b>(<i></i>) |
|
184 <p> |
|
185 Private slot to display the spelling properties dialog. |
|
186 </p><a NAME="PropertiesDialog.on_transPropertiesButton_clicked" ID="PropertiesDialog.on_transPropertiesButton_clicked"></a> |
|
187 <h4>PropertiesDialog.on_transPropertiesButton_clicked</h4> |
|
188 <b>on_transPropertiesButton_clicked</b>(<i></i>) |
|
189 <p> |
|
190 Private slot to display the translations properties dialog. |
|
191 </p><a NAME="PropertiesDialog.on_vcsInfoButton_clicked" ID="PropertiesDialog.on_vcsInfoButton_clicked"></a> |
|
192 <h4>PropertiesDialog.on_vcsInfoButton_clicked</h4> |
|
193 <b>on_vcsInfoButton_clicked</b>(<i></i>) |
|
194 <p> |
|
195 Private slot to display a vcs information dialog. |
|
196 </p><a NAME="PropertiesDialog.storeData" ID="PropertiesDialog.storeData"></a> |
|
197 <h4>PropertiesDialog.storeData</h4> |
|
198 <b>storeData</b>(<i></i>) |
|
199 <p> |
|
200 Public method to store the entered/modified data. |
|
201 </p> |
|
202 <div align="right"><a href="#top">Up</a></div> |
|
203 <hr /> |
|
204 </body></html> |