Automatic assignment of slots for several widget
Unsolved
General and Desktop
-
Hi there.
I'm using QT Creator and I have a QGroupBox with several widgets (QComboBox, QDoubleSpinBox, QDateEdit,...).
I want to change the property of one widget (QLabel) when whatever widget in the groupbox change its value (value, currentindex, text,...).
Is there an alternative to right-click in each widget, select the appropriate slot and create a function for each widget change?Sorry if this is a basic question, I'm new in Qt.
Thanks for your help.
-
Hi and welcome to devnet,
You could do it in code which might be faster to write than clicking in Designer or with some Qt meta object programming but that might be overkill since you are getting started.