QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
A dialog to enter a custom dash space pattern for lines. More...
#include <qgsdashspacedialog.h>
Public Member Functions | |
QgsDashSpaceDialog (const QVector< qreal > &v, QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
Constructor for QgsDashSpaceDialog. More... | |
QVector< qreal > | dashDotVector () const |
Returns the dash pattern as a list of numbers. More... | |
void | setUnit (QgsUnitTypes::RenderUnit unit) |
Sets the unit type used for the dash space pattern (used to update interface labels) More... | |
A dialog to enter a custom dash space pattern for lines.
Definition at line 60 of file qgsdashspacedialog.h.
QgsDashSpaceDialog::QgsDashSpaceDialog | ( | const QVector< qreal > & | v, |
QWidget * | parent = nullptr , |
||
Qt::WindowFlags | f = Qt::WindowFlags() |
||
) |
Constructor for QgsDashSpaceDialog.
Definition at line 92 of file qgsdashspacedialog.cpp.
QVector< qreal > QgsDashSpaceDialog::dashDotVector | ( | ) | const |
Returns the dash pattern as a list of numbers.
Definition at line 105 of file qgsdashspacedialog.cpp.
void QgsDashSpaceDialog::setUnit | ( | QgsUnitTypes::RenderUnit | unit | ) |
Sets the unit type used for the dash space pattern (used to update interface labels)
unit | the unit type |
Definition at line 110 of file qgsdashspacedialog.cpp.