casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
casa::ColorPreferences Class Reference

Allows user specification of the colors used in drawing the histogram and pluggable functionality. More...

#include <ColorPreferences.qo.h>

Inheritance diagram for casa::ColorPreferences:

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
 

Detailed Description

Allows user specification of the colors used in drawing the histogram and pluggable functionality.

Definition at line 41 of file ColorPreferences.qo.h.

Constructor & Destructor Documentation

casa::ColorPreferences::ColorPreferences ( QWidget *  parent = 0)
casa::ColorPreferences::~ColorPreferences ( )

Member Function Documentation

void casa::ColorPreferences::addColorToList ( QColor  color)
private
void casa::ColorPreferences::addHistogramColor ( )
privateslot
void casa::ColorPreferences::colorsAccepted ( )
privateslot
void casa::ColorPreferences::colorsChanged ( )
signal
void casa::ColorPreferences::colorsRejected ( )
privateslot
void casa::ColorPreferences::deleteHistogramColor ( )
privateslot
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 ( )
privateslot
void casa::ColorPreferences::selectFitEstimateColor ( )
privateslot
void casa::ColorPreferences::selectHistogramColor ( )
privateslot
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

Member Data Documentation

const QString casa::ColorPreferences::APPLICATION
staticprivate

Definition at line 83 of file ColorPreferences.qo.h.

const QString casa::ColorPreferences::FIT_CURVE_COLOR
staticprivate

Definition at line 87 of file ColorPreferences.qo.h.

const QString casa::ColorPreferences::FIT_ESTIMATE_COLOR
staticprivate

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
staticprivate

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
staticprivate

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
staticprivate

Definition at line 84 of file ColorPreferences.qo.h.

Ui::ColorPreferencesClass casa::ColorPreferences::ui
private

Definition at line 82 of file ColorPreferences.qo.h.


The documentation for this class was generated from the following file: