Class: QgsTabPositionDialog¶
A dialog for entering a custom dash space pattern for lines.
Added in version 3.42.

QgsTabPositionDialog¶
Class Hierarchy¶
Base classes¶
Methods
Returns the tab positions defined in the dialog. |
|
Sets the tab positions to show in the dialog. |
|
Sets the unit type used for the tab positions (used to update interface labels). |
- class qgis.gui.QgsTabPositionDialog[source]¶
Bases:
QDialog
- __init__(parent: QWidget | None = None, f: Qt.WindowFlags | Qt.WindowType = Qt.WindowFlags())
Constructor for QgsTabPositionDialog
- Parameters:
parent (Optional[QWidget] = None)
f (Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())
- positions(self) List[QgsTextFormat.Tab] ¶
Returns the tab positions defined in the dialog.
See also
- Return type:
List[QgsTextFormat.Tab]
- setPositions(self, positions: Iterable[QgsTextFormat.Tab])[source]¶
Sets the tab
positions
to show in the dialog.See also
- Parameters:
positions (Iterable[QgsTextFormat.Tab])
- setUnit(self, unit: Qgis.RenderUnit)[source]¶
Sets the unit type used for the tab positions (used to update interface labels).
- Parameters:
unit (Qgis.RenderUnit)