dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
EnumFieldTreeItem Class Reference

#include <fieldtreeitem.h>

Inheritance diagram for EnumFieldTreeItem:
FieldTreeItem TreeItem

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)
 
TreeItemgetChild (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
 
TreeItemparent ()
 
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)
 
TreeItemfindChildByName (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
 

Detailed Description

Definition at line 79 of file fieldtreeitem.h.


The documentation for this class was generated from the following file: