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

eric ide

mercurial