Have you ever felt that your application needs an extra window? When the user has 2 screens available how great would it be to separate the widgets you had to push into a tab widget!
I have good news for you: this can be done simply with Qt.
Let’s say we have a window with two widgets. They are quite important so we’d like the user to see both of them if possible. What can we do about it?
Let’s create an other window and use Qt’s slot&signal mechanism to send messages between them.
I had the red widget removed just to let you see that this is no fake so after putting back the red widget they will switch places compared with the original window.
The source code is available here on github