casa::QtMouseToolNames Namespace Reference


Detailed Description

Synopsis

QtMouseToolNames holds static constants for Qt mouse tools (with some access methods for them). There is an ordered list of 'mouse tool' types, names and reference indices for them, etc.


Enumerations

enum  { nTools }

Functions

Int toolIndex (String tool)
 Return index of named tool within the master list.
String toolName (Int toolindex)
String longName (String tool)
String iconName (String tool)
String help (String tool)

Variables

const String ZOOM
const String PAN
const String SHIFTSLOPE
const String BRIGHTCONTRAST
const String POSITION
const String RECTANGLE
const String POLYGON
const String POLYLINE
const String MULTICROSSHAIR
const String ANNOTATIONS
const String NONE
const String tools [nTools+1]
const String longnames [nTools+1]
const String iconnames [nTools+1]
const String helptexts [nTools+1]


Enumeration Type Documentation

anonymous enum

Enumerator:
nTools 

Definition at line 56 of file QtMouseToolState.qo.h.


Function Documentation

String casa::QtMouseToolNames::help ( String  tool  )  [inline]

Definition at line 78 of file QtMouseToolState.qo.h.

References helptexts, and toolIndex().

String casa::QtMouseToolNames::iconName ( String  tool  )  [inline]

Definition at line 77 of file QtMouseToolState.qo.h.

References iconnames, and toolIndex().

String casa::QtMouseToolNames::longName ( String  tool  )  [inline]

Definition at line 76 of file QtMouseToolState.qo.h.

References longnames, and toolIndex().

Int casa::QtMouseToolNames::toolIndex ( String  tool  )  [inline]

Return index of named tool within the master list.

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

Definition at line 68 of file QtMouseToolState.qo.h.

References nTools, and tools.

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

String casa::QtMouseToolNames::toolName ( Int  toolindex  )  [inline]

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

References NONE, nTools, and tools.

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


Variable Documentation

const String casa::QtMouseToolNames::ANNOTATIONS

const String casa::QtMouseToolNames::BRIGHTCONTRAST

const String casa::QtMouseToolNames::helptexts[nTools+1]

Referenced by help().

const String casa::QtMouseToolNames::iconnames[nTools+1]

Referenced by iconName().

const String casa::QtMouseToolNames::longnames[nTools+1]

Referenced by longName().

const String casa::QtMouseToolNames::MULTICROSSHAIR

const String casa::QtMouseToolNames::NONE

Referenced by enum_map_traits< SidebandProcessingMode, void >::init(), enum_map_traits< FieldCode, void >::init(), enum_map_traits< CorrelatorCalibration, void >::init(), enum_map_traits< CalibrationDevice, void >::init(), and toolName().

const String casa::QtMouseToolNames::PAN

const String casa::QtMouseToolNames::POLYGON

const String casa::QtMouseToolNames::POLYLINE

const String casa::QtMouseToolNames::POSITION

const String casa::QtMouseToolNames::RECTANGLE

const String casa::QtMouseToolNames::SHIFTSLOPE

const String casa::QtMouseToolNames::tools[nTools+1]

Definition at line 45 of file PlotTool.h.

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

const String casa::QtMouseToolNames::ZOOM


Generated on Thu Aug 27 21:44:35 2009 for NRAOCASA by  doxygen 1.5.1