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

#include <QtMouseToolBar.qo.h>

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

Public Member Functions

 QtPointToolButton (QWidget *parent=0)
 
 ~QtPointToolButton ()
 
- Public Member Functions inherited from casa::QtMouseToolButton
 QtMouseToolButton (const std::string &type, QWidget *parent=0)
 
virtual ~QtMouseToolButton ()
 
virtual std::string getIconStr (int) const
 

Protected Slots

void show_context_menu (const QPoint &)
 
void popup_options_menu ()
 

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *)
 
virtual void mouseReleaseEvent (QMouseEvent *)
 
- Protected Member Functions inherited from casa::QtMouseToolButton
void mouseMoveEvent (QMouseEvent *)
 
void mouseReleaseEvent (QMouseEvent *)
 
void contextMenuEvent (QContextMenuEvent *event)
 (Prevents interference with right mouse button). More...
 

Protected Attributes

casacore::Casarcrc
 
QTimer * timer
 
QPoint popup_menu_pos
 

Additional Inherited Members

- Signals inherited from casa::QtMouseToolButton
void mouseToolBtnPress (casacore::String tool, int btn)
 
void mouseToolBtnState (casacore::String tool, int state)
 

Detailed Description

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

Constructor & Destructor Documentation

casa::QtPointToolButton::QtPointToolButton ( QWidget *  parent = 0)
casa::QtPointToolButton::~QtPointToolButton ( )
inline

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

References timer.

Member Function Documentation

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

Reimplemented from casa::QtMouseToolButton.

virtual void casa::QtPointToolButton::mouseReleaseEvent ( QMouseEvent *  )
protectedvirtual
void casa::QtPointToolButton::popup_options_menu ( )
protectedslot
void casa::QtPointToolButton::show_context_menu ( const QPoint &  )
protectedslot

Member Data Documentation

QPoint casa::QtPointToolButton::popup_menu_pos
protected

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

casacore::Casarc& casa::QtPointToolButton::rc
protected

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

QTimer* casa::QtPointToolButton::timer
protected

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

Referenced by ~QtPointToolButton().


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