Pattern combo box. More...
#include <PenStyleBox.h>
Public Member Functions | |
| PenStyleBox (QWidget *parent=0) | |
| 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 Public Attributes | |
| static const Qt::PenStyle | patterns [] |
Pattern combo box.
| PenStyleBox::PenStyleBox | ( | QWidget * | parent = 0 |
) |
| Qt::PenStyle PenStyleBox::penStyle | ( | int | index | ) | [static] |
References patterns.
Referenced by ApplicationWindow::readSettings(), TexWidget::restore(), RectangleWidget::restore(), PieLabel::restore(), LegendWidget::restore(), and ImageWidget::restore().
| void PenStyleBox::setStyle | ( | const Qt::PenStyle & | style | ) |
References patterns.
Referenced by LineDialog::LineDialog(), PlotDialog::setActiveCurve(), EnrichmentDialog::setWidget(), and AxesDialog::showGridOptions().
| Qt::PenStyle PenStyleBox::style | ( | ) | const |
| int PenStyleBox::styleIndex | ( | const Qt::PenStyle & | style | ) | [static] |
References patterns.
Referenced by ApplicationWindow::saveSettings(), and FrameWidget::saveToString().
const Qt::PenStyle PenStyleBox::patterns [static] |
{
Qt::SolidLine,
Qt::DashLine,
Qt::DotLine,
Qt::DashDotLine,
Qt::DashDotDotLine
}
Referenced by penStyle(), setStyle(), style(), and styleIndex().
1.6.1