dRonin
adbada4
dRonin GCS
|
#include <fieldtreeitem.h>
Public Member Functions | |
EnumFieldTreeItem (UAVObjectField *field, int index, const QList< QVariant > &data, TreeItem *parent=nullptr) | |
EnumFieldTreeItem (UAVObjectField *field, int index, const QVariant &data, TreeItem *parent=nullptr) | |
void | setData (QVariant value, int column) |
QString | enumOptions (int index) |
void | apply () |
void | update () |
QWidget * | createEditor (QWidget *parent) |
QVariant | getEditorValue (QWidget *editor) |
void | setEditorValue (QWidget *editor, QVariant value) |
Public Member Functions inherited from FieldTreeItem | |
FieldTreeItem (int index, const QList< QVariant > &data, TreeItem *parent=nullptr) | |
FieldTreeItem (int index, const QVariant &data, TreeItem *parent=nullptr) | |
virtual bool | isEditable () override |
void | setIsDefaultValue (bool isDefault) |
virtual bool | isDefaultValue () const override |
Public Member Functions inherited from TreeItem | |
TreeItem (const QList< QVariant > &data, TreeItem *parent=nullptr) | |
TreeItem (const QVariant &data, TreeItem *parent=nullptr) | |
virtual | ~TreeItem () |
virtual void | appendChild (TreeItem *child) |
virtual void | removeChild (TreeItem *child) |
void | insertChild (TreeItem *child) |
TreeItem * | getChild (int index) |
QList< TreeItem * > | treeChildren () const |
int | childCount () const |
int | columnCount () const |
QVariant | data (int column=1) const |
QString | description () |
void | setDescription (QString d) |
int | row () const |
TreeItem * | parent () |
void | setParentTree (TreeItem *parent) |
bool | highlighted () |
void | setHighlight () |
bool | changed () |
bool | updatedOnly () |
virtual bool | getIsPresentOnHardware () const |
virtual void | setIsPresentOnHardware (bool value) |
void | setChanged (bool changed) |
void | setUpdatedOnly (bool updated) |
void | setUpdatedOnlyParent () |
virtual void | setHighlightManager (HighLightManager *mgr) |
virtual void | removeHighlight () |
int | nameIndex (QString name) |
TreeItem * | findChildByName (QString name) |
Additional Inherited Members | |
Static Public Attributes inherited from TreeItem | |
static const int | dataColumn = 1 |
Protected Member Functions inherited from TreeItem | |
bool | childrenAreDefaultValue () const |
Protected Attributes inherited from FieldTreeItem | |
int | m_index |
bool | m_defaultValue |
Protected Attributes inherited from TreeItem | |
bool | isPresentOnHardware |
Definition at line 79 of file fieldtreeitem.h.