status-desktop/storybook/pages/StatusDotsLoadingIndicatorPage.qml
Noelia 736f315c49 feat(SQ/StatusDotsLoadingIndicator): Created new 3 dots loading animation
- Created new loading animation component.
- Added documentation and page in `stroybook`.
2023-03-07 13:24:45 +01:00

47 lines
996 B
QML

import QtQuick 2.14
import QtQuick.Controls 2.14
import QtQuick.Layouts 1.14
import StatusQ.Components 0.1
import StatusQ.Core.Theme 0.1
SplitView {
id: root
SplitView {
orientation: Qt.Vertical
SplitView.fillWidth: true
ColumnLayout {
anchors.margins: 100
anchors.fill: parent
spacing: 100
StatusDotsLoadingIndicator {
dotsDiameter: 5
duration: 500
dotsColor: "blue"
}
StatusDotsLoadingIndicator {
dotsDiameter: 15
duration: 1000
dotsColor: "orange"
spacing: 16
}
StatusDotsLoadingIndicator {
dotsDiameter: 30
duration: 1500
dotsColor: "green"
spacing: 30
}
// filler
Item {
Layout.fillHeight: true
}
}
}
}