20 </style> |
20 </style> |
21 </head> |
21 </head> |
22 <body><a NAME="top" ID="top"></a> |
22 <body><a NAME="top" ID="top"></a> |
23 <h1>eric5.Project.NewDialogClassDialog</h1> |
23 <h1>eric5.Project.NewDialogClassDialog</h1> |
24 <p> |
24 <p> |
25 Module implementing a dialog to ente the data for a new dialog class file. |
25 Module implementing a dialog to ente the data for a new dialog class file. |
26 </p> |
26 </p> |
27 <h3>Global Attributes</h3> |
27 <h3>Global Attributes</h3> |
28 <table> |
28 <table> |
29 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
30 </table> |
30 </table> |
31 <h3>Classes</h3> |
31 <h3>Classes</h3> |
32 <table> |
32 <table> |
33 <tr> |
33 <tr> |
34 <td><a href="#NewDialogClassDialog">NewDialogClassDialog</a></td> |
34 <td><a href="#NewDialogClassDialog">NewDialogClassDialog</a></td> |
35 <td>Class implementing a dialog to ente the data for a new dialog class file.</td> |
35 <td>Class implementing a dialog to ente the data for a new dialog class file.</td> |
36 </tr> |
36 </tr> |
37 </table> |
37 </table> |
38 <h3>Functions</h3> |
38 <h3>Functions</h3> |
39 <table> |
39 <table> |
40 <tr><td>None</td></tr> |
40 <tr><td>None</td></tr> |
41 </table> |
41 </table> |
42 <hr /><hr /> |
42 <hr /><hr /> |
43 <a NAME="NewDialogClassDialog" ID="NewDialogClassDialog"></a> |
43 <a NAME="NewDialogClassDialog" ID="NewDialogClassDialog"></a> |
44 <h2>NewDialogClassDialog</h2> |
44 <h2>NewDialogClassDialog</h2> |
45 <p> |
45 <p> |
46 Class implementing a dialog to ente the data for a new dialog class file. |
46 Class implementing a dialog to ente the data for a new dialog class file. |
47 </p> |
47 </p> |
48 <h3>Derived from</h3> |
48 <h3>Derived from</h3> |
49 QDialog, Ui_NewDialogClassDialog |
49 QDialog, Ui_NewDialogClassDialog |
50 <h3>Class Attributes</h3> |
50 <h3>Class Attributes</h3> |
51 <table> |
51 <table> |
53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#NewDialogClassDialog.__init__">NewDialogClassDialog</a></td> |
57 <td><a href="#NewDialogClassDialog.__init__">NewDialogClassDialog</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#NewDialogClassDialog.__enableOkButton">__enableOkButton</a></td> |
60 <td><a href="#NewDialogClassDialog.__enableOkButton">__enableOkButton</a></td> |
61 <td>Private slot to set the enable state of theok button.</td> |
61 <td>Private slot to set the enable state of theok button.</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#NewDialogClassDialog.getData">getData</a></td> |
63 <td><a href="#NewDialogClassDialog.getData">getData</a></td> |
64 <td>Public method to retrieve the data entered into the dialog.</td> |
64 <td>Public method to retrieve the data entered into the dialog.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#NewDialogClassDialog.on_classnameEdit_textChanged">on_classnameEdit_textChanged</a></td> |
66 <td><a href="#NewDialogClassDialog.on_classnameEdit_textChanged">on_classnameEdit_textChanged</a></td> |
67 <td>Private slot called, when thext of the classname edit has changed.</td> |
67 <td>Private slot called, when thext of the classname edit has changed.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#NewDialogClassDialog.on_filenameEdit_textChanged">on_filenameEdit_textChanged</a></td> |
69 <td><a href="#NewDialogClassDialog.on_filenameEdit_textChanged">on_filenameEdit_textChanged</a></td> |
70 <td>Private slot called, when thext of the filename edit has changed.</td> |
70 <td>Private slot called, when thext of the filename edit has changed.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#NewDialogClassDialog.on_pathButton_clicked">on_pathButton_clicked</a></td> |
72 <td><a href="#NewDialogClassDialog.on_pathButton_clicked">on_pathButton_clicked</a></td> |
73 <td>Private slot called to open a directory selection dialog.</td> |
73 <td>Private slot called to open a directory selection dialog.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#NewDialogClassDialog.on_pathnameEdit_textChanged">on_pathnameEdit_textChanged</a></td> |
75 <td><a href="#NewDialogClassDialog.on_pathnameEdit_textChanged">on_pathnameEdit_textChanged</a></td> |
76 <td>Private slot called, when thext of the pathname edit has changed.</td> |
76 <td>Private slot called, when thext of the pathname edit has changed.</td> |
77 </tr> |
77 </tr> |
78 </table> |
78 </table> |
79 <a NAME="NewDialogClassDialog.__init__" ID="NewDialogClassDialog.__init__"></a> |
79 <a NAME="NewDialogClassDialog.__init__" ID="NewDialogClassDialog.__init__"></a> |
80 <h4>NewDialogClassDialog (Constructor)</h4> |
80 <h4>NewDialogClassDialog (Constructor)</h4> |
81 <b>NewDialogClassDialog</b>(<i>defaultClassName, defaultFile, defaultPath, parent = None</i>) |
81 <b>NewDialogClassDialog</b>(<i>defaultClassName, defaultFile, defaultPath, parent = None</i>) |
82 <p> |
82 <p> |
83 Constructor |
83 Constructor |
84 </p><dl> |
84 </p><dl> |
85 <dt><i>defaultClassName</i></dt> |
85 <dt><i>defaultClassName</i></dt> |
86 <dd> |
86 <dd> |
87 proposed name for the new class (string) |
87 proposed name for the new class (string) |
88 </dd><dt><i>defaultFile</i></dt> |
88 </dd><dt><i>defaultFile</i></dt> |
89 <dd> |
89 <dd> |
90 proposed name for the source file (string) |
90 proposed name for the source file (string) |
91 </dd><dt><i>defaultPath</i></dt> |
91 </dd><dt><i>defaultPath</i></dt> |
92 <dd> |
92 <dd> |
93 default path for the new file (string) |
93 default path for the new file (string) |
94 </dd><dt><i>parent</i></dt> |
94 </dd><dt><i>parent</i></dt> |
95 <dd> |
95 <dd> |
96 parent widget if the dialog (QWidget) |
96 parent widget if the dialog (QWidget) |
97 </dd> |
97 </dd> |
98 </dl><a NAME="NewDialogClassDialog.__enableOkButton" ID="NewDialogClassDialog.__enableOkButton"></a> |
98 </dl><a NAME="NewDialogClassDialog.__enableOkButton" ID="NewDialogClassDialog.__enableOkButton"></a> |
99 <h4>NewDialogClassDialog.__enableOkButton</h4> |
99 <h4>NewDialogClassDialog.__enableOkButton</h4> |
100 <b>__enableOkButton</b>(<i></i>) |
100 <b>__enableOkButton</b>(<i></i>) |
101 <p> |
101 <p> |
102 Private slot to set the enable state of theok button. |
102 Private slot to set the enable state of theok button. |
103 </p><a NAME="NewDialogClassDialog.getData" ID="NewDialogClassDialog.getData"></a> |
103 </p><a NAME="NewDialogClassDialog.getData" ID="NewDialogClassDialog.getData"></a> |
104 <h4>NewDialogClassDialog.getData</h4> |
104 <h4>NewDialogClassDialog.getData</h4> |
105 <b>getData</b>(<i></i>) |
105 <b>getData</b>(<i></i>) |
106 <p> |
106 <p> |
107 Public method to retrieve the data entered into the dialog. |
107 Public method to retrieve the data entered into the dialog. |
108 </p><dl> |
108 </p><dl> |
109 <dt>Returns:</dt> |
109 <dt>Returns:</dt> |
110 <dd> |
110 <dd> |
111 tuple giving the classname (string) and the file name (string) |
111 tuple giving the classname (string) and the file name (string) |
112 </dd> |
112 </dd> |
113 </dl><a NAME="NewDialogClassDialog.on_classnameEdit_textChanged" ID="NewDialogClassDialog.on_classnameEdit_textChanged"></a> |
113 </dl><a NAME="NewDialogClassDialog.on_classnameEdit_textChanged" ID="NewDialogClassDialog.on_classnameEdit_textChanged"></a> |
114 <h4>NewDialogClassDialog.on_classnameEdit_textChanged</h4> |
114 <h4>NewDialogClassDialog.on_classnameEdit_textChanged</h4> |
115 <b>on_classnameEdit_textChanged</b>(<i>text</i>) |
115 <b>on_classnameEdit_textChanged</b>(<i>text</i>) |
116 <p> |
116 <p> |
117 Private slot called, when thext of the classname edit has changed. |
117 Private slot called, when thext of the classname edit has changed. |
118 </p><dl> |
118 </p><dl> |
119 <dt><i>text</i></dt> |
119 <dt><i>text</i></dt> |
120 <dd> |
120 <dd> |
121 changed text (string) |
121 changed text (string) |
122 </dd> |
122 </dd> |
123 </dl><a NAME="NewDialogClassDialog.on_filenameEdit_textChanged" ID="NewDialogClassDialog.on_filenameEdit_textChanged"></a> |
123 </dl><a NAME="NewDialogClassDialog.on_filenameEdit_textChanged" ID="NewDialogClassDialog.on_filenameEdit_textChanged"></a> |
124 <h4>NewDialogClassDialog.on_filenameEdit_textChanged</h4> |
124 <h4>NewDialogClassDialog.on_filenameEdit_textChanged</h4> |
125 <b>on_filenameEdit_textChanged</b>(<i>text</i>) |
125 <b>on_filenameEdit_textChanged</b>(<i>text</i>) |
126 <p> |
126 <p> |
127 Private slot called, when thext of the filename edit has changed. |
127 Private slot called, when thext of the filename edit has changed. |
128 </p><dl> |
128 </p><dl> |
129 <dt><i>text</i></dt> |
129 <dt><i>text</i></dt> |
130 <dd> |
130 <dd> |
131 changed text (string) |
131 changed text (string) |
132 </dd> |
132 </dd> |
133 </dl><a NAME="NewDialogClassDialog.on_pathButton_clicked" ID="NewDialogClassDialog.on_pathButton_clicked"></a> |
133 </dl><a NAME="NewDialogClassDialog.on_pathButton_clicked" ID="NewDialogClassDialog.on_pathButton_clicked"></a> |
134 <h4>NewDialogClassDialog.on_pathButton_clicked</h4> |
134 <h4>NewDialogClassDialog.on_pathButton_clicked</h4> |
135 <b>on_pathButton_clicked</b>(<i></i>) |
135 <b>on_pathButton_clicked</b>(<i></i>) |
136 <p> |
136 <p> |
137 Private slot called to open a directory selection dialog. |
137 Private slot called to open a directory selection dialog. |
138 </p><a NAME="NewDialogClassDialog.on_pathnameEdit_textChanged" ID="NewDialogClassDialog.on_pathnameEdit_textChanged"></a> |
138 </p><a NAME="NewDialogClassDialog.on_pathnameEdit_textChanged" ID="NewDialogClassDialog.on_pathnameEdit_textChanged"></a> |
139 <h4>NewDialogClassDialog.on_pathnameEdit_textChanged</h4> |
139 <h4>NewDialogClassDialog.on_pathnameEdit_textChanged</h4> |
140 <b>on_pathnameEdit_textChanged</b>(<i>text</i>) |
140 <b>on_pathnameEdit_textChanged</b>(<i>text</i>) |
141 <p> |
141 <p> |
142 Private slot called, when thext of the pathname edit has changed. |
142 Private slot called, when thext of the pathname edit has changed. |
143 </p><dl> |
143 </p><dl> |
144 <dt><i>text</i></dt> |
144 <dt><i>text</i></dt> |
145 <dd> |
145 <dd> |
146 changed text (string) |
146 changed text (string) |
147 </dd> |
147 </dd> |
148 </dl> |
148 </dl> |
149 <div align="right"><a href="#top">Up</a></div> |
149 <div align="right"><a href="#top">Up</a></div> |
150 <hr /> |
150 <hr /> |
151 </body></html> |
151 </body></html> |