#include <FxUIAbstractItemModel.h>
|
| CFxUIAbstractItemModel (CFxUIObject *parent=nullptr) |
|
virtual | ~CFxUIAbstractItemModel () |
|
virtual CFxUIModelIndex | index (int row, int column, const CFxUIModelIndex &parent=CFxUIModelIndex()) const =0 |
|
virtual CFxUIModelIndex | parent (const CFxUIModelIndex &child) const =0 |
|
virtual int | rowCount (const CFxUIModelIndex &parent=CFxUIModelIndex()) const =0 |
|
virtual int | columnCount (const CFxUIModelIndex &parent=CFxUIModelIndex()) const =0 |
|
virtual CFxUIVariant | data (const CFxUIModelIndex &index, int role=CFxUIModelIndex::UIDataRole::DisplayRole) const =0 |
|
virtual bool | setData (const CFxUIModelIndex &index, const CFxUIVariant &value, int role=CFxUIModelIndex::UIDataRole::EditRole) |
|
bool | hasIndex (int row, int column, const CFxUIModelIndex &parent=CFxUIModelIndex()) const |
|
virtual CFxUIVariant | headerData (int section, CFxUIModelIndex::UIOrientation orientation, int role=CFxUIModelIndex::UIDataRole::DisplayRole) const |
|
virtual CFxUIModelIndex::UIItemFlags | flags (const CFxUIModelIndex &index) const |
|
CFxUIModelIndex | createIndex (int row, int column, void *data=nullptr) const |
|
CFxUIModelIndex | createIndex (int row, int column, quintptr id) const |
|
CFxUISignal< void(const CFxUIModelIndex &parent, int first, int last)> & | beginInsertRows () |
|
CFxUISignal< void(const CFxUIModelIndex &parent, int first, int last)> & | beginRemoveRows () |
|
CFxUISignal< void()> & | endInsertRows () |
|
CFxUISignal< void()> & | endRemoveRows () |
|
CFxUISignal< void(const CFxUIModelIndex &topLeft, const CFxUIModelIndex &bottomRight)> & | dataChanged () |
|
CFxUISignal< void(void)> & | layoutChanged () |
|
CFxUISignal< void(void)> & | beginResetModel () |
|
CFxUISignal< void(void)> & | endResetModel () |
|
virtual void | onBeginInsertRows (const CFxUIModelIndex &parent, int first, int last) |
|
virtual void | onBeginRemoveRows (const CFxUIModelIndex &parent, int first, int last) |
|
virtual void | onEndInsertRows () |
|
virtual void | onEndRemoveRows () |
|
virtual void | onDataChanged (const CFxUIModelIndex &topLeft, const CFxUIModelIndex &bottomRight) |
|
virtual void | onLayoutChanged () |
|
virtual void | onBeginResetModel () |
|
virtual void | onEndResetModel () |
|
| CFxUIObject () |
|
virtual | ~CFxUIObject () |
|
FxNativeHandle | getHandle () const |
|
void | setHandle (FxNativeHandle handle) |
|
void | setParent (CFxUIObject *parent) |
|
CFxUIObject * | parent () |
|
const CFxUIObject * | parent () const |
|
void | setObjectName (const CFxUIString &objectName) |
|
CFxUIString | objectName () const |
|
bool | setProperty (const char *name, const CFxUIVariant &value) |
|
CFxUIVariant | property (const char *name) |
|
CFxUIList< CFxUIObject * > | children () const |
|
template<typename T > |
CFxUIList< T > | findChildren (const CFxUIString &name=CFxUIString()) |
|
void | blockSignals (bool block) |
|
bool | signalsBlocked () const |
|
Definition at line 23 of file FxUIAbstractItemModel.h.
◆ CFxUIAbstractItemModel()
CFxUIAbstractItemModel::CFxUIAbstractItemModel |
( |
CFxUIObject * |
parent = nullptr | ) |
|
|
inlineexplicit |
◆ ~CFxUIAbstractItemModel()
virtual CFxUIAbstractItemModel::~CFxUIAbstractItemModel |
( |
| ) |
|
|
inlinevirtual |
◆ beginInsertRows()
◆ beginRemoveRows()
◆ beginResetModel()
◆ columnCount()
◆ createIndex() [1/2]
CFxUIModelIndex CFxUIAbstractItemModel::createIndex |
( |
int |
row, |
|
|
int |
column, |
|
|
quintptr |
id |
|
) |
| const |
|
inline |
◆ createIndex() [2/2]
CFxUIModelIndex CFxUIAbstractItemModel::createIndex |
( |
int |
row, |
|
|
int |
column, |
|
|
void * |
data = nullptr |
|
) |
| const |
|
inline |
◆ data()
◆ dataChanged()
◆ endInsertRows()
◆ endRemoveRows()
◆ endResetModel()
◆ flags()
◆ hasIndex()
◆ headerData()
◆ index()
◆ layoutChanged()
◆ onBeginInsertRows()
virtual void CFxUIAbstractItemModel::onBeginInsertRows |
( |
const CFxUIModelIndex & |
parent, |
|
|
int |
first, |
|
|
int |
last |
|
) |
| |
|
inlinevirtual |
◆ onBeginRemoveRows()
virtual void CFxUIAbstractItemModel::onBeginRemoveRows |
( |
const CFxUIModelIndex & |
parent, |
|
|
int |
first, |
|
|
int |
last |
|
) |
| |
|
inlinevirtual |
◆ onBeginResetModel()
virtual void CFxUIAbstractItemModel::onBeginResetModel |
( |
| ) |
|
|
inlinevirtual |
◆ onDataChanged()
◆ onEndInsertRows()
virtual void CFxUIAbstractItemModel::onEndInsertRows |
( |
| ) |
|
|
inlinevirtual |
◆ onEndRemoveRows()
virtual void CFxUIAbstractItemModel::onEndRemoveRows |
( |
| ) |
|
|
inlinevirtual |
◆ onEndResetModel()
virtual void CFxUIAbstractItemModel::onEndResetModel |
( |
| ) |
|
|
inlinevirtual |
◆ onLayoutChanged()
virtual void CFxUIAbstractItemModel::onLayoutChanged |
( |
| ) |
|
|
inlinevirtual |
◆ parent()
◆ rowCount()
◆ setData()
◆ m_beginInsertRows
◆ m_beginRemoveRows
◆ m_beginResetModel
◆ m_dataChanged
◆ m_endInsertRows
◆ m_endRemoveRows
◆ m_endResetModel
◆ m_layoutChanged
The documentation for this class was generated from the following file: