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. Animated mdi layout ?

Animated mdi layout ?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.7k 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.
  • J Offline
    J Offline
    jlub
    wrote on last edited by
    #1

    Hi,

    I am new to the Qt framework (Qt5) * so I miss some starting point.
    Here is what I would like to achieve

    • a main window with 2 parts
    • a vertical toolbar on the left
    • a frame displaying some document contents on the right.

    Each open document corresponds to one icon in the toolbar.
    When the user clicks on an icon, the corresponding document becomes the active one.

    My problem essentially comes from animation.
    I would like some transition effect

    • either the active document slides to the top to unhide the selected document
    • or the selected document slides from the top over the current one.

    Thanks in advance for any suggestion.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Alek Śmierciak
      wrote on last edited by
      #2

      Hello and welcome,

      what you want to achieve can be done easily (to some extent) with help of "QTabWidget":http://qt-project.org/doc/qt-5.0/qtwidgets/qtabwidget.html. It supports four tab toolbar locations from the start; the animations are not there though could be specified thanks to the "Animation framework":http://qt-project.org/doc/qt-5.0/qtcore/animation-overview.html.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jlub
        wrote on last edited by
        #3

        Thanks Alek,

        lucky me, I found what I want: SampleSlidingStackedWidget

        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