DataTreeBuilder Class Reference

#include <RobotAPI/libraries/armem_gui/instance/tree_builders/DataTreeBuilder.h>

+ Inheritance diagram for DataTreeBuilder:

Public Member Functions

 DataTreeBuilder ()
 
void updateTree (QTreeWidgetItem *parent, const aron::data::DictPtr &data)
 
void updateTree (QTreeWidgetItem *parent, const aron::data::ListPtr &data)
 
- Public Member Functions inherited from DataTreeBuilderBase
 DataTreeBuilderBase ()
 
void setColumns (int key, int value, int type)
 
virtual ~DataTreeBuilderBase ()
 

Protected Member Functions

void update (QTreeWidgetItem *item, const std::string &key, const aron::data::VariantPtr &data, const aron::Path &parentPath)
 
- Protected Member Functions inherited from DataTreeBuilderBase
DictBuilder getDictBuilder () const
 
std::vector< size_t > getIndex (size_t size) const
 
ListBuilder getListBuilder () const
 
QTreeWidgetItem * makeItem (const std::string &key) const
 
QTreeWidgetItem * makeItem (size_t key) const
 
void setRowTexts (QTreeWidgetItem *item, const std::string &key, const aron::data::VariantPtr &data)
 
void setRowTexts (QTreeWidgetItem *item, const std::string &key, const std::string &value, const std::string &typeName="") const
 

Additional Inherited Members

- Public Attributes inherited from DataTreeBuilderBase
int columnKey = 0
 
int columnType = 2
 
int columnValue = 1
 
- Protected Types inherited from DataTreeBuilderBase
using DictBuilder = armarx::TreeWidgetBuilder< std::string >
 
using ListBuilder = armarx::TreeWidgetBuilder< size_t >
 

Detailed Description

Definition at line 14 of file DataTreeBuilder.h.

Constructor & Destructor Documentation

◆ DataTreeBuilder()

Definition at line 11 of file DataTreeBuilder.cpp.

Member Function Documentation

◆ update()

void update ( QTreeWidgetItem *  item,
const std::string &  key,
const aron::data::VariantPtr data,
const aron::Path parentPath 
)
protected

Definition at line 44 of file DataTreeBuilder.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateTree() [1/2]

void updateTree ( QTreeWidgetItem *  parent,
const aron::data::DictPtr data 
)

Definition at line 15 of file DataTreeBuilder.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateTree() [2/2]

void updateTree ( QTreeWidgetItem *  parent,
const aron::data::ListPtr data 
)

Definition at line 28 of file DataTreeBuilder.cpp.

+ Here is the call graph for this function:

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