casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Enumerations | Functions | Variables
casa::QtMouseToolNames Namespace Reference

Enumerations

enum  { nTools }
enum  PointRegionSymbols {
  SYM_DOT,
  SYM_DOWN_RIGHT_ARROW,
  SYM_DOWN_LEFT_ARROW,
  SYM_UP_RIGHT_ARROW,
  SYM_UP_LEFT_ARROW,
  SYM_PLUS,
  SYM_X,
  SYM_CIRCLE,
  SYM_DIAMOND,
  SYM_SQUARE,
  SYM_POINT_REGION_COUNT,
  SYM_UNKNOWN
}

Functions

int toolIndex (std::string tool)
 Return index of named tool within the master list.
std::string toolName (int toolindex)
std::string longName (std::string tool)
std::string iconName (std::string tool)
std::string help (std::string tool)
std::string pointRegionSymbolIcon (PointRegionSymbols, int button=-1)
std::string pointRegionSymbolRc (PointRegionSymbols)

Variables

const std::string ZOOM
const std::string PAN
const std::string SHIFTSLOPE
const std::string BRIGHTCONTRAST
const std::string POINT
const std::string RECTANGLE
const std::string ELLIPSE
const std::string POLYGON
const std::string POLYLINE
const std::string RULERLINE
const std::string POSITIONVELOCITY
const std::string MULTICROSSHAIR
const std::string ANNOTATIONS
const std::string NONE
const std::string tools [nTools+1]
const std::string longnames [nTools+1]
const std::string helptexts [nTools+1]
std::string iconnames [nTools+1]

Enumeration Type Documentation

anonymous enum
Enumerator:
nTools 

Definition at line 43 of file MouseToolState.h.

Enumerator:
SYM_DOT 
SYM_DOWN_RIGHT_ARROW 
SYM_DOWN_LEFT_ARROW 
SYM_UP_RIGHT_ARROW 
SYM_UP_LEFT_ARROW 
SYM_PLUS 
SYM_X 
SYM_CIRCLE 
SYM_DIAMOND 
SYM_SQUARE 
SYM_POINT_REGION_COUNT 
SYM_UNKNOWN 

Definition at line 68 of file MouseToolState.h.


Function Documentation

std::string casa::QtMouseToolNames::help ( std::string  tool) [inline]

Definition at line 66 of file MouseToolState.h.

References helptexts, and toolIndex().

std::string casa::QtMouseToolNames::iconName ( std::string  tool) [inline]

Definition at line 65 of file MouseToolState.h.

References iconnames, and toolIndex().

std::string casa::QtMouseToolNames::longName ( std::string  tool) [inline]

Definition at line 64 of file MouseToolState.h.

References longnames, and toolIndex().

std::string casa::QtMouseToolNames::pointRegionSymbolIcon ( PointRegionSymbols  ,
int  button = -1 
)
std::string casa::QtMouseToolNames::pointRegionSymbolRc ( PointRegionSymbols  )
int casa::QtMouseToolNames::toolIndex ( std::string  tool) [inline]

Return index of named tool within the master list.

(i==nTools means 'not a tool').

Definition at line 54 of file MouseToolState.h.

References nTools, and tools.

Referenced by casa::QtMouseToolState::buttonOf(), help(), iconName(), and longName().

std::string casa::QtMouseToolNames::toolName ( int  toolindex) [inline]

Definition at line 59 of file MouseToolState.h.

References NONE, nTools, and tools.

Referenced by casa::QtMouseToolState::toolOnButton().


Variable Documentation

Referenced by help().

Referenced by iconName().

Referenced by longName().

const std::string casa::QtMouseToolNames::NONE
const std::string casa::QtMouseToolNames::PAN
const std::string casa::QtMouseToolNames::POINT
const std::string casa::QtMouseToolNames::tools[nTools+1]

Definition at line 45 of file PlotTool.h.

Referenced by casa::one(), toolIndex(), and toolName().

const std::string casa::QtMouseToolNames::ZOOM