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

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.MultiProject.AddProjectDialog</h1> 23 <h1>eric6.MultiProject.AddProjectDialog</h1>
24
23 <p> 25 <p>
24 Module implementing the add project dialog. 26 Module implementing the add project dialog.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
34
31 <table> 35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#AddProjectDialog">AddProjectDialog</a></td> 38 <td><a href="#AddProjectDialog">AddProjectDialog</a></td>
34 <td>Class implementing the add project dialog.</td> 39 <td>Class implementing the add project dialog.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
43
38 <table> 44 <table>
39 <tr><td>None</td></tr> 45 <tr><td>None</td></tr>
40 </table> 46 </table>
41 <hr /><hr /> 47 <hr />
48 <hr />
42 <a NAME="AddProjectDialog" ID="AddProjectDialog"></a> 49 <a NAME="AddProjectDialog" ID="AddProjectDialog"></a>
43 <h2>AddProjectDialog</h2> 50 <h2>AddProjectDialog</h2>
51
44 <p> 52 <p>
45 Class implementing the add project dialog. 53 Class implementing the add project dialog.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_AddProjectDialog 56 QDialog, Ui_AddProjectDialog
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
68
58 <table> 69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#AddProjectDialog.__init__">AddProjectDialog</a></td> 72 <td><a href="#AddProjectDialog.__init__">AddProjectDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#AddProjectDialog.__updateUi">__updateUi</a></td> 76 <td><a href="#AddProjectDialog.__updateUi">__updateUi</a></td>
64 <td>Private method to update the dialog.</td> 77 <td>Private method to update the dialog.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#AddProjectDialog.getData">getData</a></td> 80 <td><a href="#AddProjectDialog.getData">getData</a></td>
67 <td>Public slot to retrieve the dialogs data.</td> 81 <td>Public slot to retrieve the dialogs data.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#AddProjectDialog.on_filenamePicker_textChanged">on_filenamePicker_textChanged</a></td> 84 <td><a href="#AddProjectDialog.on_filenamePicker_textChanged">on_filenamePicker_textChanged</a></td>
70 <td>Private slot called when the project filename has changed.</td> 85 <td>Private slot called when the project filename has changed.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#AddProjectDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> 88 <td><a href="#AddProjectDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td>
73 <td>Private slot called when the project name has changed.</td> 89 <td>Private slot called when the project name has changed.</td>
74 </tr> 90 </tr>
75 </table> 91 </table>
76 <h3>Static Methods</h3> 92 <h3>Static Methods</h3>
93
77 <table> 94 <table>
78 <tr><td>None</td></tr> 95 <tr><td>None</td></tr>
79 </table> 96 </table>
97
80 <a NAME="AddProjectDialog.__init__" ID="AddProjectDialog.__init__"></a> 98 <a NAME="AddProjectDialog.__init__" ID="AddProjectDialog.__init__"></a>
81 <h4>AddProjectDialog (Constructor)</h4> 99 <h4>AddProjectDialog (Constructor)</h4>
82 <b>AddProjectDialog</b>(<i>parent=None, startdir="", project=None, categories=None, category=""</i>) 100 <b>AddProjectDialog</b>(<i>parent=None, startdir="", project=None, categories=None, category=""</i>)
101
83 <p> 102 <p>
84 Constructor 103 Constructor
85 </p><dl> 104 </p>
105 <dl>
106
86 <dt><i>parent</i> (QWidget)</dt> 107 <dt><i>parent</i> (QWidget)</dt>
87 <dd> 108 <dd>
88 parent widget of this dialog 109 parent widget of this dialog
89 </dd><dt><i>startdir</i> (str)</dt> 110 </dd>
111 <dt><i>startdir</i> (str)</dt>
90 <dd> 112 <dd>
91 start directory for the selection dialog 113 start directory for the selection dialog
92 </dd><dt><i>project</i> (dict)</dt> 114 </dd>
115 <dt><i>project</i> (dict)</dt>
93 <dd> 116 <dd>
94 dictionary containing project data 117 dictionary containing project data
95 </dd><dt><i>categories</i> (list of str)</dt> 118 </dd>
119 <dt><i>categories</i> (list of str)</dt>
96 <dd> 120 <dd>
97 list of already used categories 121 list of already used categories
98 </dd><dt><i>category</i> (str)</dt> 122 </dd>
123 <dt><i>category</i> (str)</dt>
99 <dd> 124 <dd>
100 category to be preset 125 category to be preset
101 </dd> 126 </dd>
102 </dl><a NAME="AddProjectDialog.__updateUi" ID="AddProjectDialog.__updateUi"></a> 127 </dl>
128 <a NAME="AddProjectDialog.__updateUi" ID="AddProjectDialog.__updateUi"></a>
103 <h4>AddProjectDialog.__updateUi</h4> 129 <h4>AddProjectDialog.__updateUi</h4>
104 <b>__updateUi</b>(<i></i>) 130 <b>__updateUi</b>(<i></i>)
131
105 <p> 132 <p>
106 Private method to update the dialog. 133 Private method to update the dialog.
107 </p><a NAME="AddProjectDialog.getData" ID="AddProjectDialog.getData"></a> 134 </p>
135 <a NAME="AddProjectDialog.getData" ID="AddProjectDialog.getData"></a>
108 <h4>AddProjectDialog.getData</h4> 136 <h4>AddProjectDialog.getData</h4>
109 <b>getData</b>(<i></i>) 137 <b>getData</b>(<i></i>)
138
110 <p> 139 <p>
111 Public slot to retrieve the dialogs data. 140 Public slot to retrieve the dialogs data.
112 </p><dl> 141 </p>
142 <dl>
113 <dt>Returns:</dt> 143 <dt>Returns:</dt>
114 <dd> 144 <dd>
115 tuple of five values (string, string, boolean, string, string) 145 tuple of five values (string, string, boolean, string, string)
116 giving the project name, the name of the project file, a flag 146 giving the project name, the name of the project file, a flag
117 telling whether the project shall be the main project, a short 147 telling whether the project shall be the main project, a short
118 description for the project and the project category 148 description for the project and the project category
119 </dd> 149 </dd>
120 </dl><a NAME="AddProjectDialog.on_filenamePicker_textChanged" ID="AddProjectDialog.on_filenamePicker_textChanged"></a> 150 </dl>
151 <a NAME="AddProjectDialog.on_filenamePicker_textChanged" ID="AddProjectDialog.on_filenamePicker_textChanged"></a>
121 <h4>AddProjectDialog.on_filenamePicker_textChanged</h4> 152 <h4>AddProjectDialog.on_filenamePicker_textChanged</h4>
122 <b>on_filenamePicker_textChanged</b>(<i>txt</i>) 153 <b>on_filenamePicker_textChanged</b>(<i>txt</i>)
154
123 <p> 155 <p>
124 Private slot called when the project filename has changed. 156 Private slot called when the project filename has changed.
125 </p><dl> 157 </p>
158 <dl>
159
126 <dt><i>txt</i></dt> 160 <dt><i>txt</i></dt>
127 <dd> 161 <dd>
128 text of the edit (string) 162 text of the edit (string)
129 </dd> 163 </dd>
130 </dl><a NAME="AddProjectDialog.on_nameEdit_textChanged" ID="AddProjectDialog.on_nameEdit_textChanged"></a> 164 </dl>
165 <a NAME="AddProjectDialog.on_nameEdit_textChanged" ID="AddProjectDialog.on_nameEdit_textChanged"></a>
131 <h4>AddProjectDialog.on_nameEdit_textChanged</h4> 166 <h4>AddProjectDialog.on_nameEdit_textChanged</h4>
132 <b>on_nameEdit_textChanged</b>(<i>txt</i>) 167 <b>on_nameEdit_textChanged</b>(<i>txt</i>)
168
133 <p> 169 <p>
134 Private slot called when the project name has changed. 170 Private slot called when the project name has changed.
135 </p><dl> 171 </p>
172 <dl>
173
136 <dt><i>txt</i></dt> 174 <dt><i>txt</i></dt>
137 <dd> 175 <dd>
138 text of the edit (string) 176 text of the edit (string)
139 </dd> 177 </dd>
140 </dl> 178 </dl>

eric ide

mercurial