Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. Need help in understanding Qt documentation
Forum Updated to NodeBB v4.3 + New Features

Need help in understanding Qt documentation

Scheduled Pinned Locked Moved Solved C++ Gurus
10 Posts 3 Posters 3.0k 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.
  • T Offline
    T Offline
    thippu
    wrote on last edited by
    #1

    Hi,
    I trying to understand Qt and developing applications
    I struck in unerstanding documentation and there is no videos about QDial class, how to set notches and how to display numbers on dial?
    So, I have to go through the Qt documentation and let me know tips and helpful ideas to understand documentation and if there any examples or videos plz give me link

    aha_1980A 1 Reply Last reply
    0
    • T thippu

      Hi,
      I trying to understand Qt and developing applications
      I struck in unerstanding documentation and there is no videos about QDial class, how to set notches and how to display numbers on dial?
      So, I have to go through the Qt documentation and let me know tips and helpful ideas to understand documentation and if there any examples or videos plz give me link

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @thippu

      Have you already looked at the documenation? http://doc.qt.io/qt-5/qdial-members.html

      Qt has to stay free or it will die.

      T 1 Reply Last reply
      0
      • aha_1980A aha_1980

        Hi @thippu

        Have you already looked at the documenation? http://doc.qt.io/qt-5/qdial-members.html

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

        @aha_1980 Yes Bro I did ,but nothing l'm understanding

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          IIRC, QDial has no option to show the values of the notch.

          You might want to consider Qwt's QwtDial to achieve that.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          T 1 Reply Last reply
          3
          • SGaistS SGaist

            Hi,

            IIRC, QDial has no option to show the values of the notch.

            You might want to consider Qwt's QwtDial to achieve that.

            T Offline
            T Offline
            thippu
            wrote on last edited by thippu
            #5

            @SGaist Thanks for the responding,I will go through what u said!.

            Can say any tips to study qt documentation and any suggestions?like how to refer them to develop applications?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              There's not much to it: read the "details" of the class you are looking for.
              Take a look at the examples and tutorials.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              T 1 Reply Last reply
              3
              • SGaistS SGaist

                There's not much to it: read the "details" of the class you are looking for.
                Take a look at the examples and tutorials.

                T Offline
                T Offline
                thippu
                wrote on last edited by
                #7

                @SGaist , @aha_1980 , @VRonin I'm using Qdial widget to show round dialler with min value=1.00 to max 5.00
                I would like to show these ranges on rounded dialler.Is that possible?
                here is the code:

                 ui->dial->setMinimum(0.00);
                    ui->dial->setMaximum(5.00);
                    qDebug()<<ui->dial->notchesVisible();
                   
                    ui->dial->setNotchesVisible(true);
                

                It'snt happing even though notchVisible() returns true.
                can suggest me!

                aha_1980A 1 Reply Last reply
                0
                • T thippu

                  @SGaist , @aha_1980 , @VRonin I'm using Qdial widget to show round dialler with min value=1.00 to max 5.00
                  I would like to show these ranges on rounded dialler.Is that possible?
                  here is the code:

                   ui->dial->setMinimum(0.00);
                      ui->dial->setMaximum(5.00);
                      qDebug()<<ui->dial->notchesVisible();
                     
                      ui->dial->setNotchesVisible(true);
                  

                  It'snt happing even though notchVisible() returns true.
                  can suggest me!

                  aha_1980A Offline
                  aha_1980A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @thippu

                  Have you set singleStep? For me that was needed to see the notches.

                  ui->dial->setSingleStep(1);
                  

                  Regards.

                  Qt has to stay free or it will die.

                  T 1 Reply Last reply
                  1
                  • aha_1980A aha_1980

                    @thippu

                    Have you set singleStep? For me that was needed to see the notches.

                    ui->dial->setSingleStep(1);
                    

                    Regards.

                    T Offline
                    T Offline
                    thippu
                    wrote on last edited by
                    #9

                    @aha_1980 Yes,but it should show numbers such that 1 2 3 4 5 6 around the dialler?
                    Its not happeing!!!
                    what to do

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      As I already wrote earlier: no.

                      QDial is a QAbstractSlider and there's no value painted. Hence my earlier suggestion to use QwtDial which provides more customisable dial control that should fit your needs.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      6

                      • Login

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