Setting a signal to signal connection with QtDesigner
-
Hello,
Using Qt Creator, I wish to connect a widget signal to another widget signal. How can I do that ?
It seems I cannot do it from the Qt Designer tool itself. I therefore tried to modify myself the .ui file as shown below, with no success either:<connection>
<sender>m_disableWarningCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>MyDialog</receiver>
<signal>DisplayWarningToggled(bool)</signal>
</connection>The generated ui_File.h is not connecting the check box signal to the dialog signal.
Is it a feature missing in .ui files ? Or did I misunderstood something ?
Thank you. -
It looks like it is not possible to connect a signal to a signal in the designer. You will need to do this in your code. But I would not do this in ui file! Because next time you use the designer it will be overwritten!