Engauge Digitizer 2
Loading...
Searching...
No Matches
ColorFilterMode.cpp File Reference
#include "ColorFilterMode.h"
#include <QObject>
Include dependency graph for ColorFilterMode.cpp:

Go to the source code of this file.

Functions

QString colorFilterModeToString (ColorFilterMode colorFilterMode)

Function Documentation

◆ colorFilterModeToString()

QString colorFilterModeToString ( ColorFilterMode colorFilterMode)

Definition at line 10 of file ColorFilterMode.cpp.

11{
12 switch (colorFilterMode) {
14 return QObject::tr ("Foreground");
15
17 return QObject::tr ("Hue");
18
20 return QObject::tr ("Intensity");
21
23 return QObject::tr ("Saturation");
24
26 return QObject::tr ("Value");
27
28 default:
29 return QObject::tr ("Unknown");
30 }
31}
@ COLOR_FILTER_MODE_FOREGROUND
@ COLOR_FILTER_MODE_VALUE
@ COLOR_FILTER_MODE_INTENSITY
@ COLOR_FILTER_MODE_SATURATION
@ COLOR_FILTER_MODE_HUE