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