mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-17 18:11:54 +00:00
13acb5730d
Closes: #7920 #7917
44 lines
1.1 KiB
QML
44 lines
1.1 KiB
QML
import QtQuick 2.14
|
|
import QtGraphicalEffects 1.14
|
|
|
|
import shared.views 1.0 as SharedViews
|
|
|
|
import StatusQ.Core.Theme 0.1
|
|
|
|
Item {
|
|
property alias profileStore: profilePreview.profileStore
|
|
property alias contactsStore: profilePreview.contactsStore
|
|
property alias dirtyValues: profilePreview.dirtyValues
|
|
property alias dirty: profilePreview.dirty
|
|
|
|
implicitHeight: profilePreview.implicitHeight
|
|
+ profilePreview.anchors.topMargin
|
|
+ profilePreview.anchors.bottomMargin
|
|
|
|
implicitWidth: profilePreview.implicitWidth
|
|
+ profilePreview.anchors.leftMargin
|
|
+ profilePreview.anchors.rightMargin
|
|
|
|
function reload() {
|
|
profilePreview.reload()
|
|
}
|
|
|
|
SharedViews.ProfileDialogView {
|
|
id: profilePreview
|
|
anchors.fill: parent
|
|
anchors.margins: 24
|
|
readOnly: true
|
|
}
|
|
|
|
DropShadow {
|
|
id: shadow
|
|
anchors.fill: profilePreview
|
|
horizontalOffset: 0
|
|
verticalOffset: 4
|
|
radius: 16
|
|
samples: 12
|
|
color: "#40000000"
|
|
source: profilePreview
|
|
}
|
|
}
|