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

Author Topic: QTableWidget Model (CellWidget) And LimeReport problem  (Read 3448 times)

huntrashmi

  • Newbie
  • *
  • Posts: 1
    • View Profile
QTableWidget Model (CellWidget) And LimeReport problem
« on: August 20, 2024, 06:57:38 am »
Hi All ,
I Have A problem With LimeReport Cannot Read Cell Widgets data inside QTableWidget Model
is There Any way Casting this data , so Limereport can read it ?
i mean some Columns Are Spinbox , And QTextEdit ~~^^

Code: [Select]
QDoubleSpinBox *spinbox=new QDoubleSpinBox(ui->tableWidget);
        ui->tableWidget->setCellWidget( ui->tableWidget->rowCount() - 1, 2, spinbox );

LimeReport::ReportEngine *report=new LimeReport::ReportEngine(this);
auto model=ui->tableWidget->model();
report->dataManager()->addModel("tablemodel",model,false);
it shows cell widget columns empty ...

Subst

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
Re: QTableWidget Model (CellWidget) And LimeReport problem
« Reply #1 on: August 20, 2024, 09:11:57 am »
Hi!
Can I see your LR report file (.lrxml) ?