#include <ColorButton.h>
Signals | |
void | colorChanged () |
Public Member Functions | |
QColor | color () |
Get the color of the display part. | |
ColorButton (QWidget *parent=0) | |
Constructor. | |
void | setColor (const QColor &c) |
Set the color of the display part. | |
Private Slots | |
void | pickColor () |
Private Member Functions | |
void | updateColor () |
Private Attributes | |
QColor | d_color |
ColorButton::ColorButton | ( | QWidget * | parent = 0 |
) |
QColor ColorButton::color | ( | ) | [inline] |
Get the color of the display part.
References d_color.
Referenced by PlotDialog::acceptParams(), TextDialog::apply(), LineDialog::apply(), ConfigDialog::apply(), AxesDialog::applyCanvasFormatTo(), PlotDialog::applyFormatToLayer(), AxesDialog::changeBaselineDist(), PlotDialog::changeErrorBarsMinus(), PlotDialog::changeErrorBarsPlus(), PlotDialog::changeErrorBarsThrough(), PlotDialog::changeErrorBarsType(), TextDialog::formatLayerLabels(), AxesDialog::pickAxisColor(), AxesDialog::pickAxisNumColor(), PlotDialog::pickErrorBarsColor(), LineDialog::setDefaultValues(), EnrichmentDialog::setFrameDefaultValues(), AxesDialog::setFrameDefaultValues(), EnrichmentDialog::setFrameTo(), AxesDialog::setLabelsNumericFormat(), PlotDialog::setLayerDefaultValues(), EnrichmentDialog::setPatternTo(), EnrichmentDialog::setRectangleDefaultValues(), EnrichmentDialog::setTextDefaultValues(), EnrichmentDialog::setTextFormatTo(), AxesDialog::showAxis(), AxesDialog::updateMajTicksType(), AxesDialog::updateMinTicksType(), Plot3DDialog::updatePlot(), AxesDialog::updatePlot(), and AxesDialog::updateTickLabelsList().
void ColorButton::colorChanged | ( | ) | [signal] |
Referenced by setColor().
void ColorButton::pickColor | ( | ) | [private, slot] |
void ColorButton::setColor | ( | const QColor & | c | ) |
Set the color of the display part.
References colorChanged(), d_color, and updateColor().
Referenced by ConfigDialog::initAppPage(), ConfigDialog::initPlots3DPage(), ConfigDialog::initPlotsPage(), ConfigDialog::initTablesPage(), LineDialog::LineDialog(), pickColor(), PlotDialog::setActiveCurve(), PlotDialog::setActiveLayer(), TextDialog::setGraph(), AxesDialog::setGraph(), Plot3DDialog::setPlot(), EnrichmentDialog::setWidget(), and AxesDialog::updateAxisColor().
void ColorButton::updateColor | ( | ) | [private] |
QColor ColorButton::d_color [private] |
Referenced by color(), pickColor(), setColor(), and updateColor().