qgis-sample-QgsDrawSourceWidget.py
# coding: utf-8 from qgis.gui import QgsDrawSourceWidget draw_source_widget = QgsDrawSourceWidget() draw_source_widget.show()