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. Is there a way to create a round meter with data received via serial communication ?
Forum Updated to NodeBB v4.3 + New Features

Is there a way to create a round meter with data received via serial communication ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
16 Posts 4 Posters 3.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.
  • S segtteee

    @jsulm
    Is there any way to create it using qt creator without installing it separately

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

    @segtteee Create what? Installing what?

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

    S D 2 Replies Last reply
    0
    • 6thC6 Offline
      6thC6 Offline
      6thC
      wrote on last edited by
      #5

      Well, you can recreate "CircularGauge QML Type" yourself, sure.

      If you want to use the actual "CircularGauge QML Type" it says right there:

      import QtQuick.Extras 1.4
      

      This uses QtQuick.Extras.
      Controls v2 https://doc.qt.io/qt-5/qtquickcontrols2-differences.html does not seem to have an counterpart or alternative.

      1 Reply Last reply
      0
      • jsulmJ jsulm

        @segtteee Create what? Installing what?

        S Offline
        S Offline
        segtteee
        wrote on last edited by
        #6

        @jsulm
        I want to make what is on the link above..

        jsulmJ 1 Reply Last reply
        0
        • jsulmJ jsulm

          @segtteee Create what? Installing what?

          D Offline
          D Offline
          Devopia53
          wrote on last edited by
          #7

          @jsulm

          Perhaps QWidget based gauge is what he wants.

          1 Reply Last reply
          0
          • S segtteee

            @jsulm
            I want to make what is on the link above..

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

            @segtteee Did you check QDial? http://doc.qt.io/qt-5.9/qdial.html

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

            S 1 Reply Last reply
            0
            • jsulmJ jsulm

              @segtteee Did you check QDial? http://doc.qt.io/qt-5.9/qdial.html

              S Offline
              S Offline
              segtteee
              wrote on last edited by
              #9

              @jsulm
              How can I see this in ui? Just add it to the code?

              jsulmJ 1 Reply Last reply
              0
              • S segtteee

                @jsulm
                How can I see this in ui? Just add it to the code?

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

                @segtteee Depends on how you create your UI: either via code or in the Qt Designer. How are you doing your UI?

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

                S 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @segtteee Depends on how you create your UI: either via code or in the Qt Designer. How are you doing your UI?

                  S Offline
                  S Offline
                  segtteee
                  wrote on last edited by
                  #11

                  @jsulm
                  I made project in qt creator, using design tab . I made it with the items there.
                  not using qt designer.

                  jsulmJ 1 Reply Last reply
                  0
                  • S segtteee

                    @jsulm
                    I made project in qt creator, using design tab . I made it with the items there.
                    not using qt designer.

                    jsulmJ Online
                    jsulmJ Online
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #12

                    @segtteee What do you mean by "design tab"? The Qt Designer is integrated in QtCreator - so I guess you're using it. Then see under "Input Widgets".

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

                    S 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @segtteee What do you mean by "design tab"? The Qt Designer is integrated in QtCreator - so I guess you're using it. Then see under "Input Widgets".

                      S Offline
                      S Offline
                      segtteee
                      wrote on last edited by
                      #13

                      @jsulm
                      0_1506402081212_dial.png
                      I made this on my ui. But what if i want to change the value? (From the device) like if device value change → dial value change

                      jsulmJ 1 Reply Last reply
                      0
                      • S segtteee

                        @jsulm
                        0_1506402081212_dial.png
                        I made this on my ui. But what if i want to change the value? (From the device) like if device value change → dial value change

                        jsulmJ Online
                        jsulmJ Online
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #14

                        @segtteee Well, now you need to start to read documentation: http://doc.qt.io/qt-5.9/qdial-members.html
                        This one is what you need: http://doc.qt.io/qt-5.9/qabstractslider.html#value-prop

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

                        1 Reply Last reply
                        0
                        • 6thC6 Offline
                          6thC6 Offline
                          6thC
                          wrote on last edited by
                          #15

                          And, for non widgets...

                          https://doc.qt.io/qt-5/qml-qtquick-controls2-dial.html

                          Or for older style QtQuick.Extras
                          https://doc.qt.io/qt-5/qml-qtquick-extras-dial.html

                          jsulmJ 1 Reply Last reply
                          0
                          • 6thC6 6thC

                            And, for non widgets...

                            https://doc.qt.io/qt-5/qml-qtquick-controls2-dial.html

                            Or for older style QtQuick.Extras
                            https://doc.qt.io/qt-5/qml-qtquick-extras-dial.html

                            jsulmJ Online
                            jsulmJ Online
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #16

                            @6thC He is explicitly asking for non QML/QtQuick solution...

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

                            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