Class: QgsTabPositionDialog

A dialog for entering a custom dash space pattern for lines.

Added in version 3.42.

QgsTabPositionDialog

QgsTabPositionDialog

Class Hierarchy

Inheritance diagram of qgis.gui.QgsTabPositionDialog

Base classes

QDialog

QWidget

QObject

QPaintDevice

Methods

positions

Returns the tab positions defined in the dialog.

setPositions

Sets the tab positions to show in the dialog.

setUnit

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

setPositions()

Return type:

List[QgsTextFormat.Tab]

setPositions(self, positions: Iterable[QgsTextFormat.Tab])[source]

Sets the tab positions to show in the dialog.

See also

positions()

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)