Example #1
0
 def setReportPages(self, pgs: Any) -> None:
     """Add pages to actual report."""
     self.setReportEngine(None)
     self.qry_ = None
     self.xmlData_ = QtXml.QDomNode()
     self.rptViewer_.setReportPages(pgs.pageCollection() if pgs else 0)
     self.report_ = self.rptViewer_.reportPages()
Example #2
0
 def setReportPages(self, pgs):
     self.setReportEngine(0)
     self.qry_ = 0
     self.xmlData_ = QtXml.QDomNode()
     self.rptViewer_.setReportPages(pgs.pageCollection() if pgs else 0)
     self.report_ = self.rptViewer_.reportPages()