add properties in the layout widget
This commit is contained in:
1 parent
04af3c1884
commit
cb28240d74
4 files changed
+13
-228
No files matched your search
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