Set up structure for Phase 5: ReaderPage and ComposePage placeholders, updated MailListPage and Shell for navigation to reader and composer
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user