QtiPlot
0.9.8.2
|
A modified QComboBox allowing to choose a Qt::BrushStyle style. More...
#include <PatternBox.h>
Public Member Functions | |
Qt::BrushStyle | getSelectedPattern () const |
PatternBox (QWidget *parent=0) | |
Constructor. | |
void | setPattern (const Qt::BrushStyle &c) |
Static Public Member Functions | |
static Qt::BrushStyle | brushStyle (int index) |
static int | patternIndex (const Qt::BrushStyle &style) |
Protected Member Functions | |
void | init () |
Static Private Attributes | |
static const Qt::BrushStyle | patterns [] |
A modified QComboBox allowing to choose a Qt::BrushStyle style.
This is a simple hack on top of the QComboBox class.
PatternBox::PatternBox | ( | QWidget * | parent = 0 | ) |
Constructor.
parent | parent widget (only affects placement of the widget) |
References init().
|
static |
Qt::BrushStyle PatternBox::getSelectedPattern | ( | ) | const |
References patterns.
Referenced by PlotDialog::acceptParams(), EnrichmentDialog::setPatternTo(), and EnrichmentDialog::setRectangleDefaultValues().
|
protected |
Referenced by PatternBox().
|
static |
void PatternBox::setPattern | ( | const Qt::BrushStyle & | c | ) |
References patterns.
Referenced by PlotDialog::setActiveCurve(), and EnrichmentDialog::setWidget().
|
staticprivate |
Referenced by brushStyle(), getSelectedPattern(), patternIndex(), and setPattern().