Results 1 to 3 of 3

Thread: Conway's life visualization

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2010
    Posts
    12
    Thanks
    6
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Conway's life visualization

    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?
    Last edited by qutron; 30th December 2010 at 14:07.

Similar Threads

  1. Strange output: Can't compile for WinCE to save my life!
    By codeslicer in forum Qt Programming
    Replies: 3
    Last Post: 20th February 2010, 14:55
  2. Visualization and Threads
    By ^NyAw^ in forum Qt Programming
    Replies: 1
    Last Post: 12th October 2009, 13:13
  3. Graph visualization library for QT4
    By YaK in forum Qt Programming
    Replies: 1
    Last Post: 24th March 2009, 15:18
  4. freeing my memory (life should be lived forwards)
    By baray98 in forum General Programming
    Replies: 13
    Last Post: 25th September 2007, 23:33

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.