Commit 7014ca2f authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Use white background for main pages

parent 1099352f
...@@ -27,6 +27,9 @@ import org.kde.newstuff 1.0 as KNS ...@@ -27,6 +27,9 @@ import org.kde.newstuff 1.0 as KNS
Kirigami.Page { Kirigami.Page {
id: root id: root
title: i18n("Download Training Material") title: i18n("Download Training Material")
background: Rectangle {
color: "#ffffff"
}
Component { Component {
id: courseDownloadItem id: courseDownloadItem
......
...@@ -29,6 +29,9 @@ Kirigami.Page { ...@@ -29,6 +29,9 @@ Kirigami.Page {
Layout.fillWidth: true Layout.fillWidth: true
title: i18n("Configure Profile") title: i18n("Configure Profile")
background: Rectangle {
color: "#ffffff"
}
readonly property Learner profile: g_profileManager.activeProfile readonly property Learner profile: g_profileManager.activeProfile
......
...@@ -22,15 +22,19 @@ ...@@ -22,15 +22,19 @@
import QtQuick 2.5 import QtQuick 2.5
import QtQuick.Shapes 1.10 import QtQuick.Shapes 1.10
import QtQuick.Controls 2.3 as QQC2 import QtQuick.Controls 2.3 as QQC2
import org.kde.kirigami 2.0 as Kirigami2 import org.kde.kirigami 2.7 as Kirigami
import artikulate 1.0 import artikulate 1.0
Kirigami2.Page { Kirigami.Page {
id: root id: root
readonly property color colorTask: "#1dbf4e" readonly property color colorTask: "#1dbf4e"
readonly property color colorAnswer: "#7e48a5" readonly property color colorAnswer: "#7e48a5"
background: Rectangle {
color: "#ffffff"
}
title: { title: {
var titleString = ""; var titleString = "";
if (g_trainingSession.unit === null) { if (g_trainingSession.unit === null) {
...@@ -45,13 +49,13 @@ Kirigami2.Page { ...@@ -45,13 +49,13 @@ Kirigami2.Page {
return titleString return titleString
} }
actions { actions {
main: Kirigami2.Action { main: Kirigami.Action {
text: i18n("Next") text: i18n("Next")
tooltip: i18n("Mark current phrase as completed and proceed with next one.") tooltip: i18n("Mark current phrase as completed and proceed with next one.")
iconName: "dialog-ok" iconName: "dialog-ok"
onTriggered: g_trainingSession.accept() onTriggered: g_trainingSession.accept()
} }
right: Kirigami2.Action { right: Kirigami.Action {
text: i18n("Skip") text: i18n("Skip")
tooltip: i18n("Skip current phrase and proceed with next one.") tooltip: i18n("Skip current phrase and proceed with next one.")
iconName: "go-next" iconName: "go-next"
......
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