harbour-tooter/qml/pages/components/ProfileImage.qml
molan-git 16e211ddb9 ui-improvements
- open profile picture
- improved media viewer
- improved user suggestion
- better responsive UI design
- code refactoring
- updated settings page
2020-06-03 07:34:33 +02:00

27 lines
613 B
QML

import QtQuick 2.0
import Sailfish.Silica 1.0
FullscreenContentPage {
id: profileImage
allowedOrientations: Orientation.All
property string image: ""
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()
}
}