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