QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsTabPositionDialog Class Reference

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

#include <qgstabpositionwidget.h>

Inheritance diagram for QgsTabPositionDialog:
Inheritance graph
[legend]

Public Member Functions

 QgsTabPositionDialog (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 Constructor for QgsTabPositionDialog.
 
QList< QgsTextFormat::Tabpositions () const
 Returns the tab positions defined in the dialog.
 
void setPositions (const QList< QgsTextFormat::Tab > &positions)
 Sets the tab positions to show in the dialog.
 
void setUnit (Qgis::RenderUnit unit)
 Sets the unit type used for the tab positions (used to update interface labels).
 

Detailed Description

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

Since
QGIS 3.42

Definition at line 80 of file qgstabpositionwidget.h.

Constructor & Destructor Documentation

◆ QgsTabPositionDialog()

QgsTabPositionDialog::QgsTabPositionDialog ( QWidget *  parent = nullptr,
Qt::WindowFlags  f = Qt::WindowFlags() 
)

Constructor for QgsTabPositionDialog.

Definition at line 111 of file qgstabpositionwidget.cpp.

Member Function Documentation

◆ positions()

QList< QgsTextFormat::Tab > QgsTabPositionDialog::positions ( ) const

Returns the tab positions defined in the dialog.

See also
setPositions()

Definition at line 130 of file qgstabpositionwidget.cpp.

◆ setPositions()

void QgsTabPositionDialog::setPositions ( const QList< QgsTextFormat::Tab > &  positions)

Sets the tab positions to show in the dialog.

See also
positions()

Definition at line 125 of file qgstabpositionwidget.cpp.

◆ setUnit()

void QgsTabPositionDialog::setUnit ( Qgis::RenderUnit  unit)

Sets the unit type used for the tab positions (used to update interface labels).

Definition at line 135 of file qgstabpositionwidget.cpp.


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