mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 03:10:10 +08:00
update
This commit is contained in:
parent
8eb7e1df4a
commit
a447b260e7
@ -3,7 +3,7 @@ import QtQuick.Layouts 1.15
|
||||
import QtQuick.Controls 2.15
|
||||
import FluentUI 1.0
|
||||
import Controller 1.0
|
||||
import Qt.labs.platform 1.1
|
||||
import QtQuick.Dialogs 1.3
|
||||
|
||||
FluWindow {
|
||||
|
||||
@ -259,7 +259,6 @@ FluWindow {
|
||||
FluMenuItem{
|
||||
text:"导出消息"
|
||||
onClicked: {
|
||||
file_dialog.currentFile = "file:///123.txt"
|
||||
file_dialog.open()
|
||||
}
|
||||
}
|
||||
@ -267,10 +266,10 @@ FluWindow {
|
||||
|
||||
FileDialog{
|
||||
id:file_dialog
|
||||
fileMode:FileDialog.SaveFile
|
||||
folder: StandardPaths.writableLocation(StandardPaths.DesktopLocation)
|
||||
folder: shortcuts.home
|
||||
selectFolder : true
|
||||
onAccepted: {
|
||||
console.log("You chose: " + file_dialog.file)
|
||||
console.log("You chose: " + file_dialog.fileUrl)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user