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. Extension Dialog (Slide-out window idea)
Forum Updated to NodeBB v4.3 + New Features

Extension Dialog (Slide-out window idea)

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

    I am trying to accomplish a slide out window on the side of my application, so if a button is pressed on the main form (located on the right side border of the window), then a dialog/window appears (the animation isn't required at this moment in time) to the right side of the main form. I am not looking to just extend the main form and add the elements.

    Now the tricky part of this is that when the main form moves, the dialog must move with it, essentially being attached to the main window.

    Heres an example (notice how it is behind the main form).
    http://www.gomediazine.com/wp-content/images/2009/10/fontsleuth2.jpeg

    Does anyone know of a good way to implement this? is there a good qt way to do this?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Chris H
      wrote on last edited by
      #2

      On the Mac you can just use the Qt::Drawer-style for Qt::WindowType. I think on other platforms, however, you will have to basically hand-code the whole thing.

      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