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

branch
eric7
changeset 10423
299802979277
parent 9209
b99e7fd55fd3
child 10479
856476537696
--- a/src/eric7/Documentation/Source/eric7.EricWidgets.EricModelMenu.html	Tue Dec 19 11:04:03 2023 +0100
+++ b/src/eric7/Documentation/Source/eric7.EricWidgets.EricModelMenu.html	Tue Dec 19 19:57:08 2023 +0100
@@ -198,9 +198,9 @@
 </p>
 <dl>
 
-<dt><i>parent</i></dt>
+<dt><i>parent</i> (QWidget)</dt>
 <dd>
-reference to the parent widget (QWidget)
+reference to the parent widget
 </dd>
 </dl>
 <a NAME="EricModelMenu.__aboutToShow" ID="EricModelMenu.__aboutToShow"></a>
@@ -219,9 +219,9 @@
 </p>
 <dl>
 
-<dt><i>action</i></dt>
+<dt><i>action</i> (QAction)</dt>
 <dd>
-reference to the action that was triggered (QAction)
+reference to the action that was triggered
 </dd>
 </dl>
 <a NAME="EricModelMenu.__makeAction" ID="EricModelMenu.__makeAction"></a>
@@ -233,15 +233,21 @@
 </p>
 <dl>
 
-<dt><i>idx</i></dt>
+<dt><i>idx</i> (QModelIndex)</dt>
 <dd>
-index of the item to create an action for (QModelIndex)
+index of the item to create an action for
 </dd>
 </dl>
 <dl>
 <dt>Return:</dt>
 <dd>
-reference to the created action (QAction)
+reference to the created action
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+QAction
 </dd>
 </dl>
 <a NAME="EricModelMenu.clear" ID="EricModelMenu.clear"></a>
@@ -261,7 +267,13 @@
 <dl>
 <dt>Return:</dt>
 <dd>
-reference to the menu (EricModelMenu)
+reference to the menu
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+EricModelMenu
 </dd>
 </dl>
 <a NAME="EricModelMenu.createMenu" ID="EricModelMenu.createMenu"></a>
@@ -274,21 +286,21 @@
 </p>
 <dl>
 
-<dt><i>parent</i></dt>
+<dt><i>parent</i> (QModelIndex)</dt>
 <dd>
-index of the parent item (QModelIndex)
+index of the parent item
 </dd>
-<dt><i>max_</i></dt>
+<dt><i>max_</i> (int)</dt>
 <dd>
-maximum number of entries (integer)
+maximum number of entries
 </dd>
-<dt><i>parentMenu</i></dt>
+<dt><i>parentMenu</i> (QMenu)</dt>
 <dd>
-reference to the parent menu (QMenu)
+reference to the parent menu
 </dd>
-<dt><i>menu</i></dt>
+<dt><i>menu</i> (QMenu)</dt>
 <dd>
-reference to the menu to be populated (QMenu)
+reference to the menu to be populated
 </dd>
 </dl>
 <a NAME="EricModelMenu.dragEnterEvent" ID="EricModelMenu.dragEnterEvent"></a>
@@ -300,9 +312,9 @@
 </p>
 <dl>
 
-<dt><i>evt</i></dt>
+<dt><i>evt</i> (QDragEnterEvent)</dt>
 <dd>
-reference to the event (QDragEnterEvent)
+reference to the event
 </dd>
 </dl>
 <a NAME="EricModelMenu.dropEvent" ID="EricModelMenu.dropEvent"></a>
@@ -314,9 +326,9 @@
 </p>
 <dl>
 
-<dt><i>evt</i></dt>
+<dt><i>evt</i> (QDropEvent)</dt>
 <dd>
-reference to the event (QDropEvent)
+reference to the event
 </dd>
 </dl>
 <a NAME="EricModelMenu.firstSeparator" ID="EricModelMenu.firstSeparator"></a>
@@ -329,7 +341,13 @@
 <dl>
 <dt>Return:</dt>
 <dd>
-row number of the first separator (integer)
+row number of the first separator
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+int
 </dd>
 </dl>
 <a NAME="EricModelMenu.index" ID="EricModelMenu.index"></a>
@@ -341,15 +359,21 @@
 </p>
 <dl>
 
-<dt><i>action</i></dt>
+<dt><i>action</i> (QAction)</dt>
 <dd>
-reference to the action to get the index for (QAction)
+reference to the action to get the index for
 </dd>
 </dl>
 <dl>
 <dt>Return:</dt>
 <dd>
-index of the action (QModelIndex)
+index of the action
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+QModelIndex
 </dd>
 </dl>
 <a NAME="EricModelMenu.makeAction" ID="EricModelMenu.makeAction"></a>
@@ -361,23 +385,29 @@
 </p>
 <dl>
 
-<dt><i>icon</i></dt>
+<dt><i>icon</i> (QIcon)</dt>
 <dd>
-icon of the action (QIcon)
+icon of the action
 </dd>
-<dt><i>text</i></dt>
+<dt><i>text</i> (str)</dt>
 <dd>
-text of the action (string)
+text of the action
 </dd>
-<dt><i>parent</i></dt>
+<dt><i>parent</i> (QObject)</dt>
 <dd>
-reference to the parent object (QObject)
+reference to the parent object
 </dd>
 </dl>
 <dl>
 <dt>Return:</dt>
 <dd>
-reference to the created action (QAction)
+reference to the created action
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+QAction
 </dd>
 </dl>
 <a NAME="EricModelMenu.maxRows" ID="EricModelMenu.maxRows"></a>
@@ -390,7 +420,13 @@
 <dl>
 <dt>Return:</dt>
 <dd>
