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::SliceColorPreferences Class Reference

#include <SliceColorPreferences.qo.h>

Inheritance diagram for casa::SliceColorPreferences:

Signals

void colorsChanged ()
 

Public Member Functions

 SliceColorPreferences (QWidget *parent=0)
 
bool isViewerColors () const
 
bool isPolylineUnit () const
 
QList< QColor > getAccumulatedSliceColors () const
 
 ~SliceColorPreferences ()
 

Private Slots

void resetColors ()
 
void addColorAccumulated ()
 
void removeColorAccumulated ()
 
void colorsAccepted ()
 
void colorsRejected ()
 
void useViewerColorsChanged (bool viewerColors)
 

Private Member Functions

void persistColors ()
 
void populateAccumulateColors ()
 
void showColorDialog (QPushButton *source)
 
void initializeUserColors ()
 
void readCustomColor (QSettings &settings, const QString &countKey, const QString &baseLookup, QList< QString > &colorList)
 
void addColorListItem (QListWidget *list, const QColor &listColor)
 

Private Attributes

bool viewerColors
 
bool polylineUnit
 
const QString POLYGONAL_CHAIN
 
const QString LINE_SEGMENT
 
QStringList colorUnits
 
QList< QString > accumulateColorList
 
Ui::SliceColorPreferencesClass ui
 

Static Private Attributes

static const QString APPLICATION
 
static const QString ORGANIZATION
 
static const QString ACCUMULATED_COLOR
 
static const QString ACCUMULATED_COLOR_COUNT
 
static const QString VIEWER_COLORS
 
static const QString POLYLINE_UNIT
 

Detailed Description

Definition at line 34 of file SliceColorPreferences.qo.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void casa::SliceColorPreferences::addColorAccumulated ( )
privateslot
void casa::SliceColorPreferences::addColorListItem ( QListWidget *  list,
const QColor &  listColor 
)
private
void casa::SliceColorPreferences::colorsAccepted ( )
privateslot
void casa::SliceColorPreferences::colorsChanged ( )
signal
void casa::SliceColorPreferences::colorsRejected ( )
privateslot
QList<QColor> casa::SliceColorPreferences::getAccumulatedSliceColors ( ) const
void casa::SliceColorPreferences::initializeUserColors ( )
private
bool casa::SliceColorPreferences::isPolylineUnit ( ) const
bool casa::SliceColorPreferences::isViewerColors ( ) const
void casa::SliceColorPreferences::persistColors ( )
private
void casa::SliceColorPreferences::populateAccumulateColors ( )
private
void casa::SliceColorPreferences::readCustomColor ( QSettings &  settings,
const QString &  countKey,
const QString &  baseLookup,
QList< QString > &  colorList 
)
private
void casa::SliceColorPreferences::removeColorAccumulated ( )
privateslot
void casa::SliceColorPreferences::resetColors ( )
privateslot
void casa::SliceColorPreferences::showColorDialog ( QPushButton *  source)
private
void casa::SliceColorPreferences::useViewerColorsChanged ( bool  viewerColors)
privateslot

Member Data Documentation

QList<QString> casa::SliceColorPreferences::accumulateColorList
private

Definition at line 74 of file SliceColorPreferences.qo.h.

const QString casa::SliceColorPreferences::ACCUMULATED_COLOR
staticprivate

Definition at line 65 of file SliceColorPreferences.qo.h.

const QString casa::SliceColorPreferences::ACCUMULATED_COLOR_COUNT
staticprivate

Definition at line 66 of file SliceColorPreferences.qo.h.

const QString casa::SliceColorPreferences::APPLICATION
staticprivate

Definition at line 63 of file SliceColorPreferences.qo.h.

QStringList casa::SliceColorPreferences::colorUnits
private

Definition at line 73 of file SliceColorPreferences.qo.h.

const QString casa::SliceColorPreferences::LINE_SEGMENT
private

Definition at line 72 of file SliceColorPreferences.qo.h.

const QString casa::SliceColorPreferences::ORGANIZATION
staticprivate

Definition at line 64 of file SliceColorPreferences.qo.h.

const QString casa::SliceColorPreferences::POLYGONAL_CHAIN
private

Definition at line 71 of file SliceColorPreferences.qo.h.

const QString casa::SliceColorPreferences::POLYLINE_UNIT
staticprivate

Definition at line 68 of file SliceColorPreferences.qo.h.

bool casa::SliceColorPreferences::polylineUnit
private

Definition at line 70 of file SliceColorPreferences.qo.h.

Ui::SliceColorPreferencesClass casa::SliceColorPreferences::ui
private

Definition at line 75 of file SliceColorPreferences.qo.h.

const QString casa::SliceColorPreferences::VIEWER_COLORS
staticprivate

Definition at line 67 of file SliceColorPreferences.qo.h.

bool casa::SliceColorPreferences::viewerColors
private

Definition at line 69 of file SliceColorPreferences.qo.h.


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