Commit dfe1f0c9 authored by Sergey Chupligin's avatar Sergey Chupligin

[examples] Fix icon path

parent d744fc4f
...@@ -83,7 +83,7 @@ Item { ...@@ -83,7 +83,7 @@ Item {
anchors.right: parent.right anchors.right: parent.right
anchors.rightMargin: 20 anchors.rightMargin: 20
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
source: "../images/navigation_next_item.png" source: "/usr/share/glacier-components/images/navigation_next_item.png"
} }
MouseArea { MouseArea {
......
...@@ -79,7 +79,7 @@ Page { ...@@ -79,7 +79,7 @@ Page {
anchors.fill: parent anchors.fill: parent
border.bottom: size.dp(8) border.bottom: size.dp(8)
border.top: size.dp(8) border.top: size.dp(8)
source: styleData.selected ? "../images/tab_selected.png":"../images/tabs_standard.png" source: styleData.selected ? "/usr/share/glacier-components/images/tab_selected.png":"/usr/share/glacier-components/images/tabs_standard.png"
Text { Text {
anchors.centerIn: parent anchors.centerIn: parent
color: "white" color: "white"
......
...@@ -110,7 +110,7 @@ Page { ...@@ -110,7 +110,7 @@ Page {
implicitHeight: size.dp(50) implicitHeight: size.dp(50)
implicitWidth: size.dp(320) implicitWidth: size.dp(320)
BorderImage { BorderImage {
source: "../images/textinput.png" source: "/usr/share/glacier-components/images/textinput.png"
border.left: size.dp(8) border.left: size.dp(8)
border.right: size.dp(8) border.right: size.dp(8)
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
......
...@@ -126,9 +126,9 @@ ApplicationWindow { ...@@ -126,9 +126,9 @@ ApplicationWindow {
id: tools id: tools
title: "Nemo Touch Gallery" title: "Nemo Touch Gallery"
tools: [ ToolButton { iconSource: "../images/icon_cog.png"}, tools: [ ToolButton { iconSource: "/usr/share/glacier-components/images/icon_cog.png"},
ToolButton { iconSource: "../images/icon_edit.png"}, ToolButton { iconSource: "/usr/share/glacier-components/images/icon_edit.png"},
ToolButton { iconSource: "../images/icon_refresh.png"} ] ToolButton { iconSource: "/usr/share/glacier-components/images/icon_refresh.png"} ]
//The parent of these items is null when this ToolsLayout is not used //The parent of these items is null when this ToolsLayout is not used
//(i.e. you're on a different page) so we need to check the parent, //(i.e. you're on a different page) so we need to check the parent,
...@@ -176,19 +176,19 @@ ApplicationWindow { ...@@ -176,19 +176,19 @@ ApplicationWindow {
id: tool1 id: tool1
anchors.right: parent.right anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
iconSource: "../images/icon_cog.png" iconSource: "/usr/share/glacier-components/images/icon_cog.png"
} }
ToolButton { ToolButton {
id: tool2 id: tool2
anchors.right: tool1.left anchors.right: tool1.left
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
iconSource: "../images/icon_edit.png" iconSource: "/usr/share/glacier-components/images/icon_edit.png"
} }
ToolButton { ToolButton {
id: tool3 id: tool3
anchors.right: tool2.left anchors.right: tool2.left
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
iconSource: "../images/icon_refresh.png" iconSource: "/usr/share/glacier-components/images/icon_refresh.png"
} }
}, },
ButtonRow { ButtonRow {
......
...@@ -40,7 +40,7 @@ Item { ...@@ -40,7 +40,7 @@ Item {
Image { Image {
anchors.centerIn: parent anchors.centerIn: parent
source: "../Styles/Nemo/images/icon-triangle-left.png" source: "/usr/lib/qt5/qml/QtQuick/Controls/Styles/Nemo/images/icon-triangle-left.png"
} }
MouseArea { MouseArea {
...@@ -114,7 +114,7 @@ Item { ...@@ -114,7 +114,7 @@ Item {
verticalCenter: parent.verticalCenter verticalCenter: parent.verticalCenter
} }
visible: drawerLevels && drawerLevels.length > 1 visible: drawerLevels && drawerLevels.length > 1
source: "../Styles/Nemo/images/dots-vertical.png" source: "/usr/lib/qt5/qml/QtQuick/Controls/Styles/Nemo/images/dots-vertical.png"
rotation: isUiPortrait ? 0 : 90 rotation: isUiPortrait ? 0 : 90
} }
} }
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