AronTreeWidgetModal.cpp
Go to the documentation of this file.
1
#include "
AronTreeWidgetModal.h
"
2
3
namespace
armarx
4
{
5
AronTreeWidgetModal::AronTreeWidgetModal
(
const
std::string& label,
AronTreeWidgetItem
* item, QTreeWidget* parent) :
6
QDialog(parent),
7
item(item),
8
label(label),
9
parent(parent)
10
{
11
init
.
aronType
=
item
->
aronType
;
12
init
.setText(
aron_tree_widget::constantes::TREE_WIDGET_ITEM_NAME
,
item
->text(
aron_tree_widget::constantes::TREE_WIDGET_ITEM_NAME
));
13
init
.setText(
aron_tree_widget::constantes::TREE_WIDGET_ITEM_VALUE
,
item
->text(
aron_tree_widget::constantes::TREE_WIDGET_ITEM_VALUE
));
14
init
.setText(
aron_tree_widget::constantes::TREE_WIDGET_ITEM_TYPE
,
item
->text(
aron_tree_widget::constantes::TREE_WIDGET_ITEM_TYPE
));
15
for
(
int
i = 0; i <
item
->childCount(); ++i)
16
{
17
init
.addChild(
item
->child(i)->clone());
18
}
19
}
20
}
armarx::AronTreeWidgetItem
Definition:
AronTreeWidgetItem.h:19
armarx::aron_tree_widget::constantes::TREE_WIDGET_ITEM_VALUE
const int TREE_WIDGET_ITEM_VALUE
Definition:
Data.h:8
armarx::AronTreeWidgetModal::AronTreeWidgetModal
AronTreeWidgetModal(const std::string &label, AronTreeWidgetItem *item, QTreeWidget *parent)
Definition:
AronTreeWidgetModal.cpp:5
AronTreeWidgetModal.h
armarx::AronTreeWidgetModal::init
AronTreeWidgetItem init
Definition:
AronTreeWidgetModal.h:48
armarx::aron_tree_widget::constantes::TREE_WIDGET_ITEM_TYPE
const int TREE_WIDGET_ITEM_TYPE
Definition:
Data.h:9
armarx::aron_tree_widget::constantes::TREE_WIDGET_ITEM_NAME
const int TREE_WIDGET_ITEM_NAME
Definition:
Data.h:7
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:28
armarx::AronTreeWidgetItem::aronType
aron::type::VariantPtr aronType
Definition:
AronTreeWidgetItem.h:30
armarx::AronTreeWidgetModal::item
AronTreeWidgetItem * item
Definition:
AronTreeWidgetModal.h:49
RobotAPI
gui-plugins
SkillManagerPlugin
aronTreeWidget
modal
AronTreeWidgetModal.cpp
Generated on Sat Oct 12 2024 09:14:07 for armarx_documentation by
1.8.17