AronTreeWidgetFloatInputModalController.cpp
Go to the documentation of this file.
1
#include "
AronTreeWidgetFloatInputModalController.h
"
2
3
namespace
armarx
4
{
5
AronTreeWidgetFloatInputModalController::AronTreeWidgetFloatInputModalController
(
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
AronTreeWidgetFloatInputModalController::submit()
14
{
15
item
->setText(
aron_tree_widget::constantes::TREE_WIDGET_ITEM_VALUE
, widget.textEditInput->toPlainText());
16
17
AronTreeWidgetModal::submit
();
18
}
19
20
void
AronTreeWidgetFloatInputModalController::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
AronTreeWidgetFloatInputModalController.h
armarx::AronTreeWidgetFloatInputModalController::AronTreeWidgetFloatInputModalController
AronTreeWidgetFloatInputModalController(const std::string &label, AronTreeWidgetItem *item, QTreeWidget *parent)
Definition:
AronTreeWidgetFloatInputModalController.cpp:5
armarx::AronTreeWidgetModal::init
AronTreeWidgetItem init
Definition:
AronTreeWidgetModal.h:48
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
float_double
AronTreeWidgetFloatInputModalController.cpp
Generated on Sat Sep 7 2024 09:13:52 for armarx_documentation by
1.8.17