casa::ColorSummaryWidget Class Reference
#include <ColorSummaryWidget.qo.h>
List of all members.
Public Member Functions |
| ColorSummaryWidget (QWidget *parent=0) |
| ~ColorSummaryWidget () |
void | setColorCanvas (QtCanvas *colorCanvas) |
Private Types |
enum | ColorCategory {
MAIN_COLOR,
FIT_COLOR,
SUMMARY_FIT_COLOR,
END_COLOR_CATEGORY
} |
enum | SchemeCategory {
TRADITIONAL,
ALTERNATIVE,
CUSTOM
} |
Private Slots |
void | addColorProfile () |
| Methods to add colors in various categories.
|
void | addColorFit () |
void | addColorFitSummary () |
void | channelLineColorChanged () |
void | molecularLineColorChanged () |
void | zoomRectColorChanged () |
void | initialGaussianEstimateColorChanged () |
void | removeColorProfile () |
| Methods to remove colors in various categories.
|
void | removeColorFit () |
void | removeColorFitSummary () |
void | colorSchemeChanged () |
| User changed to a different color scheme (traditional, alternative, custom, etc).
|
void | reject () |
| Stores any changes to the colors used by the application before closing the dialog.
|
void | accept () |
Private Member Functions |
void | addColor (QListWidget *list) |
void | removeColor (QListWidget *list) |
void | initializeColors () |
void | addColorListItem (QListWidget *list, const QColor &listColor) |
void | readCustomColor (QSettings &settings, const QString &countKey, const QString &baseLookup, QList< QString > &list) |
void | populateColorList (const QList< QString > &colors, QListWidget *list) |
void | copyViewList (QListWidget *listWidget, QList< QString > &canvasList) |
void | copyViewLists () |
void | initializePresetColors () |
void | initializeUserColors () |
void | populateColorLists () |
void | clearColorLists () |
void | registerColorChange () |
void | clearColorChange () |
void | pixelCanvasColorChange () |
void | persistColorList (QSettings &settings, QListWidget *list, const QString &baseStr, const QString &countStr) |
void | persist () |
void | setLabelColor (QLabel *label, QString colorName) |
Private Attributes |
Ui::ColorSummaryWidget | ui |
QtCanvas * | pixelCanvas |
QList< QString > | mainCurveColorList |
QList< QString > | fitCurveColorList |
QList< QString > | fitSummaryCurveColorList |
QList< QString > | traditionalCurveColorList |
QList< QString > | customMainList |
QList< QString > | customFitList |
QList< QString > | customFitSummaryList |
QColor | channelLineColor |
QColor | zoomRectColor |
QColor | molecularLineColor |
QColor | initialGaussianEstimateColor |
bool | traditionalChange |
bool | alternativeChange |
Static Private Attributes |
static const QString | CUSTOM_PROFILE_COLOR |
static const QString | CUSTOM_FIT_COLOR |
static const QString | CUSTOM_SUMMARY_COLOR |
static const QString | CUSTOM_PROFILE_COLOR_COUNT |
static const QString | CUSTOM_FIT_COLOR_COUNT |
static const QString | CUSTOM_SUMMARY_COLOR_COUNT |
static const QString | COLOR_SCHEME_PREFERENCE |
static const QString | CHANNEL_LINE_COLOR |
static const QString | INITIAL_GAUSSIAN_ESTIMATE_COLOR |
static const QString | MOLECULAR_LINE_COLOR |
static const QString | ZOOM_RECT_COLOR |
Detailed Description
Definition at line 37 of file ColorSummaryWidget.qo.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
casa::ColorSummaryWidget::ColorSummaryWidget |
( |
QWidget * |
parent = 0 |
) |
|
casa::ColorSummaryWidget::~ColorSummaryWidget |
( |
|
) |
|
Member Function Documentation
void casa::ColorSummaryWidget::accept |
( |
|
) |
[private, slot] |
void casa::ColorSummaryWidget::addColor |
( |
QListWidget * |
list |
) |
[private] |
void casa::ColorSummaryWidget::addColorFit |
( |
|
) |
[private, slot] |
void casa::ColorSummaryWidget::addColorFitSummary |
( |
|
) |
[private, slot] |
void casa::ColorSummaryWidget::addColorListItem |
( |
QListWidget * |
list, |
|
|
const QColor & |
listColor | |
|
) |
| | [private] |
void casa::ColorSummaryWidget::addColorProfile |
( |
|
) |
[private, slot] |
Methods to add colors in various categories.
void casa::ColorSummaryWidget::channelLineColorChanged |
( |
|
) |
[private, slot] |
void casa::ColorSummaryWidget::clearColorChange |
( |
|
) |
[private] |
void casa::ColorSummaryWidget::clearColorLists |
( |
|
) |
[private] |
void casa::ColorSummaryWidget::colorSchemeChanged |
( |
|
) |
[private, slot] |
User changed to a different color scheme (traditional, alternative, custom, etc).
void casa::ColorSummaryWidget::copyViewList |
( |
QListWidget * |
listWidget, |
|
|
QList< QString > & |
canvasList | |
|
) |
| | [private] |
void casa::ColorSummaryWidget::copyViewLists |
( |
|
) |
[private] |
void casa::ColorSummaryWidget::initialGaussianEstimateColorChanged |
( |
|
) |
[private, slot] |
void casa::ColorSummaryWidget::initializeColors |
( |
|
) |
[private] |
void casa::ColorSummaryWidget::initializePresetColors |
( |
|
) |
[private] |
void casa::ColorSummaryWidget::initializeUserColors |
( |
|
) |
[private] |
void casa::ColorSummaryWidget::molecularLineColorChanged |
( |
|
) |
[private, slot] |
void casa::ColorSummaryWidget::persist |
( |
|
) |
[private] |
void casa::ColorSummaryWidget::persistColorList |
( |
QSettings & |
settings, |
|
|
QListWidget * |
list, |
|
|
const QString & |
baseStr, |
|
|
const QString & |
countStr | |
|
) |
| | [private] |
void casa::ColorSummaryWidget::pixelCanvasColorChange |
( |
|
) |
[private] |
void casa::ColorSummaryWidget::populateColorList |
( |
const QList< QString > & |
colors, |
|
|
QListWidget * |
list | |
|
) |
| | [private] |
void casa::ColorSummaryWidget::populateColorLists |
( |
|
) |
[private] |
void casa::ColorSummaryWidget::readCustomColor |
( |
QSettings & |
settings, |
|
|
const QString & |
countKey, |
|
|
const QString & |
baseLookup, |
|
|
QList< QString > & |
list | |
|
) |
| | [private] |
void casa::ColorSummaryWidget::registerColorChange |
( |
|
) |
[private] |
void casa::ColorSummaryWidget::reject |
( |
|
) |
[private, slot] |
Stores any changes to the colors used by the application before closing the dialog.
void casa::ColorSummaryWidget::removeColor |
( |
QListWidget * |
list |
) |
[private] |
void casa::ColorSummaryWidget::removeColorFit |
( |
|
) |
[private, slot] |
void casa::ColorSummaryWidget::removeColorFitSummary |
( |
|
) |
[private, slot] |
void casa::ColorSummaryWidget::removeColorProfile |
( |
|
) |
[private, slot] |
Methods to remove colors in various categories.
void casa::ColorSummaryWidget::setColorCanvas |
( |
QtCanvas * |
colorCanvas |
) |
|
void casa::ColorSummaryWidget::setLabelColor |
( |
QLabel * |
label, |
|
|
QString |
colorName | |
|
) |
| | [private] |
void casa::ColorSummaryWidget::zoomRectColorChanged |
( |
|
) |
[private, slot] |
Member Data Documentation
The documentation for this class was generated from the following file: