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. how to
Forum Updated to NodeBB v4.3 + New Features

how to

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 4 Posters 741 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
    jimfar
    wrote on last edited by
    #1

    How to put a window on top of another QWiget, not the topest of the all QWiget(not using this flag-WindowStaysOnTopHint)?

    jsulmJ 1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      There is raise()
      http://doc.qt.io/qt-5/qwidget.html#raise
      which moves it over its other siblings.

      1 Reply Last reply
      4
      • J jimfar

        How to put a window on top of another QWiget, not the topest of the all QWiget(not using this flag-WindowStaysOnTopHint)?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @jimfar You should consider to use better titles for your threads. "how to" does not tell anything...

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        2
        • J Offline
          J Offline
          jimfar
          wrote on last edited by
          #4

          oh The main idea is forgotten, thank for remind.raise() it cant moves it over its parent ,is it ?

          mrjjM 1 Reply Last reply
          0
          • J jimfar

            oh The main idea is forgotten, thank for remind.raise() it cant moves it over its parent ,is it ?

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @jimfar
            No. it is the order within the parent.

            For windows widgets, its who is the parent, that controls what is on top of what.
            And rest is controlled by the OS.

            1 Reply Last reply
            0
            • logonutilityL Offline
              logonutilityL Offline
              logonutility
              Banned
              wrote on last edited by
              #6
              This post is deleted!
              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