Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt Qml Selecting Grid items using Selection Rectangle
Forum Update on Tuesday, May 27th 2025

Qt Qml Selecting Grid items using Selection Rectangle

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 259 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.
  • T Offline
    T Offline
    trickymind
    wrote on 17 Sept 2020, 18:14 last edited by
    #1

    Sample Image

    In the above image the light colored rectangle is the selection rectangle.

    What i am trying to create is similar to a desktop environment. i need to select n number of items in the GridView like this way. i know it is not possible only using qml. please help me to figure this out. i'm not much familiar with QT C++.

    I Know that we can only select a single item in GridView at a time

    So

    Is There any way that i can detect if the selection rectangle overlaps my GridView item and to highlight them?

    In this post
    need help on how to detect overlapping circles

    aya_lawliet mentioned about QGraphicsItem::collidingItems

    Is there a way i can detect the collided grid view item through QGraphicsItem::collidingItems ?

    1 Reply Last reply
    0

    1/1

    17 Sept 2020, 18:14

    • Login

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