AronTreeWidgetBoolInputModalController.cpp
Go to the documentation of this file.
1
#include "
AronTreeWidgetBoolInputModalController.h
"
2
3
namespace
armarx::skills::gui
4
{
5
AronTreeWidgetBoolInputModalController::AronTreeWidgetBoolInputModalController
(
6
const
std::string& label,
7
AronTreeWidgetItem
* item,
8
QTreeWidget* parent) :
9
AronTreeWidgetModal
(label, item, parent)
10
{
11
widget.setupUi(
this
);
12
13
// TODO
14
}
15
16
void
17
AronTreeWidgetBoolInputModalController::submit()
18
{
19
item
->setText(
aron_tree_widget::constantes::TREE_WIDGET_ITEM_VALUE
,
20
widget.textEditInput->toPlainText());
21
22
AronTreeWidgetModal::submit
();
23
}
24
25
void
26
AronTreeWidgetBoolInputModalController::reset()
27
{
28
AronTreeWidgetModal::reset
();
29
30
// reset to initial value
31
widget.textEditInput->setPlainText(
32
init
.text(
aron_tree_widget::constantes::TREE_WIDGET_ITEM_VALUE
));
33
}
34
}
// namespace armarx::skills::gui
armarx::skills::gui::AronTreeWidgetBoolInputModalController::AronTreeWidgetBoolInputModalController
AronTreeWidgetBoolInputModalController(const std::string &label, AronTreeWidgetItem *item, QTreeWidget *parent)
Definition:
AronTreeWidgetBoolInputModalController.cpp:5
AronTreeWidgetBoolInputModalController.h
armarx::skills::gui
Definition:
PeriodicUpdateWidget.cpp:11
armarx::skills::gui::AronTreeWidgetModal::submit
virtual void submit()
Definition:
AronTreeWidgetModal.h:50
armarx::skills::gui::AronTreeWidgetModal::reset
virtual void reset()
Definition:
AronTreeWidgetModal.h:30
armarx::skills::gui::AronTreeWidgetModal::item
AronTreeWidgetItem * item
Definition:
AronTreeWidgetModal.h:57
armarx::skills::gui::AronTreeWidgetModal
Definition:
AronTreeWidgetModal.h:18
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
RobotAPI
libraries
skills_gui
aron_tree_widget
modal
bool
AronTreeWidgetBoolInputModalController.cpp
Generated on Sat Oct 12 2024 09:14:07 for armarx_documentation by
1.8.17