src/eric7/Documentation/Source/eric7.EricWidgets.EricLineEditButton.html

branch
eric7
changeset 10479
856476537696
parent 10423
299802979277
child 10689
3ede487187f2
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.EricWidgets.EricLineEditButton</h1> 9 <h1>eric7.EricWidgets.EricLineEditButton</h1>
10
11 <p> 10 <p>
12 Module implementing a button class to be used with EricLineEdit. 11 Module implementing a button class to be used with EricLineEdit.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>None</td></tr> 16 <tr><td>None</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20
21 <table> 20 <table>
22
23 <tr> 21 <tr>
24 <td><a href="#EricLineEditButton">EricLineEditButton</a></td> 22 <td><a href="#EricLineEditButton">EricLineEditButton</a></td>
25 <td>Class implementing a button to be used with EricLineEdit.</td> 23 <td>Class implementing a button to be used with EricLineEdit.</td>
26 </tr> 24 </tr>
27 </table> 25 </table>
26
28 <h3>Functions</h3> 27 <h3>Functions</h3>
29
30 <table> 28 <table>
31 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
32 </table> 30 </table>
31
33 <hr /> 32 <hr />
34 <hr /> 33 <hr />
35 <a NAME="EricLineEditButton" ID="EricLineEditButton"></a> 34 <a NAME="EricLineEditButton" ID="EricLineEditButton"></a>
36 <h2>EricLineEditButton</h2> 35 <h2>EricLineEditButton</h2>
37
38 <p> 36 <p>
39 Class implementing a button to be used with EricLineEdit. 37 Class implementing a button to be used with EricLineEdit.
40 </p> 38 </p>
39
41 <h3>Derived from</h3> 40 <h3>Derived from</h3>
42 QAbstractButton 41 QAbstractButton
43 <h3>Class Attributes</h3> 42 <h3>Class Attributes</h3>
44
45 <table> 43 <table>
46 <tr><td>None</td></tr> 44 <tr><td>None</td></tr>
47 </table> 45 </table>
46
48 <h3>Class Methods</h3> 47 <h3>Class Methods</h3>
49
50 <table> 48 <table>
51 <tr><td>None</td></tr> 49 <tr><td>None</td></tr>
52 </table> 50 </table>
51
53 <h3>Methods</h3> 52 <h3>Methods</h3>
54
55 <table> 53 <table>
56
57 <tr> 54 <tr>
58 <td><a href="#EricLineEditButton.__init__">EricLineEditButton</a></td> 55 <td><a href="#EricLineEditButton.__init__">EricLineEditButton</a></td>
59 <td>Constructor</td> 56 <td>Constructor</td>
60 </tr> 57 </tr>
61 <tr> 58 <tr>
77 <tr> 74 <tr>
78 <td><a href="#EricLineEditButton.setMenu">setMenu</a></td> 75 <td><a href="#EricLineEditButton.setMenu">setMenu</a></td>
79 <td>Public method to set the button menu.</td> 76 <td>Public method to set the button menu.</td>
80 </tr> 77 </tr>
81 </table> 78 </table>
79
82 <h3>Static Methods</h3> 80 <h3>Static Methods</h3>
83
84 <table> 81 <table>
85 <tr><td>None</td></tr> 82 <tr><td>None</td></tr>
86 </table> 83 </table>
87 84
85
88 <a NAME="EricLineEditButton.__init__" ID="EricLineEditButton.__init__"></a> 86 <a NAME="EricLineEditButton.__init__" ID="EricLineEditButton.__init__"></a>
89 <h4>EricLineEditButton (Constructor)</h4> 87 <h4>EricLineEditButton (Constructor)</h4>
90 <b>EricLineEditButton</b>(<i>parent=None</i>) 88 <b>EricLineEditButton</b>(<i>parent=None</i>)
91
92 <p> 89 <p>
93 Constructor 90 Constructor
94 </p> 91 </p>
92
95 <dl> 93 <dl>
96 94
97 <dt><i>parent</i> (QWidget)</dt> 95 <dt><i>parent</i> (QWidget)</dt>
98 <dd> 96 <dd>
99 reference to the parent widget 97 reference to the parent widget
100 </dd> 98 </dd>
101 </dl> 99 </dl>
102 <a NAME="EricLineEditButton.__clicked" ID="EricLineEditButton.__clicked"></a> 100 <a NAME="EricLineEditButton.__clicked" ID="EricLineEditButton.__clicked"></a>
103 <h4>EricLineEditButton.__clicked</h4> 101 <h4>EricLineEditButton.__clicked</h4>
104 <b>__clicked</b>(<i></i>) 102 <b>__clicked</b>(<i></i>)
105
106 <p> 103 <p>
107 Private slot to handle a button click. 104 Private slot to handle a button click.
108 </p> 105 </p>
106
109 <a NAME="EricLineEditButton.menu" ID="EricLineEditButton.menu"></a> 107 <a NAME="EricLineEditButton.menu" ID="EricLineEditButton.menu"></a>
110 <h4>EricLineEditButton.menu</h4> 108 <h4>EricLineEditButton.menu</h4>
111 <b>menu</b>(<i></i>) 109 <b>menu</b>(<i></i>)
112
113 <p> 110 <p>
114 Public method to get a reference to the menu. 111 Public method to get a reference to the menu.
115 </p> 112 </p>
113
116 <dl> 114 <dl>
117 <dt>Return:</dt> 115 <dt>Return:</dt>
118 <dd> 116 <dd>
119 reference to the associated menu 117 reference to the associated menu
120 </dd> 118 </dd>
126 </dd> 124 </dd>
127 </dl> 125 </dl>
128 <a NAME="EricLineEditButton.paintEvent" ID="EricLineEditButton.paintEvent"></a> 126 <a NAME="EricLineEditButton.paintEvent" ID="EricLineEditButton.paintEvent"></a>
129 <h4>EricLineEditButton.paintEvent</h4> 127 <h4>EricLineEditButton.paintEvent</h4>
130 <b>paintEvent</b>(<i>evt</i>) 128 <b>paintEvent</b>(<i>evt</i>)
131
132 <p> 129 <p>
133 Protected method handling a paint event. 130 Protected method handling a paint event.
134 </p> 131 </p>
132
135 <dl> 133 <dl>
136 134
137 <dt><i>evt</i> (QPaintEvent)</dt> 135 <dt><i>evt</i> (QPaintEvent)</dt>
138 <dd> 136 <dd>
139 reference to the paint event 137 reference to the paint event
140 </dd> 138 </dd>
141 </dl> 139 </dl>
142 <a NAME="EricLineEditButton.setIcon" ID="EricLineEditButton.setIcon"></a> 140 <a NAME="EricLineEditButton.setIcon" ID="EricLineEditButton.setIcon"></a>
143 <h4>EricLineEditButton.setIcon</h4> 141 <h4>EricLineEditButton.setIcon</h4>
144 <b>setIcon</b>(<i>icon</i>) 142 <b>setIcon</b>(<i>icon</i>)
145
146 <p> 143 <p>
147 Public method to set the button icon. 144 Public method to set the button icon.
148 </p> 145 </p>
146
149 <dl> 147 <dl>
150 148
151 <dt><i>icon</i> (QIcon)</dt> 149 <dt><i>icon</i> (QIcon)</dt>
152 <dd> 150 <dd>
153 icon to be set 151 icon to be set
154 </dd> 152 </dd>
155 </dl> 153 </dl>
156 <a NAME="EricLineEditButton.setMenu" ID="EricLineEditButton.setMenu"></a> 154 <a NAME="EricLineEditButton.setMenu" ID="EricLineEditButton.setMenu"></a>
157 <h4>EricLineEditButton.setMenu</h4> 155 <h4>EricLineEditButton.setMenu</h4>
158 <b>setMenu</b>(<i>menu</i>) 156 <b>setMenu</b>(<i>menu</i>)
159
160 <p> 157 <p>
161 Public method to set the button menu. 158 Public method to set the button menu.
162 </p> 159 </p>
160
163 <dl> 161 <dl>
164 162
165 <dt><i>menu</i> (QMenu)</dt> 163 <dt><i>menu</i> (QMenu)</dt>
166 <dd> 164 <dd>
167 reference to the menu 165 reference to the menu

eric ide

mercurial