Skip to content
Snippets Groups Projects

Features 2603

Merged tatiana.novikova requested to merge features-2603 into develop
3 files
+ 120
72
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -12,9 +12,9 @@ Button
@@ -12,9 +12,9 @@ Button
///@detalis hoverImageButton The image on the Button is in the mouseover state.
///@detalis hoverImageButton The image on the Button is in the mouseover state.
property string hoverImageButton
property string hoverImageButton
///@detalis widthImageButton Image width.
///@detalis widthImageButton Image width.
property int widthImageButton
property int widthImageButton: 0 * pt
///@detalis heightImageButton Image height.
///@detalis heightImageButton Image height.
property int heightImageButton
property int heightImageButton: 0 * pt
///@detalis indentImageLeftButton: Indentation of the image from the left edge.
///@detalis indentImageLeftButton: Indentation of the image from the left edge.
property int indentImageLeftButton
property int indentImageLeftButton
///@detalis colorBackgroundNormal Button background color in normal state.
///@detalis colorBackgroundNormal Button background color in normal state.
@@ -31,8 +31,6 @@ Button
@@ -31,8 +31,6 @@ Button
property int indentTextRight
property int indentTextRight
///@detalis fontButton Font setting.
///@detalis fontButton Font setting.
property alias fontButton:buttonText.font
property alias fontButton:buttonText.font
///@detalis existenceImage Indicates the presence of an image.
property bool existenceImage: true
///@detalis horizontalAligmentText Horizontal alignment.
///@detalis horizontalAligmentText Horizontal alignment.
property alias horizontalAligmentText:buttonText.horizontalAlignment
property alias horizontalAligmentText:buttonText.horizontalAlignment
///@detalis colorBackgroundButton This property overrides the background color.
///@detalis colorBackgroundButton This property overrides the background color.
@@ -72,12 +70,12 @@ Button
@@ -72,12 +70,12 @@ Button
Image
Image
{
{
id: iconNewWallet
id: iconNewWallet
anchors.verticalCenter: if(existenceImage)parent.verticalCenter
anchors.verticalCenter: parent.verticalCenter
anchors.left: if(existenceImage)parent.left
anchors.left: parent.left
anchors.leftMargin:if(existenceImage) indentImageLeftButton
anchors.leftMargin: indentImageLeftButton
source: if(existenceImage) dapButton.hovered ? hoverImageButton : normalImageButton
source: dapButton.hovered ? hoverImageButton : normalImageButton
width: if(existenceImage)widthImageButton
width: widthImageButton
height:if(existenceImage) heightImageButton
height: heightImageButton
}
}
}
}
}
}
Loading