[Calculator Runner] Add "Copy to clipboard" action
ClosedPublic

Authored by broulik on Jun 17 2016, 10:28 PM.

Details

Summary

This allows to copy the result of a calculation to the clipboard by clicking the "copy" icon next to it

Test Plan

Works. If I click on the result itself or press enter the krunner input field is changed to be the result as before. I have no idea where that happens though

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik updated this revision to Diff 4597.Jun 17 2016, 10:28 PM
broulik retitled this revision from to [Calculator Runner] Add "Copy to clipboard" action.
broulik updated this object.
broulik edited the test plan for this revision. (Show Details)
broulik added reviewers: Plasma, Plasma: Design.
broulik set the repository for this revision to R120 Plasma Workspace.
Restricted Application added a project: Plasma. · View Herald TranscriptJun 17 2016, 10:28 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Jun 18 2016, 6:51 PM
davidedmundson added a reviewer: davidedmundson.
This revision is now accepted and ready to land.Jun 18 2016, 6:51 PM
This revision was automatically updated to reflect the committed changes.
cfeck added a subscriber: cfeck.Jun 19 2016, 2:26 AM

The m_engine member is only available, when it uses the qalculate library instead of QScriptEngine.

Please add the missing #ifdef ENABLE_QALCULATE