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. problem with QWidget
Qt 6.11 is out! See what's new in the release blog

problem with QWidget

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 1.4k 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.
  • E Offline
    E Offline
    EpicLoyd
    wrote on last edited by
    #1

    http://prntscr.com/9njh1e -- screenshot
    How can i make childen window render correctly? :d ( smaller window is childen of biggest ) ( both is QMainWindow )

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

      Hi
      What would correct be ?
      A child is always clipped to parent.

      E 1 Reply Last reply
      0
      • mrjjM mrjj

        Hi
        What would correct be ?
        A child is always clipped to parent.

        E Offline
        E Offline
        EpicLoyd
        wrote on last edited by
        #3

        @mrjj http://prntscr.com/9njm0s perfectly, is should be like this. Any ideas?

        mrjjM 1 Reply Last reply
        0
        • E EpicLoyd

          @mrjj http://prntscr.com/9njm0s perfectly, is should be like this. Any ideas?

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

          well you could have it as non child but then it wont move together.
          So other way would be to have transparent window and use whole screen.
          And then draw the image your self to the right.
          Then win 2 would have more room and not be clipped.
          else im not sure u can have it.

          E 1 Reply Last reply
          0
          • mrjjM mrjj

            well you could have it as non child but then it wont move together.
            So other way would be to have transparent window and use whole screen.
            And then draw the image your self to the right.
            Then win 2 would have more room and not be clipped.
            else im not sure u can have it.

            E Offline
            E Offline
            EpicLoyd
            wrote on last edited by
            #5

            @mrjj i already have it non child ( second screen) but when i'm trying to animate slide out of smallest window, it draws in top of biggest, that is why i'm asking => Qt::WindowStaysOnBottomHint not works for me in that case

            mrjjM 1 Reply Last reply
            0
            • E EpicLoyd

              @mrjj i already have it non child ( second screen) but when i'm trying to animate slide out of smallest window, it draws in top of biggest, that is why i'm asking => Qt::WindowStaysOnBottomHint not works for me in that case

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

              @EpicLoyd
              Hmm, what if u set always on top on the mainwin?
              I assume u want the small one to be under main and slide out to the side'?

              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