This splits the timer plasmoid into main.qml and TimerView.qml. The
main difference is that the plasmoid can define compactRepresentation.
BUG: 353090
mart |
Plasma |
This splits the timer plasmoid into main.qml and TimerView.qml. The
main difference is that the plasmoid can define compactRepresentation.
BUG: 353090
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
This is my first attempt at writing QML. I was not sure of how to idiomatically call methods in the TimerView subobject from the Main.qml Plasmoid. I used signal opacityNeedsReset() and signal digitHasChanged() and connected them to slots in the subobject. The plasmoid seems to work as expected, and bug https://bugs.kde.org/show_bug.cgi?id=353090 is fixed.