|
| enum | UISelectionBehavior { SelectItems
, SelectRows
, SelectColumns
} |
| |
| enum | UISelectionMode {
NoSelection
, SingleSelection
, MultiSelection
, ExtendedSelection
,
ContiguousSelection
} |
| |
| enum | UIHeaderResizeMode {
Interactive
, Stretch
, Fixed
, ResizeToContents
,
Custom = Fixed
} |
| |
| enum | UISelectionFlag {
NoUpdate = 0x0000
, Clear = 0x0001
, Select = 0x0002
, Deselect = 0x0004
,
Rows = 0x0020
, Columns = 0x0040
, ClearAndSelect = Clear | Select
} |
| |
| enum | UIMouseClickEvent { None = 0
, Left = 1
, Middle = 2
, Right = 4
} |
| |
| enum | TextAlignment {
AlignLeft = 0x0001
, AlignRight = 0x0002
, AlignHCenter = 0x0004
, AlignJustify = 0x0008
,
AlignTop = 0x0020
, AlignBottom = 0x0040
, AlignVCenter = 0x0080
, AlignBaseline = 0x0100
,
AlignCenter = AlignVCenter | AlignHCenter
} |
| |
| enum | FocusPolicyType {
eNoFocus = 0
, eTabFocus = 0x1
, eClickFocus = 0x2
, eStrongFocus = eTabFocus | eClickFocus | 0x8
,
eWheelFocus = eStrongFocus | 0x4
, eKeyboardOnSetfocus = 0x10
} |
| |
| enum | UIWidthSizePolicy {
eExpanding = -1
, eXS = 0
, eS
, eM
,
eL
, eXL
} |
| |
| enum | UIScrollBarPolicy { eScrollBarAsNeeded = 0
, eScrollBarAlwaysOff
, eScrollBarAlwaysOn
} |
| |
|
| | CFxUITableView () |
| |
| | ~CFxUITableView () |
| |
| void | setHorizontalHeaderResizeSection (CFxUITableView::UIHeaderResizeMode mode, int iColumn) |
| |
| void | setHorizontalHeaderStretchLastSection (bool bEnable) |
| |
| void | setVerticalHeaderStretchLastSection (bool bEnable) |
| |
| void | setHorizontalScrollBarPolicy (CFxUIBaseView::UIScrollBarPolicy mode) |
| |
| void | setVerticalScrollBarPolicy (CFxUIBaseView::UIScrollBarPolicy mode) |
| |
| void | setSortingEnabled (bool bEnable) |
| |
| void | sortByColumn (int column, int order) |
| |
| void | setSelectionBehavior (CFxUITableView::UISelectionBehavior behavior) |
| |
| void | setSelectionMode (CFxUITableView::UISelectionMode mode) |
| |
| void | setColumnWidth (int iColumn, int iWidth) |
| |
| int | columnWidth (int iColumn) const |
| |
| void | setModel (CFxUIAbstractItemModel *model) |
| |
| CFxUIAbstractItemModel * | getModel () |
| |
| void | setCurrentIndex (CFxUIModelIndex index) |
| |
| CFxUIModelIndex | currentIndex () const |
| |
| void | clearSelection () |
| |
| std::vector< CFxUIModelIndex > | selectedIndexes () const |
| |
| void | selectRow (CFxUITableView::UISelectionFlag flag, CFxUIModelIndex index) |
| |
| void | setVerticalHeaderHidden (bool bHide) |
| |
| void | setHorzHeaderHidden (bool bHide) |
| |
| void | setHorzScrollBarDisable (bool bDisable) |
| |
| void | setColumnHidden (int iColumn, bool bHide) |
| |
| void | openPersistentEditor (const CFxUIModelIndex &index) |
| |
| CFxUISignal< void(const CFxUIModelIndex &)> & | itemClicked () |
| |
| CFxUISignal< void(CFxUIModelIndex, CFxUITableView::UIMouseClickEvent)> & | mouseClicked () |
| |
| CFxUISignal< void(void)> & | selectionChanged () |
| |
| void | setShowGrid (bool visible, int mask=CFxUIModelIndex::Horizontal|CFxUIModelIndex::Vertical) |
| |
| bool | showGrid () |
| |
| | CFxUIBaseView () |
| |
| virtual | ~CFxUIBaseView () |
| |
| void | setDisabled (bool on) |
| |
| void | setEnabled (bool on) |
| |
| bool | isEnabled () const |
| |
| CFxUIPalette::FxUIColorRole | backgroundRole () |
| |
| void | setPalette (const CFxUIPalette &) |
| |
| const CFxUIPalette & | palette () const |
| |
| bool | isVisible () |
| |
| void | setVisible (bool bVisible) |
| |
| bool | isHidden () |
| |
| void | setHidden (bool bHidden) |
| |
| bool | hasFocus () const |
| |
| void | setFocus () |
| |
| void | setFocus (int iReason) |
| |
| void | setFocusPolicy (int iPolicy) |
| |
| int | width () |
| |
| void | setWidth (int w) |
| |
| int | height () |
| |
| void | setHeight (int h) |
| |
| void | update () |
| |
| void | setBusyState (bool bBusy=false) |
| |
| void | resize (int w, int h) |
| |
| void | setCornerRadius (float radius) |
| |
| void | setBorderWidth (float width) |
| |
| void | setBorderWidth (float left, float top, float right, float bottom) |
| |
| void | setBorderColor (int r, int g, int b) |
| |
| virtual void | showEvent (CFxUIShowEvent *event) |
| |
| virtual void | hideEvent (CFxUIHideEvent *event) |
| |
| virtual void | paintEvent (CFxUIPaintEvent *event) |
| |
| virtual void | resizeEvent (CFxUIResizeEvent *event) |
| |
| virtual void | focusInEvent (CFxUIFocusEvent *focusInEvent) |
| |
| virtual void | focusOutEvent (CFxUIFocusEvent *focusOutEvent) |
| |
| virtual void | mousePressEvent (CFxUIMouseEvent *mouseEvent) |
| |
| void | setEventAccepted (bool bAccepted=false) |
| |
| void | setEventRejected (bool bRejected=false) |
| |
| void | addView (CFxUIBaseView *pChild, float fWeight=0.0) |
| |
| void | insertView (CFxUIBaseView *pChild, int index=0, float fWeight=0.0) |
| |
| int | indexOf (CFxUIBaseView *pChild) |
| |
| void | removeView (CFxUIBaseView *pChild) |
| |
| void | setPreferableSize (int w, int h) |
| |
| void | setMinimumWidth (int iWidth) |
| |
| void | setMinimumHeight (int iHeight) |
| |
| void | setMinimumSize (const CFxUISize &size) |
| |
| void | setMaximumWidth (int iWidth) |
| |
| void | setMaximumHeight (int iHeight) |
| |
| void | setMaximumSize (const CFxUISize &size) |
| |
| int | minimumWidth () |
| |
| int | minimumHeight () |
| |
| int | maximumWidth () |
| |
| int | maximumHeight () |
| |
| void | setToolTip (const CFxUIString &sToolTip) |
| |
| const CFxUIString | toolTip () |
| |
| bool | underMouse () |
| |
| void | setMask (const CFxUIRegion ®ion) |
| |
| void | move (const CFxUIPoint &pos) |
| |
| CFxUISize | sizeHint () const |
| |
| CFxUIPoint | mapToGlobal (const CFxUIPoint &pos) |
| |
| void | setMargin (int left, int top, int right, int bottom) |
| |
| void | setParentWidget (CFxUIBaseView *pParent) |
| |
| float | getViewOpacity () const |
| |
| void | setViewOpacity (const float &opacity) |
| |
| CFxUISignal< void(void)> & | aboutToPassEventToParent () |
| |
| CFxUISignal< void(void)> & | aboutToShow () |
| |
| CFxUISignal< void(void)> & | hoverEnter () |
| |
| CFxUISignal< void(void)> & | hoverLeave () |
| |
| CFxUISignal< void(bool)> & | visibilityChanged () |
| |
| | CFxUIObject () |
| |
| virtual | ~CFxUIObject () |
| |
| FxNativeHandle | getHandle () const |
| |
| void | setHandle (FxNativeHandle handle) |
| |
| void | setParent (CFxUIObject *parent) |
| |
| CFxUIObject * | parent () |
| |
| const CFxUIObject * | parent () const |
| |
| void | setObjectName (const CFxUIString &objectName) |
| |
| CFxUIString | objectName () const |
| |
| bool | setProperty (const char *name, const CFxUIVariant &value) |
| |
| CFxUIVariant | property (const char *name) |
| |
| CFxUIList< CFxUIObject * > | children () const |
| |
| template<typename T> |
| CFxUIList< T > | findChildren (const CFxUIString &name=CFxUIString()) |
| |
| void | blockSignals (bool block) |
| |
| bool | signalsBlocked () const |
| |
Class CFxUITableView provides a default model/view implementation of a tree view.
Definition at line 47 of file FxUITableView.h.