Unsolved Progressbar for loading a heavy *.OBJ file
-
Hi,
I want to know how can I implement a progress bar dialog for loading a heavy obj file via Qt3DRender::QMesh(), because during the load I want to inform the user that the file loading is still under progress.
my3Dobject = new Qt3DRender::QMesh(); QUrl url; url.setScheme("file"); url.setPath("/home/item.obj"); my3Dobject->setSource( url ); my3Dobject->setEnabled(true);
Any suggestions will be appreciated.
-
@Orad with current interface the void statusChanged(Qt3DRender::QMesh::Status status) signal seams the only feedback possible.
-
@Orad
You could place a progress bar with indefinite status. You can use the QProgressDialog and settingprogressBarDialog->setMaximum(0); progressBarDialog->setMinimum(0);
will show an infinite progress bar.