casa
$Rev:20696$
|
#include <ColorSummaryWidget.qo.h>
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 |
Definition at line 37 of file ColorSummaryWidget.qo.h.
enum casa::ColorSummaryWidget::ColorCategory [private] |
Definition at line 106 of file ColorSummaryWidget.qo.h.
enum casa::ColorSummaryWidget::SchemeCategory [private] |
Definition at line 107 of file ColorSummaryWidget.qo.h.
casa::ColorSummaryWidget::ColorSummaryWidget | ( | QWidget * | parent = 0 | ) |
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] |
bool casa::ColorSummaryWidget::alternativeChange [private] |
Definition at line 122 of file ColorSummaryWidget.qo.h.
const QString casa::ColorSummaryWidget::CHANNEL_LINE_COLOR [static, private] |
Definition at line 116 of file ColorSummaryWidget.qo.h.
QColor casa::ColorSummaryWidget::channelLineColor [private] |
Definition at line 102 of file ColorSummaryWidget.qo.h.
const QString casa::ColorSummaryWidget::COLOR_SCHEME_PREFERENCE [static, private] |
Definition at line 115 of file ColorSummaryWidget.qo.h.
const QString casa::ColorSummaryWidget::CUSTOM_FIT_COLOR [static, private] |
Definition at line 110 of file ColorSummaryWidget.qo.h.
const QString casa::ColorSummaryWidget::CUSTOM_FIT_COLOR_COUNT [static, private] |
Definition at line 113 of file ColorSummaryWidget.qo.h.
const QString casa::ColorSummaryWidget::CUSTOM_PROFILE_COLOR [static, private] |
Definition at line 109 of file ColorSummaryWidget.qo.h.
const QString casa::ColorSummaryWidget::CUSTOM_PROFILE_COLOR_COUNT [static, private] |
Definition at line 112 of file ColorSummaryWidget.qo.h.
const QString casa::ColorSummaryWidget::CUSTOM_SUMMARY_COLOR [static, private] |
Definition at line 111 of file ColorSummaryWidget.qo.h.
const QString casa::ColorSummaryWidget::CUSTOM_SUMMARY_COLOR_COUNT [static, private] |
Definition at line 114 of file ColorSummaryWidget.qo.h.
QList<QString> casa::ColorSummaryWidget::customFitList [private] |
Definition at line 100 of file ColorSummaryWidget.qo.h.
QList<QString> casa::ColorSummaryWidget::customFitSummaryList [private] |
Definition at line 101 of file ColorSummaryWidget.qo.h.
QList<QString> casa::ColorSummaryWidget::customMainList [private] |
Definition at line 99 of file ColorSummaryWidget.qo.h.
QList<QString> casa::ColorSummaryWidget::fitCurveColorList [private] |
Definition at line 96 of file ColorSummaryWidget.qo.h.
QList<QString> casa::ColorSummaryWidget::fitSummaryCurveColorList [private] |
Definition at line 97 of file ColorSummaryWidget.qo.h.
const QString casa::ColorSummaryWidget::INITIAL_GAUSSIAN_ESTIMATE_COLOR [static, private] |
Definition at line 117 of file ColorSummaryWidget.qo.h.
QColor casa::ColorSummaryWidget::initialGaussianEstimateColor [private] |
Definition at line 105 of file ColorSummaryWidget.qo.h.
QList<QString> casa::ColorSummaryWidget::mainCurveColorList [private] |
Definition at line 95 of file ColorSummaryWidget.qo.h.
const QString casa::ColorSummaryWidget::MOLECULAR_LINE_COLOR [static, private] |
Definition at line 118 of file ColorSummaryWidget.qo.h.
QColor casa::ColorSummaryWidget::molecularLineColor [private] |
Definition at line 104 of file ColorSummaryWidget.qo.h.
QtCanvas* casa::ColorSummaryWidget::pixelCanvas [private] |
Definition at line 94 of file ColorSummaryWidget.qo.h.
bool casa::ColorSummaryWidget::traditionalChange [private] |
Definition at line 121 of file ColorSummaryWidget.qo.h.
QList<QString> casa::ColorSummaryWidget::traditionalCurveColorList [private] |
Definition at line 98 of file ColorSummaryWidget.qo.h.
Ui::ColorSummaryWidget casa::ColorSummaryWidget::ui [private] |
Definition at line 93 of file ColorSummaryWidget.qo.h.
const QString casa::ColorSummaryWidget::ZOOM_RECT_COLOR [static, private] |
Definition at line 119 of file ColorSummaryWidget.qo.h.
QColor casa::ColorSummaryWidget::zoomRectColor [private] |
Definition at line 103 of file ColorSummaryWidget.qo.h.