src/eric7/Documentation/Source/eric7.EricGui.EricAction.html

branch
eric7
changeset 10423
299802979277
parent 9209
b99e7fd55fd3
child 10479
856476537696
--- a/src/eric7/Documentation/Source/eric7.EricGui.EricAction.html	Tue Dec 19 11:04:03 2023 +0100
+++ b/src/eric7/Documentation/Source/eric7.EricGui.EricAction.html	Tue Dec 19 19:57:08 2023 +0100
@@ -99,9 +99,9 @@
 </p>
 <dl>
 
-<dt><i>error</i></dt>
+<dt><i>error</i> (str)</dt>
 <dd>
-error message of the exception (string)
+error message of the exception
 </dd>
 </dl>
 <a NAME="ArgumentsError.__repr__" ID="ArgumentsError.__repr__"></a>
@@ -117,6 +117,12 @@
 string representing the error message
 </dd>
 </dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+str
+</dd>
+</dl>
 <a NAME="ArgumentsError.__str__" ID="ArgumentsError.__str__"></a>
 <h4>ArgumentsError.__str__</h4>
 <b>__str__</b>(<i></i>)
@@ -130,6 +136,12 @@
 string representing the error message
 </dd>
 </dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+str
+</dd>
+</dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr />
 <hr />
@@ -199,24 +211,23 @@
 </p>
 <dl>
 
-<dt><i>args</i></dt>
+<dt><i>args</i> (list of one of the following)</dt>
 <dd>
 argument list of the constructor. This list is one of
             <ul>
-            <li>text (string), icon (QIcon), menu text (string),
-                accelarator (QKeySequence), alternative accelerator
-                (QKeySequence), parent (QObject), name (string), toggle
-                (boolean)</li>
-            <li>text (string), icon (QIcon), menu text (string),
-                accelarator (QKeySequence), alternative accelerator
-                (QKeySequence), parent (QObject), name (string)</li>
-            <li>text (string), menu text (string),
-                accelarator (QKeySequence), alternative accelerator
-                (QKeySequence), parent (QObject), name (string), toggle
-                (boolean)</li>
-            <li>text (string), menu text (string),
-                accelarator (QKeySequence), alternative accelerator
-                (QKeySequence), parent (QObject), name (string)</li>
+            <li>text, icon, menu text, accelarator, alternative accelerator, parent,
+                name, toggle</li>
+            <li>text, icon, menu text, accelarator, alternative accelerator, parent,
+                name</li>
+            <li>text, menu text, accelarator, alternative accelerator, parent, name,
+                toggle</li>
+            <li>text, menu text, accelarator, alternative accelerator, parent, name</li>
+            </ul>
+            <ul>
+            <li>str, QIcon, str, QKeySequence, QKeySequence, QObject, str, bool</li>
+            <li>str, QIcon, str, QKeySequence, QKeySequemce, QObject, str</li>
+            <li>str, str, QKeySequence, QKeySequence, QObject, str, bool</li>
+            <li>str, str, QKeySequence, QKeySequence, QObject, str</li>
             </ul>
 </dd>
 </dl>
@@ -244,7 +255,13 @@
 <dl>
 <dt>Return:</dt>
 <dd>
-the alternative accelerator (QKeySequence)
+the alternative accelerator
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+QKeySequence
 </dd>
 </dl>
 <a NAME="EricAction.setAlternateShortcut" ID="EricAction.setAlternateShortcut"></a>
@@ -256,14 +273,14 @@
 </p>
 <dl>
 
-<dt><i>shortcut</i></dt>
+<dt><i>shortcut</i> (QKeySequence)</dt>
 <dd>
-the alternative accelerator (QKeySequence)
+the alternative accelerator
 </dd>
-<dt><i>removeEmpty</i></dt>
+<dt><i>removeEmpty</i> (bool)</dt>
 <dd>
 flag indicating to remove the alternate shortcut,
-            if it is empty (boolean)
+            if it is empty
 </dd>
 </dl>
 <a NAME="EricAction.setIconText" ID="EricAction.setIconText"></a>
@@ -275,9 +292,9 @@
 </p>
 <dl>
 
-<dt><i>text</i></dt>
+<dt><i>text</i> (str)</dt>
 <dd>
-new icon text (string)
+new icon text
 </dd>
 </dl>
 <a NAME="EricAction.setShortcut" ID="EricAction.setShortcut"></a>
@@ -289,9 +306,9 @@
 </p>
 <dl>
 
-<dt><i>shortcut</i></dt>
+<dt><i>shortcut</i> (QKeySequence)</dt>
 <dd>
-the accelerator (QKeySequence)
+the accelerator
 </dd>
 </dl>
 <a NAME="EricAction.setShortcuts" ID="EricAction.setShortcuts"></a>
@@ -303,11 +320,10 @@
 </p>
 <dl>
 
-<dt><i>shortcuts</i></dt>
+<dt><i>shortcuts</i> (list of QKeySequence or QKeySequence.StandardKey)</dt>
 <dd>
-list of keyboard accelerators (list of QKeySequence)
-            or key for a platform dependent list of accelerators
-            (QKeySequence.StandardKey)
+list of keyboard accelerators or key for a platform
+            dependent list of accelerators
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>
@@ -322,14 +338,14 @@
 </p>
 <dl>
 
-<dt><i>target</i></dt>
+<dt><i>target</i> (QWidget)</dt>
 <dd>
-reference to the target widget (QWidget)
+reference to the target widget
 </dd>
-<dt><i>actions</i></dt>
+<dt><i>actions</i> (list of QAction)</dt>
 <dd>
 list of actions to be added to the target. A
-        None indicates a separator (list of QActions)
+        None indicates a separator
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>
@@ -344,23 +360,29 @@
 </p>
 <dl>
 
-<dt><i>parent</i></dt>
+<dt><i>parent</i> (QObject)</dt>
 <dd>
-parent object of the action group (QObject)
+parent object of the action group
 </dd>
-<dt><i>name</i></dt>
+<dt><i>name</i> (str)</dt>
 <dd>
-name of the action group object (string)
+name of the action group object
 </dd>
-<dt><i>exclusive</i></dt>
+<dt><i>exclusive</i> (bool)</dt>
 <dd>
-flag indicating an exclusive action group (boolean)
+flag indicating an exclusive action group
 </dd>
 </dl>
 <dl>
 <dt>Return:</dt>
 <dd>
-reference to the created action group (QActionGroup)
+reference to the created action group
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+QActionGroup
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial