QtiPlot
0.9.8.2
|
A modified QComboBox allowing to choose a QwtSmbol style. More...
#include <SymbolBox.h>
Signals | |
void | activated (SymbolBox *) |
Signal emitted when the box gains focus. |
Public Member Functions | |
QwtSymbol::Style | selectedSymbol () const |
void | setStyle (const QwtSymbol::Style &c) |
SymbolBox (bool showNoSymbol=true, QWidget *parent=0) | |
Constructor. |
Static Public Member Functions | |
static QList< int > | defaultSymbols () |
static QwtSymbol::Style | style (int index) |
static int | symbolIndex (const QwtSymbol::Style &style) |
Protected Member Functions | |
void | focusInEvent (QFocusEvent *) |
void | init (bool showNoSymbol) |
Static Private Attributes | |
static const QwtSymbol::Style | symbols [] |
A modified QComboBox allowing to choose a QwtSmbol style.
This is a simple hack on top of the QComboBox class.
SymbolBox::SymbolBox | ( | bool | showNoSymbol = true , |
QWidget * | parent = 0 |
||
) |
Constructor.
parent | parent widget (only affects placement of the widget) |
References init().
|
signal |
Signal emitted when the box gains focus.
Referenced by focusInEvent().
|
static |
|
protected |
References activated().
|
protected |
Referenced by SymbolBox().
QwtSymbol::Style SymbolBox::selectedSymbol | ( | ) | const |
References symbols.
Referenced by PlotDialog::applyPercentileFormatToCurve(), PlotDialog::applySymbolsFormatToCurve(), and PlotDialog::changePlotType().
void SymbolBox::setStyle | ( | const QwtSymbol::Style & | c | ) |
References symbols.
Referenced by PlotDialog::changePlotType(), and PlotDialog::setActiveCurve().
|
static |
References symbols.
Referenced by Graph::openBoxDiagram(), PlotCurve::restoreCurveLayout(), and Graph::updateCurveLayout().
|
static |
References symbols.
Referenced by PlotCurve::saveCurveLayout(), and Graph::saveCurveLayout().
|
staticprivate |
Referenced by selectedSymbol(), setStyle(), style(), and symbolIndex().