5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Project.NewDialogClassDialog</h1> |
9 <h1>eric7.Project.NewDialogClassDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to enter the data for a new dialog class file. |
11 Module implementing a dialog to enter the data for a new dialog class file. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#NewDialogClassDialog">NewDialogClassDialog</a></td> |
22 <td><a href="#NewDialogClassDialog">NewDialogClassDialog</a></td> |
25 <td>Class implementing a dialog to ente the data for a new dialog class file.</td> |
23 <td>Class implementing a dialog to ente the data for a new dialog class file.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="NewDialogClassDialog" ID="NewDialogClassDialog"></a> |
34 <a NAME="NewDialogClassDialog" ID="NewDialogClassDialog"></a> |
36 <h2>NewDialogClassDialog</h2> |
35 <h2>NewDialogClassDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to ente the data for a new dialog class file. |
37 Class implementing a dialog to ente the data for a new dialog class file. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_NewDialogClassDialog |
41 QDialog, Ui_NewDialogClassDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
|
45 <table> |
43 <table> |
46 <tr><td>None</td></tr> |
44 <tr><td>None</td></tr> |
47 </table> |
45 </table> |
|
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
|
50 <table> |
48 <table> |
51 <tr><td>None</td></tr> |
49 <tr><td>None</td></tr> |
52 </table> |
50 </table> |
|
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
|
55 <table> |
53 <table> |
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#NewDialogClassDialog.__init__">NewDialogClassDialog</a></td> |
55 <td><a href="#NewDialogClassDialog.__init__">NewDialogClassDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
77 <tr> |
74 <tr> |
78 <td><a href="#NewDialogClassDialog.on_pathnamePicker_textChanged">on_pathnamePicker_textChanged</a></td> |
75 <td><a href="#NewDialogClassDialog.on_pathnamePicker_textChanged">on_pathnamePicker_textChanged</a></td> |
79 <td>Private slot called, when the text of the path name has changed.</td> |
76 <td>Private slot called, when the text of the path name has changed.</td> |
80 </tr> |
77 </tr> |
81 </table> |
78 </table> |
|
79 |
82 <h3>Static Methods</h3> |
80 <h3>Static Methods</h3> |
83 |
|
84 <table> |
81 <table> |
85 <tr><td>None</td></tr> |
82 <tr><td>None</td></tr> |
86 </table> |
83 </table> |
87 |
84 |
|
85 |
88 <a NAME="NewDialogClassDialog.__init__" ID="NewDialogClassDialog.__init__"></a> |
86 <a NAME="NewDialogClassDialog.__init__" ID="NewDialogClassDialog.__init__"></a> |
89 <h4>NewDialogClassDialog (Constructor)</h4> |
87 <h4>NewDialogClassDialog (Constructor)</h4> |
90 <b>NewDialogClassDialog</b>(<i>defaultClassName, defaultFile, defaultPath, parent=None</i>) |
88 <b>NewDialogClassDialog</b>(<i>defaultClassName, defaultFile, defaultPath, parent=None</i>) |
91 |
|
92 <p> |
89 <p> |
93 Constructor |
90 Constructor |
94 </p> |
91 </p> |
|
92 |
95 <dl> |
93 <dl> |
96 |
94 |
97 <dt><i>defaultClassName</i> (str)</dt> |
95 <dt><i>defaultClassName</i> (str)</dt> |
98 <dd> |
96 <dd> |
99 proposed name for the new class |
97 proposed name for the new class |
112 </dd> |
110 </dd> |
113 </dl> |
111 </dl> |
114 <a NAME="NewDialogClassDialog.__enableOkButton" ID="NewDialogClassDialog.__enableOkButton"></a> |
112 <a NAME="NewDialogClassDialog.__enableOkButton" ID="NewDialogClassDialog.__enableOkButton"></a> |
115 <h4>NewDialogClassDialog.__enableOkButton</h4> |
113 <h4>NewDialogClassDialog.__enableOkButton</h4> |
116 <b>__enableOkButton</b>(<i></i>) |
114 <b>__enableOkButton</b>(<i></i>) |
117 |
|
118 <p> |
115 <p> |
119 Private slot to set the enable state of theok button. |
116 Private slot to set the enable state of theok button. |
120 </p> |
117 </p> |
|
118 |
121 <a NAME="NewDialogClassDialog.getData" ID="NewDialogClassDialog.getData"></a> |
119 <a NAME="NewDialogClassDialog.getData" ID="NewDialogClassDialog.getData"></a> |
122 <h4>NewDialogClassDialog.getData</h4> |
120 <h4>NewDialogClassDialog.getData</h4> |
123 <b>getData</b>(<i></i>) |
121 <b>getData</b>(<i></i>) |
124 |
|
125 <p> |
122 <p> |
126 Public method to retrieve the data entered into the dialog. |
123 Public method to retrieve the data entered into the dialog. |
127 </p> |
124 </p> |
|
125 |
128 <dl> |
126 <dl> |
129 <dt>Return:</dt> |
127 <dt>Return:</dt> |
130 <dd> |
128 <dd> |
131 tuple giving the classname and the file name |
129 tuple giving the classname and the file name |
132 </dd> |
130 </dd> |
138 </dd> |
136 </dd> |
139 </dl> |
137 </dl> |
140 <a NAME="NewDialogClassDialog.on_classnameEdit_textChanged" ID="NewDialogClassDialog.on_classnameEdit_textChanged"></a> |
138 <a NAME="NewDialogClassDialog.on_classnameEdit_textChanged" ID="NewDialogClassDialog.on_classnameEdit_textChanged"></a> |
141 <h4>NewDialogClassDialog.on_classnameEdit_textChanged</h4> |
139 <h4>NewDialogClassDialog.on_classnameEdit_textChanged</h4> |
142 <b>on_classnameEdit_textChanged</b>(<i>text</i>) |
140 <b>on_classnameEdit_textChanged</b>(<i>text</i>) |
143 |
|
144 <p> |
141 <p> |
145 Private slot called, when thext of the classname edit has changed. |
142 Private slot called, when thext of the classname edit has changed. |
146 </p> |
143 </p> |
|
144 |
147 <dl> |
145 <dl> |
148 |
146 |
149 <dt><i>text</i> (str)</dt> |
147 <dt><i>text</i> (str)</dt> |
150 <dd> |
148 <dd> |
151 changed text |
149 changed text |
152 </dd> |
150 </dd> |
153 </dl> |
151 </dl> |
154 <a NAME="NewDialogClassDialog.on_filenameEdit_textChanged" ID="NewDialogClassDialog.on_filenameEdit_textChanged"></a> |
152 <a NAME="NewDialogClassDialog.on_filenameEdit_textChanged" ID="NewDialogClassDialog.on_filenameEdit_textChanged"></a> |
155 <h4>NewDialogClassDialog.on_filenameEdit_textChanged</h4> |
153 <h4>NewDialogClassDialog.on_filenameEdit_textChanged</h4> |
156 <b>on_filenameEdit_textChanged</b>(<i>text</i>) |
154 <b>on_filenameEdit_textChanged</b>(<i>text</i>) |
157 |
|
158 <p> |
155 <p> |
159 Private slot called, when thext of the filename edit has changed. |
156 Private slot called, when thext of the filename edit has changed. |
160 </p> |
157 </p> |
|
158 |
161 <dl> |
159 <dl> |
162 |
160 |
163 <dt><i>text</i> (str)</dt> |
161 <dt><i>text</i> (str)</dt> |
164 <dd> |
162 <dd> |
165 changed text |
163 changed text |
166 </dd> |
164 </dd> |
167 </dl> |
165 </dl> |
168 <a NAME="NewDialogClassDialog.on_pathnamePicker_textChanged" ID="NewDialogClassDialog.on_pathnamePicker_textChanged"></a> |
166 <a NAME="NewDialogClassDialog.on_pathnamePicker_textChanged" ID="NewDialogClassDialog.on_pathnamePicker_textChanged"></a> |
169 <h4>NewDialogClassDialog.on_pathnamePicker_textChanged</h4> |
167 <h4>NewDialogClassDialog.on_pathnamePicker_textChanged</h4> |
170 <b>on_pathnamePicker_textChanged</b>(<i>text</i>) |
168 <b>on_pathnamePicker_textChanged</b>(<i>text</i>) |
171 |
|
172 <p> |
169 <p> |
173 Private slot called, when the text of the path name has changed. |
170 Private slot called, when the text of the path name has changed. |
174 </p> |
171 </p> |
|
172 |
175 <dl> |
173 <dl> |
176 |
174 |
177 <dt><i>text</i> (str)</dt> |
175 <dt><i>text</i> (str)</dt> |
178 <dd> |
176 <dd> |
179 changed text |
177 changed text |