Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Does QML have a RubberBand component ?
Qt 6.12 LTS is out! See what's new in the release blog

Does QML have a RubberBand component ?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 48 Views 1 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.
  • GilboonetG Online
    GilboonetG Online
    Gilboonet
    wrote last edited by
    #1

    Hello, the QML version of my application works fine and I'm now starting to add UI refinements that were available on its Widgets version. There was a rubberband that allowed me to click on the background and draw a rectangle to select more than one element at once. Is there something built-in that QML can use ? Or do I need to implement it on a mouseArea and its handlers for that ?

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

      Hi,

      AFAIK, there's no Rubberband element in QtQuick so yes, you need to implement it yourself.

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

      GilboonetG 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        AFAIK, there's no Rubberband element in QtQuick so yes, you need to implement it yourself.

        GilboonetG Online
        GilboonetG Online
        Gilboonet
        wrote last edited by
        #3

        @SGaist Ok, I'm going to try to implement that.

        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
        • Unsolved