<?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[How to set QDateTimeEdit&#x27;s Section using KeyPad (emulated by GPIO)]]></title><description><![CDATA[<p dir="auto">hi,all:<br />
I emulate GPIO as 12 Keys[0~9,*,#] in embedded linux without TouchScreen.<br />
In the GUI a QDateTimeEdit is used, it displays as "2011-04-18,12:22:30".<br />
as there is no more key I can use, I have to emulate key2,8,4,6 as up/down/left/right.<br />
Now I can use 4/6 to change the Section In QDateTimeEdit, implementing with qdatetimeedit-&gt;setCurrentSection().<br />
However, for example, when it moves to the YearSection,2011, how can I use KEY_UP(actual is key2) to increase the year?<br />
thanks a lot.</p>
]]></description><link>https://forum.qt.io/topic/5181/how-to-set-qdatetimeedit-s-section-using-keypad-emulated-by-gpio</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 21:38:54 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/5181.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Apr 2011 04:29:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to set QDateTimeEdit&#x27;s Section using KeyPad (emulated by GPIO) on Mon, 18 Apr 2011 12:10:20 GMT]]></title><description><![CDATA[<p dir="auto">i have figured it out, use stepDown() and setpUp() slot.</p>
]]></description><link>https://forum.qt.io/post/84551</link><guid isPermaLink="true">https://forum.qt.io/post/84551</guid><dc:creator><![CDATA[lanmanck]]></dc:creator><pubDate>Mon, 18 Apr 2011 12:10:20 GMT</pubDate></item></channel></rss>