Skip to content
Snippets Groups Projects

[+]add dapRadioButton

Merged konstantin.kukharenko requested to merge feature-2894 into develop
4 files
+ 64
62
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 19
17
@@ -3,33 +3,35 @@ import QtQuick.Controls 2.0
Button {
///@detalis heightButton Button height.
property int heightButton: 36 * pt
property int heightButton
///@detalis widthButton Button width.
property int widthButton: 120 * pt
property int widthButton
///@detalis normalImageButton The picture on the Button is in normal state.
property string normalImageButton: "qrc:/res/icons/new-wallet_icon_dark.png"
property string normalImageButton
///@detalis hoverImageButton The image on the Button is in the mouseover state.
property string hoverImageButton: "qrc:/res/icons/new-wallet_icon_dark_hover.png"
property string hoverImageButton
///@detalis widthImageButton Image width.
property int widthImageButton: 28 * pt
property int widthImageButton
///@detalis heightImageButton Image height.
property int heightImageButton: 28 * pt
property int heightImageButton
///@detalis indentImageLeftButton: Indentation of the image from the left edge.
property int indentImageLeftButton: 10 * pt
property int indentImageLeftButton
///@detalis colorBackgroundNormal Button background color in normal state.
property string colorBackgroundNormal:"#070023"
property string colorBackgroundNormal
///@detalis colorBackgroundHover Button background color in hover state.
property string colorBackgroundHover: "#D51F5D"
property string colorBackgroundHover
///@detalis textButton Text button.
property string textButton: "New Wallet"
property string textButton
///@detalis colorButtonTextNormal Button text color in normal state.
property string colorButtonTextNormal: "#FFFFFF"
property string colorButtonTextNormal
///@detalis colorButtonTextHover Button text color in hover state.
property string colorButtonTextHover: "#FFFFFF"
property string colorButtonTextHover
///@detalis indentTextRight: Indentation of the text from the right edge.
property int indentTextRight: 20 * pt
property int indentTextRight
///@detalis fontSizeButton Font size.
property int fontSizeButton: 14 * pt
property int fontSizeButton
///@detalis fontFamily Font family button.
property string fontFamily
///@detalis existenceImage Indicates the presence of an image.
property bool existenceImage:true
///@detalis horizontalAligmentText Horizontal alignment.
@@ -39,9 +41,9 @@ Button {
///@detalis colorTextButton This property overrides the color of the text.
property alias colorTextButton: templateText.color
///@detalis borderColorButton Sets the color of the border.
property string borderColorButton: "#000000"
property string borderColorButton
///@detalis borderWidthButton Sets the width of the border.
property int borderWidthButton: 0
property int borderWidthButton
id: dapButton
@@ -61,7 +63,7 @@ Button {
horizontalAlignment: Qt.AlignRight
anchors.rightMargin: indentTextRight
font.pixelSize: fontSizeButton
font.family: "Roboto"
font.family: fontFamily
font.weight: Font.Normal
color: dapButton.hovered ? colorButtonTextHover : colorButtonTextNormal
text: qsTr(textButton)
Loading