Update of Gui-Elements
Unsolved
General and Desktop
-
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
-
@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.