Results 1 to 3 of 3

Thread: Sudoku grid

  1. #1
    Join Date
    Apr 2020
    Location
    Lithuania
    Posts
    24
    Thanks
    17
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Sudoku grid

    Hello,

    So, i want to create a Sudoku grid for my sudoku game/solver and i have no idea what to use to make box-grid for my sudoku game, could someone recommend me what to use for sudoku grid or give some tips before making it.

    Thank you

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,626
    Thanks
    13
    Thanked 1,592 Times in 1,520 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Sudoku grid

    Different approaches:
    • Widgets: a 9x9 QGridLayout of QLabels/QLineEdits.
    • QGraphicsView: a QGraphicsScene with a 9x9 grid of QGraphicsTextItems or something more suited to your desired display
    • QML/Qt Quick: a grid of Qt Quick elements.

    Which you choose will depend a little on how you want user interaction to work, what you are comfortable with, and what environment it is to run in.

  3. The following user says thank you to ChrisW67 for this useful post:

    laurynas2003 (6th April 2020)

  4. #3
    Join Date
    Apr 2020
    Location
    Lithuania
    Posts
    24
    Thanks
    17
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Sudoku grid

    Quote Originally Posted by ChrisW67 View Post
    Different approaches:
    • Widgets: a 9x9 QGridLayout of QLabels/QLineEdits.
    • QGraphicsView: a QGraphicsScene with a 9x9 grid of QGraphicsTextItems or something more suited to your desired display
    • QML/Qt Quick: a grid of Qt Quick elements.

    Which you choose will depend a little on how you want user interaction to work, what you are comfortable with, and what environment it is to run in.
    Thanks for help

Similar Threads

  1. Replies: 6
    Last Post: 21st April 2019, 00:28
  2. Replies: 2
    Last Post: 14th November 2015, 01:15
  3. Replies: 2
    Last Post: 4th September 2014, 11:09
  4. Sudoku front end
    By tom989 in forum Newbie
    Replies: 1
    Last Post: 20th August 2013, 22:49
  5. Better Grid
    By Buby in forum Newbie
    Replies: 2
    Last Post: 7th September 2010, 09:18

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.