1
Discussion | Обсуждение / 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 ~~^^
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 ...