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. Update of Gui-Elements
Forum Update on Tuesday, May 27th 2025

Update of Gui-Elements

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 427 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.
  • P Offline
    P Offline
    PoetikBiker
    wrote on last edited by
    #1

    Hei all,

    I'm new to Qt, therefore I hope, my question isn't to silly!

    I have a desktop application with a main-window, toolbar, statusbar and some other gui-elements.

    Now I need to update the gui-elements. Depending on the current application state, the actions, buttons etc. are disabled, enabled, checked or unchecked.

    In former windows days there was a central method (OnUpdateCmdUi) in which I updates all the gui elements.
    No I'm wondering, how to do this in a proper and elegant way in Qt.

    Thanks for your hints

    sierdzioS 1 Reply Last reply
    0
    • P PoetikBiker

      Hei all,

      I'm new to Qt, therefore I hope, my question isn't to silly!

      I have a desktop application with a main-window, toolbar, statusbar and some other gui-elements.

      Now I need to update the gui-elements. Depending on the current application state, the actions, buttons etc. are disabled, enabled, checked or unchecked.

      In former windows days there was a central method (OnUpdateCmdUi) in which I updates all the gui elements.
      No I'm wondering, how to do this in a proper and elegant way in Qt.

      Thanks for your hints

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @PoetikBiker said in Update of Gui-Elements:

      No I'm wondering, how to do this in a proper and elegant way in Qt.

      You should use signals and slots for that. This way you can react precisely to all changes, exactly when they happen.

      (Z(:^

      1 Reply Last reply
      1
      • IamSumitI Offline
        IamSumitI Offline
        IamSumit
        wrote on last edited by IamSumit
        #3

        hi,

        If you want to make your desktop application in a proper and elegant way in Qt.Then you need to look few examples in the following link. It will teach you how and what the UI control elements available in Qt.
        here

        Be Cute

        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