Create Settings Page Problem....
Unsolved
General and Desktop
-
Hi,
I want to create settings page that user in this page can
disable or enable objects of Other page like PushButtons,LineEdits and etc.
how can i access to objects of other Ui?
i wrote these codes but my problem has crashed with stopped working message!Ui_otherPage *ui2=new Ui_otherPage; ui2->comboBox_2->setDisabled(true);
i used signals & slots but in that
Condition Also my app has crashed!can you write a simple true code for me?
-
@the_
i included otherpage.h and ui_otherpage.h in header of my first page
then i wrote those codes in the clicked slot button
when i clicked on button my app show stopped working and in output write:The program has unexpectedly finished.
how can i do this?
-
Hi,
Looks like you are trying to use a Ui_otherPage without setting it up.
Why not use the widget you created with it ?