News: LimeReport new version 1.5 has been releasedВышла новая версия LimeReport 1.5
LimeReport::ReportEngine *report=new LimeReport::ReportEngine(this);report->loadFromFile(QDir::currentPath().append("/release/report/test1.lrxml"));report->createPreviewWidget(ui->widget);
m_pagesize= LimeReport::PageItemDesignIntf::A4initpagesizewidth= 2000initpagesizeheight= 2870m_pagesize= LimeReport::PageItemDesignIntf::A4
LimeReport::ReportEngine *report=new LimeReport::ReportEngine(this);report->loadFromFile(QDir::currentPath().append("/release/report/test1.lrxml"));QWidget *previewWidget=report->createPreviewWidget(ui->widget);qDebug()<<previewWidget->isVisible()<<previewWidget->size()<<<previewWidget->pos();
Have u forgot to rize widget->show(); ?Or widget->resize() & widget->move() helps?