Hello Everyone!
I’ve created TTT before using QT widgets (a dialog, a grid, and pushbuttons). Now, I want to learn about QGraphicsView and its related classes. However, I cannot seem to wrap my brain around how to use QGraphicsView (and its related classes) to create TTT.
I’ve watched and read tutorials about creating the view/scene, adding rectangles, rotating the scene, and moving the rectangles, but still I draw a blank when it comes to figuring out how to create a set sized board that is the entire scene or how to create clickable regions on the scene.
In the QT documentation, I’ve read about QML, but I don’t want to use that. I really just want to get a good grasp of QGraphicsView (and all), so I can work on more sophisticated grid based games. Any suggestions on how to approach this?
Bookmarks