feat: Add drag n drop for chat (#269)

feat: Add dran n drop for chat
This commit is contained in:
Petr Mironychev
2025-11-20 16:19:50 +01:00
committed by GitHub
parent 55b6080273
commit 6f7d8a0987
5 changed files with 318 additions and 30 deletions

View File

@ -58,6 +58,18 @@ ChatRootView {
color: palette.window
}
SplitDropZone {
anchors.fill: parent
onFilesDroppedToAttach: (filePaths) => {
root.addFilesToAttachList(filePaths)
}
onFilesDroppedToLink: (filePaths) => {
root.addFilesToLinkList(filePaths)
}
}
ColumnLayout {
anchors.fill: parent
spacing: 0