<table><tr><td style="">vkrause created this revision.<br />vkrause added a reviewer: svuorela.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />vkrause requested review of this revision.
</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/D27989">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>preferredSize() is an improvement over what minimumSize() used to do,<br />
with taking the device pixel ratio into account. Additionally it also<br />
works correctly for 1D codes now (ie. those are now scannable on a<br />
standard DPI screen).</p>
<p>trueMinimumSize() is what minimumSize() should have been, ie. the absolute<br />
minimum amount of pixels needed to display the code. This is mainly useful<br />
for applications doing their own layouting/scaling logic, beyond what<br />
preferredSize() offers.</p>
<p>minimumSize() becomes deprecated by this, the deprecation macros will<br />
follow once the current users have been adjusted.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R280 Prison</div></div></div><br /><div><strong>BRANCH</strong><div><div>pending</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27989">https://phabricator.kde.org/D27989</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/aztecbarcodetest.cpp<br />
autotests/code128barcodetest.cpp<br />
src/lib/abstractbarcode.cpp<br />
src/lib/abstractbarcode.h<br />
src/quick/barcodequickitem.cpp</div></div></div><br /><div><strong>To: </strong>vkrause, svuorela<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns<br /></div>