20#include "../../sdk/Core/FxUIAbstractItemModel.h"
21#include "../../sdk/Core/FxUIModelIndex.h"
90 ClearAndSelect = Clear | Select
virtual int columnCount(const CFxUIModelIndex &parent=CFxUIModelIndex()) const =0
virtual int rowCount(const CFxUIModelIndex &parent=CFxUIModelIndex()) const =0
virtual CFxUIModelIndex parent(const CFxUIModelIndex &child) const override
virtual CFxUIModelIndex index(int row, int column, const CFxUIModelIndex &parent=CFxUIModelIndex()) const override
void setSelectionBehavior(CFxUITableView::UISelectionBehavior behavior)
CFxUISignal< void(CFxUIModelIndex, CFxUITableView::UIMouseClickEvent)> & mouseClicked()
void setColumnWidth(int iColumn, int iWidth)
CFxUIModelIndex currentIndex() const
void setColumnHidden(int iColumn, bool bHide)
CFxUIAbstractItemModel * getModel()
void setVerticalHeaderHidden(bool bHide)
@ NoSelection
Items cannot be selected.
@ SingleSelection
When the user selects an item, any already-selected item becomes unselected, and the user cannot unse...
@ MultiSelection
When the user selects an item in the usual way, the selection status of that item is toggled and the ...
CFxUISignal< void(void)> & selectionChanged()
void setHorzHeaderHidden(bool bHide)
@ SelectItems
This enum selects the single items.
@ SelectRows
This enum selects only the rows.
CFxUISignal< void(const CFxUIModelIndex &)> & itemClicked()
void openPersistentEditor(const CFxUIModelIndex &index)
void setSortingEnabled(bool bEnable)
std::vector< CFxUIModelIndex > selectedIndexes() const
void setSelectionMode(CFxUITableView::UISelectionMode mode)
void setModel(CFxUIAbstractItemModel *model)
void setHorizontalHeaderStretchLastSection(bool bEnable)
int columnWidth(int iColumn) const
void setCurrentIndex(CFxUIModelIndex index)
@ Fixed
The user cannot resize the section.
@ Stretch
HeaderView will automatically resize the section to fill the available space.
@ ResizeToContents
HeaderView will automatically resize the section to its optimal size based on the contents of the ent...
@ Interactive
The user can resize the section.
void selectRow(CFxUITableView::UISelectionFlag flag, CFxUIModelIndex index)
void setHorzScrollBarDisable(bool bDisable)
void setHorizontalHeaderResizeSection(CFxUITableView::UIHeaderResizeMode mode, int iColumn)
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data