QGIS API Documentation 3.41.0-Master (57ec4277f5e)
|
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 78 of file qgstabpositionwidget.h.
QgsTabPositionDialog::QgsTabPositionDialog | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | f = Qt::WindowFlags() |
||
) |
Constructor for QgsTabPositionDialog.
Definition at line 110 of file qgstabpositionwidget.cpp.
QList< QgsTextFormat::Tab > QgsTabPositionDialog::positions | ( | ) | const |
Returns the tab positions defined in the dialog.
Definition at line 129 of file qgstabpositionwidget.cpp.
void QgsTabPositionDialog::setPositions | ( | const QList< QgsTextFormat::Tab > & | positions | ) |
Sets the tab positions to show in the dialog.
Definition at line 124 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 134 of file qgstabpositionwidget.cpp.