casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | Static Private Attributes
casa::SliceColorPreferences Class Reference

#include <SliceColorPreferences.qo.h>

List of all members.

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


Member Function Documentation

void casa::SliceColorPreferences::addColorListItem ( QListWidget *  list,
const QColor &  listColor 
) [private]
void casa::SliceColorPreferences::readCustomColor ( QSettings &  settings,
const QString &  countKey,
const QString &  baseLookup,
QList< QString > &  colorList 
) [private]
void casa::SliceColorPreferences::resetColors ( ) [private, slot]
void casa::SliceColorPreferences::showColorDialog ( QPushButton *  source) [private]
void casa::SliceColorPreferences::useViewerColorsChanged ( bool  viewerColors) [private, slot]

Member Data Documentation

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

const QString casa::SliceColorPreferences::ACCUMULATED_COLOR [static, private]

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

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

const QString casa::SliceColorPreferences::APPLICATION [static, private]

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

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

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

const QString casa::SliceColorPreferences::ORGANIZATION [static, private]

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

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

const QString casa::SliceColorPreferences::POLYLINE_UNIT [static, private]

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

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

Ui::SliceColorPreferencesClass casa::SliceColorPreferences::ui [private]

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

const QString casa::SliceColorPreferences::VIEWER_COLORS [static, private]

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

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


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