mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-02 08:05:29 +08:00
update
This commit is contained in:
@ -60,9 +60,6 @@ FluWindow {
|
||||
width: 300
|
||||
placeholderText: qsTr("Create In")
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
Component.onCompleted: {
|
||||
text = FluTools.toLocalPath(StandardPaths.standardLocations(StandardPaths.DocumentsLocation)[0])
|
||||
}
|
||||
}
|
||||
FluButton{
|
||||
text:qsTr("Browse")
|
||||
@ -76,7 +73,6 @@ FluWindow {
|
||||
|
||||
FolderDialog{
|
||||
id:folder_dialog
|
||||
folder: StandardPaths.standardLocations(StandardPaths.DocumentsLocation)[0]
|
||||
onAccepted: {
|
||||
text_box_path.text = FluTools.toLocalPath(currentFolder)
|
||||
}
|
||||
|
@ -242,10 +242,10 @@ FluWindow {
|
||||
}
|
||||
|
||||
Component{
|
||||
id:com_reveal
|
||||
id: com_reveal
|
||||
CircularReveal{
|
||||
id:reveal
|
||||
target:window.layoutContainer()
|
||||
id: reveal
|
||||
target: window.contentItem
|
||||
anchors.fill: parent
|
||||
onAnimationFinished:{
|
||||
//动画结束后释放资源
|
||||
@ -274,7 +274,7 @@ FluWindow {
|
||||
return
|
||||
}
|
||||
loader_reveal.sourceComponent = com_reveal
|
||||
var target = window.layoutContainer()
|
||||
var target = window.contentItem
|
||||
var pos = button.mapToItem(target,0,0)
|
||||
var mouseX = pos.x
|
||||
var mouseY = pos.y
|
||||
|
Reference in New Issue
Block a user