casa
5.7.0-16
|
#include <QtMouseToolBar.qo.h>
Public Member Functions | |
QtMouseToolBar (QtMouseToolState *msbtns, QtDisplayPanel *qdp=0, QWidget *parent=0) | |
~QtMouseToolBar () | |
QtMouseToolButton * | button (const std::string &name) |
Protected Slots | |
virtual void | chgMouseBtn_ (std::string tool, int button) |
Connected to the QtMouseToolState::mouseBtnChg() signal. More... | |
Protected Attributes | |
QtMouseToolState * | msbtns_ |
Overridden from QToolBar, responding to clicks from any mouse button. More... | |
casacore::Vector < casacore::String > | tools_ |
Names of tools within this toolbar (in order) More... | |
std::map< std::string, QtMouseToolButton * > | buttons_ |
Definition at line 123 of file QtMouseToolBar.qo.h.
casa::QtMouseToolBar::QtMouseToolBar | ( | QtMouseToolState * | msbtns, |
QtDisplayPanel * | qdp = 0 , |
||
QWidget * | parent = 0 |
||
) |
|
inline |
Definition at line 134 of file QtMouseToolBar.qo.h.
QtMouseToolButton* casa::QtMouseToolBar::button | ( | const std::string & | name | ) |
|
protectedvirtualslot |
Connected to the QtMouseToolState::mouseBtnChg() signal.
Changes the tool button's (QAction's) state (icon, whether checked), to reflect the [new] mouse button assignment for a given mouse tool.
|
protected |
Definition at line 160 of file QtMouseToolBar.qo.h.
|
protected |
Overridden from QToolBar, responding to clicks from any mouse button.
Relays that mouse button to central registry for assignment to desired tool. void mouseReleaseEvent(QMouseEvent *event);Holds button state for all mouse-tool bars and display panels.
Definition at line 155 of file QtMouseToolBar.qo.h.
|
protected |
Names of tools within this toolbar (in order)
Definition at line 158 of file QtMouseToolBar.qo.h.