I'm writing simple Conway's life using qt and MVC design pattern.
My program consists of 3 classes: lifeModel, Controller and Window. Window class visualizes every generation of cells (it's 2d matrix, as it's generally known). So I'm looking for the best way to implement this class.
For example, I picked QSpinBox to set matrix size, QPushButton to start generation, QGraphicsView to display matrix and QLayout to place elements on main QWidget.
Is QGraphicsView optimal for this case? Are there any better solutions?
Bookmarks