mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 11:17:15 +08:00
update
This commit is contained in:
parent
f856fd44c1
commit
eef46a2dac
@ -342,6 +342,7 @@ Item {
|
|||||||
}
|
}
|
||||||
return com_icon
|
return com_icon
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
FluText{
|
FluText{
|
||||||
@ -389,6 +390,7 @@ Item {
|
|||||||
right: item_title.right
|
right: item_title.right
|
||||||
rightMargin: 8
|
rightMargin: 8
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
sourceComponent: {
|
sourceComponent: {
|
||||||
if(d.isCompact){
|
if(d.isCompact){
|
||||||
return undefined
|
return undefined
|
||||||
@ -554,6 +556,7 @@ Item {
|
|||||||
}
|
}
|
||||||
Loader{
|
Loader{
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
sourceComponent: {
|
sourceComponent: {
|
||||||
if(model&&model.iconDelegate){
|
if(model&&model.iconDelegate){
|
||||||
return model.iconDelegate
|
return model.iconDelegate
|
||||||
@ -616,6 +619,7 @@ Item {
|
|||||||
}
|
}
|
||||||
return model.showEdit ? model.editDelegate : undefined
|
return model.showEdit ? model.editDelegate : undefined
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
onStatusChanged: {
|
onStatusChanged: {
|
||||||
if(status === Loader.Ready){
|
if(status === Loader.Ready){
|
||||||
item.forceActiveFocus()
|
item.forceActiveFocus()
|
||||||
@ -651,6 +655,7 @@ Item {
|
|||||||
}
|
}
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
Connections{
|
Connections{
|
||||||
target: d
|
target: d
|
||||||
function onIsCompactAndNotPanelChanged(){
|
function onIsCompactAndNotPanelChanged(){
|
||||||
@ -784,6 +789,7 @@ Item {
|
|||||||
id:loader_action
|
id:loader_action
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
sourceComponent: actionItem
|
sourceComponent: actionItem
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -839,6 +845,7 @@ Item {
|
|||||||
return control.cellWidth
|
return control.cellWidth
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
Behavior on anchors.leftMargin {
|
Behavior on anchors.leftMargin {
|
||||||
enabled: FluTheme.enableAnimation && d.animDisabled
|
enabled: FluTheme.enableAnimation && d.animDisabled
|
||||||
NumberAnimation{
|
NumberAnimation{
|
||||||
@ -918,6 +925,7 @@ Item {
|
|||||||
rightMargin: 6
|
rightMargin: 6
|
||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
visible: {
|
visible: {
|
||||||
if(d.isCompactAndNotPanel){
|
if(d.isCompactAndNotPanel){
|
||||||
return false
|
return false
|
||||||
@ -989,6 +997,7 @@ Item {
|
|||||||
property var model: modelData
|
property var model: modelData
|
||||||
property var _idx: index
|
property var _idx: index
|
||||||
property int type: 0
|
property int type: 0
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
sourceComponent: {
|
sourceComponent: {
|
||||||
if(model === null || !model)
|
if(model === null || !model)
|
||||||
return undefined
|
return undefined
|
||||||
@ -1046,6 +1055,7 @@ Item {
|
|||||||
property var model: modelData
|
property var model: modelData
|
||||||
property var _idx: index
|
property var _idx: index
|
||||||
property int type: 1
|
property int type: 1
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
sourceComponent: {
|
sourceComponent: {
|
||||||
if(modelData instanceof FluPaneItem){
|
if(modelData instanceof FluPaneItem){
|
||||||
return com_panel_item
|
return com_panel_item
|
||||||
@ -1114,6 +1124,7 @@ Item {
|
|||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
rightMargin: 10
|
rightMargin: 10
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
sourceComponent: {
|
sourceComponent: {
|
||||||
if(model.infoBadge){
|
if(model.infoBadge){
|
||||||
return model.infoBadge
|
return model.infoBadge
|
||||||
@ -1166,6 +1177,7 @@ Item {
|
|||||||
}
|
}
|
||||||
Loader{
|
Loader{
|
||||||
property var modelData
|
property var modelData
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
id:loader_item_menu
|
id:loader_item_menu
|
||||||
}
|
}
|
||||||
Connections{
|
Connections{
|
||||||
|
@ -343,6 +343,7 @@ Item {
|
|||||||
}
|
}
|
||||||
return com_icon
|
return com_icon
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
FluText{
|
FluText{
|
||||||
@ -390,6 +391,7 @@ Item {
|
|||||||
right: item_title.right
|
right: item_title.right
|
||||||
rightMargin: 8
|
rightMargin: 8
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
sourceComponent: {
|
sourceComponent: {
|
||||||
if(d.isCompact){
|
if(d.isCompact){
|
||||||
return undefined
|
return undefined
|
||||||
@ -555,6 +557,7 @@ Item {
|
|||||||
}
|
}
|
||||||
Loader{
|
Loader{
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
sourceComponent: {
|
sourceComponent: {
|
||||||
if(model&&model.iconDelegate){
|
if(model&&model.iconDelegate){
|
||||||
return model.iconDelegate
|
return model.iconDelegate
|
||||||
@ -617,6 +620,7 @@ Item {
|
|||||||
}
|
}
|
||||||
return model.showEdit ? model.editDelegate : undefined
|
return model.showEdit ? model.editDelegate : undefined
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
onStatusChanged: {
|
onStatusChanged: {
|
||||||
if(status === Loader.Ready){
|
if(status === Loader.Ready){
|
||||||
item.forceActiveFocus()
|
item.forceActiveFocus()
|
||||||
@ -652,6 +656,7 @@ Item {
|
|||||||
}
|
}
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
Connections{
|
Connections{
|
||||||
target: d
|
target: d
|
||||||
function onIsCompactAndNotPanelChanged(){
|
function onIsCompactAndNotPanelChanged(){
|
||||||
@ -785,6 +790,7 @@ Item {
|
|||||||
id:loader_action
|
id:loader_action
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
sourceComponent: actionItem
|
sourceComponent: actionItem
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -840,6 +846,7 @@ Item {
|
|||||||
return control.cellWidth
|
return control.cellWidth
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
Behavior on anchors.leftMargin {
|
Behavior on anchors.leftMargin {
|
||||||
enabled: FluTheme.enableAnimation && d.animDisabled
|
enabled: FluTheme.enableAnimation && d.animDisabled
|
||||||
NumberAnimation{
|
NumberAnimation{
|
||||||
@ -919,6 +926,7 @@ Item {
|
|||||||
rightMargin: 6
|
rightMargin: 6
|
||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
visible: {
|
visible: {
|
||||||
if(d.isCompactAndNotPanel){
|
if(d.isCompactAndNotPanel){
|
||||||
return false
|
return false
|
||||||
@ -990,6 +998,7 @@ Item {
|
|||||||
property var model: modelData
|
property var model: modelData
|
||||||
property var _idx: index
|
property var _idx: index
|
||||||
property int type: 0
|
property int type: 0
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
sourceComponent: {
|
sourceComponent: {
|
||||||
if(model === null || !model)
|
if(model === null || !model)
|
||||||
return undefined
|
return undefined
|
||||||
@ -1047,6 +1056,7 @@ Item {
|
|||||||
property var model: modelData
|
property var model: modelData
|
||||||
property var _idx: index
|
property var _idx: index
|
||||||
property int type: 1
|
property int type: 1
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
sourceComponent: {
|
sourceComponent: {
|
||||||
if(modelData instanceof FluPaneItem){
|
if(modelData instanceof FluPaneItem){
|
||||||
return com_panel_item
|
return com_panel_item
|
||||||
@ -1115,6 +1125,7 @@ Item {
|
|||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
rightMargin: 10
|
rightMargin: 10
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
sourceComponent: {
|
sourceComponent: {
|
||||||
if(model.infoBadge){
|
if(model.infoBadge){
|
||||||
return model.infoBadge
|
return model.infoBadge
|
||||||
@ -1167,6 +1178,7 @@ Item {
|
|||||||
}
|
}
|
||||||
Loader{
|
Loader{
|
||||||
property var modelData
|
property var modelData
|
||||||
|
Component.onDestruction: sourceComponent = undefined
|
||||||
id:loader_item_menu
|
id:loader_item_menu
|
||||||
}
|
}
|
||||||
Connections{
|
Connections{
|
||||||
|
Loading…
Reference in New Issue
Block a user