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
-
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! -
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.