|  | anatomist
    5.1.2
    3D neuroimaging data viewer | 
#include <anatomist/controler/controlswitch.h>


| Public Types | |
| typedef std::map< std::string, anatomist::ControlPtr >::const_iterator | const_iterator | 
| typedef std::map< std::string, anatomist::ControlPtr >::iterator | iterator | 
| Public Member Functions | |
| virtual | ~ControlSwitch () | 
| bool | attach (anatomist::ControlSwitchObserver *window) | 
| bool | detach (anatomist::ControlSwitchObserver *window) | 
| void | notifyActivableControlChange () | 
| void | notifyAvailableControlChange () | 
| void | notifyActiveControlChange () | 
| void | notifyActionChange () | 
| const std::map< int, std::string > & | activableControls () const | 
| const std::map< int, std::string > & | availableControls () const | 
| const std::set< std::string > & | activableControlGroups () const | 
| const std::set< std::string > & | availableControlGroups () const | 
| const std::set< std::string > & | actions () const | 
| std::string | controlDescription (const std::string &ctrlname) const | 
| const_iterator | begin () const | 
| const_iterator | end () const | 
| void | setActiveControl (const std::string &) | 
| const std::string & | activeControl () const | 
| anatomist::ControlPtr | activeControlInstance () const | 
| void | keyPressEvent (QKeyEvent *) | 
| void | keyReleaseEvent (QKeyEvent *) | 
| void | mousePressEvent (QMouseEvent *) | 
| void | mouseReleaseEvent (QMouseEvent *) | 
| void | mouseDoubleClickEvent (QMouseEvent *) | 
| void | mouseMoveEvent (QMouseEvent *) | 
| void | wheelEvent (QWheelEvent *) | 
| void | focusInEvent (QFocusEvent *) | 
| void | focusOutEvent (QFocusEvent *) | 
| void | enterEvent (QEvent *) | 
| void | leaveEvent (QEvent *) | 
| void | paintEvent (QPaintEvent *) | 
| void | moveEvent (QMoveEvent *) | 
| void | resizeEvent (QResizeEvent *) | 
| void | dragEnterEvent (QDragEnterEvent *) | 
| void | dragMoveEvent (QDragMoveEvent *) | 
| void | dragLeaveEvent (QDragLeaveEvent *) | 
| void | dropEvent (QDropEvent *) | 
| void | showEvent (QShowEvent *) | 
| void | hideEvent (QHideEvent *) | 
| void | selectionChangedEvent () | 
| void | setAvailableControls (const std::list< std::string > &objects) | 
| void | setActivableControls (bool init=false) | 
| void | printControls () | 
| void | updateToolBox () | 
| void | updateControlDescription () | 
| bool | isToolBoxVisible () const | 
| void | switchToolBoxVisible () | 
| ToolBox * | toolBox () | 
| anatomist::Action * | getAction (const std::string &actionName) | 
| void | activateKeyPressAction (const std::string &methodname) const | 
| void | activateKeyReleaseAction (const std::string &methodname) const | 
| void | activateMousePressAction (const std::string &methodname, int x, int y) const | 
| void | activateMouseReleaseAction (const std::string &methodname, int x, int y) const | 
| void | activateMouseDoubleClickAction (const std::string &methodname, int x, int y) const | 
| void | activateMouseMoveAction (const std::string &methodname, int x, int y) const | 
| Protected Member Functions | |
| ControlSwitch (anatomist::View *view) | |
| Friends | |
| class | anatomist::View | 
Definition at line 115 of file controlswitch.h.
| typedef std::map<std::string, anatomist::ControlPtr>::const_iterator ControlSwitch::const_iterator | 
Definition at line 142 of file controlswitch.h.
| typedef std::map<std::string, anatomist::ControlPtr>::iterator ControlSwitch::iterator | 
Definition at line 144 of file controlswitch.h.
| 
 | virtual | 
| 
 | protected | 
