[Interest] Qt Datetime display

Tomasz Olszak olszak.tomasz at gmail.com
Sun Oct 7 11:04:37 CEST 2018

I don't think there is something better. You may consider using
VeryCoarseTimer to minimize performance impact. You may also track and
check if label is visible and only then run timer.

niedz., 7 paź 2018, 07:02 użytkownik Ramakanth Kesireddy <
rama.kesi at gmail.com> napisał:

> Hi,
> I would like to display date time(YYYYMMDDHHMMSS) in a QLabel.
> Instead of fetching current datetime using QDateTime::currentdatetime()
> and updating value in a timer, is there any other recommended means to
> display the same?
> Thanks and Regards,
> Ramakanth
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181007/f177c35c/attachment.html>

More information about the Interest mailing list