2020-08-25 09:00:03 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtQuick.Controls 2.13
|
|
|
|
import QtQuick.Layouts 1.13
|
|
|
|
import "../../../imports"
|
|
|
|
import "../../../shared"
|
|
|
|
import "../../../shared/status"
|
|
|
|
|
|
|
|
|
|
|
|
Item {
|
|
|
|
id: uiComponentCatalog
|
|
|
|
Layout.fillHeight: true
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
|
|
|
ColumnLayout {
|
|
|
|
id: buttons
|
|
|
|
spacing: 6
|
|
|
|
|
|
|
|
RowLayout {
|
|
|
|
Text {
|
|
|
|
text: "Buttons"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
RowLayout {
|
2020-08-25 11:15:18 +00:00
|
|
|
StatusButton {
|
2020-08-25 09:00:03 +00:00
|
|
|
text: "Primary Large Button"
|
|
|
|
}
|
|
|
|
|
2020-08-25 11:15:18 +00:00
|
|
|
StatusButton {
|
2020-08-25 09:00:03 +00:00
|
|
|
text: "Secondary Large Button"
|
|
|
|
type: "secondary"
|
|
|
|
}
|
|
|
|
|
2020-08-25 11:15:18 +00:00
|
|
|
StatusButton {
|
2020-08-25 09:00:03 +00:00
|
|
|
text: "Primary Small Button"
|
|
|
|
size: "small"
|
|
|
|
}
|
|
|
|
|
2020-08-25 11:15:18 +00:00
|
|
|
StatusButton {
|
2020-08-25 09:00:03 +00:00
|
|
|
text: "Secondary Small Button"
|
|
|
|
type: "secondary"
|
|
|
|
size: "small"
|
|
|
|
}
|
|
|
|
|
2020-08-25 11:15:18 +00:00
|
|
|
StatusRoundButton {
|
|
|
|
icon.name: "arrow-right"
|
|
|
|
icon.height: 15
|
|
|
|
icon.width: 20
|
|
|
|
}
|
|
|
|
|
|
|
|
StatusRoundButton {
|
|
|
|
type: "secondary"
|
|
|
|
size: "medium"
|
|
|
|
icon.name: "arrow-right"
|
|
|
|
icon.height: 15
|
|
|
|
icon.width: 20
|
2020-08-25 09:00:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
RowLayout {
|
2020-08-25 11:15:18 +00:00
|
|
|
StatusButton {
|
2020-08-25 09:00:03 +00:00
|
|
|
text: "Primary Large Button"
|
|
|
|
enabled: false
|
|
|
|
}
|
|
|
|
|
2020-08-25 11:15:18 +00:00
|
|
|
StatusButton {
|
2020-08-25 09:00:03 +00:00
|
|
|
text: "Secondary Large Button"
|
|
|
|
type: "secondary"
|
|
|
|
enabled: false
|
|
|
|
}
|
|
|
|
|
2020-08-25 11:15:18 +00:00
|
|
|
StatusButton {
|
2020-08-25 09:00:03 +00:00
|
|
|
text: "Primary Small Button"
|
|
|
|
enabled: false
|
|
|
|
size: "small"
|
|
|
|
}
|
|
|
|
|
2020-08-25 11:15:18 +00:00
|
|
|
StatusButton {
|
2020-08-25 09:00:03 +00:00
|
|
|
text: "Secondary Small Button"
|
|
|
|
type: "secondary"
|
|
|
|
enabled: false
|
|
|
|
size: "small"
|
|
|
|
}
|
|
|
|
|
2020-08-25 11:15:18 +00:00
|
|
|
StatusRoundButton {
|
|
|
|
icon.name: "arrow-right"
|
|
|
|
icon.height: 15
|
|
|
|
icon.width: 20
|
|
|
|
enabled: false
|
|
|
|
}
|
|
|
|
|
|
|
|
StatusRoundButton {
|
|
|
|
type: "secondary"
|
|
|
|
size: "medium"
|
|
|
|
icon.name: "arrow-right"
|
|
|
|
icon.height: 15
|
|
|
|
icon.width: 20
|
|
|
|
enabled: false
|
2020-08-25 09:00:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
RowLayout {
|
2020-08-25 11:15:18 +00:00
|
|
|
StatusButton {
|
2020-08-25 09:00:03 +00:00
|
|
|
text: "Primary Large Button"
|
|
|
|
state: "pending"
|
|
|
|
}
|
|
|
|
|
2020-08-25 11:15:18 +00:00
|
|
|
StatusButton {
|
2020-08-25 09:00:03 +00:00
|
|
|
text: "Secondary Large Button"
|
|
|
|
type: "secondary"
|
|
|
|
state: "pending"
|
|
|
|
}
|
|
|
|
|
2020-08-25 11:15:18 +00:00
|
|
|
StatusButton {
|
2020-08-25 09:00:03 +00:00
|
|
|
text: "Primary Large Button"
|
|
|
|
state: "pending"
|
|
|
|
size: "small"
|
|
|
|
}
|
|
|
|
|
2020-08-25 11:15:18 +00:00
|
|
|
StatusButton {
|
2020-08-25 09:00:03 +00:00
|
|
|
text: "Secondary Large Button"
|
|
|
|
type: "secondary"
|
|
|
|
state: "pending"
|
|
|
|
size: "small"
|
|
|
|
}
|
|
|
|
|
2020-08-25 11:15:18 +00:00
|
|
|
StatusRoundButton {
|
|
|
|
state: "pending"
|
|
|
|
}
|
|
|
|
|
|
|
|
StatusRoundButton {
|
|
|
|
type: "secondary"
|
|
|
|
size: "medium"
|
|
|
|
state: "pending"
|
2020-08-25 09:00:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|