eric6/Documentation/Source/eric6.Project.NewDialogClassDialog.html

changeset 6942
2602857055c5
parent 4602
48cc4820e2c2
child 7273
391d6b7b1eff
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
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_pathnamePicker_textChanged">on_pathnamePicker_textChanged</a></td>
76 <td>Private slot called, when the text of the path name has changed.</td>
77 </tr>
78 </table>
79 <h3>Static Methods</h3>
80 <table>
81 <tr><td>None</td></tr>
82 </table>
83 <a NAME="NewDialogClassDialog.__init__" ID="NewDialogClassDialog.__init__"></a>
84 <h4>NewDialogClassDialog (Constructor)</h4>
85 <b>NewDialogClassDialog</b>(<i>defaultClassName, defaultFile, defaultPath, parent=None</i>)
86 <p>
87 Constructor
88 </p><dl>
89 <dt><i>defaultClassName</i></dt>
90 <dd>
91 proposed name for the new class (string)
92 </dd><dt><i>defaultFile</i></dt>
93 <dd>
94 proposed name for the source file (string)
95 </dd><dt><i>defaultPath</i></dt>
96 <dd>
97 default path for the new file (string)
98 </dd><dt><i>parent</i></dt>
99 <dd>
100 parent widget if the dialog (QWidget)
101 </dd>
102 </dl><a NAME="NewDialogClassDialog.__enableOkButton" ID="NewDialogClassDialog.__enableOkButton"></a>
103 <h4>NewDialogClassDialog.__enableOkButton</h4>
104 <b>__enableOkButton</b>(<i></i>)
105 <p>
106 Private slot to set the enable state of theok button.
107 </p><a NAME="NewDialogClassDialog.getData" ID="NewDialogClassDialog.getData"></a>
108 <h4>NewDialogClassDialog.getData</h4>
109 <b>getData</b>(<i></i>)
110 <p>
111 Public method to retrieve the data entered into the dialog.
112 </p><dl>
113 <dt>Returns:</dt>
114 <dd>
115 tuple giving the classname (string) and the file name (string)
116 </dd>
117 </dl><a NAME="NewDialogClassDialog.on_classnameEdit_textChanged" ID="NewDialogClassDialog.on_classnameEdit_textChanged"></a>
118 <h4>NewDialogClassDialog.on_classnameEdit_textChanged</h4>
119 <b>on_classnameEdit_textChanged</b>(<i>text</i>)
120 <p>
121 Private slot called, when thext of the classname edit has changed.
122 </p><dl>
123 <dt><i>text</i></dt>
124 <dd>
125 changed text (string)
126 </dd>
127 </dl><a NAME="NewDialogClassDialog.on_filenameEdit_textChanged" ID="NewDialogClassDialog.on_filenameEdit_textChanged"></a>
128 <h4>NewDialogClassDialog.on_filenameEdit_textChanged</h4>
129 <b>on_filenameEdit_textChanged</b>(<i>text</i>)
130 <p>
131 Private slot called, when thext of the filename edit has changed.
132 </p><dl>
133 <dt><i>text</i></dt>
134 <dd>
135 changed text (string)
136 </dd>
137 </dl><a NAME="NewDialogClassDialog.on_pathnamePicker_textChanged" ID="NewDialogClassDialog.on_pathnamePicker_textChanged"></a>
138 <h4>NewDialogClassDialog.on_pathnamePicker_textChanged</h4>
139 <b>on_pathnamePicker_textChanged</b>(<i>text</i>)
140 <p>
141 Private slot called, when the text of the path name has changed.
142 </p><dl>
143 <dt><i>text</i></dt>
144 <dd>
145 changed text (string)
146 </dd>
147 </dl>
148 <div align="right"><a href="#top">Up</a></div>
149 <hr />
150 </body></html>

eric ide

mercurial