Documentation/Source/eric5.E5Gui.E5ModelMenu.html

changeset 1228
7afaf2fca55b
parent 945
8cd4d08fa9f6
child 1229
a8207dc73672
equal deleted inserted replaced
1227:c5db073a124f 1228:7afaf2fca55b
42 <hr /><hr /> 42 <hr /><hr />
43 <a NAME="E5ModelMenu" ID="E5ModelMenu"></a> 43 <a NAME="E5ModelMenu" ID="E5ModelMenu"></a>
44 <h2>E5ModelMenu</h2> 44 <h2>E5ModelMenu</h2>
45 <p> 45 <p>
46 Class implementing a menu populated from a QAbstractItemModel. 46 Class implementing a menu populated from a QAbstractItemModel.
47 </p><h4>Signals</h4> 47 </p><h3>Signals</h3>
48 <dl> 48 <dl>
49 <dt>activated(QModelIndex)</dt> 49 <dt>activated(QModelIndex)</dt>
50 <dd> 50 <dd>
51 emitted when an action has been triggered 51 emitted when an action has been triggered
52 </dd> 52 </dd>
55 QMenu 55 QMenu
56 <h3>Class Attributes</h3> 56 <h3>Class Attributes</h3>
57 <table> 57 <table>
58 <tr><td>None</td></tr> 58 <tr><td>None</td></tr>
59 </table> 59 </table>
60 <h3>Class Methods</h3>
61 <table>
62 <tr><td>None</td></tr>
63 </table>
60 <h3>Methods</h3> 64 <h3>Methods</h3>
61 <table> 65 <table>
62 <tr> 66 <tr>
63 <td><a href="#E5ModelMenu.__init__">E5ModelMenu</a></td>
64 <td>Constructor</td>
65 </tr><tr>
66 <td><a href="#E5ModelMenu.__aboutToShow">__aboutToShow</a></td> 67 <td><a href="#E5ModelMenu.__aboutToShow">__aboutToShow</a></td>
67 <td>Private slot to show the menu.</td> 68 <td>Private slot to show the menu.</td>
68 </tr><tr> 69 </tr><tr>
69 <td><a href="#E5ModelMenu.__actionTriggered">__actionTriggered</a></td> 70 <td><a href="#E5ModelMenu.__actionTriggered">__actionTriggered</a></td>
70 <td>Private slot to handle the triggering of an action.</td> 71 <td>Private slot to handle the triggering of an action.</td>
145 <td>Public method to set the role of the status bar text.</td> 146 <td>Public method to set the role of the status bar text.</td>
146 </tr><tr> 147 </tr><tr>
147 <td><a href="#E5ModelMenu.statusBarTextRole">statusBarTextRole</a></td> 148 <td><a href="#E5ModelMenu.statusBarTextRole">statusBarTextRole</a></td>
148 <td>Public method to get the role of the status bar text.</td> 149 <td>Public method to get the role of the status bar text.</td>
149 </tr> 150 </tr>
151 </table>
152 <h3>Static Methods</h3>
153 <table>
154 <tr><td>None</td></tr>
150 </table> 155 </table>
151 <a NAME="E5ModelMenu.__init__" ID="E5ModelMenu.__init__"></a> 156 <a NAME="E5ModelMenu.__init__" ID="E5ModelMenu.__init__"></a>
152 <h4>E5ModelMenu (Constructor)</h4> 157 <h4>E5ModelMenu (Constructor)</h4>
153 <b>E5ModelMenu</b>(<i>parent=None</i>) 158 <b>E5ModelMenu</b>(<i>parent=None</i>)
154 <p> 159 <p>

eric ide

mercurial