References slots.
| const std::set<std::string>& ControlSwitch::actions | ( | ) | const | 
| const std::set<std::string>& ControlSwitch::activableControlGroups | ( | ) | const | 
| const std::map<int, std::string>& ControlSwitch::activableControls | ( | ) | const | 
| void ControlSwitch::activateKeyPressAction | ( | const std::string & | methodname | ) | const | 
| void ControlSwitch::activateKeyReleaseAction | ( | const std::string & | methodname | ) | const | 
| void ControlSwitch::activateMouseDoubleClickAction | ( | const std::string & | methodname, | 
| int | x, | ||
| int | y | ||
| ) | const | 
| void ControlSwitch::activateMouseMoveAction | ( | const std::string & | methodname, | 
| int | x, | ||
| int | y | ||
| ) | const | 
| void ControlSwitch::activateMousePressAction | ( | const std::string & | methodname, | 
| int | x, | ||
| int | y | ||
| ) | const | 
| void ControlSwitch::activateMouseReleaseAction | ( | const std::string & | methodname, | 
| int | x, | ||
| int | y | ||
| ) | const | 
| const std::string& ControlSwitch::activeControl | ( | ) | const | 
| anatomist::ControlPtr ControlSwitch::activeControlInstance | ( | ) | const | 
| bool ControlSwitch::attach | ( | anatomist::ControlSwitchObserver * | window | ) | 
| const std::set<std::string>& ControlSwitch::availableControlGroups | ( | ) | const | 
| const std::map<int, std::string>& ControlSwitch::availableControls | ( | ) | const | 
| const_iterator ControlSwitch::begin | ( | ) | const | 
| std::string ControlSwitch::controlDescription | ( | const std::string & | ctrlname | ) | const | 
| bool ControlSwitch::detach | ( | anatomist::ControlSwitchObserver * | window | ) | 
| void ControlSwitch::dragEnterEvent | ( | QDragEnterEvent * | ) | 
| void ControlSwitch::dragLeaveEvent | ( | QDragLeaveEvent * | ) | 
| void ControlSwitch::dragMoveEvent | ( | QDragMoveEvent * | ) | 
| void ControlSwitch::dropEvent | ( | QDropEvent * | ) | 
| const_iterator ControlSwitch::end | ( | ) | const | 
| void ControlSwitch::enterEvent | ( | QEvent * | ) | 
| void ControlSwitch::focusInEvent | ( | QFocusEvent * | ) | 
| void ControlSwitch::focusOutEvent | ( | QFocusEvent * | ) | 
| anatomist::Action* ControlSwitch::getAction | ( | const std::string & | actionName | ) | 
| void ControlSwitch::hideEvent | ( | QHideEvent * | ) | 
| bool ControlSwitch::isToolBoxVisible | ( | ) | const | 
| void ControlSwitch::keyPressEvent | ( | QKeyEvent * | ) | 
| void ControlSwitch::keyReleaseEvent | ( | QKeyEvent * | ) | 
| void ControlSwitch::leaveEvent | ( | QEvent * | ) | 
| void ControlSwitch::mouseDoubleClickEvent | ( | QMouseEvent * | ) | 
| void ControlSwitch::mouseMoveEvent | ( | QMouseEvent * | ) | 
| void ControlSwitch::mousePressEvent | ( | QMouseEvent * | ) | 
| void ControlSwitch::mouseReleaseEvent | ( | QMouseEvent * | ) | 
| void ControlSwitch::moveEvent | ( | QMoveEvent * | ) | 
| void ControlSwitch::notifyActionChange | ( | ) | 
| void ControlSwitch::notifyActivableControlChange | ( | ) | 
| void ControlSwitch::notifyActiveControlChange | ( | ) | 
| void ControlSwitch::notifyAvailableControlChange | ( | ) | 
| void ControlSwitch::paintEvent | ( | QPaintEvent * | ) | 
| void ControlSwitch::printControls | ( | ) | 
| void ControlSwitch::resizeEvent | ( | QResizeEvent * | ) | 
| void ControlSwitch::selectionChangedEvent | ( | ) | 
| void ControlSwitch::setActivableControls | ( | bool | init = false | ) | 
| void ControlSwitch::setActiveControl | ( | const std::string & | ) | 
| void ControlSwitch::setAvailableControls | ( | const std::list< std::string > & | objects | ) | 
| void ControlSwitch::showEvent | ( | QShowEvent * | ) | 
| void ControlSwitch::switchToolBoxVisible | ( | ) | 
| ToolBox* ControlSwitch::toolBox | ( | ) | 
| void ControlSwitch::updateControlDescription | ( | ) | 
| void ControlSwitch::updateToolBox | ( | ) | 
| void ControlSwitch::wheelEvent | ( | QWheelEvent * | ) | 
| 
 | friend | 
Definition at line 123 of file controlswitch.h.