Changeset View
Changeset View
Standalone View
Standalone View
sidebar/package/contents/ui/introPage.qml
Show All 10 Lines | 1 | /* | |||
---|---|---|---|---|---|
11 | Library General Public License for more details. | 11 | Library General Public License for more details. | ||
12 | 12 | | |||
13 | You should have received a copy of the GNU Library General Public License | 13 | You should have received a copy of the GNU Library General Public License | ||
14 | along with this library; see the file COPYING.LIB. If not, write to | 14 | along with this library; see the file COPYING.LIB. If not, write to | ||
15 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 15 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
16 | Boston, MA 02110-1301, USA. | 16 | Boston, MA 02110-1301, USA. | ||
17 | */ | 17 | */ | ||
18 | 18 | | |||
19 | import QtQuick 2.1 | 19 | import QtQuick 2.5 | ||
20 | import QtQuick.Controls 2.5 as QQC2 | ||||
20 | import QtQuick.Layouts 1.1 | 21 | import QtQuick.Layouts 1.1 | ||
21 | import QtQuick.Controls 2.0 as Controls | 22 | | ||
22 | import org.kde.kirigami 2.1 as Kirigami | 23 | import org.kde.kirigami 2.5 as Kirigami | ||
23 | 24 | | |||
24 | Rectangle { | 25 | Rectangle { | ||
25 | id: root | 26 | id: root | ||
26 | color: Kirigami.Theme.backgroundColor | 27 | color: Kirigami.Theme.backgroundColor | ||
27 | 28 | | |||
28 | signal focusNextRequest() | 29 | signal focusNextRequest() | ||
29 | signal focusPreviousRequest() | 30 | signal focusPreviousRequest() | ||
30 | 31 | | |||
Show All 13 Lines | 40 | ColumnLayout { | |||
44 | } | 45 | } | ||
45 | Kirigami.Icon { | 46 | Kirigami.Icon { | ||
46 | Layout.alignment: Qt.AlignHCenter | 47 | Layout.alignment: Qt.AlignHCenter | ||
47 | source: "preferences-system" | 48 | source: "preferences-system" | ||
48 | width: Kirigami.Units.iconSizes.enormous | 49 | width: Kirigami.Units.iconSizes.enormous | ||
49 | height: width | 50 | height: width | ||
50 | opacity: 0.3 | 51 | opacity: 0.3 | ||
51 | } | 52 | } | ||
52 | Controls.Label { | 53 | QQC2.Label { | ||
53 | Layout.alignment: Qt.AlignHCenter | 54 | Layout.alignment: Qt.AlignHCenter | ||
54 | text: i18n("System Settings") | 55 | text: i18n("System Settings") | ||
55 | } | 56 | } | ||
56 | } | 57 | } | ||
57 | Kirigami.Separator { | 58 | Kirigami.Separator { | ||
58 | id: separator | 59 | id: separator | ||
59 | anchors.centerIn: parent | 60 | anchors.centerIn: parent | ||
60 | width: Math.round(parent.width * 0.8) | 61 | width: Math.round(parent.width * 0.8) | ||
Show All 39 Lines |