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. QPropertyAnimation feat QmainWindow::resizeEvent (...)
Forum Updated to NodeBB v4.3 + New Features

QPropertyAnimation feat QmainWindow::resizeEvent (...)

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.1k 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.
  • _ Offline
    _ Offline
    _icebear
    wrote on last edited by
    #1

    Hello, everyone,

    in the main application window (inherits from QMainWindow) displays two different widgets: QGraphicsView and QwtPlot (qwt-6.0.2). Switching between the widgets is doing by user and, it (switching) is animated (QPropertyAnimation).

    How to resolve the situation: the user resizes the main window, and the animation is not finished yet? Stop animation, calculation to new coordinate, running animations - give no results.

    The solution, which is given in the examples i can't use. It has the all controls on the QGraphicsView and calls QGraphicsView :: fitInView (QRect, QAspectRation) simply by scaling the entire contents of the window, so that, the controls are scaled as pictures.

    best regards,

    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