CFxUISignal< void(const CFxUIModelIndex &)> & itemDoubleClicked()
void setCurrentIndex(CFxUIModelIndex index)
void selectRow(CFxUITreeView::UISelectionFlag flag, CFxUIModelIndex index)
void setSelectionMode(CFxUITreeView::UISelectionMode mode)
@ SelectColumns
This enum selects only the columns.
@ SelectRows
This enum selects only the rows.
@ SelectItems
This enum selects the single items.
CFxUISignal< void(const CFxUIModelIndex &)> & collapsed()
CFxUISignal< void(const CFxUIModelIndex &)> & itemClicked()
void setExpandsOnDoubleClick(bool bEnable)
void setSelectionBehavior(CFxUITreeView::UISelectionBehavior behavior)
@ Stretch
HeaderView will automatically resize the section to fill the available space.
@ Custom
Use Fixed instead.
@ 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.
void setCollapse(CFxUIModelIndex index)
CFxUISignal< void(int, int) > & keyWentDown()
void setAlternatingRowColors(bool bEnable)
CFxUISignal< void(const CFxUIModelIndex &)> & expanded()
void setHeaderResizeSection(CFxUITreeView::UIHeaderResizeMode mode)
void setHeaderAlignment(CFxUITreeView::UIHeaderAlignment align)
void setExpand(CFxUIModelIndex index)
void setColumnWidth(int iColumn, int iWidth)
@ ContiguousSelection
If the user presses the Shift key while clicking on an item, all items between the current item and t...
@ 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)
CFxUISignal< void(void)> & selectionChanged()
void setColumnHidden(int iColumn, bool bHide)
@ Rows
All indexes will be expanded to span rows.
@ Columns
All indexes will be expanded to span columns.
@ Clear
The complete selection will be cleared.
@ Deselect
All specified indexes will be deselected.
@ NoUpdate
No selection will be made.
@ ClearAndSelect
A combination of Clear and Select, provided for convenience.
@ Select
All specified indexes will be selected.
void setHeaderResizeSection(CFxUITreeView::UIHeaderResizeMode mode, int iColumn)
void setMoveCursorMode(bool bItemMode)
void setAutoScroll(bool bEnable)
void setChildNodeIcon(const CFxUIIcon &icon)
CFxUIAbstractItemModel * getModel()
void setRootIsDecorated(bool bShow)
void setHeaderStretchLastSection(bool bEnable)
@ AlignBottom
This enum aligns text with the bottom.
@ AlignVCenter
This enum centers vertically in the available space.
@ AlignHCenter
This enum centers horizontally in the available space.
@ AlignTop
This enum aligns text with the top.
@ AlignLeft
This enum aligns text with the left edge.
@ AlignRight
This enum aligns text with the right edge.
void setModel(CFxUIAbstractItemModel *model)
void setSortingEnabled(bool bEnable)
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)