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. How to make GridView with special zone , which would be free of delegates ?
Forum Updated to NodeBB v4.3 + New Features

How to make GridView with special zone , which would be free of delegates ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 99 Views 2 Watching
  • 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.
  • B Offline
    B Offline
    Basitsst
    wrote last edited by
    #1

    GridView {
    id: grid
    anchors.fill: parent
    cellWidth: 100
    cellHeight: 100
    model: 50
    delegate: Rectangle {
    width: 100; height: 100
    color: "lightblue"
    Text { text: index }
    }

    Rectangle {
        id: specialZone
        width: 200
        height: 100
        color: "yellow"
        z: 10  // Keeps it on top
        anchors.top: parent.top
        anchors.left: parent.left
        Text {
            anchors.centerIn: parent
            text: "Special Zone"
        }
    }
    

    }

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote last edited by
      #2

      Hi,

      Looks like this should be part of your other thread, no ?

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

      B 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Looks like this should be part of your other thread, no ?

        B Offline
        B Offline
        Basitsst
        wrote last edited by
        #3

        @SGaist g

        SGaistS 1 Reply Last reply
        0
        • B Basitsst

          @SGaist g

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote last edited by
          #4

          @Basitsst said in How to make GridView with special zone , which would be free of delegates ?:

          @SGaist g

          Is that a yes ?

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

          JonBJ 1 Reply Last reply
          1
          • SGaistS SGaist

            @Basitsst said in How to make GridView with special zone , which would be free of delegates ?:

            @SGaist g

            Is that a yes ?

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote last edited by
            #5

            @SGaist It's a "g" :)

            1 Reply Last reply
            0

            • Login

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