add properties in the layout widget
This commit is contained in:
Binary file not shown.
@@ -17,10 +17,15 @@ class PlotLayoutItem(QgsLayoutItem):
|
||||
super().__init__(layout)
|
||||
|
||||
def draw(self, context):
|
||||
pass
|
||||
# if not self.html_loaded:
|
||||
# self.load_content()
|
||||
#pass
|
||||
#if not self.html_loaded:
|
||||
painter = context.renderContext().painter()
|
||||
painter.save()
|
||||
|
||||
|
||||
|
||||
def load_content(self):
|
||||
return 'vjdnvjndjn'
|
||||
# if not self.layout().renderContext().isPreviewRender():
|
||||
# # this is NOT safe to do when rendering in the gui (i.e. a preview render), but for exports we have
|
||||
# # to loop around until the HTML has fully loaded
|
||||
|
Reference in New Issue
Block a user