Need help in understanding Qt documentation
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_1980 Yes Bro I did ,but nothing l'm understanding
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.
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.
@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.