Results 1 to 3 of 3

Thread: How to add images to grid

  1. #1
    Join Date
    May 2011
    Posts
    120
    Thanks
    33
    Qt products
    Qt4
    Platforms
    Windows

    Default How to add images to grid

    Can i add images to a grid's specific location such as grid[7][2]
    ie, to add image at the 8th row and 3rd column of a grid

  2. #2
    Join Date
    May 2011
    Posts
    239
    Thanks
    4
    Thanked 35 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Symbian S60

    Default Re: How to add images to grid

    You can, for example, use a QGridLayout on widget, place yout images on QLabels and place those on the grid.

  3. #3
    Join Date
    Jul 2011
    Posts
    81
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: How to add images to grid

    I am developing a wordsearch game. I have to place the letters of each words dynamically in a grid

Similar Threads

  1. Replies: 1
    Last Post: 20th January 2011, 10:26
  2. Replies: 1
    Last Post: 16th November 2010, 17:45
  3. Better Grid
    By Buby in forum Newbie
    Replies: 2
    Last Post: 7th September 2010, 09:18
  4. Replies: 4
    Last Post: 27th July 2009, 15:45
  5. Regarding placing images in the grid
    By prajna in forum Newbie
    Replies: 1
    Last Post: 20th February 2009, 08:01

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.