eric7/Documentation/Source/eric7.Project.IdlCompilerDefineNameDialog.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.IdlCompilerDefineNameDialog</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.IdlCompilerDefineNameDialog</h1>
24
25 <p>
26 Module implementing a dialog to enter the name-value pair to define a variable
27 for the IDL compiler.
28 </p>
29 <h3>Global Attributes</h3>
30
31 <table>
32 <tr><td>None</td></tr>
33 </table>
34 <h3>Classes</h3>
35
36 <table>
37
38 <tr>
39 <td><a href="#IdlCompilerDefineNameDialog">IdlCompilerDefineNameDialog</a></td>
40 <td>Class implementing a dialog to enter the name-value pair to define a variable for the IDL compiler.</td>
41 </tr>
42 </table>
43 <h3>Functions</h3>
44
45 <table>
46 <tr><td>None</td></tr>
47 </table>
48 <hr />
49 <hr />
50 <a NAME="IdlCompilerDefineNameDialog" ID="IdlCompilerDefineNameDialog"></a>
51 <h2>IdlCompilerDefineNameDialog</h2>
52
53 <p>
54 Class implementing a dialog to enter the name-value pair to define a
55 variable for the IDL compiler.
56 </p>
57 <h3>Derived from</h3>
58 QDialog, Ui_IdlCompilerDefineNameDialog
59 <h3>Class Attributes</h3>
60
61 <table>
62 <tr><td>None</td></tr>
63 </table>
64 <h3>Class Methods</h3>
65
66 <table>
67 <tr><td>None</td></tr>
68 </table>
69 <h3>Methods</h3>
70
71 <table>
72
73 <tr>
74 <td><a href="#IdlCompilerDefineNameDialog.__init__">IdlCompilerDefineNameDialog</a></td>
75 <td>Constructor</td>
76 </tr>
77 <tr>
78 <td><a href="#IdlCompilerDefineNameDialog.__updateOkButton">__updateOkButton</a></td>
79 <td>Private slot to update the enable state of the OK button.</td>
80 </tr>
81 <tr>
82 <td><a href="#IdlCompilerDefineNameDialog.getData">getData</a></td>
83 <td>Public method to get the entered data.</td>
84 </tr>
85 <tr>
86 <td><a href="#IdlCompilerDefineNameDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td>
87 <td>Private slot to handle changes of the name.</td>
88 </tr>
89 </table>
90 <h3>Static Methods</h3>
91
92 <table>
93 <tr><td>None</td></tr>
94 </table>
95
96 <a NAME="IdlCompilerDefineNameDialog.__init__" ID="IdlCompilerDefineNameDialog.__init__"></a>
97 <h4>IdlCompilerDefineNameDialog (Constructor)</h4>
98 <b>IdlCompilerDefineNameDialog</b>(<i>name="", value="", parent=None</i>)
99
100 <p>
101 Constructor
102 </p>
103 <dl>
104
105 <dt><i>name</i> (str)</dt>
106 <dd>
107 name of the variable
108 </dd>
109 <dt><i>value</i> (str)</dt>
110 <dd>
111 value of the variable
112 </dd>
113 <dt><i>parent</i> (QWidget)</dt>
114 <dd>
115 reference to the parent widget
116 </dd>
117 </dl>
118 <a NAME="IdlCompilerDefineNameDialog.__updateOkButton" ID="IdlCompilerDefineNameDialog.__updateOkButton"></a>
119 <h4>IdlCompilerDefineNameDialog.__updateOkButton</h4>
120 <b>__updateOkButton</b>(<i></i>)
121
122 <p>
123 Private slot to update the enable state of the OK button.
124 </p>
125 <a NAME="IdlCompilerDefineNameDialog.getData" ID="IdlCompilerDefineNameDialog.getData"></a>
126 <h4>IdlCompilerDefineNameDialog.getData</h4>
127 <b>getData</b>(<i></i>)
128
129 <p>
130 Public method to get the entered data.
131 </p>
132 <dl>
133 <dt>Return:</dt>
134 <dd>
135 tuple containing the variable name and value
136 </dd>
137 </dl>
138 <dl>
139 <dt>Return Type:</dt>
140 <dd>
141 tuple of (str, str)
142 </dd>
143 </dl>
144 <a NAME="IdlCompilerDefineNameDialog.on_nameEdit_textChanged" ID="IdlCompilerDefineNameDialog.on_nameEdit_textChanged"></a>
145 <h4>IdlCompilerDefineNameDialog.on_nameEdit_textChanged</h4>
146 <b>on_nameEdit_textChanged</b>(<i>txt</i>)
147
148 <p>
149 Private slot to handle changes of the name.
150 </p>
151 <dl>
152
153 <dt><i>txt</i> (str)</dt>
154 <dd>
155 current text of the name edit
156 </dd>
157 </dl>
158 <div align="right"><a href="#top">Up</a></div>
159 <hr />
160 </body></html>

eric ide

mercurial