2022-09-27 21:26:26 +00:00
|
|
|
import QtQuick 2.14
|
2022-06-22 12:16:21 +00:00
|
|
|
import QtGraphicalEffects 1.14
|
|
|
|
|
|
|
|
import shared.views 1.0 as SharedViews
|
|
|
|
|
|
|
|
import StatusQ.Core.Theme 0.1
|
|
|
|
|
|
|
|
Item {
|
|
|
|
property alias profileStore: profilePreview.profileStore
|
2022-09-27 21:26:26 +00:00
|
|
|
property alias contactsStore: profilePreview.contactsStore
|
2024-02-02 09:55:56 +00:00
|
|
|
property alias networkConnectionStore: profilePreview.networkConnectionStore
|
2022-11-08 18:30:50 +00:00
|
|
|
property alias dirtyValues: profilePreview.dirtyValues
|
|
|
|
property alias dirty: profilePreview.dirty
|
2022-06-22 12:16:21 +00:00
|
|
|
|
|
|
|
implicitHeight: profilePreview.implicitHeight
|
|
|
|
+ profilePreview.anchors.topMargin
|
|
|
|
+ profilePreview.anchors.bottomMargin
|
|
|
|
|
|
|
|
implicitWidth: profilePreview.implicitWidth
|
|
|
|
+ profilePreview.anchors.leftMargin
|
|
|
|
+ profilePreview.anchors.rightMargin
|
|
|
|
|
2022-09-27 21:26:26 +00:00
|
|
|
function reload() {
|
|
|
|
profilePreview.reload()
|
|
|
|
}
|
|
|
|
|
|
|
|
SharedViews.ProfileDialogView {
|
2022-06-22 12:16:21 +00:00
|
|
|
id: profilePreview
|
|
|
|
anchors.fill: parent
|
2024-02-07 09:54:45 +00:00
|
|
|
anchors.margins: 64
|
2022-09-27 21:26:26 +00:00
|
|
|
readOnly: true
|
2022-06-22 12:16:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DropShadow {
|
|
|
|
id: shadow
|
|
|
|
anchors.fill: profilePreview
|
|
|
|
horizontalOffset: 0
|
|
|
|
verticalOffset: 4
|
|
|
|
radius: 16
|
|
|
|
samples: 12
|
|
|
|
color: "#40000000"
|
|
|
|
source: profilePreview
|
|
|
|
}
|
2022-09-27 21:26:26 +00:00
|
|
|
}
|