50 lines
1.0 KiB
QML
50 lines
1.0 KiB
QML
import QtQuick 2.15
|
|
import QtQuick.Controls 2.15
|
|
import QtWebEngine 1.15
|
|
|
|
Item {
|
|
id: composePage
|
|
anchors.fill: parent
|
|
|
|
// Back button
|
|
Rectangle {
|
|
anchors {
|
|
top: parent.top
|
|
left: parent.left
|
|
margins: 10
|
|
}
|
|
width: 40
|
|
height: 40
|
|
color: "#e0e0e0"
|
|
radius: 5
|
|
MouseArea {
|
|
anchors.fill: parent
|
|
onClicked: {
|
|
StackView.view.pop()
|
|
}
|
|
}
|
|
Text {
|
|
text: "←"
|
|
anchors.centerIn: parent
|
|
font.pointSize: 20
|
|
color: "#333"
|
|
}
|
|
}
|
|
|
|
// Placeholder for Quill editor
|
|
Rectangle {
|
|
anchors {
|
|
top: backButton.bottom
|
|
bottom: parent.bottom
|
|
left: parent.left
|
|
right: parent.right
|
|
}
|
|
color: "#fafafa"
|
|
Text {
|
|
text: qsTr("Compose Page - Placeholder for Quill Editor")
|
|
anchors.centerIn: parent
|
|
font.pointSize: 16
|
|
color: "#666"
|
|
}
|
|
}
|
|
} |