Results 1 to 3 of 3

Thread: Dynamically creating rows og gridlayout

  1. #1
    Join Date
    Mar 2014
    Posts
    15
    Thanks
    1
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Dynamically creating rows og gridlayout

    Hi,
    I want to create rows of gridlayout dynamically (depends on the number given by user) and each row has 8 columns.
    Please help.
    thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Dynamically creating rows og gridlayout

    Have you tried using a Repeater element?

    Cheers,
    _

  3. #3
    Join Date
    Mar 2014
    Posts
    15
    Thanks
    1
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Dynamically creating rows og gridlayout

    Thanks anda_skoa ... its done using repeater element.

Similar Threads

  1. Creating Labels & Radioboxes dynamically
    By premroxx in forum Newbie
    Replies: 1
    Last Post: 9th September 2012, 00:24
  2. How to add space b/w column and rows of gridlayout.
    By Niamita in forum Qt Programming
    Replies: 3
    Last Post: 8th July 2011, 07:55
  3. dynamically add rows to tableview
    By maarvi in forum Newbie
    Replies: 4
    Last Post: 29th June 2011, 07:25
  4. Dynamically creating buttons from Xml file
    By chandru@080 in forum Newbie
    Replies: 5
    Last Post: 25th November 2010, 10:34
  5. QWizard creating objects dynamically
    By afflictedd2 in forum Qt Programming
    Replies: 5
    Last Post: 24th March 2009, 15:43

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.