How to make minimap in Qt.
-
wrote on 14 Jun 2018, 19:13 last edited by
Hi! Like in the title I want to know how to make some sort of minimap.
The basic concept is that I want to show an image from file and drawn rectangles on it.
Also, I want to make interactions with some of this rectangles. -
Hi and welcome to devnet,
What kind of file are you talking about ?
What are you using to show it ? -
wrote on 14 Jun 2018, 19:46 last edited by ZaKKu
-
So have two views, one of the full image and another one like a thumbnail with additional data on it ?
-
wrote on 14 Jun 2018, 20:14 last edited by
Basically something like that. But how to make interactions when clicking on a specific rectangle?
-
What should happen when you click on them ?
-
wrote on 14 Jun 2018, 20:26 last edited by
Idk. This could be anything for now... like calling a defined function or something.
-
The Graphics View framework might be an interesting start.
-
The Graphics View framework might be an interesting start.
8/9