|
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_dirButton_clicked">on_dirButton_clicked</a></td> |
|
70 <td>Private slot to display a directory selection dialog.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#PropertiesDialog.on_dirEdit_textChanged">on_dirEdit_textChanged</a></td> |
|
73 <td>Private slot to handle a change of the project directory.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#PropertiesDialog.on_languageComboBox_currentIndexChanged">on_languageComboBox_currentIndexChanged</a></td> |
|
76 <td>Private slot handling the selection of a programming language.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#PropertiesDialog.on_mainscriptButton_clicked">on_mainscriptButton_clicked</a></td> |
|
79 <td>Private slot to display a file selection dialog.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#PropertiesDialog.on_spellPropertiesButton_clicked">on_spellPropertiesButton_clicked</a></td> |
|
82 <td>Private slot to display the spelling properties dialog.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#PropertiesDialog.on_transPropertiesButton_clicked">on_transPropertiesButton_clicked</a></td> |
|
85 <td>Private slot to display the translations properties dialog.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#PropertiesDialog.on_vcsInfoButton_clicked">on_vcsInfoButton_clicked</a></td> |
|
88 <td>Private slot to display a vcs information dialog.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#PropertiesDialog.storeData">storeData</a></td> |
|
91 <td>Public method to store the entered/modified data.</td> |
|
92 </tr> |
|
93 </table> |
|
94 <h3>Static Methods</h3> |
|
95 <table> |
|
96 <tr><td>None</td></tr> |
|
97 </table> |
|
98 <a NAME="PropertiesDialog.__init__" ID="PropertiesDialog.__init__"></a> |
|
99 <h4>PropertiesDialog (Constructor)</h4> |
|
100 <b>PropertiesDialog</b>(<i>project, new=True, parent=None, name=None</i>) |
|
101 <p> |
|
102 Constructor |
|
103 </p><dl> |
|
104 <dt><i>project</i></dt> |
|
105 <dd> |
|
106 reference to the project object |
|
107 </dd><dt><i>new</i></dt> |
|
108 <dd> |
|
109 flag indicating the generation of a new project |
|
110 </dd><dt><i>parent</i></dt> |
|
111 <dd> |
|
112 parent widget of this dialog (QWidget) |
|
113 </dd><dt><i>name</i></dt> |
|
114 <dd> |
|
115 name of this dialog (string) |
|
116 </dd> |
|
117 </dl><a NAME="PropertiesDialog.getPPath" ID="PropertiesDialog.getPPath"></a> |
|
118 <h4>PropertiesDialog.getPPath</h4> |
|
119 <b>getPPath</b>(<i></i>) |
|
120 <p> |
|
121 Public method to get the project path. |
|
122 </p><dl> |
|
123 <dt>Returns:</dt> |
|
124 <dd> |
|
125 data of the project directory edit (string) |
|
126 </dd> |
|
127 </dl><a NAME="PropertiesDialog.getProjectType" ID="PropertiesDialog.getProjectType"></a> |
|
128 <h4>PropertiesDialog.getProjectType</h4> |
|
129 <b>getProjectType</b>(<i></i>) |
|
130 <p> |
|
131 Public method to get the selected project type. |
|
132 </p><dl> |
|
133 <dt>Returns:</dt> |
|
134 <dd> |
|
135 selected UI type (string) |
|
136 </dd> |
|
137 </dl><a NAME="PropertiesDialog.on_dirButton_clicked" ID="PropertiesDialog.on_dirButton_clicked"></a> |
|
138 <h4>PropertiesDialog.on_dirButton_clicked</h4> |
|
139 <b>on_dirButton_clicked</b>(<i></i>) |
|
140 <p> |
|
141 Private slot to display a directory selection dialog. |
|
142 </p><a NAME="PropertiesDialog.on_dirEdit_textChanged" ID="PropertiesDialog.on_dirEdit_textChanged"></a> |
|
143 <h4>PropertiesDialog.on_dirEdit_textChanged</h4> |
|
144 <b>on_dirEdit_textChanged</b>(<i>txt</i>) |
|
145 <p> |
|
146 Private slot to handle a change of the project directory. |
|
147 </p><dl> |
|
148 <dt><i>txt</i></dt> |
|
149 <dd> |
|
150 name of the project directory (string) |
|
151 </dd> |
|
152 </dl><a NAME="PropertiesDialog.on_languageComboBox_currentIndexChanged" ID="PropertiesDialog.on_languageComboBox_currentIndexChanged"></a> |
|
153 <h4>PropertiesDialog.on_languageComboBox_currentIndexChanged</h4> |
|
154 <b>on_languageComboBox_currentIndexChanged</b>(<i>language</i>) |
|
155 <p> |
|
156 Private slot handling the selection of a programming language. |
|
157 </p><dl> |
|
158 <dt><i>language</i></dt> |
|
159 <dd> |
|
160 selected programming language (string) |
|
161 </dd> |
|
162 </dl><a NAME="PropertiesDialog.on_mainscriptButton_clicked" ID="PropertiesDialog.on_mainscriptButton_clicked"></a> |
|
163 <h4>PropertiesDialog.on_mainscriptButton_clicked</h4> |
|
164 <b>on_mainscriptButton_clicked</b>(<i></i>) |
|
165 <p> |
|
166 Private slot to display a file selection dialog. |
|
167 </p><a NAME="PropertiesDialog.on_spellPropertiesButton_clicked" ID="PropertiesDialog.on_spellPropertiesButton_clicked"></a> |
|
168 <h4>PropertiesDialog.on_spellPropertiesButton_clicked</h4> |
|
169 <b>on_spellPropertiesButton_clicked</b>(<i></i>) |
|
170 <p> |
|
171 Private slot to display the spelling properties dialog. |
|
172 </p><a NAME="PropertiesDialog.on_transPropertiesButton_clicked" ID="PropertiesDialog.on_transPropertiesButton_clicked"></a> |
|
173 <h4>PropertiesDialog.on_transPropertiesButton_clicked</h4> |
|
174 <b>on_transPropertiesButton_clicked</b>(<i></i>) |
|
175 <p> |
|
176 Private slot to display the translations properties dialog. |
|
177 </p><a NAME="PropertiesDialog.on_vcsInfoButton_clicked" ID="PropertiesDialog.on_vcsInfoButton_clicked"></a> |
|
178 <h4>PropertiesDialog.on_vcsInfoButton_clicked</h4> |
|
179 <b>on_vcsInfoButton_clicked</b>(<i></i>) |
|
180 <p> |
|
181 Private slot to display a vcs information dialog. |
|
182 </p><a NAME="PropertiesDialog.storeData" ID="PropertiesDialog.storeData"></a> |
|
183 <h4>PropertiesDialog.storeData</h4> |
|
184 <b>storeData</b>(<i></i>) |
|
185 <p> |
|
186 Public method to store the entered/modified data. |
|
187 </p> |
|
188 <div align="right"><a href="#top">Up</a></div> |
|
189 <hr /> |
|
190 </body></html> |