Added Page element
ClosedPublic

Authored by niccolove on Mar 31 2020, 2:59 PM.

Details

Summary

Page element was missing. I added it.

Diff Detail

Repository
R242 Plasma Framework (Library)
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
niccolove created this revision.Mar 31 2020, 2:59 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptMar 31 2020, 2:59 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
niccolove requested review of this revision.Mar 31 2020, 2:59 PM
davidedmundson added inline comments.
src/declarativeimports/plasmacomponents3/Page.qml
3

when did you add it?

25

what background?

niccolove updated this revision to Diff 79004.Mar 31 2020, 3:51 PM

Used correct year and implicitWidth/Height code

niccolove marked 2 inline comments as done.Mar 31 2020, 3:52 PM

Could you add some explanation regarding what this is for? Ideally, both in the phab patch and also inline, as API docs.

Also shouldn't this be in PlasmaExtras?

Could you add some explanation regarding what this is for? Ideally, both in the phab patch and also inline, as API docs.

Also shouldn't this be in PlasmaExtras?

I'll explain here first to make sure it's correct: from what I was able to understand talking to Marco, plasmacomponents3 are QtQuick components with plasma style. In this case there is not a svg for a page in the desktoptheme, so this effectively just behaves like a normal Page component.

Could you add some explanation regarding what this is for? Ideally, both in the phab patch and also inline, as API docs.

Also shouldn't this be in PlasmaExtras?

I'll explain here first to make sure it's correct: from what I was able to understand talking to Marco, plasmacomponents3 are QtQuick components with plasma style. In this case there is not a svg for a page in the desktoptheme, so this effectively just behaves like a normal Page component.

Ah right, yeah. PC3 is indeed correct then. My bad!

ngraham accepted this revision.Mar 31 2020, 5:42 PM

LGTM but make sure @davidedmundson or another Plasma person agrees.

This revision is now accepted and ready to land.Mar 31 2020, 5:42 PM
mart accepted this revision.Apr 3 2020, 10:49 AM
This revision was automatically updated to reflect the committed changes.