Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Text over a ScrollBar
Forum Update on Monday, May 27th 2025

Text over a ScrollBar

Scheduled Pinned Locked Moved Solved QML and Qt Quick
5 Posts 2 Posters 397 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.
  • A Offline
    A Offline
    Anita
    wrote on last edited by
    #1

    Can we have a text over a scrollBar ? For Ex: Is it possible to display a timeframe over a scrollBar?

    jsulmJ 1 Reply Last reply
    0
    • A Anita

      Can we have a text over a scrollBar ? For Ex: Is it possible to display a timeframe over a scrollBar?

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

      @Anita Can you describe your use case? Wouldn't be a QSlider better?

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

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Anita
        wrote on last edited by
        #3

        @jsulm

        Hi ... I am using scrollBar in Tableview . I wanted to place timeframes on the horizontal scrollBar.

        I will be using text and placing it over the scrollBar.

        Thank you.

        jsulmJ 1 Reply Last reply
        0
        • A Anita

          @jsulm

          Hi ... I am using scrollBar in Tableview . I wanted to place timeframes on the horizontal scrollBar.

          I will be using text and placing it over the scrollBar.

          Thank you.

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

          @Anita Can't you put a QLabel (or whatever suits you) just above the scroll bar and put the text there?

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

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Anita
            wrote on last edited by
            #5

            @jsulm
            Yes. I can place a text or a label over the ScrollBar. It works.
            Thank 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