AronTreeWidgetBoolInputModalController.cpp
Go to the documentation of this file.
2 
3 namespace armarx
4 {
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 
18  }
19 
20  void AronTreeWidgetBoolInputModalController::reset()
21  {
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