eric6/Documentation/Source/eric6.UI.NumbersWidget.html

changeset 8152
0c740fcffd34
parent 7989
a21d673a8f99
--- a/eric6/Documentation/Source/eric6.UI.NumbersWidget.html	Thu Mar 04 17:48:09 2021 +0100
+++ b/eric6/Documentation/Source/eric6.UI.NumbersWidget.html	Thu Mar 04 19:39:54 2021 +0100
@@ -159,7 +159,7 @@
 </dl>
 <a NAME="BinaryModel.data" ID="BinaryModel.data"></a>
 <h4>BinaryModel.data</h4>
-<b>data</b>(<i>index, role=Qt.DisplayRole</i>)
+<b>data</b>(<i>index, role=Qt.ItemDataRole.DisplayRole</i>)
 
 <p>
         Public method to get data from the model.
@@ -216,7 +216,7 @@
 </dl>
 <a NAME="BinaryModel.headerData" ID="BinaryModel.headerData"></a>
 <h4>BinaryModel.headerData</h4>
-<b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>)
+<b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>)
 
 <p>
         Public method to get header data from the model.
@@ -233,7 +233,7 @@
 </dd>
 <dt><i>role</i></dt>
 <dd>
-role of the data to retrieve (integer)
+role of the data to retrieve (Qt.ItemDataRole)
 </dd>
 </dl>
 <dl>
@@ -296,7 +296,7 @@
 </dl>
 <a NAME="BinaryModel.setData" ID="BinaryModel.setData"></a>
 <h4>BinaryModel.setData</h4>
-<b>setData</b>(<i>index, value, role=Qt.EditRole</i>)
+<b>setData</b>(<i>index, value, role=Qt.ItemDataRole.EditRole</i>)
 
 <p>
         Public method to set the data of a node cell.

eric ide

mercurial