#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::changeBaselineDist(), PlotDialog::changeErrorBarsMinus(), PlotDialog::changeErrorBarsPlus(), PlotDialog::changeErrorBarsThrough(), PlotDialog::changeErrorBarsType(), AxesDialog::drawFrame(), TextDialog::formatAllLabels(), AxesDialog::pickAxisColor(), AxesDialog::pickAxisNumColor(), PlotDialog::pickBackgroundColor(), PlotDialog::pickBorderColor(), PlotDialog::pickCanvasColor(), AxesDialog::pickCanvasFrameColor(), PlotDialog::pickErrorBarsColor(), TextDialog::setDefaultValues(), LineDialog::setDefaultValues(), AxesDialog::setLabelsNumericFormat(), AxesDialog::showAxis(), PlotDialog::updateBackgroundTransparency(), PlotDialog::updateBorder(), PlotDialog::updateCanvasTransparency(), AxesDialog::updateFrame(), 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(), TextDialog::setLegendWidget(), Plot3DDialog::setPlot(), and AxesDialog::updateAxisColor().
void ColorButton::updateColor | ( | ) | [private] |
QColor ColorButton::d_color [private] |
Referenced by color(), pickColor(), setColor(), and updateColor().