src/eric7/Documentation/Source/eric7.Project.IdlCompilerDefineNameDialog.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Project.IdlCompilerDefineNameDialog</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.Project.IdlCompilerDefineNameDialog</h1>
10
11 <p>
12 Module implementing a dialog to enter the name-value pair to define a variable
13 for the IDL compiler.
14 </p>
15 <h3>Global Attributes</h3>
16
17 <table>
18 <tr><td>None</td></tr>
19 </table>
20 <h3>Classes</h3>
21
22 <table>
23
24 <tr>
25 <td><a href="#IdlCompilerDefineNameDialog">IdlCompilerDefineNameDialog</a></td>
26 <td>Class implementing a dialog to enter the name-value pair to define a variable for the IDL compiler.</td>
27 </tr>
28 </table>
29 <h3>Functions</h3>
30
31 <table>
32 <tr><td>None</td></tr>
33 </table>
34 <hr />
35 <hr />
36 <a NAME="IdlCompilerDefineNameDialog" ID="IdlCompilerDefineNameDialog"></a>
37 <h2>IdlCompilerDefineNameDialog</h2>
38
39 <p>
40 Class implementing a dialog to enter the name-value pair to define a
41 variable for the IDL compiler.
42 </p>
43 <h3>Derived from</h3>
44 QDialog, Ui_IdlCompilerDefineNameDialog
45 <h3>Class Attributes</h3>
46
47 <table>
48 <tr><td>None</td></tr>
49 </table>
50 <h3>Class Methods</h3>
51
52 <table>
53 <tr><td>None</td></tr>
54 </table>
55 <h3>Methods</h3>
56
57 <table>
58
59 <tr>
60 <td><a href="#IdlCompilerDefineNameDialog.__init__">IdlCompilerDefineNameDialog</a></td>
61 <td>Constructor</td>
62 </tr>
63 <tr>
64 <td><a href="#IdlCompilerDefineNameDialog.__updateOkButton">__updateOkButton</a></td>
65 <td>Private slot to update the enable state of the OK button.</td>
66 </tr>
67 <tr>
68 <td><a href="#IdlCompilerDefineNameDialog.getData">getData</a></td>
69 <td>Public method to get the entered data.</td>
70 </tr>
71 <tr>
72 <td><a href="#IdlCompilerDefineNameDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td>
73 <td>Private slot to handle changes of the name.</td>
74 </tr>
75 </table>
76 <h3>Static Methods</h3>
77
78 <table>
79 <tr><td>None</td></tr>
80 </table>
81
82 <a NAME="IdlCompilerDefineNameDialog.__init__" ID="IdlCompilerDefineNameDialog.__init__"></a>
83 <h4>IdlCompilerDefineNameDialog (Constructor)</h4>
84 <b>IdlCompilerDefineNameDialog</b>(<i>name="", value="", parent=None</i>)
85
86 <p>
87 Constructor
88 </p>
89 <dl>
90
91 <dt><i>name</i> (str)</dt>
92 <dd>
93 name of the variable
94 </dd>
95 <dt><i>value</i> (str)</dt>
96 <dd>
97 value of the variable
98 </dd>
99 <dt><i>parent</i> (QWidget)</dt>
100 <dd>
101 reference to the parent widget
102 </dd>
103 </dl>
104 <a NAME="IdlCompilerDefineNameDialog.__updateOkButton" ID="IdlCompilerDefineNameDialog.__updateOkButton"></a>
105 <h4>IdlCompilerDefineNameDialog.__updateOkButton</h4>
106 <b>__updateOkButton</b>(<i></i>)
107
108 <p>
109 Private slot to update the enable state of the OK button.
110 </p>
111 <a NAME="IdlCompilerDefineNameDialog.getData" ID="IdlCompilerDefineNameDialog.getData"></a>
112 <h4>IdlCompilerDefineNameDialog.getData</h4>
113 <b>getData</b>(<i></i>)
114
115 <p>
116 Public method to get the entered data.
117 </p>
118 <dl>
119 <dt>Return:</dt>
120 <dd>
121 tuple containing the variable name and value
122 </dd>
123 </dl>
124 <dl>
125 <dt>Return Type:</dt>
126 <dd>
127 tuple of (str, str)
128 </dd>
129 </dl>
130 <a NAME="IdlCompilerDefineNameDialog.on_nameEdit_textChanged" ID="IdlCompilerDefineNameDialog.on_nameEdit_textChanged"></a>
131 <h4>IdlCompilerDefineNameDialog.on_nameEdit_textChanged</h4>
132 <b>on_nameEdit_textChanged</b>(<i>txt</i>)
133
134 <p>
135 Private slot to handle changes of the name.
136 </p>
137 <dl>
138
139 <dt><i>txt</i> (str)</dt>
140 <dd>
141 current text of the name edit
142 </dd>
143 </dl>
144 <div align="right"><a href="#top">Up</a></div>
145 <hr />
146 </body></html>

eric ide

mercurial