vkrause created this revision.
vkrause added a reviewer: svuorela.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
vkrause requested review of this revision.

REVISION SUMMARY
  preferredSize() is an improvement over what minimumSize() used to do,
  with taking the device pixel ratio into account. Additionally it also
  works correctly for 1D codes now (ie. those are now scannable on a
  standard DPI screen).
  
  trueMinimumSize() is what minimumSize() should have been, ie. the absolute
  minimum amount of pixels needed to display the code. This is mainly useful
  for applications doing their own layouting/scaling logic, beyond what
  preferredSize() offers.
  
  minimumSize() becomes deprecated by this, the deprecation macros will
  follow once the current users have been adjusted.

REPOSITORY
  R280 Prison

BRANCH
  pending

REVISION DETAIL
  https://phabricator.kde.org/D27989

AFFECTED FILES
  autotests/aztecbarcodetest.cpp
  autotests/code128barcodetest.cpp
  src/lib/abstractbarcode.cpp
  src/lib/abstractbarcode.h
  src/quick/barcodequickitem.cpp

To: vkrause, svuorela
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns

Reply via email to