Solved Need help in understanding Qt documentation
-
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 -
Hi @thippu
Have you already looked at the documenation? http://doc.qt.io/qt-5/qdial-members.html
-
@aha_1980 Yes Bro I did ,but nothing l'm understanding
-
Hi,
IIRC, QDial has no option to show the values of the notch.
You might want to consider Qwt's QwtDial to achieve that.
-
@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?
-
There's not much to it: read the "details" of the class you are looking for.
Take a look at the examples and tutorials. -
@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! -
Have you set
singleStep
? For me that was needed to see the notches.ui->dial->setSingleStep(1);
Regards.
-
@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 -
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.