Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Rendering of the View on Screen
Forum Update on Monday, May 27th 2025

Rendering of the View on Screen

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 281 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.
  • A Offline
    A Offline
    Anita
    wrote on 8 Apr 2021, 09:52 last edited by Anita 4 Aug 2021, 17:24
    #1

    Hi All,
    When I click a button in my application, there are multiple actions which happens.
    Task1 : changing the state of button ,
    Task2: opening of a Menu in a loader,
    Task 3: after the Menu Loader state is changed to Ready , there is a repositioning that occurs in other fields in the UI.
    So my question is when will I be able to view the Menu on the screen, After Task1, Task2 and Task3 or immediately after Task2?

    J 1 Reply Last reply 9 Apr 2021, 05:37
    0
    • A Anita
      8 Apr 2021, 09:52

      Hi All,
      When I click a button in my application, there are multiple actions which happens.
      Task1 : changing the state of button ,
      Task2: opening of a Menu in a loader,
      Task 3: after the Menu Loader state is changed to Ready , there is a repositioning that occurs in other fields in the UI.
      So my question is when will I be able to view the Menu on the screen, After Task1, Task2 and Task3 or immediately after Task2?

      J Online
      J Online
      J.Hilk
      Moderators
      wrote on 9 Apr 2021, 05:37 last edited by
      #2

      hi @Anita

      that highly depends on how you "execute those tasks"

      But as a rule of thumb, Showing any widget/qml component is done on the next event loop cycle. So probably T1-> T2->T3 -> Shown


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Anita
        wrote on 9 Apr 2021, 07:01 last edited by
        #3

        @J-Hilk

        Thank You . For Clarification.

        1 Reply Last reply
        0

        1/3

        8 Apr 2021, 09:52

        • Login

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