|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.E5Gui.E5ComboBox</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.E5Gui.E5ComboBox</h1> |
|
23 <p> |
|
24 Module implementing combobox classes using the eric6 line edits. |
|
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="#E5ClearableComboBox">E5ClearableComboBox</a></td> |
|
34 <td>Class implementing a combobox using the eric6 line edit.</td> |
|
35 </tr><tr> |
|
36 <td><a href="#E5ComboBox">E5ComboBox</a></td> |
|
37 <td>Class implementing a combobox using the eric6 line edit.</td> |
|
38 </tr> |
|
39 </table> |
|
40 <h3>Functions</h3> |
|
41 <table> |
|
42 <tr><td>None</td></tr> |
|
43 </table> |
|
44 <hr /><hr /> |
|
45 <a NAME="E5ClearableComboBox" ID="E5ClearableComboBox"></a> |
|
46 <h2>E5ClearableComboBox</h2> |
|
47 <p> |
|
48 Class implementing a combobox using the eric6 line edit. |
|
49 </p> |
|
50 <h3>Derived from</h3> |
|
51 E5ComboBox |
|
52 <h3>Class Attributes</h3> |
|
53 <table> |
|
54 <tr><td>None</td></tr> |
|
55 </table> |
|
56 <h3>Class Methods</h3> |
|
57 <table> |
|
58 <tr><td>None</td></tr> |
|
59 </table> |
|
60 <h3>Methods</h3> |
|
61 <table> |
|
62 <tr> |
|
63 <td><a href="#E5ClearableComboBox.__init__">E5ClearableComboBox</a></td> |
|
64 <td>Constructor</td> |
|
65 </tr> |
|
66 </table> |
|
67 <h3>Static Methods</h3> |
|
68 <table> |
|
69 <tr><td>None</td></tr> |
|
70 </table> |
|
71 <a NAME="E5ClearableComboBox.__init__" ID="E5ClearableComboBox.__init__"></a> |
|
72 <h4>E5ClearableComboBox (Constructor)</h4> |
|
73 <b>E5ClearableComboBox</b>(<i>parent=None, inactiveText=""</i>) |
|
74 <p> |
|
75 Constructor |
|
76 </p><dl> |
|
77 <dt><i>parent</i></dt> |
|
78 <dd> |
|
79 reference to the parent widget (QWidget) |
|
80 </dd><dt><i>inactiveText</i></dt> |
|
81 <dd> |
|
82 text to be shown on inactivity (string) |
|
83 </dd> |
|
84 </dl> |
|
85 <div align="right"><a href="#top">Up</a></div> |
|
86 <hr /><hr /> |
|
87 <a NAME="E5ComboBox" ID="E5ComboBox"></a> |
|
88 <h2>E5ComboBox</h2> |
|
89 <p> |
|
90 Class implementing a combobox using the eric6 line edit. |
|
91 </p> |
|
92 <h3>Derived from</h3> |
|
93 QComboBox |
|
94 <h3>Class Attributes</h3> |
|
95 <table> |
|
96 <tr><td>None</td></tr> |
|
97 </table> |
|
98 <h3>Class Methods</h3> |
|
99 <table> |
|
100 <tr><td>None</td></tr> |
|
101 </table> |
|
102 <h3>Methods</h3> |
|
103 <table> |
|
104 <tr> |
|
105 <td><a href="#E5ComboBox.__init__">E5ComboBox</a></td> |
|
106 <td>Constructor</td> |
|
107 </tr><tr> |
|
108 <td><a href="#E5ComboBox.inactiveText">inactiveText</a></td> |
|
109 <td>Public method to get the inactive text.</td> |
|
110 </tr><tr> |
|
111 <td><a href="#E5ComboBox.setInactiveText">setInactiveText</a></td> |
|
112 <td>Public method to set the inactive text.</td> |
|
113 </tr> |
|
114 </table> |
|
115 <h3>Static Methods</h3> |
|
116 <table> |
|
117 <tr><td>None</td></tr> |
|
118 </table> |
|
119 <a NAME="E5ComboBox.__init__" ID="E5ComboBox.__init__"></a> |
|
120 <h4>E5ComboBox (Constructor)</h4> |
|
121 <b>E5ComboBox</b>(<i>parent=None, inactiveText=""</i>) |
|
122 <p> |
|
123 Constructor |
|
124 </p><dl> |
|
125 <dt><i>parent</i></dt> |
|
126 <dd> |
|
127 reference to the parent widget (QWidget) |
|
128 </dd><dt><i>inactiveText</i></dt> |
|
129 <dd> |
|
130 text to be shown on inactivity (string) |
|
131 </dd> |
|
132 </dl><a NAME="E5ComboBox.inactiveText" ID="E5ComboBox.inactiveText"></a> |
|
133 <h4>E5ComboBox.inactiveText</h4> |
|
134 <b>inactiveText</b>(<i></i>) |
|
135 <p> |
|
136 Public method to get the inactive text. |
|
137 </p><dl> |
|
138 <dt>Returns:</dt> |
|
139 <dd> |
|
140 inactive text (string) |
|
141 </dd> |
|
142 </dl><a NAME="E5ComboBox.setInactiveText" ID="E5ComboBox.setInactiveText"></a> |
|
143 <h4>E5ComboBox.setInactiveText</h4> |
|
144 <b>setInactiveText</b>(<i>inactiveText</i>) |
|
145 <p> |
|
146 Public method to set the inactive text. |
|
147 </p><dl> |
|
148 <dt><i>inactiveText</i></dt> |
|
149 <dd> |
|
150 text to be shown on inactivity (string) |
|
151 </dd> |
|
152 </dl> |
|
153 <div align="right"><a href="#top">Up</a></div> |
|
154 <hr /> |
|
155 </body></html> |