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