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 can i add the slider on the Main Window
Qt 6.11 is out! See what's new in the release blog

how can i add the slider on the Main Window

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 3 Posters 2.1k 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.
  • V Offline
    V Offline
    victor wang
    wrote on last edited by victor wang
    #1

    I'm using Qt5.5 on my computer.
    During the process, I'm going to add the slider on my Main Window like below picture.

    It's an example that represent what i want.
    Like the slider beside the picture.
    It's an example that represent what i want.
    Like the slider beside the picture.

    When i slide the slider the picture will moving.
    How can i add the slider there and moving my object up or down?
    Please help!

    1 Reply Last reply
    0
    • RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by
      #2

      @victor-wang
      the image link is broken . Please use external link .

      --Alles ist gut.

      V 1 Reply Last reply
      0
      • RatzzR Ratzz

        @victor-wang
        the image link is broken . Please use external link .

        V Offline
        V Offline
        victor wang
        wrote on last edited by
        #3

        @Ratzz
        Sorry, i don't know how to using the external link.

        RatzzR 1 Reply Last reply
        0
        • V victor wang

          @Ratzz
          Sorry, i don't know how to using the external link.

          RatzzR Offline
          RatzzR Offline
          Ratzz
          wrote on last edited by
          #4

          @victor-wang
          You can upload image using https://postimage.io/ or some other and paste the link here.

          --Alles ist gut.

          V 1 Reply Last reply
          1
          • RatzzR Ratzz

            @victor-wang
            You can upload image using https://postimage.io/ or some other and paste the link here.

            V Offline
            V Offline
            victor wang
            wrote on last edited by
            #5

            @Ratzz
            Thank you!
            I have updated the picture.
            Please help me!

            jsulmJ 1 Reply Last reply
            0
            • V victor wang

              @Ratzz
              Thank you!
              I have updated the picture.
              Please help me!

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

              @victor-wang The link you posted points to a screen-shot of your browser, is there a slider you mean or did you post it by mistake?

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

              V 1 Reply Last reply
              0
              • jsulmJ jsulm

                @victor-wang The link you posted points to a screen-shot of your browser, is there a slider you mean or did you post it by mistake?

                V Offline
                V Offline
                victor wang
                wrote on last edited by
                #7

                @jsulm
                Yes, it's what i mean.
                I got too many objects on Main Window.
                And when i run it on my device,
                there are some objects are missing.
                As i know that because my objects is too many that my device screen cannot show all of it.

                So i think that i might need a slider to slide my screen.

                jsulmJ 1 Reply Last reply
                0
                • V victor wang

                  @jsulm
                  Yes, it's what i mean.
                  I got too many objects on Main Window.
                  And when i run it on my device,
                  there are some objects are missing.
                  As i know that because my objects is too many that my device screen cannot show all of it.

                  So i think that i might need a slider to slide my screen.

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

                  @victor-wang What about QScrollArea http://doc.qt.io/qt-5.8/qscrollarea.html ?

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

                  V 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @victor-wang What about QScrollArea http://doc.qt.io/qt-5.8/qscrollarea.html ?

                    V Offline
                    V Offline
                    victor wang
                    wrote on last edited by
                    #9

                    @jsulm
                    Sorry, i haven't use this before do you have any example?

                    jsulmJ 1 Reply Last reply
                    0
                    • V victor wang

                      @jsulm
                      Sorry, i haven't use this before do you have any example?

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

                      @victor-wang There is an example in the link I posted.
                      More here: http://doc.qt.io/qt-5/qtwidgets-widgets-imageviewer-example.html

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

                      1 Reply Last reply
                      2

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved