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

#include <fieldtreeitem.h>

Inheritance diagram for FieldTreeItem:
TreeItem EnumFieldTreeItem FloatFieldTreeItem IntFieldTreeItem

Public Member Functions

 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
 
virtual QWidget * createEditor (QWidget *parent)=0
 
virtual QVariant getEditorValue (QWidget *editor)=0
 
virtual void setEditorValue (QWidget *editor, QVariant value)=0
 
virtual void apply () 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)
 
virtual void setData (QVariant value, int column=1)
 
int row () const
 
TreeItemparent ()
 
void setParentTree (TreeItem *parent)
 
virtual void update ()
 
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)
 

Protected Attributes

int m_index
 
bool m_defaultValue
 
- Protected Attributes inherited from TreeItem
bool isPresentOnHardware
 

Additional Inherited Members

- Static Public Attributes inherited from TreeItem
static const int dataColumn = 1
 
- Protected Member Functions inherited from TreeItem
bool childrenAreDefaultValue () const
 

Detailed Description

Definition at line 51 of file fieldtreeitem.h.


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