QtiPlot 0.9.8.2
|
A customized QtColorPicker used for color selection. More...
#include <ColorButton.h>
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. |
A customized QtColorPicker used for color selection.
ColorButton::ColorButton | ( | QWidget * | parent = 0 | ) |
Constructor.
parent | parent widget (only affects placement of the widget) |
References colorChanged(), ColorBox::colorList(), ColorBox::colorNames(), ColorBox::defaultColorNames(), ColorBox::defaultColors(), QtColorPicker::insertColor(), and ColorBox::numPredefinedColors().
QColor ColorButton::color | ( | ) | [inline] |
Get the current color.
References QtColorPicker::currentColor().
Referenced by FitDialog::accept(), PlotDialog::acceptParams(), TextDialog::apply(), LineDialog::apply(), ConfigDialog::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(), PolynomFitDialog::fit(), ExpDecayDialog::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] |
Set the current color to be displayed.
References QtColorPicker::setCurrentColor().
Referenced by FitDialog::activateCurve(), ExpDecayDialog::ExpDecayDialog(), FilterDialog::FilterDialog(), ConfigDialog::initAppPage(), FitDialog::initFitPage(), ConfigDialog::initFittingPage(), ConfigDialog::initNotesPage(), ConfigDialog::initPlots3DPage(), ConfigDialog::initPlotsPage(), ConfigDialog::initTablesPage(), InterpolationDialog::InterpolationDialog(), LineDialog::LineDialog(), PolynomFitDialog::PolynomFitDialog(), PlotDialog::setActiveCurve(), PlotDialog::setActiveLayer(), ConfigDialog::setApplication(), ApplicationWindow::setFormatBarColor(), TextDialog::setGraph(), AxesDialog::setGraph(), Plot3DDialog::setPlot(), EnrichmentDialog::setWidget(), AxesDialog::showGridOptions(), ConfigDialog::showGridOptions(), ContourLinesEditor::showPenDialog(), MultiLayer::showWaterfallFillDialog(), SmoothCurveDialog::SmoothCurveDialog(), and AxesDialog::updateAxisColor().