Unsuccessful attempt to make KSignalPlotter render sharp chart in HiDPI display
AbandonedPublic

Authored by guoyunhe on Sep 10 2019, 1:22 PM.

Details

Reviewers
None
Group Reviewers
Plasma
Summary

I changed all QPainter functions to qreal functions. But this didn't make the line chart sharp in HiDPI.

The latest result I get:

It seems more sharper, but the lines are broken and the whole chart is shrunk.

Diff Detail

Repository
R111 KSysguard Library
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16330
Build 16348: arc lint + arc unit
guoyunhe created this revision.Sep 10 2019, 1:22 PM
Restricted Application added a project: Plasma. · View Herald TranscriptSep 10 2019, 1:22 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
guoyunhe requested review of this revision.Sep 10 2019, 1:22 PM
guoyunhe updated this revision to Diff 65765.Sep 10 2019, 2:49 PM

continue trying

guoyunhe edited the summary of this revision. (Show Details)Sep 10 2019, 2:51 PM

CPU/IO Plasma widgets work pretty well in HiDPI screen. It should be solved if we make it a QML component, reusing the part from Plasma widgets.

guoyunhe abandoned this revision.Dec 16 2019, 8:45 AM