QGIS API Documentation  3.10.0-A Coruña (6c816b4204)
Public Member Functions | List of all members
QgsDashSpaceDialog Class Reference

A dialog to enter a custom dash space pattern for lines. More...

#include <qgsdashspacedialog.h>

Inheritance diagram for QgsDashSpaceDialog:
Inheritance graph
[legend]

Public Member Functions

 QgsDashSpaceDialog (const QVector< qreal > &v, QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
 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...
 

Detailed Description

A dialog to enter a custom dash space pattern for lines.

Definition at line 60 of file qgsdashspacedialog.h.

Constructor & Destructor Documentation

◆ QgsDashSpaceDialog()

QgsDashSpaceDialog::QgsDashSpaceDialog ( const QVector< qreal > &  v,
QWidget *  parent = nullptr,
Qt::WindowFlags  f = nullptr 
)

Constructor for QgsDashSpaceDialog.

Definition at line 92 of file qgsdashspacedialog.cpp.

Member Function Documentation

◆ dashDotVector()

QVector< qreal > QgsDashSpaceDialog::dashDotVector ( ) const

Returns the dash pattern as a list of numbers.

Definition at line 105 of file qgsdashspacedialog.cpp.

◆ setUnit()

void QgsDashSpaceDialog::setUnit ( QgsUnitTypes::RenderUnit  unit)

Sets the unit type used for the dash space pattern (used to update interface labels)

Parameters
unitthe unit type
Since
QGIS 3.8

Definition at line 110 of file qgsdashspacedialog.cpp.


The documentation for this class was generated from the following files: