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. Issue with setHorizontalScrollBarPolicy in MDI area.

Issue with setHorizontalScrollBarPolicy in MDI area.

Scheduled Pinned Locked Moved Unsolved General and Desktop
mdiareaqt5.6c++ qtscrollareascrollbar
13 Posts 2 Posters 4.2k Views
  • 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.
  • Y Offline
    Y Offline
    Yash001
    wrote on last edited by
    #2

    step for getting error

    1. run the code and maximized the window and clicked on tile button
      -here you will not see the Scrollbar.
      2)now Minimized the window
      now you can see the scrollbar.
      3)Maximized the window
      now you can see the scrollbar. but if you click on tile button then again it will disappear.
    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #3

      Hi
      Tried to run the code in
      Qt5.10 on win 10 and didn't see a scrollbar at all.

      You could try newest Qt and see if any difference.

      Y 1 Reply Last reply
      0
      • mrjjM mrjj

        Hi
        Tried to run the code in
        Qt5.10 on win 10 and didn't see a scrollbar at all.

        You could try newest Qt and see if any difference.

        Y Offline
        Y Offline
        Yash001
        wrote on last edited by
        #4

        @mrjj Thank you sir for your response. I am happy to use new version of Qt. as per our requirment i need to use Qt 5.6.

        mrjjM 1 Reply Last reply
        0
        • Y Yash001

          @mrjj Thank you sir for your response. I am happy to use new version of Qt. as per our requirment i need to use Qt 5.6.

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

          @Yash001
          Hi
          That is fine, it was just to check if there was a bug with redrawing and it had been fixed later
          or its something completely different.
          Do you run the app in XP/win 7 or is this on win 10 ?

          Y 1 Reply Last reply
          0
          • mrjjM mrjj

            @Yash001
            Hi
            That is fine, it was just to check if there was a bug with redrawing and it had been fixed later
            or its something completely different.
            Do you run the app in XP/win 7 or is this on win 10 ?

            Y Offline
            Y Offline
            Yash001
            wrote on last edited by
            #6

            @mrjj application needs to run on Win 10, Xp , vista. I am using win 10.

            1 Reply Last reply
            0
            • Y Offline
              Y Offline
              Yash001
              wrote on last edited by
              #7

              Thank you mrjj for support. Here I found the another way to setup the widget into MDI area. http://blog.qt.io/blog/2013/04/29/how-to-tile-widgets-in-a-multiple-document-interface-application/

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

                So that fixes the scrollbar issue ?

                Y 1 Reply Last reply
                0
                • mrjjM mrjj

                  So that fixes the scrollbar issue ?

                  Y Offline
                  Y Offline
                  Yash001
                  wrote on last edited by Yash001
                  #9

                  @mrjj Yes it is fix. sorry for late reply. I remove the default function "tileSubWindows()" and create another function using http://blog.qt.io/blog/2013/04/29/how-to-tile-widgets-in-a-multiple-document-interface-application/.

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

                    ok super.
                    Its good to see someone still using MDI in 2018 :)

                    Y 1 Reply Last reply
                    0
                    • mrjjM mrjj

                      ok super.
                      Its good to see someone still using MDI in 2018 :)

                      Y Offline
                      Y Offline
                      Yash001
                      wrote on last edited by
                      #11

                      @mrjj What are the other Options insted of MDI?

                      mrjjM 1 Reply Last reply
                      0
                      • Y Yash001

                        @mrjj What are the other Options insted of MDI?

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

                        @Yash001
                        DockWidgets. Else not so much.

                        Y 1 Reply Last reply
                        0
                        • mrjjM mrjj

                          @Yash001
                          DockWidgets. Else not so much.

                          Y Offline
                          Y Offline
                          Yash001
                          wrote on last edited by
                          #13

                          @mrjj Thakn you.

                          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