Important: Please read the Qt Code of Conduct -

Waiting qwidget fully loaded

  • Hello,
    I'm starting to use QT and I'm working on a file manager project. I have a mainwindow with 2 docks, the first one is a treeview to display folders. The second one is GridLayout to display the selected folder content. I'm looping the selected folder to add each file on the gridlayout, in case the file is a picture, I add a QLabel with a small preview of the picture.
    My problem is that in case there are many pictures in the folder, it takes a lot of time to load the gridlayout. Is there a way to display a popup window or something while the view is fully loaded in order to prevent user to click elsewhere?
    Thanks for your help,

  • @math7189 hi
    you can use a modal QProgressDialog

Log in to reply