2023-06-27 17:50:50 +00:00
|
|
|
import QtQuick 2.15
|
2023-07-06 12:33:27 +00:00
|
|
|
import QtQuick.Layouts 1.15
|
2023-02-17 11:53:18 +00:00
|
|
|
|
|
|
|
import StatusQ.Core 0.1
|
2023-07-06 12:33:27 +00:00
|
|
|
import StatusQ.Components 0.1
|
2023-06-27 17:50:50 +00:00
|
|
|
|
|
|
|
import AppLayouts.Communities.panels 1.0
|
2023-02-17 11:53:18 +00:00
|
|
|
|
|
|
|
StatusScrollView {
|
|
|
|
id: root
|
|
|
|
|
|
|
|
property int viewWidth: 560 // by design
|
|
|
|
|
2023-06-27 17:50:50 +00:00
|
|
|
property alias image: introPanel.image
|
|
|
|
property alias title: introPanel.title
|
|
|
|
property alias subtitle: introPanel.subtitle
|
|
|
|
property alias checkersModel: introPanel.checkersModel
|
|
|
|
|
2023-07-06 12:33:27 +00:00
|
|
|
property alias infoBoxVisible: infoBox.visible
|
|
|
|
property alias infoBoxTitle: infoBox.title
|
|
|
|
property alias infoBoxText: infoBox.text
|
|
|
|
property alias buttonText: infoBox.buttonText
|
2023-07-13 15:51:53 +00:00
|
|
|
property alias buttonVisible: infoBox.buttonVisible
|
2023-07-06 12:33:27 +00:00
|
|
|
|
|
|
|
signal clicked
|
|
|
|
|
2023-05-30 15:18:45 +00:00
|
|
|
padding: 0
|
2023-07-06 12:33:27 +00:00
|
|
|
contentWidth: mainLayout.width
|
|
|
|
contentHeight: mainLayout.height
|
2023-04-17 07:00:05 +00:00
|
|
|
|
2023-07-06 12:33:27 +00:00
|
|
|
ColumnLayout {
|
|
|
|
id: mainLayout
|
2023-02-17 11:53:18 +00:00
|
|
|
|
|
|
|
width: root.viewWidth
|
2023-07-06 12:33:27 +00:00
|
|
|
spacing: 20
|
|
|
|
|
|
|
|
IntroPanel {
|
|
|
|
id: introPanel
|
|
|
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
}
|
|
|
|
|
|
|
|
StatusInfoBoxPanel {
|
|
|
|
id: infoBox
|
|
|
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
Layout.bottomMargin: 20
|
|
|
|
horizontalPadding: 16
|
|
|
|
verticalPadding: 20
|
|
|
|
|
|
|
|
onClicked: root.clicked()
|
|
|
|
}
|
2023-02-17 11:53:18 +00:00
|
|
|
}
|
|
|
|
}
|