[Interest] Qt Datetime display

Ramakanth Kesireddy rama.kesi at gmail.com
Sun Oct 7 11:42:28 CEST 2018


Is there any date time widget which would serve this purpose?

On Sun, 7 Oct, 2018, 14:34 Tomasz Olszak, <olszak.tomasz at gmail.com> wrote:

> 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/2a116bf2/attachment.html>


More information about the Interest mailing list