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

changeset 8152
0c740fcffd34
parent 7989
a21d673a8f99
equal deleted inserted replaced
8151:8c1445825e7b 8152:0c740fcffd34
157 number of columns (integer) 157 number of columns (integer)
158 </dd> 158 </dd>
159 </dl> 159 </dl>
160 <a NAME="BinaryModel.data" ID="BinaryModel.data"></a> 160 <a NAME="BinaryModel.data" ID="BinaryModel.data"></a>
161 <h4>BinaryModel.data</h4> 161 <h4>BinaryModel.data</h4>
162 <b>data</b>(<i>index, role=Qt.DisplayRole</i>) 162 <b>data</b>(<i>index, role=Qt.ItemDataRole.DisplayRole</i>)
163 163
164 <p> 164 <p>
165 Public method to get data from the model. 165 Public method to get data from the model.
166 </p> 166 </p>
167 <dl> 167 <dl>
214 current value of the model (integer) 214 current value of the model (integer)
215 </dd> 215 </dd>
216 </dl> 216 </dl>
217 <a NAME="BinaryModel.headerData" ID="BinaryModel.headerData"></a> 217 <a NAME="BinaryModel.headerData" ID="BinaryModel.headerData"></a>
218 <h4>BinaryModel.headerData</h4> 218 <h4>BinaryModel.headerData</h4>
219 <b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) 219 <b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>)
220 220
221 <p> 221 <p>
222 Public method to get header data from the model. 222 Public method to get header data from the model.
223 </p> 223 </p>
224 <dl> 224 <dl>
231 <dd> 231 <dd>
232 orientation (Qt.Orientation) 232 orientation (Qt.Orientation)
233 </dd> 233 </dd>
234 <dt><i>role</i></dt> 234 <dt><i>role</i></dt>
235 <dd> 235 <dd>
236 role of the data to retrieve (integer) 236 role of the data to retrieve (Qt.ItemDataRole)
237 </dd> 237 </dd>
238 </dl> 238 </dl>
239 <dl> 239 <dl>
240 <dt>Return:</dt> 240 <dt>Return:</dt>
241 <dd> 241 <dd>
294 value to show (integer) 294 value to show (integer)
295 </dd> 295 </dd>
296 </dl> 296 </dl>
297 <a NAME="BinaryModel.setData" ID="BinaryModel.setData"></a> 297 <a NAME="BinaryModel.setData" ID="BinaryModel.setData"></a>
298 <h4>BinaryModel.setData</h4> 298 <h4>BinaryModel.setData</h4>
299 <b>setData</b>(<i>index, value, role=Qt.EditRole</i>) 299 <b>setData</b>(<i>index, value, role=Qt.ItemDataRole.EditRole</i>)
300 300
301 <p> 301 <p>
302 Public method to set the data of a node cell. 302 Public method to set the data of a node cell.
303 </p> 303 </p>
304 <dl> 304 <dl>

eric ide

mercurial