CFx SDK Documentation
2020SP3
|
#include <FxUIModelIndex.h>
Public Types | |
enum | UIDataRole { DisplayRole = 0, DecorationRole = 1, EditRole = 2, ToolTipRole = 3, TextColorRole = 9, UserRole = 0x0100 } |
enum | UIItemFlags { NoItemFlags = 0, ItemIsSelectable = 1, ItemIsEditable = 2, ItemIsEnabled = 32 } |
enum | UIOrientation { Horizontal = 0x1, Vertical = 0x2 } |
Public Member Functions | |
CFxUIModelIndex () | |
int | row () const |
int | column () const |
quintptr | internalId () const |
void * | internalPointer () const |
CFxUIModelIndex | parent () const |
CFxUIVariant | data (int role=UIDataRole::DisplayRole) const |
UIItemFlags | flags () const |
const CFxUIAbstractItemModel * | model () const |
bool | isValid () const |
bool | operator== (const CFxUIModelIndex &other) const |
bool | operator!= (const CFxUIModelIndex &other) const |
bool | operator< (const CFxUIModelIndex &other) const |
Friends | |
class | CFxUIAbstractItemModel |
Definition at line 23 of file FxUIModelIndex.h.
Enumerator | |
---|---|
DisplayRole | |
DecorationRole | |
EditRole | |
ToolTipRole | |
TextColorRole | |
UserRole |
Definition at line 28 of file FxUIModelIndex.h.
Enumerator | |
---|---|
NoItemFlags | |
ItemIsSelectable | |
ItemIsEditable | |
ItemIsEnabled |
Definition at line 39 of file FxUIModelIndex.h.
Enumerator | |
---|---|
Horizontal | |
Vertical |
Definition at line 47 of file FxUIModelIndex.h.
|
inline |
Definition at line 52 of file FxUIModelIndex.h.
|
inline |
Definition at line 55 of file FxUIModelIndex.h.
|
inline |
Definition at line 180 of file FxUIAbstractItemModel.h.
|
inline |
Definition at line 185 of file FxUIAbstractItemModel.h.
|
inline |
Definition at line 56 of file FxUIModelIndex.h.
|
inline |
Definition at line 57 of file FxUIModelIndex.h.
|
inline |
Definition at line 62 of file FxUIModelIndex.h.
|
inline |
Definition at line 61 of file FxUIModelIndex.h.
|
inline |
Definition at line 67 of file FxUIModelIndex.h.
|
inline |
Definition at line 71 of file FxUIModelIndex.h.
|
inline |
Definition at line 63 of file FxUIModelIndex.h.
|
inline |
Definition at line 175 of file FxUIAbstractItemModel.h.
|
inline |
Definition at line 54 of file FxUIModelIndex.h.
|
friend |
Definition at line 25 of file FxUIModelIndex.h.