AronTreeWidgetBoolInputModalController.cpp
Go to the documentation of this file.
1
#include "
AronTreeWidgetBoolInputModalController.h
"
2
3
namespace
armarx
4
{
5
AronTreeWidgetBoolInputModalController::AronTreeWidgetBoolInputModalController
(
const
std::string& label,
AronTreeWidgetItem
* item, QTreeWidget* parent) :
6
AronTreeWidgetModal
(label, item, parent)
7
{
8
widget.setupUi(
this
);
9
10
// TODO
11
}
12
13
void
AronTreeWidgetBoolInputModalController::submit()
14
{
15
item
->setText(
aron_tree_widget::constantes::TREE_WIDGET_ITEM_VALUE
, widget.textEditInput->toPlainText());
16
17
AronTreeWidgetModal::submit
();
18
}
19
20
void
AronTreeWidgetBoolInputModalController::reset()
21
{
22
AronTreeWidgetModal::reset
();
23
24
// reset to initial value
25
widget.textEditInput->setPlainText(
init
.text(
aron_tree_widget::constantes::TREE_WIDGET_ITEM_VALUE
));
26
}
27
}
armarx::AronTreeWidgetModal::reset
virtual void reset()
Definition:
AronTreeWidgetModal.h:26
armarx::AronTreeWidgetItem
Definition:
AronTreeWidgetItem.h:19
armarx::AronTreeWidgetModal::submit
virtual void submit()
Definition:
AronTreeWidgetModal.h:41
armarx::aron_tree_widget::constantes::TREE_WIDGET_ITEM_VALUE
const int TREE_WIDGET_ITEM_VALUE
Definition:
Data.h:8
AronTreeWidgetBoolInputModalController.h
armarx::AronTreeWidgetModal::init
AronTreeWidgetItem init
Definition:
AronTreeWidgetModal.h:48
armarx::AronTreeWidgetBoolInputModalController::AronTreeWidgetBoolInputModalController
AronTreeWidgetBoolInputModalController(const std::string &label, AronTreeWidgetItem *item, QTreeWidget *parent)
Definition:
AronTreeWidgetBoolInputModalController.cpp:5
armarx::AronTreeWidgetModal
Definition:
AronTreeWidgetModal.h:17
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:28
armarx::AronTreeWidgetModal::item
AronTreeWidgetItem * item
Definition:
AronTreeWidgetModal.h:49
RobotAPI
gui-plugins
SkillManagerPlugin
aronTreeWidget
modal
bool
AronTreeWidgetBoolInputModalController.cpp
Generated on Sat Oct 12 2024 09:14:07 for armarx_documentation by
1.8.17