Base class to define selection mode. More...
#include <gepetto/gui/selection-handler.hh>
Public Slots | |
virtual void | onSelect (SelectionEvent *event)=0 |
Slot called when a body is selected. More... | |
virtual QString | getName () |
Signals | |
void | selectedBodies (QStringList selectedBodies) |
Public Member Functions | |
SelectionMode (WindowsManagerPtr_t wsm) | |
~SelectionMode () | |
virtual void | reset () |
QString | currentBody () |
Protected Attributes | |
QString | currentSelected_ |
WindowsManagerPtr_t | wsm_ |
Base class to define selection mode.
|
inline |
|
inline |
|
inline |
References currentSelected_, onSelect(), and selectedBodies().
|
inlinevirtualslot |
|
pure virtualslot |
Slot called when a body is selected.
name | body's name |
position | click position |
Referenced by currentBody().
|
inlinevirtual |
Reimplemented in gepetto::gui::MultiSelection.
References currentSelected_.
|
signal |
Referenced by currentBody().
|
protected |
Referenced by currentBody(), and reset().
|
protected |