Greetings,
Would anyone have any sample code for drawing a grid - a set of vertical and horizontal lines that fill a view space?
Ideally I would like to draw a rectangular grid and then transform it to an isometric projection.
Thank you!
Greetings,
Would anyone have any sample code for drawing a grid - a set of vertical and horizontal lines that fill a view space?
Ideally I would like to draw a rectangular grid and then transform it to an isometric projection.
Thank you!
Basically you overwrite QWidget:aintEvent, open a QPainter on that widget and have two for-loops: One for the vertical lines and one for the horizontal ones.
It's nice to be important but it's more important to be nice.
Bookmarks