Engauge Digitizer 2
Loading...
Searching...
No Matches
GuidelineFormat.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2019 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef GUIDELINE_FORMAT_H
8#define GUIDELINE_FORMAT_H
9
10#include "ColorPalette.h"
11#include <QColor>
12
15{
16public:
20
26
29
32
34 QColor colorHidden () const;
35
37 double lineWidthHover () const;
38
40 double lineWidthNonHover () const;
41
42private:
44
45 QColor m_color;
46};
47
48#endif // GUIDELINE_FORMAT_H
ColorPalette
const int INNER_RADIUS_MIN
This class centralizes the formatting information (color, line width, alpha) for the Guidelines.
QColor colorDeployedNonHover() const
Guideline color when not hovering.
double lineWidthHover() const
Guideline line width.
double lineWidthNonHover() const
Guideline line width for narrow lines.
QColor colorDeployedHover() const
Guideline color when hovering.
QColor colorHidden() const
Color when object is transparent but still handling (probably hover) events.
HoverOption
Public enum.