--- a/src/eric7/Documentation/Source/eric7.EricWidgets.EricModelMenu.html Thu Jan 04 17:16:15 2024 +0100 +++ b/src/eric7/Documentation/Source/eric7.EricWidgets.EricModelMenu.html Thu Jan 04 18:02:25 2024 +0100 @@ -7,37 +7,36 @@ <body> <a NAME="top" ID="top"></a> <h1>eric7.EricWidgets.EricModelMenu</h1> - <p> Module implementing a menu populated from a QAbstractItemModel. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#EricModelMenu">EricModelMenu</a></td> <td>Class implementing a menu populated from a QAbstractItemModel.</td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="EricModelMenu" ID="EricModelMenu"></a> <h2>EricModelMenu</h2> - <p> Class implementing a menu populated from a QAbstractItemModel. </p> + <h3>Signals</h3> <dl> @@ -49,19 +48,17 @@ <h3>Derived from</h3> QMenu <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#EricModelMenu.__init__">EricModelMenu</a></td> <td>Constructor</td> @@ -183,19 +180,20 @@ <td>Public method to get the role of the status bar text.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="EricModelMenu.__init__" ID="EricModelMenu.__init__"></a> <h4>EricModelMenu (Constructor)</h4> <b>EricModelMenu</b>(<i>parent=None</i>) - <p> Constructor </p> + <dl> <dt><i>parent</i> (QWidget)</dt> @@ -206,17 +204,17 @@ <a NAME="EricModelMenu.__aboutToShow" ID="EricModelMenu.__aboutToShow"></a> <h4>EricModelMenu.__aboutToShow</h4> <b>__aboutToShow</b>(<i></i>) - <p> Private slot to show the menu. </p> + <a NAME="EricModelMenu.__actionTriggered" ID="EricModelMenu.__actionTriggered"></a> <h4>EricModelMenu.__actionTriggered</h4> <b>__actionTriggered</b>(<i>action</i>) - <p> Private slot to handle the triggering of an action. </p> + <dl> <dt><i>action</i> (QAction)</dt> @@ -227,10 +225,10 @@ <a NAME="EricModelMenu.__makeAction" ID="EricModelMenu.__makeAction"></a> <h4>EricModelMenu.__makeAction</h4> <b>__makeAction</b>(<i>idx</i>) - <p> Private method to create an action. </p> + <dl> <dt><i>idx</i> (QModelIndex)</dt> @@ -253,17 +251,17 @@ <a NAME="EricModelMenu.clear" ID="EricModelMenu.clear"></a> <h4>EricModelMenu.clear</h4> <b>clear</b>(<i></i>) - <p> Public method to clear the menu. </p> + <a NAME="EricModelMenu.createBaseMenu" ID="EricModelMenu.createBaseMenu"></a> <h4>EricModelMenu.createBaseMenu</h4> <b>createBaseMenu</b>(<i></i>) - <p> Public method to get the menu that is used to populate sub menu's. </p> + <dl> <dt>Return:</dt> <dd> @@ -279,11 +277,11 @@ <a NAME="EricModelMenu.createMenu" ID="EricModelMenu.createMenu"></a> <h4>EricModelMenu.createMenu</h4> <b>createMenu</b>(<i>parent, max_, parentMenu=None, menu=None</i>) - <p> Public method to put all the children of a parent into a menu of a given length. </p> + <dl> <dt><i>parent</i> (QModelIndex)</dt> @@ -306,10 +304,10 @@ <a NAME="EricModelMenu.dragEnterEvent" ID="EricModelMenu.dragEnterEvent"></a> <h4>EricModelMenu.dragEnterEvent</h4> <b>dragEnterEvent</b>(<i>evt</i>) - <p> Protected method to handle drag enter events. </p> + <dl> <dt><i>evt</i> (QDragEnterEvent)</dt> @@ -320,10 +318,10 @@ <a NAME="EricModelMenu.dropEvent" ID="EricModelMenu.dropEvent"></a> <h4>EricModelMenu.dropEvent</h4> <b>dropEvent</b>(<i>evt</i>) - <p> Protected method to handle drop events. </p> + <dl> <dt><i>evt</i> (QDropEvent)</dt> @@ -334,10 +332,10 @@ <a NAME="EricModelMenu.firstSeparator" ID="EricModelMenu.firstSeparator"></a> <h4>EricModelMenu.firstSeparator</h4> <b>firstSeparator</b>(<i></i>) - <p> Public method to get the first separator. </p> + <dl> <dt>Return:</dt> <dd> @@ -353,10 +351,10 @@ <a NAME="EricModelMenu.index" ID="EricModelMenu.index"></a> <h4>EricModelMenu.index</h4> <b>index</b>(<i>action</i>) - <p> Public method to get the index of an action. </p> + <dl> <dt><i>action</i> (QAction)</dt> @@ -379,10 +377,10 @@ <a NAME="EricModelMenu.makeAction" ID="EricModelMenu.makeAction"></a> <h4>EricModelMenu.makeAction</h4> <b>makeAction</b>(<i>icon, text, parent</i>) - <p> Public method to create an action. </p> + <dl> <dt><i>icon</i> (QIcon)</dt> @@ -413,10 +411,10 @@ <a NAME="EricModelMenu.maxRows" ID="EricModelMenu.maxRows"></a> <h4>EricModelMenu.maxRows</h4> <b>maxRows</b>(<i></i>) - <p> Public method to get the maximum number of entries to show. </p> + <dl> <dt>Return:</dt> <dd> @@ -432,10 +430,10 @@ <a NAME="EricModelMenu.model" ID="EricModelMenu.model"></a> <h4>EricModelMenu.model</h4> <b>model</b>(<i></i>) - <p> Public method to get a reference to the model. </p> + <dl> <dt>Return:</dt> <dd> @@ -451,10 +449,10 @@ <a NAME="EricModelMenu.mouseMoveEvent" ID="EricModelMenu.mouseMoveEvent"></a> <h4>EricModelMenu.mouseMoveEvent</h4> <b>mouseMoveEvent</b>(<i>evt</i>) - <p> Protected method to handle mouse move events. </p> + <dl> <dt><i>evt</i> (QMouseEvent)</dt> @@ -465,10 +463,10 @@ <a NAME="EricModelMenu.mousePressEvent" ID="EricModelMenu.mousePressEvent"></a> <h4>EricModelMenu.mousePressEvent</h4> <b>mousePressEvent</b>(<i>evt</i>) - <p> Protected method handling mouse press events. </p> + <dl> <dt><i>evt</i> (QMouseEvent)</dt> @@ -479,10 +477,10 @@ <a NAME="EricModelMenu.mouseReleaseEvent" ID="EricModelMenu.mouseReleaseEvent"></a> <h4>EricModelMenu.mouseReleaseEvent</h4> <b>mouseReleaseEvent</b>(<i>evt</i>) - <p> Protected method handling mouse release events. </p> + <dl> <dt><i>evt</i> (QMouseEvent)</dt> @@ -493,17 +491,17 @@ <a NAME="EricModelMenu.postPopulated" ID="EricModelMenu.postPopulated"></a> <h4>EricModelMenu.postPopulated</h4> <b>postPopulated</b>(<i></i>) - <p> Public method to add any actions after the tree. </p> + <a NAME="EricModelMenu.prePopulated" ID="EricModelMenu.prePopulated"></a> <h4>EricModelMenu.prePopulated</h4> <b>prePopulated</b>(<i></i>) - <p> Public method to add any actions before the tree. </p> + <dl> <dt>Return:</dt> <dd> @@ -519,10 +517,10 @@ <a NAME="EricModelMenu.removeEntry" ID="EricModelMenu.removeEntry"></a> <h4>EricModelMenu.removeEntry</h4> <b>removeEntry</b>(<i>idx</i>) - <p> Public method to remove a menu entry. </p> + <dl> <dt><i>idx</i> (QModelIndex)</dt> @@ -533,17 +531,17 @@ <a NAME="EricModelMenu.resetFlags" ID="EricModelMenu.resetFlags"></a> <h4>EricModelMenu.resetFlags</h4> <b>resetFlags</b>(<i></i>) - <p> Public method to reset the saved internal state. </p> + <a NAME="EricModelMenu.rootIndex" ID="EricModelMenu.rootIndex"></a> <h4>EricModelMenu.rootIndex</h4> <b>rootIndex</b>(<i></i>) - <p> Public method to get the index of the root item. </p> + <dl> <dt>Return:</dt> <dd> @@ -559,10 +557,10 @@ <a NAME="EricModelMenu.separatorRole" ID="EricModelMenu.separatorRole"></a> <h4>EricModelMenu.separatorRole</h4> <b>separatorRole</b>(<i></i>) - <p> Public method to get the role of the separator. </p> + <dl> <dt>Return:</dt> <dd> @@ -578,10 +576,10 @@ <a NAME="EricModelMenu.setFirstSeparator" ID="EricModelMenu.setFirstSeparator"></a> <h4>EricModelMenu.setFirstSeparator</h4> <b>setFirstSeparator</b>(<i>offset</i>) - <p> Public method to set the first separator. </p> + <dl> <dt><i>offset</i> (int)</dt> @@ -592,10 +590,10 @@ <a NAME="EricModelMenu.setMaxRows" ID="EricModelMenu.setMaxRows"></a> <h4>EricModelMenu.setMaxRows</h4> <b>setMaxRows</b>(<i>rows</i>) - <p> Public method to set the maximum number of entries to show. </p> + <dl> <dt><i>rows</i> (int)</dt> @@ -606,10 +604,10 @@ <a NAME="EricModelMenu.setModel" ID="EricModelMenu.setModel"></a> <h4>EricModelMenu.setModel</h4> <b>setModel</b>(<i>model</i>) - <p> Public method to set the model for the menu. </p> + <dl> <dt><i>model</i> (QAbstractItemModel)</dt> @@ -620,10 +618,10 @@ <a NAME="EricModelMenu.setRootIndex" ID="EricModelMenu.setRootIndex"></a> <h4>EricModelMenu.setRootIndex</h4> <b>setRootIndex</b>(<i>index</i>) - <p> Public method to set the index of the root item. </p> + <dl> <dt><i>index</i> (QModelIndex)</dt> @@ -634,10 +632,10 @@ <a NAME="EricModelMenu.setSeparatorRole" ID="EricModelMenu.setSeparatorRole"></a> <h4>EricModelMenu.setSeparatorRole</h4> <b>setSeparatorRole</b>(<i>role</i>) - <p> Public method to set the role of the separator. </p> + <dl> <dt><i>role</i> (int)</dt> @@ -648,10 +646,10 @@ <a NAME="EricModelMenu.setStatusBarTextRole" ID="EricModelMenu.setStatusBarTextRole"></a> <h4>EricModelMenu.setStatusBarTextRole</h4> <b>setStatusBarTextRole</b>(<i>role</i>) - <p> Public method to set the role of the status bar text. </p> + <dl> <dt><i>role</i> (int)</dt> @@ -662,10 +660,10 @@ <a NAME="EricModelMenu.statusBarTextRole" ID="EricModelMenu.statusBarTextRole"></a> <h4>EricModelMenu.statusBarTextRole</h4> <b>statusBarTextRole</b>(<i></i>) - <p> Public method to get the role of the status bar text. </p> + <dl> <dt>Return:</dt> <dd> @@ -680,4 +678,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>