Add feature to save sensor displays as images
Needs RevisionPublic

Authored by ghost46 on Oct 15 2018, 11:21 AM.

Details

Reviewers
davidedmundson
Group Reviewers
Plasma
Summary

This adds an item to the context menu in the sensor displays with an option to save them as a PNG image. Below are a few example images generated by this feature:

Diff Detail

Repository
R106 KSysguard
Lint
Lint Skipped
Unit
Unit Tests Skipped
ghost46 created this revision.Oct 15 2018, 11:21 AM
Restricted Application added a project: Plasma. · View Herald TranscriptOct 15 2018, 11:21 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
ghost46 requested review of this revision.Oct 15 2018, 11:21 AM
ngraham added a subscriber: ngraham.
davidedmundson requested changes to this revision.Nov 20 2018, 2:37 PM
davidedmundson added a subscriber: davidedmundson.

seems an ok feature.

gui/SensorDisplayLib/SensorDisplay.cpp
401

i18n

407
418

why not just save the image from gl->grabFramebuffer() instead of painting it from one image to another.

This revision now requires changes to proceed.Nov 20 2018, 2:37 PM