casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Signals | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
casa::QtMouseToolButton Class Reference

#include <QtMouseToolBar.qo.h>

Inheritance diagram for casa::QtMouseToolButton:
casa::QtPointToolButton

Signals

void mouseToolBtnPress (casacore::String tool, int btn)
 
void mouseToolBtnState (casacore::String tool, int state)
 

Public Member Functions

 QtMouseToolButton (const std::string &type, QWidget *parent=0)
 
virtual ~QtMouseToolButton ()
 
virtual std::string getIconStr (int) const
 

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *)
 
void mouseMoveEvent (QMouseEvent *)
 
void mouseReleaseEvent (QMouseEvent *)
 
void contextMenuEvent (QContextMenuEvent *event)
 (Prevents interference with right mouse button). More...
 

Private Attributes

std::string tool_
 

Detailed Description

Definition at line 55 of file QtMouseToolBar.qo.h.

Constructor & Destructor Documentation

casa::QtMouseToolButton::QtMouseToolButton ( const std::string &  type,
QWidget *  parent = 0 
)
virtual casa::QtMouseToolButton::~QtMouseToolButton ( )
inlinevirtual

Definition at line 64 of file QtMouseToolBar.qo.h.

Member Function Documentation

void casa::QtMouseToolButton::contextMenuEvent ( QContextMenuEvent *  event)
inlineprotected

(Prevents interference with right mouse button).

Definition at line 75 of file QtMouseToolBar.qo.h.

virtual std::string casa::QtMouseToolButton::getIconStr ( int  ) const
virtual
void casa::QtMouseToolButton::mouseMoveEvent ( QMouseEvent *  )
inlineprotected

Definition at line 71 of file QtMouseToolBar.qo.h.

virtual void casa::QtMouseToolButton::mousePressEvent ( QMouseEvent *  )
protectedvirtual

Reimplemented in casa::QtPointToolButton.

void casa::QtMouseToolButton::mouseReleaseEvent ( QMouseEvent *  )
inlineprotected

Definition at line 72 of file QtMouseToolBar.qo.h.

void casa::QtMouseToolButton::mouseToolBtnPress ( casacore::String  tool,
int  btn 
)
signal
void casa::QtMouseToolButton::mouseToolBtnState ( casacore::String  tool,
int  state 
)
signal

Member Data Documentation

std::string casa::QtMouseToolButton::tool_
private

Definition at line 85 of file QtMouseToolBar.qo.h.


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