2022-01-28 08:19:49 +00:00
|
|
|
import StatusQ.Components 0.1
|
|
|
|
import StatusQ.Popups 0.1
|
2021-09-28 15:04:06 +00:00
|
|
|
import utils 1.0
|
2020-07-09 15:21:45 +00:00
|
|
|
|
2022-01-28 08:19:49 +00:00
|
|
|
StatusModal {
|
|
|
|
id: root
|
2020-07-09 15:21:45 +00:00
|
|
|
|
2022-01-28 08:19:49 +00:00
|
|
|
property var rootStore
|
|
|
|
|
2023-05-23 12:46:16 +00:00
|
|
|
headerSettings.title: qsTr("Download Status link")
|
2020-07-09 15:21:45 +00:00
|
|
|
height: 156
|
|
|
|
|
2022-01-28 08:19:49 +00:00
|
|
|
StatusDescriptionListItem {
|
2023-08-18 15:01:49 +00:00
|
|
|
subTitle: qsTr("Get Status at %1").arg(Constants.externalStatusLinkWithHttps)
|
|
|
|
tooltip.text: qsTr("Copied!")
|
2022-08-11 11:55:08 +00:00
|
|
|
asset.name: "copy"
|
2022-01-28 08:19:49 +00:00
|
|
|
iconButton.onClicked: {
|
2023-08-18 15:01:49 +00:00
|
|
|
root.rootStore.copyToClipboard(Constants.downloadLink)
|
2022-01-28 08:19:49 +00:00
|
|
|
tooltip.visible = !tooltip.visible
|
|
|
|
}
|
|
|
|
width: parent.width
|
2020-07-09 15:21:45 +00:00
|
|
|
}
|
|
|
|
}
|