AronTreeWidgetModal.cpp
Go to the documentation of this file.
1 #include "AronTreeWidgetModal.h"
2 
3 namespace armarx::skills::gui
4 {
5  AronTreeWidgetModal::AronTreeWidgetModal(const std::string& label,
6  AronTreeWidgetItem* item,
7  QTreeWidget* parent) :
8  QDialog(parent), item(item), label(label), parent(parent)
9  {
17  for (int i = 0; i < item->childCount(); ++i)
18  {
19  init.addChild(item->child(i)->clone());
20  }
21  }
22 } // namespace armarx::skills::gui
armarx::skills::gui::AronTreeWidgetModal::AronTreeWidgetModal
AronTreeWidgetModal(const std::string &label, AronTreeWidgetItem *item, QTreeWidget *parent)
Definition: AronTreeWidgetModal.cpp:5
armarx::skills::gui::aron_tree_widget::constantes::TREE_WIDGET_ITEM_NAME
const int TREE_WIDGET_ITEM_NAME
Definition: Data.h:7
AronTreeWidgetModal.h
armarx::skills::gui::aron_tree_widget::constantes::TREE_WIDGET_ITEM_TYPE
const int TREE_WIDGET_ITEM_TYPE
Definition: Data.h:9
armarx::skills::gui::AronTreeWidgetItem::aronType
aron::type::VariantPtr aronType
Definition: AronTreeWidgetItem.h:30
armarx::skills::gui
Definition: PeriodicUpdateWidget.cpp:11
armarx::skills::gui::AronTreeWidgetModal::item
AronTreeWidgetItem * item
Definition: AronTreeWidgetModal.h:57
armarx::skills::gui::AronTreeWidgetItem
Definition: AronTreeWidgetItem.h:19
armarx::skills::gui::AronTreeWidgetModal::init
AronTreeWidgetItem init
Definition: AronTreeWidgetModal.h:56
armarx::skills::gui::aron_tree_widget::constantes::TREE_WIDGET_ITEM_VALUE
const int TREE_WIDGET_ITEM_VALUE
Definition: Data.h:8