The backing model for the variable list widget, holds VariableListItem.
|
| VariableListModel (QWidget *parent, ViewFrame *view, BinaryViewRef data) |
|
void | clear () |
| Clear the list's content. More...
|
|
FunctionRef | function () const |
| Get the current function. More...
|
|
void | setFunction (FunctionRef func, BNFunctionGraphType il, const HighlightTokenState &hts) |
| Set the focused function and update the content of the list. More...
|
|
void | setSelectionModel (QItemSelectionModel *model) |
| Set the selection model, should correspond to the parent widget's. More...
|
|
virtual QVariant | data (const QModelIndex &i, int role) const override |
|
virtual QModelIndex | index (int row, int col, const QModelIndex &parent=QModelIndex()) const override |
|
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
|
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
|
Qt::ItemFlags | flags (const QModelIndex &index) const override |
|
virtual QVariant | headerData (int column, Qt::Orientation orientation, int role) const override |
|
◆ VariableListModel()
◆ clear()
void VariableListModel::clear |
( |
| ) |
|
Clear the list's content.
◆ columnCount()
virtual int VariableListModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
overridevirtual |
◆ data()
virtual QVariant VariableListModel::data |
( |
const QModelIndex & |
i, |
|
|
int |
role |
|
) |
| const |
|
overridevirtual |
◆ flags()
Qt::ItemFlags VariableListModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ function()
Get the current function.
◆ headerData()
virtual QVariant VariableListModel::headerData |
( |
int |
column, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
|
overridevirtual |
◆ index()
virtual QModelIndex VariableListModel::index |
( |
int |
row, |
|
|
int |
col, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
|
overridevirtual |
◆ rowCount()
virtual int VariableListModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
overridevirtual |
◆ setFunction()
Set the focused function and update the content of the list.
◆ setSelectionModel()
void VariableListModel::setSelectionModel |
( |
QItemSelectionModel * |
model | ) |
|
Set the selection model, should correspond to the parent widget's.
The documentation for this class was generated from the following file: