CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Protected Member Functions | List of all members
CFxUIAbstractTableModel Class Referenceabstract

#include <FxUITableView.h>

Inheritance diagram for CFxUIAbstractTableModel:
CFxUIAbstractItemModel CFxUIObject

Protected Member Functions

virtual CFxUIModelIndex index (int row, int column, const CFxUIModelIndex &parent=CFxUIModelIndex()) const override
 
virtual CFxUIModelIndex parent (const CFxUIModelIndex &child) const override
 
- Protected Member Functions inherited from CFxUIObject
CFxUIObjectsender ()
 

Additional Inherited Members

- Public Member Functions inherited from CFxUIAbstractItemModel
 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 ()
 
- Public Member Functions inherited from CFxUIObject
 CFxUIObject ()
 
virtual ~CFxUIObject ()
 
FxNativeHandle getHandle () const
 
void setHandle (FxNativeHandle handle)
 
void setParent (CFxUIObject *parent)
 
CFxUIObjectparent ()
 
const CFxUIObjectparent () 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
 
- Protected Attributes inherited from CFxUIAbstractItemModel
CFxUISignal< void(const CFxUIModelIndex &parent, int first, int last)> m_beginInsertRows
 
CFxUISignal< void()> m_endInsertRows
 
CFxUISignal< void(const CFxUIModelIndex &parent, int first, int last)> m_beginRemoveRows
 
CFxUISignal< void()> m_endRemoveRows
 
CFxUISignal< void(const CFxUIModelIndex &topLeft, const CFxUIModelIndex &bottomRight)> m_dataChanged
 
CFxUISignal< void(void)> m_layoutChanged
 
CFxUISignal< void(void)> m_beginResetModel
 
CFxUISignal< void(void)> m_endResetModel
 
- Protected Attributes inherited from CFxUIObject
CFxUIObjectImpl * m_pImpl
 
CFxUIObjectData * m_pData
 

Detailed Description

Definition at line 24 of file FxUITableView.h.

Member Function Documentation

◆ index()

virtual CFxUIModelIndex CFxUIAbstractTableModel::index ( int  row,
int  column,
const CFxUIModelIndex parent = CFxUIModelIndex() 
) const
overrideprotectedvirtual

◆ parent()

virtual CFxUIModelIndex CFxUIAbstractTableModel::parent ( const CFxUIModelIndex child) const
overrideprotectedvirtual

The documentation for this class was generated from the following file: