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. Container without window decoration on top of mainwindow

Container without window decoration on top of mainwindow

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

    Hello people,

    I am new to Qt (2-3 days). I have created a simple UI for my converter application which uses dialogs to operate. I want to use some kind of container which operates like a dialog but has no window decoration and opens as part of mainwindow (for example, when the user moves the window, the container should move with it). I have attached a picture of that kind of application I found online :)
    http://www.stefanseiz.com/images/nnw-shortcut.jpg --- link to an image

    1 Reply Last reply
    0
    • jazzycamelJ Offline
      jazzycamelJ Offline
      jazzycamel
      wrote on last edited by
      #2

      The behaviour you describe (which is demonstrated in your example) is a MacOSX specific feature called a "Sheet". This functionality is default for modal, parented dialogs and message boxes in Qt on Mac. See "here":http://doc.qt.digia.com/qq/qq18-macfeatures.html for more information. For other platforms I believe you will have to implement the functionality yourself.

      Hope this helps ;o)

      For the avoidance of doubt:

      1. All my code samples (C++ or Python) are tested before posting
      2. As of 23/03/20, my Python code is formatted to PEP-8 standards using black from the PSF (https://github.com/psf/black)
      1 Reply Last reply
      0
      • K Offline
        K Offline
        khajvah
        wrote on last edited by
        #3

        [quote author="jazzycamel" date="1376563996"]The behaviour you describe (which is demonstrated in your example) is a MacOSX specific feature called a "Sheet". This functionality is default for modal, parented dialogs and message boxes in Qt on Mac. See "here":http://doc.qt.digia.com/qq/qq18-macfeatures.html for more information. For other platforms I believe you will have to implement the functionality yourself.

        Hope this helps ;o)[/quote]

        I thought about custom implementation and could only think of adding widget "Widget" and promoting it to smth,and then showing and hiding . Is it possible in that way?(I am on linux) and then showing and hiding

        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