|
Engauge Digitizer 2
|
#include <QString>

Go to the source code of this file.
Enumerations | |
| enum | InactiveOpacity { INACTIVE_OPACITY_0 , INACTIVE_OPACITY_32 , INACTIVE_OPACITY_64 , INACTIVE_OPACITY_96 , INACTIVE_OPACITY_128 , INACTIVE_OPACITY_160 , INACTIVE_OPACITY_192 , INACTIVE_OPACITY_224 , INACTIVE_OPACITY_256 } |
| Enum for opacity/alpha values used for segments that are not currently under hover. More... | |
Functions | |
| int | inactiveOpacityEnumToAlpha (InactiveOpacity inactiveOpacity) |
| Map InactiveOpacity enum to corresponding alpha value. | |
| QString | inactiveOpacityEnumToQString (InactiveOpacity inactiveOpacity) |
| Map InactiveOpacity enum to corresponding string value. | |
Variables | |
| const InactiveOpacity | DEFAULT_INACTIVE_OPACITY_ENUM = INACTIVE_OPACITY_64 |
| Default inactie opacity is not 0 so we see something, and not 255 which applies when active. | |
| enum InactiveOpacity |
Enum for opacity/alpha values used for segments that are not currently under hover.
Just a few values are needed since a continuous spectrum over the whole range would require multiple up/down steps before any significant change could be seen
| Enumerator | |
|---|---|
| INACTIVE_OPACITY_0 | |
| INACTIVE_OPACITY_32 | |
| INACTIVE_OPACITY_64 | |
| INACTIVE_OPACITY_96 | |
| INACTIVE_OPACITY_128 | |
| INACTIVE_OPACITY_160 | |
| INACTIVE_OPACITY_192 | |
| INACTIVE_OPACITY_224 | |
| INACTIVE_OPACITY_256 | |
Definition at line 15 of file InactiveOpacity.h.
|
extern |
Map InactiveOpacity enum to corresponding alpha value.
Definition at line 13 of file InactiveOpacity.cpp.
|
extern |
Map InactiveOpacity enum to corresponding string value.
Definition at line 40 of file InactiveOpacity.cpp.
| const InactiveOpacity DEFAULT_INACTIVE_OPACITY_ENUM = INACTIVE_OPACITY_64 |
Default inactie opacity is not 0 so we see something, and not 255 which applies when active.
Definition at line 28 of file InactiveOpacity.h.