|
|
@ -32,7 +32,11 @@ ApplicationWindow { |
|
|
|
|
|
|
|
|
|
|
|
ImagePackEditorDialog { |
|
|
|
ImagePackEditorDialog { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Component { |
|
|
|
|
|
|
|
id: packDeleteDialog |
|
|
|
|
|
|
|
ImagePackDeleteDialog {} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
AdaptiveLayout { |
|
|
|
AdaptiveLayout { |
|
|
@ -189,8 +193,10 @@ ApplicationWindow { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Button { |
|
|
|
RowLayout { |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Button { |
|
|
|
text: qsTr("Edit") |
|
|
|
text: qsTr("Edit") |
|
|
|
enabled: currentPack.canEdit |
|
|
|
enabled: currentPack.canEdit |
|
|
|
onClicked: { |
|
|
|
onClicked: { |
|
|
@ -201,6 +207,18 @@ ApplicationWindow { |
|
|
|
timelineRoot.destroyOnClose(dialog); |
|
|
|
timelineRoot.destroyOnClose(dialog); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
Button { |
|
|
|
|
|
|
|
text: qsTr("Remove") |
|
|
|
|
|
|
|
enabled: currentPack.canEdit |
|
|
|
|
|
|
|
onClicked: { |
|
|
|
|
|
|
|
var dialog = packDeleteDialog.createObject(timelineRoot, { |
|
|
|
|
|
|
|
"imagePack": currentPack |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
dialog.open(); |
|
|
|
|
|
|
|
timelineRoot.destroyOnClose(packDeleteDialog); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
GridView { |
|
|
|
GridView { |
|
|
|
Layout.fillHeight: true |
|
|
|
Layout.fillHeight: true |
|
|
|