eric7/Documentation/Source/eric7.Project.NewDialogClassDialog.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.Project.NewDialogClassDialog</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.Project.NewDialogClassDialog</h1>
24
25 <p>
26 Module implementing a dialog to enter the data for a new dialog class file.
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="#NewDialogClassDialog">NewDialogClassDialog</a></td>
39 <td>Class implementing a dialog to ente the data for a new dialog class file.</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="NewDialogClassDialog" ID="NewDialogClassDialog"></a>
50 <h2>NewDialogClassDialog</h2>
51
52 <p>
53 Class implementing a dialog to ente the data for a new dialog class file.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_NewDialogClassDialog
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="#NewDialogClassDialog.__init__">NewDialogClassDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#NewDialogClassDialog.__enableOkButton">__enableOkButton</a></td>
77 <td>Private slot to set the enable state of theok button.</td>
78 </tr>
79 <tr>
80 <td><a href="#NewDialogClassDialog.getData">getData</a></td>
81 <td>Public method to retrieve the data entered into the dialog.</td>
82 </tr>
83 <tr>
84 <td><a href="#NewDialogClassDialog.on_classnameEdit_textChanged">on_classnameEdit_textChanged</a></td>
85 <td>Private slot called, when thext of the classname edit has changed.</td>
86 </tr>
87 <tr>
88 <td><a href="#NewDialogClassDialog.on_filenameEdit_textChanged">on_filenameEdit_textChanged</a></td>
89 <td>Private slot called, when thext of the filename edit has changed.</td>
90 </tr>
91 <tr>
92 <td><a href="#NewDialogClassDialog.on_pathnamePicker_textChanged">on_pathnamePicker_textChanged</a></td>
93 <td>Private slot called, when the text of the path name has changed.</td>
94 </tr>
95 </table>
96 <h3>Static Methods</h3>
97
98 <table>
99 <tr><td>None</td></tr>
100 </table>
101
102 <a NAME="NewDialogClassDialog.__init__" ID="NewDialogClassDialog.__init__"></a>
103 <h4>NewDialogClassDialog (Constructor)</h4>
104 <b>NewDialogClassDialog</b>(<i>defaultClassName, defaultFile, defaultPath, parent=None</i>)
105
106 <p>
107 Constructor
108 </p>
109 <dl>
110
111 <dt><i>defaultClassName</i></dt>
112 <dd>
113 proposed name for the new class (string)
114 </dd>
115 <dt><i>defaultFile</i></dt>
116 <dd>
117 proposed name for the source file (string)
118 </dd>
119 <dt><i>defaultPath</i></dt>
120 <dd>
121 default path for the new file (string)
122 </dd>
123 <dt><i>parent</i></dt>
124 <dd>
125 parent widget if the dialog (QWidget)
126 </dd>
127 </dl>
128 <a NAME="NewDialogClassDialog.__enableOkButton" ID="NewDialogClassDialog.__enableOkButton"></a>
129 <h4>NewDialogClassDialog.__enableOkButton</h4>
130 <b>__enableOkButton</b>(<i></i>)
131
132 <p>
133 Private slot to set the enable state of theok button.
134 </p>
135 <a NAME="NewDialogClassDialog.getData" ID="NewDialogClassDialog.getData"></a>
136 <h4>NewDialogClassDialog.getData</h4>
137 <b>getData</b>(<i></i>)
138
139 <p>
140 Public method to retrieve the data entered into the dialog.
141 </p>
142 <dl>
143 <dt>Return:</dt>
144 <dd>
145 tuple giving the classname (string) and the file name (string)
146 </dd>
147 </dl>
148 <a NAME="NewDialogClassDialog.on_classnameEdit_textChanged" ID="NewDialogClassDialog.on_classnameEdit_textChanged"></a>
149 <h4>NewDialogClassDialog.on_classnameEdit_textChanged</h4>
150 <b>on_classnameEdit_textChanged</b>(<i>text</i>)
151
152 <p>
153 Private slot called, when thext of the classname edit has changed.
154 </p>
155 <dl>
156
157 <dt><i>text</i></dt>
158 <dd>
159 changed text (string)
160 </dd>
161 </dl>
162 <a NAME="NewDialogClassDialog.on_filenameEdit_textChanged" ID="NewDialogClassDialog.on_filenameEdit_textChanged"></a>
163 <h4>NewDialogClassDialog.on_filenameEdit_textChanged</h4>
164 <b>on_filenameEdit_textChanged</b>(<i>text</i>)
165
166 <p>
167 Private slot called, when thext of the filename edit has changed.
168 </p>
169 <dl>
170
171 <dt><i>text</i></dt>
172 <dd>
173 changed text (string)
174 </dd>
175 </dl>
176 <a NAME="NewDialogClassDialog.on_pathnamePicker_textChanged" ID="NewDialogClassDialog.on_pathnamePicker_textChanged"></a>
177 <h4>NewDialogClassDialog.on_pathnamePicker_textChanged</h4>
178 <b>on_pathnamePicker_textChanged</b>(<i>text</i>)
179
180 <p>
181 Private slot called, when the text of the path name has changed.
182 </p>
183 <dl>
184
185 <dt><i>text</i></dt>
186 <dd>
187 changed text (string)
188 </dd>
189 </dl>
190 <div align="right"><a href="#top">Up</a></div>
191 <hr />
192 </body></html>

eric ide

mercurial