I want to create an app, where the user will decide it the main window will stay always on top of the other apps.
In PyQt4 it is easy to create a window that will stay a
You want the Qt::WindowStaysOnTopHint hint, see Window Flags Example.
Qt::WindowStaysOnTopHint