Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] QGridLayout cell ordering?
Forum Update on Monday, May 27th 2025

[SOLVED] QGridLayout cell ordering?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 713 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pmh4514
    wrote on 15 Sept 2014, 19:59 last edited by
    #1

    Hello

    Is it possible to make QGridLayout see the following cell order as I insert widgets into it? (start top right, move left, step down one, move back right, step down one, move back left, etc.)

    // 4 3 2 1 0
    // 5 6 7 8 9
    // 14 13 12 11 10
    // 15 16 17 18 19
    // 24 23 22 21 20

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 15 Sept 2014, 20:18 last edited by
      #2

      Hi,

      It's up to you to put your widgets in that order, or you could implement your own grid layout that does that.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pmh4514
        wrote on 15 Sept 2014, 20:26 last edited by
        #3

        Ok I thought so. <edit to remove new question>

        1 Reply Last reply
        0

        1/3

        15 Sept 2014, 19:59

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved