K
K
Kalombyr2018-05-28 11:19:27
Qt
Kalombyr, 2018-05-28 11:19:27

How to implement switching of several MDI windows by ctrl+tab?

Good afternoon.
I am writing an application in Qt (C ++), an interface in QML.
The interface is built on the basis of MDI windows (which are created on the basis of the usual Rectangle, since they can later be built into the main window).
So, the task was to implement their switching by ctrl + tab by type, as it is done in Windows with switching Edge browser tabs. Those. previews of each individual window were available and the ability to switch to them.
For Windows, there are built-in Qt windows extras, albeit with a hemorrhoid, but it seems that the idea can be implemented.
But here's how to do it for Linux and Mac?
Those. the campaign needs crutches with what to do some kind of real "window", display a picture-render of my QML Rectangle on it, catch switching to it, which is just an incredible crutch and in my opinion there should be a better solution.
Let me remind you that I can’t use real windows in QML - only Rectangle.
Tell me, please, where to dig?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question