|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric4.Project.PropertiesDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background:white; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #4FA4FF; } |
|
14 h2 { color: white; background: #4FA4FF; } |
|
15 h3 { color: white; background: #00557F; } |
|
16 h4 { color: white; background: #00557F; } |
|
17 |
|
18 a { color: #AA5500; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric4.Project.PropertiesDialog</h1> |
|
24 <p> |
|
25 Module implementing the project properties dialog. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#PropertiesDialog">PropertiesDialog</a></td> |
|
35 <td>Class implementing the project properties dialog.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="PropertiesDialog" ID="PropertiesDialog"></a> |
|
44 <h2>PropertiesDialog</h2> |
|
45 <p> |
|
46 Class implementing the project properties dialog. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_PropertiesDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#PropertiesDialog.__init__">PropertiesDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#PropertiesDialog.getPPath">getPPath</a></td> |
|
61 <td>Public method to get the project path.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#PropertiesDialog.getProjectType">getProjectType</a></td> |
|
64 <td>Public method to get the selected project type.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#PropertiesDialog.on_dirButton_clicked">on_dirButton_clicked</a></td> |
|
67 <td>Private slot to display a directory selection dialog.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#PropertiesDialog.on_mainscriptButton_clicked">on_mainscriptButton_clicked</a></td> |
|
70 <td>Private slot to display a file selection dialog.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#PropertiesDialog.on_spellPropertiesButton_clicked">on_spellPropertiesButton_clicked</a></td> |
|
73 <td>Private slot to display the spelling properties dialog.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#PropertiesDialog.on_transPropertiesButton_clicked">on_transPropertiesButton_clicked</a></td> |
|
76 <td>Private slot to display the translations properties dialog.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#PropertiesDialog.on_vcsInfoButton_clicked">on_vcsInfoButton_clicked</a></td> |
|
79 <td>Private slot to display a vcs information dialog.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#PropertiesDialog.storeData">storeData</a></td> |
|
82 <td>Public method to store the entered/modified data.</td> |
|
83 </tr> |
|
84 </table> |
|
85 <a NAME="PropertiesDialog.__init__" ID="PropertiesDialog.__init__"></a> |
|
86 <h4>PropertiesDialog (Constructor)</h4> |
|
87 <b>PropertiesDialog</b>(<i>project, new = True, parent = None, name = None</i>) |
|
88 <p> |
|
89 Constructor |
|
90 </p><dl> |
|
91 <dt><i>project</i></dt> |
|
92 <dd> |
|
93 reference to the project object |
|
94 </dd><dt><i>new</i></dt> |
|
95 <dd> |
|
96 flag indicating the generation of a new project |
|
97 </dd><dt><i>parent</i></dt> |
|
98 <dd> |
|
99 parent widget of this dialog (QWidget) |
|
100 </dd><dt><i>name</i></dt> |
|
101 <dd> |
|
102 name of this dialog (string) |
|
103 </dd> |
|
104 </dl><a NAME="PropertiesDialog.getPPath" ID="PropertiesDialog.getPPath"></a> |
|
105 <h4>PropertiesDialog.getPPath</h4> |
|
106 <b>getPPath</b>(<i></i>) |
|
107 <p> |
|
108 Public method to get the project path. |
|
109 </p><dl> |
|
110 <dt>Returns:</dt> |
|
111 <dd> |
|
112 data of the project directory edit (string) |
|
113 </dd> |
|
114 </dl><a NAME="PropertiesDialog.getProjectType" ID="PropertiesDialog.getProjectType"></a> |
|
115 <h4>PropertiesDialog.getProjectType</h4> |
|
116 <b>getProjectType</b>(<i></i>) |
|
117 <p> |
|
118 Public method to get the selected project type. |
|
119 </p><dl> |
|
120 <dt>Returns:</dt> |
|
121 <dd> |
|
122 selected UI type (string) |
|
123 </dd> |
|
124 </dl><a NAME="PropertiesDialog.on_dirButton_clicked" ID="PropertiesDialog.on_dirButton_clicked"></a> |
|
125 <h4>PropertiesDialog.on_dirButton_clicked</h4> |
|
126 <b>on_dirButton_clicked</b>(<i></i>) |
|
127 <p> |
|
128 Private slot to display a directory selection dialog. |
|
129 </p><a NAME="PropertiesDialog.on_mainscriptButton_clicked" ID="PropertiesDialog.on_mainscriptButton_clicked"></a> |
|
130 <h4>PropertiesDialog.on_mainscriptButton_clicked</h4> |
|
131 <b>on_mainscriptButton_clicked</b>(<i></i>) |
|
132 <p> |
|
133 Private slot to display a file selection dialog. |
|
134 </p><a NAME="PropertiesDialog.on_spellPropertiesButton_clicked" ID="PropertiesDialog.on_spellPropertiesButton_clicked"></a> |
|
135 <h4>PropertiesDialog.on_spellPropertiesButton_clicked</h4> |
|
136 <b>on_spellPropertiesButton_clicked</b>(<i></i>) |
|
137 <p> |
|
138 Private slot to display the spelling properties dialog. |
|
139 </p><a NAME="PropertiesDialog.on_transPropertiesButton_clicked" ID="PropertiesDialog.on_transPropertiesButton_clicked"></a> |
|
140 <h4>PropertiesDialog.on_transPropertiesButton_clicked</h4> |
|
141 <b>on_transPropertiesButton_clicked</b>(<i></i>) |
|
142 <p> |
|
143 Private slot to display the translations properties dialog. |
|
144 </p><a NAME="PropertiesDialog.on_vcsInfoButton_clicked" ID="PropertiesDialog.on_vcsInfoButton_clicked"></a> |
|
145 <h4>PropertiesDialog.on_vcsInfoButton_clicked</h4> |
|
146 <b>on_vcsInfoButton_clicked</b>(<i></i>) |
|
147 <p> |
|
148 Private slot to display a vcs information dialog. |
|
149 </p><a NAME="PropertiesDialog.storeData" ID="PropertiesDialog.storeData"></a> |
|
150 <h4>PropertiesDialog.storeData</h4> |
|
151 <b>storeData</b>(<i></i>) |
|
152 <p> |
|
153 Public method to store the entered/modified data. |
|
154 </p> |
|
155 <div align="right"><a href="#top">Up</a></div> |
|
156 <hr /> |
|
157 </body></html> |