Commit 4c691ce0 authored by Krešimir Čohar's avatar Krešimir Čohar

[batterymonitor] Port Battery and Brightness settings to QQC2 and Kirigami

Test Plan:
Before
{F6633708}
After
{F6633709}

Reviewers: #vdg, #plasma, ngraham

Reviewed By: #vdg, ngraham

Subscribers: ngraham, filipf, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19295
parent 05aaebc9
......@@ -17,24 +17,23 @@
*/
import QtQuick 2.0
import QtQuick.Controls 1.0 as QtControls
import QtQuick.Layouts 1.0 as QtLayouts
import org.kde.plasma.core 2.0 as PlasmaCore
import QtQuick.Controls 2.5
import org.kde.kirigami 2.4 as Kirigami
Item {
id: root
implicitWidth: pageColumn.implicitWidth
implicitHeight: pageColumn.implicitHeight
width: pageColumn.width
height: pageColumn.height
property alias cfg_showPercentage: showPercentage.checked
QtLayouts.ColumnLayout {
Kirigami.FormLayout {
id: pageColumn
anchors.left: parent.left
anchors.right: parent.right
QtControls.CheckBox {
CheckBox {
id: showPercentage
text: i18n("Show percentage")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment