QtiPlot  0.9.8.2
Signals | Public Member Functions
ColorButton Class Reference

A customized QtColorPicker used for color selection. More...

#include <ColorButton.h>

Inheritance diagram for ColorButton:
QtColorPicker

List of all members.

Signals

void colorChanged ()

Public Member Functions

QColor color ()
 Get the current color.
 ColorButton (QWidget *parent=0)
 Constructor.
void setColor (const QColor &c)
 Set the current color to be displayed.

Detailed Description

A customized QtColorPicker used for color selection.


Constructor & Destructor Documentation

ColorButton::ColorButton ( QWidget *  parent = 0)

Constructor.

Parameters:
parentparent widget (only affects placement of the widget)

References colorChanged(), ColorBox::colorList(), ColorBox::colorNames(), ColorBox::defaultColorNames(), ColorBox::defaultColors(), QtColorPicker::insertColor(), and ColorBox::numPredefinedColors().


Member Function Documentation

QColor ColorButton::color ( ) [inline]

Get the current color.

References QtColorPicker::currentColor().

Referenced by FitDialog::accept(), PlotDialog::acceptParams(), LineDialog::apply(), ConfigDialog::apply(), TextDialog::apply(), AxesDialog::applyAxisFormatToLayer(), AxesDialog::applyCanvasFormatTo(), PlotDialog::applyCanvasFormatToLayer(), AxesDialog::applyChangesToGrid(), PlotDialog::applyErrorBarFormatToCurve(), PlotDialog::applyFormatToLayer(), PlotDialog::applyLabelsFormatToItem(), PlotDialog::applyLineFormatToLayer(), PlotDialog::applyPercentileFormatToCurve(), PlotDialog::applySymbolsFormatToCurve(), PlotDialog::changePlotType(), FilterDialog::filter(), ExpDecayDialog::fit(), PolynomFitDialog::fit(), TextDialog::formatLayerLabels(), InterpolationDialog::interpolate(), AxesDialog::pickAxisLabelColor(), PlotDialog::pickErrorBarsColor(), ConfigDialog::rehighlight(), PlotDialog::setCanvasDefaultValues(), LineDialog::setDefaultValues(), EnrichmentDialog::setFrameDefaultValues(), AxesDialog::setFrameDefaultValues(), EnrichmentDialog::setFrameTo(), AxesDialog::setLabelsNumericFormat(), PlotDialog::setLayerDefaultValues(), EnrichmentDialog::setPatternTo(), EnrichmentDialog::setRectangleDefaultValues(), ApplicationWindow::setTextColor(), EnrichmentDialog::setTextDefaultValues(), EnrichmentDialog::setTextFormatTo(), AxesDialog::showAxis(), SmoothCurveDialog::smooth(), ConfigDialog::updateGrid(), ContourLinesEditor::updatePen(), Plot3DDialog::updatePlot(), AxesDialog::updatePlot(), FitDialog::updatePreview(), and AxesDialog::updateTickLabelsList().

void ColorButton::colorChanged ( ) [signal]

Referenced by ColorButton().

void ColorButton::setColor ( const QColor &  c) [inline]

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