Hi!!, sorry for this question that is newbie, recently i'm learning this Report generator and is amazing.
I have a QTreeWidget with a QDoubleSpinBox inside
![](https://i.ibb.co/F0PGr7f/1.png)
In this topic
topic i did learn how to send data from Widget to the report, I can send all, except the last field (SpinBox)
I did try with a casting sending value of SpinBox to a QAbstractItemModel
LimeReport::ReportEngine *Ticket =new LimeReport::ReportEngine(this);
Ticket->dataManager()->addModel("treeWidget",ui->TrWVenta->model(),false);
QAbstractItemModel *ModCant;
ModCant=dynamic_cast<QAbstractItemModel*>(ui->TrWVenta->itemWidget(Item,3));
Ticket->dataManager()->addModel("Cantidad",ModCant,true);
Ticket->designReport();
But in data manager I get only this (with red circle) and I cannot view any data
![](https://i.ibb.co/3CFNjf3/2.png)
How can send data from QDoubleSpinBox to the report??
Thanks and sorry for my bad english!!