scale property for KScreen::Output
ClosedPublic

Authored by sebas on Nov 8 2016, 5:11 PM.

Details

Summary

This adds a scale property to KScreen::Output. By default, it's 1.0,
which means no scaling. The value is a qreal, and the conversion to int
for the backends that only understand int is made in the underlying
backend code. RFC. :)

Test Plan

autotests included

Diff Detail

Repository
R110 KScreen Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sebas updated this revision to Diff 8027.Nov 8 2016, 5:11 PM
sebas retitled this revision from to scale property for KScreen::Output.
sebas updated this object.
sebas edited the test plan for this revision. (Show Details)
sebas added a reviewer: graesslin.
sebas added a subscriber: davidedmundson.
Restricted Application added a project: Plasma. · View Herald TranscriptNov 8 2016, 5:11 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sebas updated this revision to Diff 8028.Nov 8 2016, 5:13 PM
  • parse scale from json files
davidedmundson accepted this revision.Nov 8 2016, 6:01 PM
davidedmundson added a reviewer: davidedmundson.

we probably don't want the qDebug line though

This revision is now accepted and ready to land.Nov 8 2016, 6:01 PM
This revision was automatically updated to reflect the committed changes.