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

Manages the display properties of all the curves that can be shown on the plots. More...

#include <PreferencesColor.qo.h>

Inheritance diagram for casa::PreferencesColor:

Public Types

typedef FeatherCurveType::CurveType CurveType
 

Signals

void colorsChanged ()
 

Public Member Functions

 PreferencesColor (QWidget *parent=0)
 
QMap< CurveType, CurveDisplaygetFunctionColors () const
 
CurveType getScatterXCurve () const
 
QString getScatterXCurveTitle () const
 
QList< CurveTypegetScatterYCurve () const
 
void setDirtyEnabled (bool enabled)
 
 ~PreferencesColor ()
 

Private Slots

void colorsAccepted ()
 
void colorsRejected ()
 
void populateScatterAxes ()
 
void populateScatterAxisY ()
 

Private Member Functions

void initializeUser ()
 
void initializeCurvePreferences ()
 
void saveScatterSettings ()
 
void resetScatterSettings ()
 
void populateScatterAxisX ()
 
QList< QString > getCurveNames ()
 
CurveType getType (const QString &title) const
 
CurveType findCurve (const QString &title) const
 
void setCurveDefaults ()
 
void addCurvePreferences ()
 
void reset ()
 
void persist ()
 
void addCurvePreference (QWidget *holder, CurveType index)
 

Private Attributes

Ui::PreferencesColorClass ui
 
QMap< CurveType,
PreferencesFunction * > 
curvePreferences
 
CurveType scatterXIndex
 
QList< CurveTypescatterYIndices
 

Static Private Attributes

static const QString SCATTER_X_CURVE
 
static const QString SCATTER_Y_CURVES
 

Detailed Description

Manages the display properties of all the curves that can be shown on the plots.

Definition at line 44 of file PreferencesColor.qo.h.

Member Typedef Documentation

Definition at line 50 of file PreferencesColor.qo.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void casa::PreferencesColor::addCurvePreference ( QWidget *  holder,
CurveType  index 
)
private
void casa::PreferencesColor::addCurvePreferences ( )
private
void casa::PreferencesColor::colorsAccepted ( )
privateslot
void casa::PreferencesColor::colorsChanged ( )
signal
void casa::PreferencesColor::colorsRejected ( )
privateslot
CurveType casa::PreferencesColor::findCurve ( const QString &  title) const
private
QList<QString> casa::PreferencesColor::getCurveNames ( )
private
QMap<CurveType,CurveDisplay> casa::PreferencesColor::getFunctionColors ( ) const
CurveType casa::PreferencesColor::getScatterXCurve ( ) const
QString casa::PreferencesColor::getScatterXCurveTitle ( ) const
QList<CurveType> casa::PreferencesColor::getScatterYCurve ( ) const
CurveType casa::PreferencesColor::getType ( const QString &  title) const
private
void casa::PreferencesColor::initializeCurvePreferences ( )
private
void casa::PreferencesColor::initializeUser ( )
private
void casa::PreferencesColor::persist ( )
private
void casa::PreferencesColor::populateScatterAxes ( )
privateslot
void casa::PreferencesColor::populateScatterAxisX ( )
private
void casa::PreferencesColor::populateScatterAxisY ( )
privateslot
void casa::PreferencesColor::reset ( )
private
void casa::PreferencesColor::resetScatterSettings ( )
private
void casa::PreferencesColor::saveScatterSettings ( )
private
void casa::PreferencesColor::setCurveDefaults ( )
private
void casa::PreferencesColor::setDirtyEnabled ( bool  enabled)

Member Data Documentation

QMap<CurveType,PreferencesFunction*> casa::PreferencesColor::curvePreferences
private

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

const QString casa::PreferencesColor::SCATTER_X_CURVE
staticprivate

Definition at line 90 of file PreferencesColor.qo.h.

const QString casa::PreferencesColor::SCATTER_Y_CURVES
staticprivate

Definition at line 91 of file PreferencesColor.qo.h.

CurveType casa::PreferencesColor::scatterXIndex
private

Definition at line 88 of file PreferencesColor.qo.h.

QList<CurveType> casa::PreferencesColor::scatterYIndices
private

Definition at line 89 of file PreferencesColor.qo.h.

Ui::PreferencesColorClass casa::PreferencesColor::ui
private

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


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