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 More... | |
void | propertyChanged () |
called when the user click on apply in the object controller More... | |
void | showAtomGlyphToggled (bool) |
This slot is connected to the corresponding UI Checkbox, update the showAtomGlyph state. More... | |
Public Member Functions | |
PMLExplorerWidget (PMLComponent *comp) | |
Constructor. More... | |
void | updateTarget (PMLComponent *comp) |
Update the widget content as the input selected component changed. More... | |
~PMLExplorerWidget () override | |
Destructor. More... | |
This class is the Pml explore action widget presented/controller.
It allows 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
References a, CamiTKPropertyList::addProperty(), camitk::Component::addProperty(), and camitk::ObjectController::setObject().
Referenced by PMLExplorerWidget().
|
slot |
called when the user click on apply in the object controller
References a, Component::getProperties(), camitk::Component::refresh(), PMLComponent::refreshDisplay(), Properties::set(), camitk::Component::setModified(), Component::setName(), and Structure::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.
References camitk::ObjectController::setObject().
Referenced by PMLExplorerAction::getWidget().