1
Discussion | Обсуждение / Does LimeReport createPreviewWidget Work?
« on: September 28, 2022, 10:52:10 PM »
Hi ~~~
i am trying to create an embedded widget but it doesn't work at all
it's shows only this on QDebug output but nothing in QWidget
is there any solution?
i am trying to create an embedded widget but it doesn't work at all
Code: [Select]
LimeReport::ReportEngine *report=new LimeReport::ReportEngine(this);
report->loadFromFile(QDir::currentPath().append("/release/report/test1.lrxml"));
report->createPreviewWidget(ui->widget);
it's shows only this on QDebug output but nothing in QWidget
Quote
m_pagesize= LimeReport::PageItemDesignIntf::A4
initpagesizewidth= 2000
initpagesizeheight= 2870
m_pagesize= LimeReport::PageItemDesignIntf::A4
is there any solution?