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. QGraphicsScene: show mouse drag rect ?
Forum Update on Monday, May 27th 2025

QGraphicsScene: show mouse drag rect ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 551 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.
  • sonichyS Offline
    sonichyS Offline
    sonichy
    wrote on last edited by
    #1

    MousePress and MouseMove draw a rect to show select region like QListWidget.
    This is realized, but I can not find the way.
    https://github.com/shixingya/Qt_QGraphicsItem_DrawSystem
    alt text

    https://github.com/sonichy

    jsulmJ 1 Reply Last reply
    0
    • sonichyS sonichy

      MousePress and MouseMove draw a rect to show select region like QListWidget.
      This is realized, but I can not find the way.
      https://github.com/shixingya/Qt_QGraphicsItem_DrawSystem
      alt text

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @sonichy I guess it is https://doc.qt.io/qt-5/qgraphicsview.html#rubberBandSelectionMode-prop

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      sonichyS 1 Reply Last reply
      2
      • jsulmJ jsulm

        @sonichy I guess it is https://doc.qt.io/qt-5/qgraphicsview.html#rubberBandSelectionMode-prop

        sonichyS Offline
        sonichyS Offline
        sonichy
        wrote on last edited by
        #3

        @jsulm Invalid

        https://github.com/sonichy

        SGaistS 1 Reply Last reply
        0
        • sonichyS sonichy

          @jsulm Invalid

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

          Hi,

          @sonichy said in QGraphicsScene: show mouse drag rect ?:

          @jsulm Invalid

          Can you be a bit more specific ?

          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

          • Login

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