This commit is contained in:
朱子楚\zhuzi 2024-05-08 18:58:22 +08:00
parent 655eff4f62
commit 402579f32a
2 changed files with 20 additions and 0 deletions

View File

@ -955,6 +955,16 @@ Rectangle {
return false
}
sourceComponent: visible ? com_table_frozen : undefined
onStatusChanged: {
if(status === Loader.Ready){
sourceComponent = Qt.binding(function(){
if(modelData.frozen){
return com_table_frozen
}
return undefined
})
}
}
}
}
}

View File

@ -955,6 +955,16 @@ Rectangle {
return false
}
sourceComponent: visible ? com_table_frozen : undefined
onStatusChanged: {
if(status === Loader.Ready){
sourceComponent = Qt.binding(function(){
if(modelData.frozen){
return com_table_frozen
}
return undefined
})
}
}
}
}
}