2020-06-03 08:34:33 +03:00
|
|
|
import QtQuick 2.0
|
|
|
|
import Sailfish.Silica 1.0
|
|
|
|
|
|
|
|
FullscreenContentPage {
|
|
|
|
id: profileImage
|
|
|
|
|
2020-06-11 15:11:39 +03:00
|
|
|
property string image: ""
|
2020-06-10 12:44:58 +03:00
|
|
|
|
|
|
|
allowedOrientations: Orientation.All
|
2020-06-03 08:34:33 +03:00
|
|
|
|
|
|
|
Image {
|
|
|
|
source: image
|
|
|
|
fillMode: Image.PreserveAspectFit
|
|
|
|
anchors.fill: parent
|
|
|
|
}
|
|
|
|
|
|
|
|
IconButton {
|
|
|
|
icon.source: "image://theme/icon-m-dismiss"
|
|
|
|
anchors {
|
|
|
|
top: profileImage.top
|
|
|
|
topMargin: Theme.horizontalPageMargin
|
|
|
|
right: parent.right
|
|
|
|
rightMargin: Theme.horizontalPageMargin
|
|
|
|
}
|
|
|
|
onClicked: pageStack.pop()
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|