Welcome, Guest. Please login or register.
Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Proton Phoenix

Pages: [1]
1
Have u forgot to rize widget->show(); ?

Or widget->resize() & widget->move() helps?

i did it like
previewWidget->setMaxmiumSize(ui->widget->size());
previewWidget->show();

2
Thank you so much bro <3 it works

3
Hi ~~~
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?



4
Thank you bro i did fix the problem by adding a column which contain the numbers then hiding it from the user in QTableWidget.

5
The real data changed in first variant?
But you can't got the string number?

Yep the first variant changed every row to 511 of items .. because datasource is QTableWidget
but the second one didn't it only get the first index which is 1 and it keep repeating it ,because it's not the datasource of DataBand1
if i change the DataBind1 datasource to strlist it will get the second changed but the first one keep showing just the first index (product item) and keep repeating it

6
It's simple.

How you form the report?
by callback function?

no i didn't use callback i am just a beginner in limereport

 
Code: [Select]
report->loadFromFile(QDir::currentPath()+"/release/report/test2.lrxml");
    report->dataManager()->addModel("tablewidget",ui->tableWidget->model(),false);
    QStringList stringlist;
    stringlist.clear();
    for(int i=1;i<ui->tableWidget->rowCount();i++){
      stringlist<<QString::number(i);
    }
    qDebug()<<"stringlist="<<stringlist;
    QStringListModel* stringListModel = new QStringListModel();
    stringListModel->setStringList(stringlist);

     report->dataManager()->addModel("strlist",stringListModel,true);


     report->designReport();

in DataBand1 i am using QTableWidget as datasource
i got the strlist data successfully which it's value from 1 to 511
but when i use it it stays only 1 on every row
if i change databand1 datasource to strlist it became 1 ..... to 511
but QTableWidget became unchangable !!



7
the simplest way it's using the variable & script system



i did that but the variable won't change because datasource is QTableWidget!
so i need to search for a script to solve that !
Thank you bro

8
Hi this is the best reporting engine ever thank you really for your great work
, i have a question , so i have Qtablewidget which contain a 3 columns
i want to get each row number when reporting using limereport
is there any way to do that!
for example i want those numbers on limereport
when viewing data the numbers show up, the databind doesn't support more than one datasource
is there any solution !!

9
Discussion | Обсуждение / Re: an error in limereport
« on: May 24, 2022, 02:07:57 pm »
Hi bro Thank you for help

problem solved after uncomment no zint
and using -j10 for building
well done guys

10
Discussion | Обсуждение / an error in limereport
« on: May 23, 2022, 07:04:25 pm »
entry point error on limereport.dll

i followed the video in youtube for building and including limereport

when i run my software it show up this error

in debug folder limereport.dll size = 173 MB
in release folder limereport.dll size= 3.27 MB
but the problem is

when i try to release my softawre


.. and strange if i copy the limereport.dll debug one which is very big to release folder
error disappear
but is it ok for dll to be that big!!!
is there any solution !!
i am using qt 5.15.2
and limereport_1_5_0_RC

11
Discussion | Обсуждение / Re: LimeReport Ram Usage Bug
« on: May 25, 2021, 01:48:58 pm »
Thank you so much bro <3 great support from you <3

12
Discussion | Обсуждение / Re: LimeReport Ram Usage Bug
« on: May 23, 2021, 10:27:24 am »
<3 Thank you so much bro for helping me <3
okay i will wait Alex for fixing this memory leaks

-- Great Support from you bro Thank you

13
Discussion | Обсуждение / Re: LimeReport Ram Usage Bug
« on: May 23, 2021, 09:58:56 am »
Many Thanks bro <3


Yes when i removed createpreview .. when closing the preview it releasing 10 to 15 mb of ram usage but the problem still exist because it add 3 to 5 mb every time (opening the preview)
so can you tell me bro ~~ The best way to Destroy QGraphicsScene object!! ?

14
Discussion | Обсуждение / Re: LimeReport Ram Usage Bug
« on: May 23, 2021, 09:50:02 am »
Thank you bro <3 i've installed limereport just today i am totally a beginner so i need to remove createpreview ... and destroy QGraphicsScene object !!
Thank you bro i will try that then i will comment here about the results <3

15
Discussion | Обсуждение / LimeReport Ram Usage Bug
« on: May 23, 2021, 08:38:20 am »
Hi ~~
i have a problem with Limereport and Qt framework

 
Code: [Select]
LimeReport::ReportEngine m_report(this);

    m_report.loadFromFile("C:/random/report.lrxml");
    m_report.createPreviewScene();
        m_report.previewReport();
       

when i open PreviewReport Ram usage grow from 74 mb to 93 mb
but when i close PreviewReport it will be 89 mb so it's only free 4 mb
the problem here is every time opening the PreviewReport will lead the software to eat more memory without clearing the previous one.
is there any solution??
i am using version 1.5.35

Pages: [1]