<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Time in QT gui]]></title><description><![CDATA[<p dir="auto">can anyone tell me how to display current running time on the Gui as a lable or any other widget...?</p>
]]></description><link>https://forum.qt.io/topic/138403/time-in-qt-gui</link><generator>RSS for Node</generator><lastBuildDate>Wed, 06 May 2026 06:08:51 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/138403.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Aug 2022 12:24:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Time in QT gui on Fri, 05 Aug 2022 14:35:30 GMT]]></title><description><![CDATA[<p dir="auto">In addition to <a class="plugin-mentions-user plugin-mentions-a" href="/user/mchinand">@<bdi>mchinand</bdi></a>, there's also the <a href="https://doc.qt.io/qt-6/qtwidgets-widgets-analogclock-example.html" target="_blank" rel="noopener noreferrer nofollow ugc">Analog Clock example</a> for a less digital looking UI.</p>
]]></description><link>https://forum.qt.io/post/723953</link><guid isPermaLink="true">https://forum.qt.io/post/723953</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 05 Aug 2022 14:35:30 GMT</pubDate></item><item><title><![CDATA[Reply to Time in QT gui on Fri, 05 Aug 2022 13:45:26 GMT]]></title><description><![CDATA[<p dir="auto">See the <a href="https://doc.qt.io/qt-6/qtwidgets-widgets-digitalclock-example.html" target="_blank" rel="noopener noreferrer nofollow ugc">digital clock example</a> on how to use a QTimer to display the time. You could sub-class QLabel instead of QLCDNumber as in the example and use its <code>setText()</code> method to display the current time when the slot is called.</p>
]]></description><link>https://forum.qt.io/post/723947</link><guid isPermaLink="true">https://forum.qt.io/post/723947</guid><dc:creator><![CDATA[mchinand]]></dc:creator><pubDate>Fri, 05 Aug 2022 13:45:26 GMT</pubDate></item><item><title><![CDATA[Reply to Time in QT gui on Fri, 05 Aug 2022 13:41:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto"><a href="https://doc.qt.io/qt-6/qtime.html" target="_blank" rel="noopener noreferrer nofollow ugc">QTime</a><br />
<a href="https://doc.qt.io/qt-6/qtimer.html" target="_blank" rel="noopener noreferrer nofollow ugc">QTimer</a><br />
<a href="https://doc.qt.io/qt-6/qlabel.html" target="_blank" rel="noopener noreferrer nofollow ugc">QLabel</a></p>
<p dir="auto">Use a one second QTimer to trigger a slot into which you grab the current time using QTime and show the string representation of it on a QLabel.</p>
]]></description><link>https://forum.qt.io/post/723946</link><guid isPermaLink="true">https://forum.qt.io/post/723946</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 05 Aug 2022 13:41:35 GMT</pubDate></item></channel></rss>