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