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

Painting / moving in a single step

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • None
    • GUI: Painting
    • None

    Description

      It would be useful if a method was added which is specially designed to make the move&resize operations in one go (or modifying / adding a boolean to setGeometry) if it is really needed by the programmer. Then it would be possible to make a single native call for painting the widget at the new location, with the correct size and syncing all of the internal of Qt.

      A context where this would be useful is for custom animated top-level widgets, which now will get a lot of flicker due to move, resize and repaint not
      happening in a single step, Sure there is way to deal with ( for example by making a larger widget with a lot of usable transparent margins to paint at the correct place in one go) but it is very frustrating to consume more memory only to deal with the flickering. It is more logic that the real size of the widget at a particular instant is the one you can see on screen.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes