feat: async utilities
This commit is contained in:
parent
473e4456b0
commit
23834525ed
5 changed files with 5 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ Loader {
|
||||||
|
|
||||||
required property var props
|
required property var props
|
||||||
|
|
||||||
|
asynchronous: true
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
opacity: root.props.recordingConfirmDelete ? 1 : 0
|
opacity: root.props.recordingConfirmDelete ? 1 : 0
|
||||||
|
|
|
||||||
|
|
@ -79,6 +79,7 @@ Item {
|
||||||
Loader {
|
Loader {
|
||||||
id: content
|
id: content
|
||||||
|
|
||||||
|
asynchronous: true
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.margins: Appearance.padding.large
|
anchors.margins: Appearance.padding.large
|
||||||
|
|
|
||||||
|
|
@ -70,6 +70,7 @@ StyledRect {
|
||||||
Loader {
|
Loader {
|
||||||
id: activeChip
|
id: activeChip
|
||||||
|
|
||||||
|
asynchronous: true
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.topMargin: Appearance.spacing.larger
|
anchors.topMargin: Appearance.spacing.larger
|
||||||
|
|
|
||||||
|
|
@ -111,6 +111,7 @@ StyledRect {
|
||||||
|
|
||||||
property bool running: Recorder.running
|
property bool running: Recorder.running
|
||||||
|
|
||||||
|
asynchronous: true
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: implicitHeight
|
Layout.preferredHeight: implicitHeight
|
||||||
sourceComponent: running ? recordingControls : recordingList
|
sourceComponent: running ? recordingControls : recordingList
|
||||||
|
|
|
||||||
|
|
@ -163,6 +163,7 @@ ColumnLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
|
asynchronous: true
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|
||||||
opacity: list.count === 0 ? 1 : 0
|
opacity: list.count === 0 ? 1 : 0
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue