eric7/Documentation/Source/eric7.MultiProject.AddProjectDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.MultiProject.AddProjectDialog</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.MultiProject.AddProjectDialog</h1>
24
25 <p>
26 Module implementing the add project dialog.
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="#AddProjectDialog">AddProjectDialog</a></td>
39 <td>Class implementing the add project dialog.</td>
40 </tr>
41 </table>
42 <h3>Functions</h3>
43
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr />
48 <hr />
49 <a NAME="AddProjectDialog" ID="AddProjectDialog"></a>
50 <h2>AddProjectDialog</h2>
51
52 <p>
53 Class implementing the add project dialog.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_AddProjectDialog
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>None</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Methods</h3>
68
69 <table>
70
71 <tr>
72 <td><a href="#AddProjectDialog.__init__">AddProjectDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#AddProjectDialog.__updateUi">__updateUi</a></td>
77 <td>Private method to update the dialog.</td>
78 </tr>
79 <tr>
80 <td><a href="#AddProjectDialog.getData">getData</a></td>
81 <td>Public slot to retrieve the dialogs data.</td>
82 </tr>
83 <tr>
84 <td><a href="#AddProjectDialog.on_filenamePicker_textChanged">on_filenamePicker_textChanged</a></td>
85 <td>Private slot called when the project filename has changed.</td>
86 </tr>
87 <tr>
88 <td><a href="#AddProjectDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td>
89 <td>Private slot called when the project name has changed.</td>
90 </tr>
91 </table>
92 <h3>Static Methods</h3>
93
94 <table>
95 <tr><td>None</td></tr>
96 </table>
97
98 <a NAME="AddProjectDialog.__init__" ID="AddProjectDialog.__init__"></a>
99 <h4>AddProjectDialog (Constructor)</h4>
100 <b>AddProjectDialog</b>(<i>parent=None, startdir="", project=None, categories=None, category=""</i>)
101
102 <p>
103 Constructor
104 </p>
105 <dl>
106
107 <dt><i>parent</i> (QWidget)</dt>
108 <dd>
109 parent widget of this dialog
110 </dd>
111 <dt><i>startdir</i> (str)</dt>
112 <dd>
113 start directory for the selection dialog
114 </dd>
115 <dt><i>project</i> (dict)</dt>
116 <dd>
117 dictionary containing project data
118 </dd>
119 <dt><i>categories</i> (list of str)</dt>
120 <dd>
121 list of already used categories
122 </dd>
123 <dt><i>category</i> (str)</dt>
124 <dd>
125 category to be preset
126 </dd>
127 </dl>
128 <a NAME="AddProjectDialog.__updateUi" ID="AddProjectDialog.__updateUi"></a>
129 <h4>AddProjectDialog.__updateUi</h4>
130 <b>__updateUi</b>(<i></i>)
131
132 <p>
133 Private method to update the dialog.
134 </p>
135 <a NAME="AddProjectDialog.getData" ID="AddProjectDialog.getData"></a>
136 <h4>AddProjectDialog.getData</h4>
137 <b>getData</b>(<i></i>)
138
139 <p>
140 Public slot to retrieve the dialogs data.
141 </p>
142 <dl>
143 <dt>Return:</dt>
144 <dd>
145 tuple of five values (string, string, boolean, string, string)
146 giving the project name, the name of the project file, a flag
147 telling whether the project shall be the main project, a short
148 description for the project and the project category
149 </dd>
150 </dl>
151 <a NAME="AddProjectDialog.on_filenamePicker_textChanged" ID="AddProjectDialog.on_filenamePicker_textChanged"></a>
152 <h4>AddProjectDialog.on_filenamePicker_textChanged</h4>
153 <b>on_filenamePicker_textChanged</b>(<i>txt</i>)
154
155 <p>
156 Private slot called when the project filename has changed.
157 </p>
158 <dl>
159
160 <dt><i>txt</i></dt>
161 <dd>
162 text of the edit (string)
163 </dd>
164 </dl>
165 <a NAME="AddProjectDialog.on_nameEdit_textChanged" ID="AddProjectDialog.on_nameEdit_textChanged"></a>
166 <h4>AddProjectDialog.on_nameEdit_textChanged</h4>
167 <b>on_nameEdit_textChanged</b>(<i>txt</i>)
168
169 <p>
170 Private slot called when the project name has changed.
171 </p>
172 <dl>
173
174 <dt><i>txt</i></dt>
175 <dd>
176 text of the edit (string)
177 </dd>
178 </dl>
179 <div align="right"><a href="#top">Up</a></div>
180 <hr />
181 </body></html>

eric ide

mercurial