Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Waiting qwidget fully loaded
Forum Updated to NodeBB v4.3 + New Features

Waiting qwidget fully loaded

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 455 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    math7189
    wrote on last edited by
    #1

    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,

    ODБOïO 1 Reply Last reply
    0
    • M math7189

      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,

      ODБOïO Offline
      ODБOïO Offline
      ODБOï
      wrote on last edited by
      #2

      @math7189 hi
      you can use a modal QProgressDialog

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved