CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
20 #include "../../sdk/Core/FxUIAbstractItemModel.h"
21 #include "../../sdk/Core/FxUIModelIndex.h"
38 AlignHCenter = 0x0004,
91 ClearAndSelect = Clear | Select
void setAlternatingRowColors(bool bEnable)
void setAutoScroll(bool bEnable)
void setExpandsOnDoubleClick(bool bEnable)
CFxUIAbstractItemModel * getModel()
void setHeaderAlignment(CFxUITreeView::UIHeaderAlignment align)
@ SelectRows
This enum selects only the rows.
void setColumnHidden(int iColumn, bool bHide)
@ Fixed
The user cannot resize the section.
void setHeaderStretchLastSection(bool bEnable)
void setHeaderResizeSection(CFxUITreeView::UIHeaderResizeMode mode)
void setRootIsDecorated(bool bShow)
CFxUISignal< void(int, int) > & keyWentDown()
@ ResizeToContents
HeaderView will automatically resize the section to its optimal size based on the contents of the ent...
CFxUISignal< void(const CFxUIModelIndex &)> & itemClicked()
void setModel(CFxUIAbstractItemModel *model)
void selectRow(CFxUITreeView::UISelectionFlag flag, CFxUIModelIndex index)
void setColumnWidth(int iColumn, int iWidth)
@ MultiSelection
When the user selects an item in the usual way, the selection status of that item is toggled and the ...
void setSelectionMode(CFxUITreeView::UISelectionMode mode)
void setChildNodeIcon(const CFxUIIcon &icon)
@ SelectItems
This enum selects the single items.
CFxUIModelIndex currentIndex() const
CFxUISignal< void(const CFxUIModelIndex &)> & itemDoubleClicked()
void setHeaderResizeSection(CFxUITreeView::UIHeaderResizeMode mode, int iColumn)
@ Stretch
HeaderView will automatically resize the section to fill the available space.
void setCurrentIndex(CFxUIModelIndex index)
@ NoSelection
Items cannot be selected.
CFxUISignal< void(void)> & selectionChanged()
void setSortingEnabled(bool bEnable)
void setCollapse(CFxUIModelIndex index)
void setExpand(CFxUIModelIndex index)
@ SingleSelection
When the user selects an item, any already-selected item becomes unselected, and the user cannot unse...
void setParentNodeIcon(const CFxUIIcon &icon)
void setMoveCursorMode(bool bItemMode)
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
@ Interactive
The user can resize the section.
void setSelectionBehavior(CFxUITreeView::UISelectionBehavior behavior)