2023-07-06 19:43:57 +08:00
|
|
|
import QtQuick
|
|
|
|
import QtQuick.Layouts
|
|
|
|
import QtQuick.Window
|
|
|
|
import QtQuick.Controls
|
|
|
|
import QtQuick.Controls.Basic
|
|
|
|
import QtWebEngine 1.2
|
|
|
|
import FluentUI
|
|
|
|
import AicsKB.FileTransferManager
|
|
|
|
import SignalFileOperation 1.0
|
2023-07-06 20:26:47 +08:00
|
|
|
import "qrc:///AicsKnowledgeBase/qml/page"
|
|
|
|
import "qrc:///AicsKnowledgeBase/qml/component"
|
|
|
|
import "qrc:///AicsKnowledgeBase/qml/global"
|
2023-07-06 19:43:57 +08:00
|
|
|
|
2023-07-06 20:26:47 +08:00
|
|
|
FluArea {
|
|
|
|
id: edit_area
|
|
|
|
paddings: 0
|
|
|
|
backgroundColor: "#f9f9f9"
|
|
|
|
property string noteTitle
|
|
|
|
property string noteContent
|
|
|
|
|
|
|
|
FluScrollablePage {
|
|
|
|
id: edit_page
|
|
|
|
anchors.fill: parent
|
|
|
|
leftPadding: 5
|
|
|
|
topPadding: 5
|
|
|
|
rightPadding: 5
|
|
|
|
bottomPadding: 0
|
|
|
|
FluIconButton {
|
|
|
|
iconSize: 12
|
|
|
|
iconSource: FluentIcons.Back
|
|
|
|
onClicked: {
|
|
|
|
emit: SignalFileOperation.back()
|
|
|
|
}
|
|
|
|
Layout.margins: -5
|
|
|
|
}
|
|
|
|
Item {
|
|
|
|
Layout.fillWidth: true
|
|
|
|
implicitHeight: 50
|
|
|
|
RowLayout {
|
|
|
|
Layout.fillWidth: true
|
|
|
|
FluText {
|
|
|
|
padding: 10
|
|
|
|
text: "标题"
|
|
|
|
font {
|
|
|
|
pointSize: 15
|
|
|
|
bold: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
FluTextBox {
|
|
|
|
padding: 10
|
|
|
|
placeholderText:"单行输入框"
|
|
|
|
implicitWidth: parent.width
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Item {
|
|
|
|
Layout.fillWidth: true
|
|
|
|
implicitHeight: parent.height
|
|
|
|
Layout.fillWidth: true
|
|
|
|
NoteEditPage {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|