update main windos dialog
-
i've the main dialog , and button to open login dialog , so i make the check for the login and after login is true it will close the login dialog , but then how i can update the main dialog ? in the main dialog there stuff it should to not show unless u succse in login , so do i need to make a new function for the main dialog to update and call it when i close the login dialog , or there is already antother way for that?
-
i've the main dialog , and button to open login dialog , so i make the check for the login and after login is true it will close the login dialog , but then how i can update the main dialog ? in the main dialog there stuff it should to not show unless u succse in login , so do i need to make a new function for the main dialog to update and call it when i close the login dialog , or there is already antother way for that?
@MrLibya said in update main windos dialog:
so do i need to make a new function for the main dialog to update and call it when i close the login dialog , or there is already antother way for that?
Thats one possible solution.
Or you could use Signal/Slots and just trigger a loginSucessful() signal for example and connect it to a updateData() slot in your main dialog. -
@MrLibya said in update main windos dialog:
so do i need to make a new function for the main dialog to update and call it when i close the login dialog , or there is already antother way for that?
Thats one possible solution.
Or you could use Signal/Slots and just trigger a loginSucessful() signal for example and connect it to a updateData() slot in your main dialog.@raven-worx thx :)