SHARE
TWEET

Untitled

a guest Nov 15th, 2017 55 in 23 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from qgis.PyQt.QtWidgets import QGraphicsRectItem
  2. from qgis.PyQt.QtCore import Qt
  3. l=QgsLayout(QgsProject.instance())
  4. #l.setUnits(QgsUnitTypes.LayoutPixels)
  5. l.initializeDefaults()
  6. d=iface.openLayoutDesigner(l)
RAW Paste Data
Top