casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Signals | Public Member Functions | Protected Member Functions | Private Attributes
casa::QtMouseToolButton Class Reference

#include <QtMouseToolBar.qo.h>

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

List of all members.

Signals

void mouseToolBtnPress (String tool, Int btn)
void mouseToolBtnState (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).

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 ( ) [inline, virtual]

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


Member Function Documentation

void casa::QtMouseToolButton::contextMenuEvent ( QContextMenuEvent *  event) [inline, protected]

(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 *  ) [inline, protected]

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

virtual void casa::QtMouseToolButton::mousePressEvent ( QMouseEvent *  ) [protected, virtual]

Reimplemented in casa::QtPointToolButton.

void casa::QtMouseToolButton::mouseReleaseEvent ( QMouseEvent *  ) [inline, protected]

Reimplemented in casa::QtPointToolButton.

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

void casa::QtMouseToolButton::mouseToolBtnPress ( String  tool,
Int  btn 
) [signal]
void casa::QtMouseToolButton::mouseToolBtnState ( String  tool,
Int  state 
) [signal]

Member Data Documentation

std::string casa::QtMouseToolButton::tool_ [private]

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


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