casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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. More...
 
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 74 of file MouseToolState.h.

Function Documentation

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

Definition at line 70 of file MouseToolState.h.

References helptexts, and toolIndex().

Referenced by option::PrintUsageImplementation::LinePartIterator::nextRow().

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

Definition at line 67 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

const std::string casa::QtMouseToolNames::ANNOTATIONS
const std::string casa::QtMouseToolNames::BRIGHTCONTRAST
const std::string casa::QtMouseToolNames::ELLIPSE
const std::string casa::QtMouseToolNames::helptexts[nTools+1]

Referenced by help().

std::string casa::QtMouseToolNames::iconnames[nTools+1]

Referenced by iconName().

const std::string casa::QtMouseToolNames::longnames[nTools+1]

Referenced by longName().

const std::string casa::QtMouseToolNames::MULTICROSSHAIR
const std::string casa::QtMouseToolNames::NONE
const std::string casa::QtMouseToolNames::PAN
const std::string casa::QtMouseToolNames::POINT
const std::string casa::QtMouseToolNames::POLYGON
const std::string casa::QtMouseToolNames::POLYLINE
const std::string casa::QtMouseToolNames::POSITIONVELOCITY
const std::string casa::QtMouseToolNames::RECTANGLE
const std::string casa::QtMouseToolNames::RULERLINE
const std::string casa::QtMouseToolNames::SHIFTSLOPE
const std::string casa::QtMouseToolNames::tools[nTools+1]

Definition at line 43 of file PlotTool.h.

Referenced by toolIndex(), and toolName().

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