CFx SDK Documentation 2024 SP0
|
#include <FxUIListView.h>
Public Types | |
enum | UISelectionMode { NoSelection , SingleSelection , MultiSelection , ExtendedSelection , ContiguousSelection } |
enum | UISelectionFlag { NoUpdate = 0x0000 , Clear = 0x0001 , Select = 0x0002 , Deselect = 0x0004 , ClearAndSelect = Clear | Select } |
enum | UIElideMode { WrapElide , TrailingEllipsisElide , CenteredEllipsisElide , CentredEllipsisElide = CenteredEllipsisElide , LeadingEllipsisElide , ShrinkElide } |
Public Types inherited from CFxUIBaseView | |
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 } |
Additional Inherited Members | |
Static Public Member Functions inherited from CFxUIBaseView | |
static void | setTabOrder (CFxUIObject *first, CFxUIObject *second) |
Protected Member Functions inherited from CFxUIObject | |
CFxUIObject * | sender () |
Protected Attributes inherited from CFxUIObject | |
CFxUIObjectImpl * | m_pImpl |
CFxUIObjectData * | m_pData |
Class CFxUITableView provides a default model/view implementation of a tree view.
Definition at line 39 of file FxUIListView.h.
This enum defines the way how to shorten text content that does not fit into one line.
Definition at line 72 of file FxUIListView.h.
This enum defines way the selection will be updated.
Definition at line 61 of file FxUIListView.h.
This enum indicates how the view responds to user selections.
Definition at line 46 of file FxUIListView.h.
CFxUIListView::CFxUIListView | ( | ) |
Constructor
CFxUIListView::~CFxUIListView | ( | ) |
Destructor
CFxUIModelIndex CFxUIListView::currentIndex | ( | ) | const |
Gets the current index of item.
CFxUIAbstractItemModel * CFxUIListView::getModel | ( | ) |
CFxUISignal< void(const CFxUIModelIndex &)> & CFxUIListView::itemClicked | ( | ) |
Signal is emitted when item is clicked.
CFxUISignal< void(void)> & CFxUIListView::selectionChanged | ( | ) |
Signal is emitted when selection of view is changed.
void CFxUIListView::setCurrentIndex | ( | CFxUIModelIndex | index | ) |
Sets the current item to be the item at index.
_index_ | Input. |
void CFxUIListView::setElideMode | ( | const CFxUIListView::UIElideMode | mode | ) |
Define the way how to shorten texts that do not fit into one line.
mode | Input. The way how to shorten lines that do not fit. |
void CFxUIListView::setFilter | ( | const CFxUIString & | regExp | ) |
void CFxUIListView::setHorzScrollBarDisable | ( | bool | bDisable | ) |
Sets the Horizontal scrollbar disable.
bDisable | Input. If true, Horizontal scrollbar is disabled. |
void CFxUIListView::setModel | ( | CFxUIAbstractItemModel * | model | ) |
Sets the model for the view to present.
model | Input. |
void CFxUIListView::setSelectionMode | ( | CFxUIListView::UISelectionMode | mode | ) |
Sets the selection mode for tree.
mode | Input. This is an enum defined in CFxUITableView::UISelectionMode. |