update
parent
d2929ad701
commit
6d24cbf37c
|
@ -15,6 +15,11 @@ FluWindow {
|
|||
minimumWidth: 520
|
||||
minimumHeight: 460
|
||||
|
||||
closeFunc:function(event){
|
||||
close_app.open()
|
||||
event.accepted = false
|
||||
}
|
||||
|
||||
FluAppBar{
|
||||
id:appbar
|
||||
z:9
|
||||
|
@ -66,14 +71,6 @@ FluWindow {
|
|||
|
||||
}
|
||||
|
||||
onClosing:
|
||||
{
|
||||
window.show()
|
||||
window.raise()
|
||||
window.requestActivate()
|
||||
close_app.open()
|
||||
}
|
||||
|
||||
FluNavigationView{
|
||||
id:nav_view
|
||||
anchors.fill: parent
|
||||
|
|
|
@ -18,6 +18,14 @@ ApplicationWindow {
|
|||
property string route
|
||||
property var argument:({})
|
||||
property var pageRegister
|
||||
property var closeFunc: function(event){
|
||||
if(closeDestory){
|
||||
destoryWindow()
|
||||
}else{
|
||||
visible = false
|
||||
event.accepted = false
|
||||
}
|
||||
}
|
||||
signal initArgument(var argument)
|
||||
|
||||
id:window
|
||||
|
@ -48,15 +56,7 @@ ApplicationWindow {
|
|||
}
|
||||
}
|
||||
|
||||
onClosing:
|
||||
(event)=>{
|
||||
if(closeDestory){
|
||||
destoryWindow()
|
||||
}else{
|
||||
visible = false
|
||||
event.accepted = false
|
||||
}
|
||||
}
|
||||
onClosing:(event)=>closeFunc(event)
|
||||
|
||||
FluInfoBar{
|
||||
id:infoBar
|
||||
|
|
Loading…
Reference in New Issue