<?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[Need help on Qt Undo framework]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I want to implement Qt undo/redo framework in my project. I have a QGridLayout with 6 QComboBoxes and a QLineEdit and a few labels arranged properly. Now when user modifies value of lineedit or combobox, I need to capture the changes and have to provide undo/redo option for the values.</p>
<p dir="auto">Please let me know how to start with this feature. Since we need to push QUndoCommand do we need to have all the widgets and their values inherited from QUndoCommand.</p>
<p dir="auto">Kindly share your views. Thanks in advance.</p>
<p dir="auto">Best regards,<br />
Haney....</p>
]]></description><link>https://forum.qt.io/topic/43565/need-help-on-qt-undo-framework</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 16:58:21 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/43565.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Jul 2014 06:29:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Need help on Qt Undo framework on Fri, 11 Jul 2014 22:07:30 GMT]]></title><description><![CDATA[<p dir="auto">Then if it's just a question of setting some values back, you can create a QUndoCommand derived class for each type of widget and you should be good to go.</p>
]]></description><link>https://forum.qt.io/post/235550</link><guid isPermaLink="true">https://forum.qt.io/post/235550</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 11 Jul 2014 22:07:30 GMT</pubDate></item><item><title><![CDATA[Reply to Need help on Qt Undo framework on Fri, 11 Jul 2014 07:15:25 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for ur reply. Yes, I went thru the Undo framework example.<br />
My feature requirement is simple, I have widgets and associated signals and slots which is done and fine. Now any user changes to widgets values, I want to enable undo/redo options accordingly.</p>
]]></description><link>https://forum.qt.io/post/235461</link><guid isPermaLink="true">https://forum.qt.io/post/235461</guid><dc:creator><![CDATA[haney]]></dc:creator><pubDate>Fri, 11 Jul 2014 07:15:25 GMT</pubDate></item><item><title><![CDATA[Reply to Need help on Qt Undo framework on Fri, 11 Jul 2014 06:59:19 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">It all depends on how things are related between your widgets. Did you already looked at the "Undo Framework Example" ?</p>
]]></description><link>https://forum.qt.io/post/235450</link><guid isPermaLink="true">https://forum.qt.io/post/235450</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 11 Jul 2014 06:59:19 GMT</pubDate></item></channel></rss>