At the moment, most buttons and dialog windows do not contain a X close button. This means that they run indefinitely and can't be close other than by terminating the app.
A first nice step would be to add basic functionalities to each Widget or window: like a close button or return button. More examples on Code Speedy website.
Another approach would be to use QtQuick + QtQml rather than QtWidgets, because the first combo was developed to tackle mobile development, as mentioned on qt website.
Example of how to design a QtQuick app by PythonGuis.
At the moment, most buttons and dialog windows do not contain a
X
close button. This means that they run indefinitely and can't be close other than by terminating the app.A first nice step would be to add basic functionalities to each Widget or window: like a close button or return button. More examples on Code Speedy website.
Another approach would be to use
QtQuick + QtQml
rather thanQtWidgets
, because the first combo was developed to tackle mobile development, as mentioned on qt website.Example of how to design a
QtQuick
app by PythonGuis.