SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <colormapper.h>
Public Types | |
enum | Theme { Normal, Gold, ReverseGold, ReverseGreenEmerald, ReverseGreen, ReverseGreenApple, ReverseGreenYellow, GrayGreenYellow, GrayGold, GrayYellow } |
typedef std::vector< std::pair< float, QColor > > | colormap |
Public Member Functions | |
ColorMapper (Theme theme=Normal) | |
~ColorMapper () | |
const colormap & | getDialBackgroundColorMap () const |
const QColor & | getForegroundColor () const |
const QColor & | getSecondaryForegroundColor () const |
const QColor & | getHighlightColor () const |
const QColor & | getBoundaryColor () const |
const QColor & | getBoundaryAlphaColor () const |
const QColor & | getLightBorderColor () const |
const QColor & | getDarkBorderColor () const |
Private Attributes | |
Theme | m_theme |
std::vector< std::pair< float, QColor > > | m_dialBackgroundcolorMap |
QColor | m_foregroundColor |
QColor | m_secondaryForegroundColor |
QColor | m_highlightColor |
QColor | m_boundaryColor |
QColor | m_boundaryAlphaColor |
QColor | m_lightBorderColor |
QColor | m_darkBorderColor |
Definition at line 15 of file colormapper.h.
typedef std::vector<std::pair<float, QColor> > ColorMapper::colormap |
Definition at line 31 of file colormapper.h.
enum ColorMapper::Theme |
Enumerator | |
---|---|
Normal | |
Gold | |
ReverseGold | |
ReverseGreenEmerald | |
ReverseGreen | |
ReverseGreenApple | |
ReverseGreenYellow | |
GrayGreenYellow | |
GrayGold | |
GrayYellow |
Definition at line 18 of file colormapper.h.
Definition at line 10 of file colormapper.cpp.
References Gold, GrayGold, GrayGreenYellow, GrayYellow, m_boundaryAlphaColor, m_boundaryColor, m_darkBorderColor, m_dialBackgroundcolorMap, m_foregroundColor, m_highlightColor, m_lightBorderColor, m_secondaryForegroundColor, m_theme, Normal, ReverseGold, ReverseGreen, ReverseGreenApple, ReverseGreenEmerald, and ReverseGreenYellow.
ColorMapper::~ColorMapper | ( | ) |
Definition at line 187 of file colormapper.cpp.
|
inline |
Definition at line 41 of file colormapper.h.
Referenced by ValueDial::paintEvent(), and ValueDialZ::paintEvent().
|
inline |
Definition at line 40 of file colormapper.h.
Referenced by ValueDial::paintEvent(), and ValueDialZ::paintEvent().
|
inline |
Definition at line 43 of file colormapper.h.
Referenced by ValueDial::paintEvent(), and ValueDialZ::paintEvent().
|
inline |
Definition at line 36 of file colormapper.h.
Referenced by ValueDial::setColorMapper(), ValueDialZ::setColorMapper(), ValueDial::ValueDial(), and ValueDialZ::ValueDialZ().
|
inline |
Definition at line 37 of file colormapper.h.
Referenced by ValueDial::paintEvent(), and ValueDialZ::paintEvent().
|
inline |
Definition at line 39 of file colormapper.h.
Referenced by ValueDial::paintEvent(), and ValueDialZ::paintEvent().
|
inline |
Definition at line 42 of file colormapper.h.
Referenced by ValueDial::paintEvent(), and ValueDialZ::paintEvent().
|
inline |
Definition at line 38 of file colormapper.h.
Referenced by ValueDial::paintEvent(), and ValueDialZ::paintEvent().
|
private |
Definition at line 52 of file colormapper.h.
Referenced by ColorMapper().
|
private |
Definition at line 51 of file colormapper.h.
Referenced by ColorMapper().
|
private |
Definition at line 54 of file colormapper.h.
Referenced by ColorMapper().
|
private |
Definition at line 47 of file colormapper.h.
Referenced by ColorMapper().
|
private |
Definition at line 48 of file colormapper.h.
Referenced by ColorMapper().
|
private |
Definition at line 50 of file colormapper.h.
Referenced by ColorMapper().
|
private |
Definition at line 53 of file colormapper.h.
Referenced by ColorMapper().
|
private |
Definition at line 49 of file colormapper.h.
Referenced by ColorMapper().
|
private |
Definition at line 43 of file colormapper.h.
Referenced by ColorMapper().