Allows user specification of the colors used in drawing the histogram and pluggable functionality. More...
#include <ColorPreferences.qo.h>
Signals | |
void | colorsChanged () |
Public Member Functions | |
ColorPreferences (QWidget *parent=0) | |
void | setFitColorsVisible (bool visible) |
void | setMultipleHistogramColorsVisible (bool visible) |
QColor | getHistogramColor () const |
QColor | getFitEstimateColor () const |
QColor | getFitCurveColor () const |
QList< QColor > | getMultipleHistogramColors () const |
~ColorPreferences () | |
Private Slots | |
void | colorsAccepted () |
void | colorsRejected () |
void | selectHistogramColor () |
void | selectFitCurveColor () |
void | selectFitEstimateColor () |
void | addHistogramColor () |
void | deleteHistogramColor () |
Private Member Functions | |
void | initializeUserColors () |
QString | readCustomColor (QSettings &settings, const QString &identifier, const QString &colorDefaultName) |
void | readCustomColorList (QSettings &settings) |
void | setButtonColor (QPushButton *button, QColor color) |
void | addColorToList (QColor color) |
QColor | getButtonColor (QPushButton *button) const |
void | showColorDialog (QPushButton *source) |
void | persistColorList (QSettings &settings) |
void | persistColors () |
void | resetColors () |
Private Attributes | |
QColor | histogramColor |
QColor | fitEstimateColor |
QColor | fitCurveColor |
QList< QString > | multipleHistogramColors |
Ui::ColorPreferencesClass | ui |
Static Private Attributes | |
static const QString | APPLICATION |
static const QString | ORGANIZATION |
static const QString | HISTOGRAM_COLOR |
static const QString | FIT_ESTIMATE_COLOR |
static const QString | FIT_CURVE_COLOR |
static const QString | MULTIPLE_HISTOGRAM_COLORS |
Allows user specification of the colors used in drawing the histogram and pluggable functionality.
Definition at line 41 of file ColorPreferences.qo.h.
casa::ColorPreferences::ColorPreferences | ( | QWidget * | parent = 0 |
) |
casa::ColorPreferences::~ColorPreferences | ( | ) |
void casa::ColorPreferences::addColorToList | ( | QColor | color | ) | [private] |
void casa::ColorPreferences::addHistogramColor | ( | ) | [private, slot] |
void casa::ColorPreferences::colorsAccepted | ( | ) | [private, slot] |
void casa::ColorPreferences::colorsChanged | ( | ) | [signal] |
void casa::ColorPreferences::colorsRejected | ( | ) | [private, slot] |
void casa::ColorPreferences::deleteHistogramColor | ( | ) | [private, slot] |
QColor casa::ColorPreferences::getButtonColor | ( | QPushButton * | button | ) | const [private] |
QColor casa::ColorPreferences::getFitCurveColor | ( | ) | const |
QColor casa::ColorPreferences::getFitEstimateColor | ( | ) | const |
QColor casa::ColorPreferences::getHistogramColor | ( | ) | const |
QList<QColor> casa::ColorPreferences::getMultipleHistogramColors | ( | ) | const |
void casa::ColorPreferences::initializeUserColors | ( | ) | [private] |
void casa::ColorPreferences::persistColorList | ( | QSettings & | settings | ) | [private] |
void casa::ColorPreferences::persistColors | ( | ) | [private] |
QString casa::ColorPreferences::readCustomColor | ( | QSettings & | settings, | |
const QString & | identifier, | |||
const QString & | colorDefaultName | |||
) | [private] |
void casa::ColorPreferences::readCustomColorList | ( | QSettings & | settings | ) | [private] |
void casa::ColorPreferences::resetColors | ( | ) | [private] |
void casa::ColorPreferences::selectFitCurveColor | ( | ) | [private, slot] |
void casa::ColorPreferences::selectFitEstimateColor | ( | ) | [private, slot] |
void casa::ColorPreferences::selectHistogramColor | ( | ) | [private, slot] |
void casa::ColorPreferences::setButtonColor | ( | QPushButton * | button, | |
QColor | color | |||
) | [private] |
void casa::ColorPreferences::setFitColorsVisible | ( | bool | visible | ) |
void casa::ColorPreferences::setMultipleHistogramColorsVisible | ( | bool | visible | ) |
void casa::ColorPreferences::showColorDialog | ( | QPushButton * | source | ) | [private] |
const QString casa::ColorPreferences::APPLICATION [static, private] |
Definition at line 83 of file ColorPreferences.qo.h.
const QString casa::ColorPreferences::FIT_CURVE_COLOR [static, private] |
Definition at line 87 of file ColorPreferences.qo.h.
const QString casa::ColorPreferences::FIT_ESTIMATE_COLOR [static, private] |
Definition at line 86 of file ColorPreferences.qo.h.
QColor casa::ColorPreferences::fitCurveColor [private] |
Definition at line 80 of file ColorPreferences.qo.h.
QColor casa::ColorPreferences::fitEstimateColor [private] |
Definition at line 79 of file ColorPreferences.qo.h.
const QString casa::ColorPreferences::HISTOGRAM_COLOR [static, private] |
Definition at line 85 of file ColorPreferences.qo.h.
QColor casa::ColorPreferences::histogramColor [private] |
Definition at line 78 of file ColorPreferences.qo.h.
const QString casa::ColorPreferences::MULTIPLE_HISTOGRAM_COLORS [static, private] |
Definition at line 88 of file ColorPreferences.qo.h.
QList<QString> casa::ColorPreferences::multipleHistogramColors [private] |
Definition at line 81 of file ColorPreferences.qo.h.
const QString casa::ColorPreferences::ORGANIZATION [static, private] |
Definition at line 84 of file ColorPreferences.qo.h.
Ui::ColorPreferencesClass casa::ColorPreferences::ui [private] |
Definition at line 82 of file ColorPreferences.qo.h.