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 fix QSlider at desired position ?
Forum Updated to NodeBB v4.3 + New Features

How to fix QSlider at desired position ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 328 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.
  • T Offline
    T Offline
    tushu
    wrote on last edited by
    #1
    This post is deleted!
    jsulmJ 1 Reply Last reply
    0
    • T tushu

      This post is deleted!

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

      @tushu said in How to fix QSlider at desired position ?:

      So how to fix QSlider at desired position ?

      Use the position and height of the button to calculate the position of the slider.

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

      T 1 Reply Last reply
      0
      • jsulmJ jsulm

        @tushu said in How to fix QSlider at desired position ?:

        So how to fix QSlider at desired position ?

        Use the position and height of the button to calculate the position of the slider.

        T Offline
        T Offline
        tushu
        wrote on last edited by
        #3

        @jsulm Thank you for your reply.

        But I have a doubt.
        How to set the position for QSlider ? (let's say I have figured out position
        in QPoint somehow)

        jsulmJ 1 Reply Last reply
        0
        • T tushu

          @jsulm Thank you for your reply.

          But I have a doubt.
          How to set the position for QSlider ? (let's say I have figured out position
          in QPoint somehow)

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

          @tushu Why not looking into documentation?
          There is https://doc.qt.io/qt-6/qwidget.html#pos-prop for example...

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

          1 Reply Last reply
          1

          • Login

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