-maximum number of entries to show (integer)
+maximum number of entries to show
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+int
 </dd>
 </dl>
 <a NAME="EricModelMenu.model" ID="EricModelMenu.model"></a>
@@ -403,7 +439,13 @@
 <dl>
 <dt>Return:</dt>
 <dd>
-reference to the model (QAbstractItemModel)
+reference to the model
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+QAbstractItemModel
 </dd>
 </dl>
 <a NAME="EricModelMenu.mouseMoveEvent" ID="EricModelMenu.mouseMoveEvent"></a>
@@ -415,9 +457,9 @@
 </p>
 <dl>
 
-<dt><i>evt</i></dt>
+<dt><i>evt</i> (QMouseEvent)</dt>
 <dd>
-reference to the event (QMouseEvent)
+reference to the event
 </dd>
 </dl>
 <a NAME="EricModelMenu.mousePressEvent" ID="EricModelMenu.mousePressEvent"></a>
@@ -429,9 +471,9 @@
 </p>
 <dl>
 
-<dt><i>evt</i></dt>
+<dt><i>evt</i> (QMouseEvent)</dt>
 <dd>
-reference to the event object (QMouseEvent)
+reference to the event object
 </dd>
 </dl>
 <a NAME="EricModelMenu.mouseReleaseEvent" ID="EricModelMenu.mouseReleaseEvent"></a>
@@ -443,9 +485,9 @@
 </p>
 <dl>
 
-<dt><i>evt</i></dt>
+<dt><i>evt</i> (QMouseEvent)</dt>
 <dd>
-reference to the event object (QMouseEvent)
+reference to the event object
 </dd>
 </dl>
 <a NAME="EricModelMenu.postPopulated" ID="EricModelMenu.postPopulated"></a>
@@ -468,6 +510,12 @@
 flag indicating if any actions were added
 </dd>
 </dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl>
 <a NAME="EricModelMenu.removeEntry" ID="EricModelMenu.removeEntry"></a>
 <h4>EricModelMenu.removeEntry</h4>
 <b>removeEntry</b>(<i>idx</i>)
@@ -477,9 +525,9 @@
 </p>
 <dl>
 
-<dt><i>idx</i></dt>
+<dt><i>idx</i> (QModelIndex)</dt>
 <dd>
-index of the entry to be removed (QModelIndex)
+index of the entry to be removed
 </dd>
 </dl>
 <a NAME="EricModelMenu.resetFlags" ID="EricModelMenu.resetFlags"></a>
@@ -499,7 +547,13 @@
 <dl>
 <dt>Return:</dt>
 <dd>
-index of the root item (QModelIndex)
+index of the root item
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+QModelIndex
 </dd>
 </dl>
 <a NAME="EricModelMenu.separatorRole" ID="EricModelMenu.separatorRole"></a>
@@ -512,7 +566,13 @@
 <dl>
 <dt>Return:</dt>
 <dd>
-role of the separator (integer)
+role of the separator
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+int
 </dd>
 </dl>
 <a NAME="EricModelMenu.setFirstSeparator" ID="EricModelMenu.setFirstSeparator"></a>
@@ -524,9 +584,9 @@
 </p>
 <dl>
 
-<dt><i>offset</i></dt>
+<dt><i>offset</i> (int)</dt>
 <dd>
-row number of the first separator (integer)
+row number of the first separator
 </dd>
 </dl>
 <a NAME="EricModelMenu.setMaxRows" ID="EricModelMenu.setMaxRows"></a>
@@ -538,9 +598,9 @@
 </p>
 <dl>
 
-<dt><i>rows</i></dt>
+<dt><i>rows</i> (int)</dt>
 <dd>
-maximum number of entries to show (integer)
+maximum number of entries to show
 </dd>
 </dl>
 <a NAME="EricModelMenu.setModel" ID="EricModelMenu.setModel"></a>
@@ -552,9 +612,9 @@
 </p>
 <dl>
 
-<dt><i>model</i></dt>
+<dt><i>model</i> (QAbstractItemModel)</dt>
 <dd>
-reference to the model (QAbstractItemModel)
+reference to the model
 </dd>
 </dl>
 <a NAME="EricModelMenu.setRootIndex" ID="EricModelMenu.setRootIndex"></a>
@@ -566,9 +626,9 @@
 </p>
 <dl>
 
-<dt><i>index</i></dt>
+<dt><i>index</i> (QModelIndex)</dt>
 <dd>
-index of the root item (QModelIndex)
+index of the root item
 </dd>
 </dl>
 <a NAME="EricModelMenu.setSeparatorRole" ID="EricModelMenu.setSeparatorRole"></a>
@@ -580,9 +640,9 @@
 </p>
 <dl>
 
-<dt><i>role</i></dt>
+<dt><i>role</i> (int)</dt>
 <dd>
-role of the separator (integer)
+role of the separator
 </dd>
 </dl>
 <a NAME="EricModelMenu.setStatusBarTextRole" ID="EricModelMenu.setStatusBarTextRole"></a>
@@ -594,9 +654,9 @@
 </p>
 <dl>
 
-<dt><i>role</i></dt>
+<dt><i>role</i> (int)</dt>
 <dd>
-role of the status bar text (integer)
+role of the status bar text
 </dd>
 </dl>
 <a NAME="EricModelMenu.statusBarTextRole" ID="EricModelMenu.statusBarTextRole"></a>
@@ -609,7 +669,13 @@
 <dl>
 <dt>Return:</dt>
 <dd>
-role of the status bar text (integer)
+role of the status bar text
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+int
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial