Skip to content
Snippets Groups Projects
Commit 7b447f24 authored by andrey.daragan's avatar andrey.daragan
Browse files

Merge branch 'features-2994' into 'develop'

features-2994

See merge request !30
parents 8be59b39 1deee6f9
No related branches found
No related tags found
1 merge request!30features-2994
......@@ -25,5 +25,7 @@
<file>widgets/DapText.qml</file>
<file>widgets/DapTextForm.ui.qml</file>
<file>widgets/DapScrollViewHandling.qml</file>
<file>widgets/DapMessageBox.qml</file>
<file>widgets/DapMessageBoxForm.ui.qml</file>
</qresource>
</RCC>
import QtQuick 2.4
DapMessageBoxForm
{
}
import QtQuick 2.4
import QtQuick.Controls 2.0
import QtGraphicalEffects 1.0
Rectangle
{
id: dapMessageBox
property alias dapTitleText: titleText
property alias dapContentText: contentText
property alias dapButtonOk: buttonOk
layer.enabled: true
layer.effect:
DropShadow
{
horizontalOffset: 3
verticalOffset: 3
radius: 13
samples: 17
color: "#ababab"
}
Rectangle
{
id: frameTitle
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
height: 44 * pt
color: "#908D9D"
Text
{
id: titleText
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: 30 * pt
anchors.rightMargin: 30 * pt
font.pixelSize: 16 * pt
font.family: "Roboto"
font.styleName: "Normal"
font.weight: Font.Normal
color: "#FFFFFF"
}
}
Rectangle
{
id: frameContent
anchors.top: frameTitle.bottom
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.topMargin: 30 * pt
anchors.leftMargin: 30 * pt
anchors.rightMargin: 30 * pt
anchors.bottomMargin: 32 * pt
height: 172 * pt
color: "#FFFFFF"
Text
{
id: contentText
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: buttonOk.top
font.pixelSize: 16 * pt
font.family: "Roboto"
font.styleName: "Normal"
font.weight: Font.Normal
color: "#070023"
wrapMode: Text.WordWrap
}
DapButton
{
id: buttonOk
widthButton: 78 * pt
heightButton: 36 * pt
anchors.right: parent.right
anchors.bottom: parent.bottom
textButton: qsTr("OK")
colorBackgroundNormal:"#3E3853"
colorBackgroundHover: "#D51F5D"
colorButtonTextNormal: "#FFFFFF"
colorButtonTextHover: "#FFFFFF"
fontButton.pixelSize: 14 * pt
borderColorButton: "#FFFFFF"
borderWidthButton: 0
fontButton.family: "Roboto"
fontButton.weight: Font.Normal
horizontalAligmentText:Qt.AlignCenter
colorTextButton: "#FFFFFF"
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment