cumbia-qtcontrols 1.x
Qt widgets on top of the cumbia C++ library
|
#include <QLabel>
#include <QLineEdit>
#include <QGridLayout>
#include <QToolTip>
#include <QApplication>
#include "elettracolors.h"
#include <cumacros.h>
Namespaces | |
namespace | Elettra |
Functions | |
QColor | EColor (const QString &colorString) |
QColor | EColor (int colorcode) |
QPalette | EPalette (QString def) |
void | Elettra::showColorPalette () |
Variables | |
const char * | colorStrings [] |
QColor EColor | ( | const QString & | colorString | ) |
References colorStrings, EColor(), and Elettra::fermiAlternateBase.
Referenced by EFlag::arrangeCells(), ELinearGauge::drawMarker(), ECircularGauge::drawScale(), EColor(), ELabel::ELabel(), EPalette(), QuLedBase::paintEvent(), and EFlag::setBooleanDisplay().
QColor EColor | ( | int | colorcode | ) |
This one returns the colour corresponding to the code passed as argument.
References Elettra::almostBlack, Elettra::black, Elettra::blue, Elettra::blueGray, Elettra::boosterAlternateBase, BOOSTERCOLOR, Elettra::boosterColor, Elettra::boosterHighlight, Elettra::camel, Elettra::cyan, Elettra::darkBlue, Elettra::darkCyan, Elettra::darkGray, Elettra::darkGreen, Elettra::darkMaroon, Elettra::darkPink, Elettra::darkRed, Elettra::darkViolet, Elettra::darkWater, Elettra::darkYellow, Elettra::dirtyYellow, EBLACK, EBLUEGRAY, EDIRTYYELLOW, EFUCHSIA, EGREEN, EGREENWATER, Elettra::elettraAlternateBase, ELETTRACOLOR, Elettra::elettraColor, Elettra::elettraHighlight, EYELLOW, Elettra::fermiAlternateBase, FERMICOLOR, Elettra::fermiColor, Elettra::fermiHighlight, Elettra::fuchsia, Elettra::gray, Elettra::green, Elettra::greenWater, KALMOSTBLACK, KBLUE, KBOOSTERALTERNATEBASE, KBOOSTERHIGHLIGHT, KCAMEL, KCYAN, KDARKBLUE, KDARKCYAN, KDARKGRAY, KDARKGREEN, KDARKMAROON, KDARKPINK, KDARKRED, KDARKVIOLET, KDARKWATER, KDARKYELLOW, KELETTRAALTERNATEBASE, KELETTRAHIGHLIGHT, KGRAY, KGRAYFERMIALTERNATEBASE, KGRAYFERMIHIGHLIGHT, KLIGHTGRAY, KMAROON, KORANGE, KPINK, KPINKPIG, KRED90SAT, KVERYDARKBLUE, KVIOLET, Elettra::lightGray, Elettra::maroon, Elettra::orange, Elettra::pink, Elettra::pinkPig, Elettra::red, Elettra::veryDarkBlue, Elettra::violet, Elettra::white, and Elettra::yellow.
QPalette EPalette | ( | QString | def | ) |
const char* colorStrings[] |
Referenced by EColor().