This class is the Pml explore action widget presented/controller. More...
#include <PMLExplorerWidget.h>
Public Slots | |
| void | createNewProperty () |
| called when the user click on new in the object controller | |
| void | propertyChanged () |
| called when the user click on apply in the object controller | |
| void | showAtomGlyphToggled (bool) |
| This slot is connected to the corresponding UI Checkbox, update the showAtomGlyph state. | |
Public Member Functions | |
| PMLExplorerWidget (PMLComponent *comp) | |
| Constructor. | |
| void | updateTarget (PMLComponent *comp) |
| Update the widget content as the input selected component changed. | |
| ~PMLExplorerWidget () override | |
| Destructor. | |
This class is the Pml explore action widget presented/controller.
It allows one to map the graphical treeview widget from the pml object.
Considering the MVP pattern:
| PMLExplorerWidget::PMLExplorerWidget | ( | PMLComponent * | comp | ) |
Constructor.
References camitk::ObjectController::BUTTON, createNewProperty(), propertyChanged(), and showAtomGlyphToggled().
|
override |
Destructor.
|
slot |
called when the user click on new in the object controller
Referenced by PMLExplorerWidget().
|
slot |
called when the user click on apply in the object controller
References Component::getProperties(), Properties::set(), and Component::setName().
Referenced by PMLExplorerWidget().
|
slot |
This slot is connected to the corresponding UI Checkbox, update the showAtomGlyph state.
Referenced by PMLExplorerWidget().
| void PMLExplorerWidget::updateTarget | ( | PMLComponent * | comp | ) |
Update the widget content as the input selected component changed.