2D editable grid
Solved
General and Desktop
-
Hello,
I'm a new Qt user, and I'm trying to code a small application for educational purposes.
It's a graphic application, the user load an image in a scene, and on top of that image I want to set a layer which contains a 2D grid.
The 2D grid is editable, let me explain: each point located at the intersection of two lines of the grid can be moved.
And here comes my questions:- How is it even possible to simulate the layer concept just like applications like Gimp or Photoshop do ?
- And finally, I heard about QGraphicsItem, is it a good idea for a 2D editable grid ?
Thank you for reading (my apologies if there are some english mistakes).
-
@TontonLeon
Yes that is doable using the Graphics View Framework.
this example might be of interest, other examples can be found here. -
Thank you, that's nearly the thing I had in mind, I've missed that example when I was reading the documentation.
I'll read that carefully !Have a good day !