<?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[Trouble with QValidator and editingFinished()]]></title><description><![CDATA[<p dir="auto">Hey,</p>
<p dir="auto">I got a QLineEdit Field connected with a editingFinished() signal. It should do an action when the QLineEdit field is empty. Thats works fine. But now i would like add a QValidator to the filed, like this:<br />
@<br />
v = new QIntValidator(0, 999, this);<br />
field-&gt;setValidator(v);<br />
@</p>
<p dir="auto">Now the problem is, when the field goes empty the editingFinished() won't called. Is there any way to do this with a QValidator?</p>
]]></description><link>https://forum.qt.io/topic/47599/trouble-with-qvalidator-and-editingfinished</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 01:50:30 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/47599.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Oct 2014 13:47:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Trouble with QValidator and editingFinished() on Thu, 30 Oct 2014 15:01:49 GMT]]></title><description><![CDATA[<p dir="auto">Yes that works perfectly. Thank you! :)</p>
]]></description><link>https://forum.qt.io/post/249574</link><guid isPermaLink="true">https://forum.qt.io/post/249574</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 30 Oct 2014 15:01:49 GMT</pubDate></item><item><title><![CDATA[Reply to Trouble with QValidator and editingFinished() on Thu, 30 Oct 2014 14:08:47 GMT]]></title><description><![CDATA[<p dir="auto">Hey, try this<br />
@field-&gt;setValidator(new QRegExpValidator(QRegExp("\d{0,3}")));@</p>
]]></description><link>https://forum.qt.io/post/249563</link><guid isPermaLink="true">https://forum.qt.io/post/249563</guid><dc:creator><![CDATA[ElboyQt]]></dc:creator><pubDate>Thu, 30 Oct 2014 14:08:47 GMT</pubDate></item></channel></rss>