Engauge Digitizer 2
|
This class centralizes the formatting information (color, line width, alpha) for the Guidelines. More...
#include <GuidelineFormat.h>
Public Types | |
enum | HoverOption { HOVER_OFF , HOVER_ON } |
Public enum. More... | |
Public Member Functions | |
GuidelineFormat (ColorPalette color) | |
Single constructor. | |
~GuidelineFormat () | |
QColor | colorDeployedHover () const |
Guideline color when hovering. | |
QColor | colorDeployedNonHover () const |
Guideline color when not hovering. | |
QColor | colorHidden () const |
Color when object is transparent but still handling (probably hover) events. | |
double | lineWidthHover () const |
Guideline line width. | |
double | lineWidthNonHover () const |
Guideline line width for narrow lines. | |
This class centralizes the formatting information (color, line width, alpha) for the Guidelines.
Definition at line 14 of file GuidelineFormat.h.
Public enum.
Enumerator | |
---|---|
HOVER_OFF | |
HOVER_ON |
Definition at line 22 of file GuidelineFormat.h.
GuidelineFormat::GuidelineFormat | ( | ColorPalette | color | ) |
Single constructor.
Definition at line 11 of file GuidelineFormat.cpp.
GuidelineFormat::~GuidelineFormat | ( | ) |
Definition at line 16 of file GuidelineFormat.cpp.
QColor GuidelineFormat::colorDeployedHover | ( | ) | const |
Guideline color when hovering.
Definition at line 20 of file GuidelineFormat.cpp.
QColor GuidelineFormat::colorDeployedNonHover | ( | ) | const |
Guideline color when not hovering.
Definition at line 28 of file GuidelineFormat.cpp.
QColor GuidelineFormat::colorHidden | ( | ) | const |
Color when object is transparent but still handling (probably hover) events.
Definition at line 33 of file GuidelineFormat.cpp.
double GuidelineFormat::lineWidthHover | ( | ) | const |
Guideline line width.
Definition at line 38 of file GuidelineFormat.cpp.
double GuidelineFormat::lineWidthNonHover | ( | ) | const |
Guideline line width for narrow lines.
Definition at line 43 of file GuidelineFormat.cpp.