QtiPlot
0.9.8.2
|
A modified QComboBox allowing to choose a Qt::PenStyle. More...
#include <PenStyleBox.h>
Public Member Functions | |
PenStyleBox (QWidget *parent=0) | |
Constructor. | |
void | setStyle (const Qt::PenStyle &style) |
Qt::PenStyle | style () const |
Static Public Member Functions | |
static Qt::PenStyle | penStyle (int index) |
static int | styleIndex (const Qt::PenStyle &style) |
Static Private Attributes | |
static const Qt::PenStyle | patterns [] |
A modified QComboBox allowing to choose a Qt::PenStyle.
This is a simple hack on top of the QComboBox class.
PenStyleBox::PenStyleBox | ( | QWidget * | parent = 0 | ) |
Constructor.
parent | parent widget (only affects placement of the widget) |
|
static |
void PenStyleBox::setStyle | ( | const Qt::PenStyle & | style | ) |
Qt::PenStyle PenStyleBox::style | ( | ) | const |
References patterns.
Referenced by PlotDialog::acceptParams(), LineDialog::apply(), AxesDialog::applyChangesToGrid(), PlotDialog::applyLineFormatToLayer(), LineDialog::setDefaultValues(), EnrichmentDialog::setFrameDefaultValues(), EnrichmentDialog::setFrameTo(), ConfigDialog::updateGrid(), and ContourLinesEditor::updatePen().
|
static |
References patterns.
Referenced by ApplicationWindow::readSettings(), ApplicationWindow::saveSettings(), Spectrogram::saveToString(), and FrameWidget::saveToString().
|
staticprivate |
Referenced by penStyle(), setStyle(), style(), and styleIndex().