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. progress bar
Forum Updated to NodeBB v4.3 + New Features

progress bar

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

    How to create a network strength stylesheet for progress bar using in qt c++?

    sierdzioS 1 Reply Last reply
    0
    • R Rockerz

      How to create a network strength stylesheet for progress bar using in qt c++?

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Network strength stylesheet? What do you mean?

      (Z(:^

      R 1 Reply Last reply
      1
      • sierdzioS sierdzio

        Network strength stylesheet? What do you mean?

        R Offline
        R Offline
        Rockerz
        wrote on last edited by Rockerz
        #3

        @sierdzio ddc2f7aa-1888-473e-b50a-b5c0f7a0b7c4-Screenshot 2023-09-26 120445.png
        How to create stylesheet for this ?
        I'm using horizontal slider if slider value changed setting the progress bar value

        sierdzioS 1 Reply Last reply
        0
        • R Rockerz

          @sierdzio ddc2f7aa-1888-473e-b50a-b5c0f7a0b7c4-Screenshot 2023-09-26 120445.png
          How to create stylesheet for this ?
          I'm using horizontal slider if slider value changed setting the progress bar value

          sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          I'd just use a QLabel and change the image based on signal strength.

          (Z(:^

          R 1 Reply Last reply
          0
          • sierdzioS sierdzio

            I'd just use a QLabel and change the image based on signal strength.

            R Offline
            R Offline
            Rockerz
            wrote on last edited by
            #5

            @sierdzio Using a progress bar and slider already set the limits progressbar->setrange(0,100)
            increasing value by 10 ,decreasing the value by 10 if slider value changed
            how to design that progress bar like above image

            sierdzioS 1 Reply Last reply
            0
            • R Rockerz

              @sierdzio Using a progress bar and slider already set the limits progressbar->setrange(0,100)
              increasing value by 10 ,decreasing the value by 10 if slider value changed
              how to design that progress bar like above image

              sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              @Rockerz you can use the chunk property for this in the stylesheet, but it won't allow you to show different size of the bar I think: https://doc.qt.io/qt-6/stylesheet-reference.html#chunk-sub

              (Z(:^

              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