Computer Assisted Medical Intervention Tool Kit  version 6.0
Loading...
Searching...
No Matches
PMLExplorerWidget Class Reference

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.

Detailed Description

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:

  • M = the PMLComponent and the PhysicalModel instances it encapsulates
  • V = the Qt Widget build using Qt Designer (ui_pmlExploreWidget)
  • P = this class, it uses the data in the PMLComponent/PhysicalModel to build the GUI representation (update the widget) and use the user feedback to modify the PMLComponent/PhysicalModel.

Constructor & Destructor Documentation

◆ PMLExplorerWidget()

PMLExplorerWidget::PMLExplorerWidget ( PMLComponent * comp)

◆ ~PMLExplorerWidget()

PMLExplorerWidget::~PMLExplorerWidget ( )
override

Destructor.

Member Function Documentation

◆ createNewProperty

void PMLExplorerWidget::createNewProperty ( )
slot

called when the user click on new in the object controller

Referenced by PMLExplorerWidget().

◆ propertyChanged

void PMLExplorerWidget::propertyChanged ( )
slot

called when the user click on apply in the object controller

References Component::getProperties(), Properties::set(), and Component::setName().

Referenced by PMLExplorerWidget().

◆ showAtomGlyphToggled

void PMLExplorerWidget::showAtomGlyphToggled ( bool checkBoxState)
slot

This slot is connected to the corresponding UI Checkbox, update the showAtomGlyph state.

Referenced by PMLExplorerWidget().

◆ updateTarget()

void PMLExplorerWidget::updateTarget ( PMLComponent * comp)

Update the widget content as the input selected component changed.


The documentation for this class was generated from the following files: