LimeReport Forum

General Category | Основное => Discussion | Обсуждение => Topic started by: huntrashmi on August 20, 2024, 06:57:38 am

Title: QTableWidget Model (CellWidget) And LimeReport problem
Post by: huntrashmi 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 ...
Title: Re: QTableWidget Model (CellWidget) And LimeReport problem
Post by: Subst on August 20, 2024, 09:11:57 am
Hi!
Can I see your LR report file (.lrxml) ?