Go to the documentation of this file.
31 QTreeWidgetItem* item =
nullptr;
40 cols.insert(
columnKey, QString::fromStdString(key));
41 cols.insert(
columnValue, QString::number(numChildren) +
" items");
42 cols.insert(
columnType, QString::fromStdString(type));
43 item =
new QTreeWidgetItem(cols);
52 QTreeWidgetItem* item =
items.top();
54 item->setExpanded(
true);
57 items.top()->addChild(item);
std::stack< QTreeWidgetItem * > items
std::vector< int > getShape() const
static std::string DimensionsToString(const std::vector< int > &dimensions)
Return dimensions in a readable string such as "(2, 3, 4)".
void streamValueText(Navigator &n, std::stringstream &ss) const
std::shared_ptr< Value > value()
bool _visitEnter(const std::string &key, const std::string &type, size_t numChildren)
std::stack< QTreeWidgetItem * > rootItems
#define ARMARX_CHECK_POSITIVE(number)
This macro evaluates whether number is positive (> 0) and if it turns out to be false it will throw a...
virtual ~TreeDataVisitorBase()
void setColumns(int key, int value, int type)