QLCDNumber blocked at 99999
Solved
General and Desktop
-
Hi,
from doc : "It can display a number in just about any size"In my app a QLCDNumber is displaying some counter value (incremented non stop every second), but when counter is greater than 99999 QLCDNumber blocks with 99999.
What can cause this ?QObject::connect(ui->vncView,&QVNCClientWidget::incUpdated,[=](const int &newInc){ ui->lcdNumber->display(newInc); });
-
hi @LeLev
setDigitCount is your friend here,
the default value is 5, can be set to anything between 0 and 99