<table><tr><td style="">broulik updated this revision to Diff 29479.<br />broulik retitled this revision from "WIP: [KLineEdit] Use Qt's built-in clear button functionality" to "[KLineEdit] Use Qt's built-in clear button functionality".<br />broulik edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-m37tcfuasbsvs65/">(Show Details)</a><br />broulik edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-b3bmsvin7m5c3ql/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9221">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">TODO<br />
* Figure out how to get the clear button used size (though from what I can tell it's only used by kcombobox and khtml</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">It saves the need to create a `QProxyStyle` which creates a separate `QStyle` instance for itself and Breeze widget style is quite heavy to load.</span></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Tests still pass<br />
Played around in klineedittest and it worked fine<br />
Also verified that the buttonUsedSize is roughly (same width, slightly taller) the same size as it used to be.<br />
KLineEdit no longer shows up in profiler</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R284 KCompletion</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D9221?vs=23546&id=29479">https://phabricator.kde.org/D9221?vs=23546&id=29479</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9221">https://phabricator.kde.org/D9221</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/klineedit.cpp<br />
src/klineedit.h<br />
src/klineedit_p.h</div></div></div><br /><div><strong>To: </strong>broulik, Frameworks<br /><strong>Cc: </strong>michaelh, ngraham<br /></div>