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 - huntrashmi

Pages: [1]
1
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 ...

Pages: [1]