eric6/Documentation/Source/eric6.MultiProject.AddProjectDialog.html

changeset 6942
2602857055c5
parent 6653
ac800d2700d2
child 7273
391d6b7b1eff
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.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><a NAME="top" ID="top"></a>
22 <h1>eric6.MultiProject.AddProjectDialog</h1>
23 <p>
24 Module implementing the add project 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="#AddProjectDialog">AddProjectDialog</a></td>
34 <td>Class implementing the add project 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="AddProjectDialog" ID="AddProjectDialog"></a>
43 <h2>AddProjectDialog</h2>
44 <p>
45 Class implementing the add project dialog.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_AddProjectDialog
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="#AddProjectDialog.__init__">AddProjectDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#AddProjectDialog.__updateUi">__updateUi</a></td>
64 <td>Private method to update the dialog.</td>
65 </tr><tr>
66 <td><a href="#AddProjectDialog.getData">getData</a></td>
67 <td>Public slot to retrieve the dialogs data.</td>
68 </tr><tr>
69 <td><a href="#AddProjectDialog.on_filenamePicker_textChanged">on_filenamePicker_textChanged</a></td>
70 <td>Private slot called when the project filename has changed.</td>
71 </tr><tr>
72 <td><a href="#AddProjectDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td>
73 <td>Private slot called when the project name has changed.</td>
74 </tr>
75 </table>
76 <h3>Static Methods</h3>
77 <table>
78 <tr><td>None</td></tr>
79 </table>
80 <a NAME="AddProjectDialog.__init__" ID="AddProjectDialog.__init__"></a>
81 <h4>AddProjectDialog (Constructor)</h4>
82 <b>AddProjectDialog</b>(<i>parent=None, startdir="", project=None, categories=None, category=""</i>)
83 <p>
84 Constructor
85 </p><dl>
86 <dt><i>parent</i> (QWidget)</dt>
87 <dd>
88 parent widget of this dialog
89 </dd><dt><i>startdir</i> (str)</dt>
90 <dd>
91 start directory for the selection dialog
92 </dd><dt><i>project</i> (dict)</dt>
93 <dd>
94 dictionary containing project data
95 </dd><dt><i>categories</i> (list of str)</dt>
96 <dd>
97 list of already used categories
98 </dd><dt><i>category</i> (str)</dt>
99 <dd>
100 category to be preset
101 </dd>
102 </dl><a NAME="AddProjectDialog.__updateUi" ID="AddProjectDialog.__updateUi"></a>
103 <h4>AddProjectDialog.__updateUi</h4>
104 <b>__updateUi</b>(<i></i>)
105 <p>
106 Private method to update the dialog.
107 </p><a NAME="AddProjectDialog.getData" ID="AddProjectDialog.getData"></a>
108 <h4>AddProjectDialog.getData</h4>
109 <b>getData</b>(<i></i>)
110 <p>
111 Public slot to retrieve the dialogs data.
112 </p><dl>
113 <dt>Returns:</dt>
114 <dd>
115 tuple of five values (string, string, boolean, string, string)
116 giving the project name, the name of the project file, a flag
117 telling whether the project shall be the main project, a short
118 description for the project and the project category
119 </dd>
120 </dl><a NAME="AddProjectDialog.on_filenamePicker_textChanged" ID="AddProjectDialog.on_filenamePicker_textChanged"></a>
121 <h4>AddProjectDialog.on_filenamePicker_textChanged</h4>
122 <b>on_filenamePicker_textChanged</b>(<i>txt</i>)
123 <p>
124 Private slot called when the project filename has changed.
125 </p><dl>
126 <dt><i>txt</i></dt>
127 <dd>
128 text of the edit (string)
129 </dd>
130 </dl><a NAME="AddProjectDialog.on_nameEdit_textChanged" ID="AddProjectDialog.on_nameEdit_textChanged"></a>
131 <h4>AddProjectDialog.on_nameEdit_textChanged</h4>
132 <b>on_nameEdit_textChanged</b>(<i>txt</i>)
133 <p>
134 Private slot called when the project name has changed.
135 </p><dl>
136 <dt><i>txt</i></dt>
137 <dd>
138 text of the edit (string)
139 </dd>
140 </dl>
141 <div align="right"><a href="#top">Up</a></div>
142 <hr />
143 </body></html>

eric ide

mercurial