Hi,
mdlThumbs is the QStandardItemModel pointer.
QStandardItemModel *mdlThumbs;
To copy to clipboard, switch view to plain text mode
The pointer above is definided inside class definition and a new instace is created in the constructor
DocFiscais
::DocFiscais(QWidget* parent, Qt
::WFlags fl
): QWidget( parent, fl
), Ui
::frmDFiscal() {
setupUi(this);
(....)
}
DocFiscais::DocFiscais(QWidget* parent, Qt::WFlags fl)
: QWidget( parent, fl ), Ui::frmDFiscal()
{
setupUi(this);
mdlThumbs = new QStandardItemModel;
(....)
}
To copy to clipboard, switch view to plain text mode
That this.
Thanks
Bookmarks