2023-08-23 07:09:16 +00:00
|
|
|
import QtQuick.Layouts 1.15
|
|
|
|
|
|
|
|
import StatusQ.Core 0.1
|
|
|
|
import StatusQ.Components 0.1
|
2023-10-03 13:31:54 +00:00
|
|
|
import StatusQ.Core.Theme 0.1
|
2023-08-23 07:09:16 +00:00
|
|
|
|
|
|
|
RowLayout {
|
|
|
|
id: root
|
|
|
|
|
|
|
|
height: 40
|
|
|
|
|
|
|
|
property string order: ""
|
2023-10-03 13:31:54 +00:00
|
|
|
property color orderColor: Theme.palette.baseColor1
|
2023-08-23 07:09:16 +00:00
|
|
|
property string text1: ""
|
2023-10-03 13:31:54 +00:00
|
|
|
property color text1Color: Theme.palette.baseColor1
|
2023-08-23 07:09:16 +00:00
|
|
|
property string icon: ""
|
|
|
|
property string text2: ""
|
|
|
|
property string text2Color: ""
|
|
|
|
property string text3: ""
|
2023-10-03 13:31:54 +00:00
|
|
|
property color text3Color: Theme.palette.baseColor1
|
2023-08-23 07:09:16 +00:00
|
|
|
|
|
|
|
StatusBaseText {
|
2023-10-03 13:31:54 +00:00
|
|
|
visible: text
|
2023-08-23 07:09:16 +00:00
|
|
|
color: root.orderColor
|
|
|
|
text: root.order
|
|
|
|
}
|
|
|
|
StatusBaseText {
|
2023-10-03 13:31:54 +00:00
|
|
|
visible: text
|
2023-08-23 07:09:16 +00:00
|
|
|
color: root.text1Color
|
2023-10-03 13:31:54 +00:00
|
|
|
text: root.text1
|
2023-08-23 07:09:16 +00:00
|
|
|
}
|
|
|
|
StatusRoundIcon {
|
|
|
|
visible: !!root.icon
|
|
|
|
asset.name: root.icon
|
|
|
|
}
|
|
|
|
StatusBaseText {
|
2023-10-03 13:31:54 +00:00
|
|
|
visible: text
|
2023-08-23 07:09:16 +00:00
|
|
|
color: root.text2Color
|
2023-10-03 13:31:54 +00:00
|
|
|
text: root.text2
|
2023-08-23 07:09:16 +00:00
|
|
|
}
|
|
|
|
StatusBaseText {
|
2023-10-03 13:31:54 +00:00
|
|
|
visible: text
|
2023-08-23 07:09:16 +00:00
|
|
|
color: root.text3Color
|
2023-10-03 13:31:54 +00:00
|
|
|
text: root.text3
|
2023-08-23 07:09:16 +00:00
|
|
|
}
|
|
|
|
}
|