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. Loading data, freezing app and change text.
Forum Updated to NodeBB v4.3 + New Features

Loading data, freezing app and change text.

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 231 Views 1 Watching
  • 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.
  • F Offline
    F Offline
    fornakter
    wrote on last edited by fornakter
    #1

    Hello.
    I make and download-from-youtube app with pytube.
    When i set a link, and click 'Go' button for load data, app freezing.
    Before freez i want to change label.text for something like 'loading data'
    But text dont change before it freeze, it change after loading data.
    Can i do it somehow?
    At the end i want text like 'files ready'

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Since you are using a long blocking operation you should rather rethink the design of your application.

      Nothing worse than an application that does not give any feedback about what is going on.

      You should check the callback support of the library to improve your application user experience.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by
        #3

        Use thread to do the loading.

        1 Reply Last reply
        0

        • Login

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