QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
A dialog to enter a custom dash space pattern for lines. More...
#include <qgstabpositionwidget.h>
Public Member Functions | |
QgsTabPositionDialog (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
Constructor for QgsTabPositionDialog. | |
QList< QgsTextFormat::Tab > | positions () 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). | |
A dialog to enter a custom dash space pattern for lines.
Definition at line 80 of file qgstabpositionwidget.h.
QgsTabPositionDialog::QgsTabPositionDialog | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | f = Qt::WindowFlags() |
||
) |
Constructor for QgsTabPositionDialog.
Definition at line 111 of file qgstabpositionwidget.cpp.
QList< QgsTextFormat::Tab > QgsTabPositionDialog::positions | ( | ) | const |
Returns the tab positions defined in the dialog.
Definition at line 130 of file qgstabpositionwidget.cpp.
void QgsTabPositionDialog::setPositions | ( | const QList< QgsTextFormat::Tab > & | positions | ) |
Sets the tab positions to show in the dialog.
Definition at line 125 of file qgstabpositionwidget.cpp.
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.