Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-119187

qgraphicsview刷新

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.2
    • Widgets: GraphicsView
    • None

    Description

      I drew a qtablewidget in qgraphicsview. Initially, the table lines were missing (see attachment pic1. png). However, calling update() or repaint() to redraw the view had no effect, and even dragging the table with the mouse (using setpos to move items) still had no effect. However, when using setTransForm to scale the view or directly clicking on an area outside the window to lose focus, it will update the view, allowing the table to be fully drawn (see attachment pic2. png). What controllable way is there to make the table fully drawn.

      Attachments

        1. pic1.png
          pic1.png
          40 kB
        2. pic2.png
          pic2.png
          39 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bibr Andreas Aardal Hanssen
            yuki 天 张
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes