Class: QgsPenStyleComboBox

A combobox widget for selection of Qt.PenStyle.

QgsPenStyleComboBox in the collapsed state

QgsPenStyleComboBox in the collapsed state

QgsPenStyleComboBox in the expanded state

QgsPenStyleComboBox in the expanded state

Class Hierarchy

Inheritance diagram of qgis.gui.QgsPenStyleComboBox

Base classes

QComboBox

QWidget

QObject

QPaintDevice

Methods

iconForPen

penStyle

setPenStyle

class qgis.gui.QgsPenStyleComboBox[source]

Bases: QComboBox

iconForPen(self, style: Qt.PenStyle) QIcon[source]
Parameters:

style (Qt.PenStyle)

Return type:

QIcon

penStyle(self) Qt.PenStyle[source]
Return type:

Qt.PenStyle

setPenStyle(self, style: Qt.PenStyle)[source]
Parameters:

style (Qt.PenStyle)