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 Updated to NodeBB v4.3 + New Features

Qt Qml Selecting Grid items using Selection Rectangle

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 273 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 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

    • Login

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