Documentation/Source/eric6.Project.NewDialogClassDialog.html

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

eric ide

mercurial