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