2018-10-21 02:44:23 +03:00
|
|
|
import QtQuick 2.0
|
|
|
|
import Sailfish.Silica 1.0
|
|
|
|
|
|
|
|
Page {
|
|
|
|
id: page
|
|
|
|
|
|
|
|
property var note
|
|
|
|
|
|
|
|
SilicaFlickable {
|
|
|
|
id: flickable
|
|
|
|
anchors.fill: parent
|
|
|
|
contentHeight: column.height
|
|
|
|
|
2018-10-23 23:15:59 +03:00
|
|
|
PullDownMenu {
|
|
|
|
MenuItem {
|
|
|
|
text: qsTr("Markdown Cheatsheet")
|
|
|
|
onClicked: pageStack.push(Qt.resolvedUrl("MarkDownPage.qml"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-21 02:44:23 +03:00
|
|
|
Column {
|
|
|
|
id: column
|
|
|
|
width: parent.width// - 2*x
|
|
|
|
|
|
|
|
PageHeader {
|
|
|
|
title: note.title
|
|
|
|
}
|
|
|
|
|
|
|
|
TextArea {
|
|
|
|
width: parent.width
|
|
|
|
text: note.content
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
VerticalScrollDecorator {}
|
|
|
|
}
|
|
|
|
}
|