Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Adding new UI forms to the Application for additional windows
ahsub last edited by
In my application, I would like to show a new UI when the user clicks a button / on a particular action.
This UI is designed using creator similar to the main UI form.
When this additional ui/form is called using show(), it shows the form but only for a fraction of a second and moves on to the next statement.
Is there any way to make the control stay on the form till the user either closes the UI or on an action (button click) similar to the standard QDialogs.
Thanks in advance.
Eddy last edited by
Can you show us the code where you make the form to show? Seems like a variable going out of scope.
lorik last edited by
I am familiar with the problem ,you have to instantiate your widget with 'new' statement