Class: QgsDashSpaceDialog

class qgis.gui.QgsDashSpaceDialog(v: Iterable[float], parent: QWidget = None, f: Union[Qt.WindowFlags, Qt.WindowType] = 0)

Bases: PyQt5.QtWidgets.QDialog

Constructor for QgsDashSpaceDialog

A dialog to enter a custom dash space pattern for lines

Parameters
  • v (Iterable[float]) –

  • parent (QWidget = None) –

  • f

actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
dashDotVector(self) → List[float]

Returns the dash pattern as a list of numbers

Return type

List[float]

destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
eventFilter()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
sender()
senderSignalIndex()
setUnit(self, unit: QgsUnitTypes.RenderUnit)

Sets the unit type used for the dash space pattern (used to update interface labels)

Parameters

unit (QgsUnitTypes.RenderUnit) – the unit type

New in version 3.8.

sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()