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. Widget to show force
Qt 6.11 is out! See what's new in the release blog

Widget to show force

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 1.6k 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.
  • K Offline
    K Offline
    k_kaz
    wrote on last edited by k_kaz
    #1

    Hi, i am using Qt 5.8, and i want a widget to show force. Something like a progress bar, but not exactly like a progress bar. I just want to show the value of a force in Newton, that i currently update in a QLabel. Are there any fast and easy to use options?

    Venkatesh VV 1 Reply Last reply
    0
    • K k_kaz

      Hi, i am using Qt 5.8, and i want a widget to show force. Something like a progress bar, but not exactly like a progress bar. I just want to show the value of a force in Newton, that i currently update in a QLabel. Are there any fast and easy to use options?

      Venkatesh VV Offline
      Venkatesh VV Offline
      Venkatesh V
      wrote on last edited by
      #2

      @k_kaz
      Hi,
      Welcome to Qt forum,
      Have a look on QDial class.

      K 1 Reply Last reply
      2
      • Venkatesh VV Venkatesh V

        @k_kaz
        Hi,
        Welcome to Qt forum,
        Have a look on QDial class.

        K Offline
        K Offline
        k_kaz
        wrote on last edited by
        #3

        @Venkatesh-V Thanks for the reply! Something like this would do the job, though, it would be better if the widget is in a horizontal manner, like a progress bar. I don't want to control anything from the widget, i just want to show a force value.

        1 Reply Last reply
        1
        • Pradeep KumarP Offline
          Pradeep KumarP Offline
          Pradeep Kumar
          wrote on last edited by
          #4

          Hi,

          Where do u get the value from to show a force value?., and if u dnt want to depend on widget, use QTimer and QDial as said by @Venkatesh-V .

          Thanks,

          Pradeep Kumar
          Qt,QML Developer

          K 1 Reply Last reply
          1
          • Pradeep KumarP Pradeep Kumar

            Hi,

            Where do u get the value from to show a force value?., and if u dnt want to depend on widget, use QTimer and QDial as said by @Venkatesh-V .

            Thanks,

            K Offline
            K Offline
            k_kaz
            wrote on last edited by
            #5

            @Pradeep-Kumar The value itself comes from an Analog input through a device driver.

            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