20 #include "../../sdk/Core/FxUIAbstractItemModel.h"
21 #include "../../sdk/Core/FxUIModelIndex.h"
78 ClearAndSelect = Clear | Select
void setSelectionBehavior(CFxUITableView::UISelectionBehavior behavior)
void setColumnWidth(int iColumn, int iWidth)
CFxUIModelIndex currentIndex() const
void setColumnHidden(int iColumn, bool bHide)
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 ...
@ SelectItems
This enum selects the single items.
@ SelectRows
This enum selects only the rows.
CFxUIAbstractItemModel * getModel()
void openPersistentEditor(const CFxUIModelIndex &index)
void setSortingEnabled(bool bEnable)
void setSelectionMode(CFxUITableView::UISelectionMode mode)
void setModel(CFxUIAbstractItemModel *model)
void setHorizontalHeaderStretchLastSection(bool bEnable)
CFxUISignal< void(void)> & selectionChanged()
CFxUISignal< void(const CFxUIModelIndex &)> & itemClicked()
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)