QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
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=Qt::WindowFlags())
 Constructor for QgsDashSpaceDialog.
 
QVector< qreal > dashDotVector () const
 Returns the dash pattern as a list of numbers.
 
void setUnit (Qgis::RenderUnit unit)
 Sets the unit type used for the dash space pattern (used to update interface labels)
 

Detailed Description

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

Definition at line 58 of file qgsdashspacedialog.h.

Constructor & Destructor Documentation

◆ QgsDashSpaceDialog()

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

Constructor for QgsDashSpaceDialog.

Definition at line 108 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 122 of file qgsdashspacedialog.cpp.

◆ setUnit()

void QgsDashSpaceDialog::setUnit ( Qgis::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 127 of file qgsdashspacedialog.cpp.


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