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] |
| anonymous enum |
| String casa::QtMouseToolNames::help | ( | String | tool | ) | [inline] |
| String casa::QtMouseToolNames::iconName | ( | String | tool | ) | [inline] |
| String casa::QtMouseToolNames::longName | ( | String | tool | ) | [inline] |
| 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.
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().
| 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 |
| 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] |
| const String casa::QtMouseToolNames::ZOOM |
1.5.1