diff options
| author | xiphon <xiphon@protonmail.com> | 2021-04-15 00:04:50 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2021-04-15 00:09:45 +0000 |
| commit | 767b9e05b395a63da1c880ec1155b722476177a5 (patch) | |
| tree | e0992c472f1b3de97d82b03499651176de303b5d /components/AdvancedOptionsItem.qml | |
| parent | 8444a9563e959fb8cac599b0178faae33eada25d (diff) | |
| download | monzero-gui-767b9e05b395a63da1c880ec1155b722476177a5.tar.gz monzero-gui-767b9e05b395a63da1c880ec1155b722476177a5.tar.xz monzero-gui-767b9e05b395a63da1c880ec1155b722476177a5.zip | |
TextPlain, Label: implement tooltips. Transfer: advanced - use tooltips
Diffstat (limited to 'components/AdvancedOptionsItem.qml')
| -rw-r--r-- | components/AdvancedOptionsItem.qml | 48 |
1 files changed, 3 insertions, 45 deletions
diff --git a/components/AdvancedOptionsItem.qml b/components/AdvancedOptionsItem.qml index 1efd55ce..fbafba5d 100644 --- a/components/AdvancedOptionsItem.qml +++ b/components/AdvancedOptionsItem.qml @@ -1,19 +1,17 @@ import QtQuick 2.9 import QtQuick.Layouts 1.1 -import FontAwesome 1.0 import "../components" as MoneroComponents RowLayout { id: advancedOptionsItem - + property alias title: title.text + property alias tooltip: title.tooltip property alias button1: button1 property alias button2: button2 property alias button3: button3 - property alias helpTextLarge: helpTextLarge - property alias helpTextSmall: helpTextSmall - + RowLayout { id: titlecolumn Layout.alignment: Qt.AlignTop | Qt.AlignLeft @@ -26,22 +24,6 @@ RowLayout { fontSize: 14 } - MoneroComponents.Label { - id: iconLabel - fontSize: 12 - text: FontAwesome.questionCircle - fontFamily: FontAwesome.fontFamily - opacity: 0.3 - MouseArea { - anchors.fill: parent - hoverEnabled: true - cursorShape: Qt.PointingHandCursor - onClicked: helpText.visible = !helpText.visible - onEntered: parent.opacity = 0.4 - onExited: parent.opacity = 0.3 - } - } - Rectangle { id: separator Layout.fillWidth: true @@ -78,29 +60,5 @@ RowLayout { visible: button3.text } } - - ColumnLayout { - id: helpText - visible: false - Layout.alignment: Qt.AlignTop | Qt.AlignLeft - - MoneroComponents.TextPlain { - id: helpTextLarge - visible: helpTextLarge.text - font.family: MoneroComponents.Style.fontRegular.name - font.pixelSize: 13 - color: MoneroComponents.Style.defaultFontColor - } - - MoneroComponents.TextPlain { - id: helpTextSmall - visible: helpTextSmall.text - Layout.leftMargin: 5 - textFormat: Text.RichText - font.family: MoneroComponents.Style.fontRegular.name - font.pixelSize: 12 - color: MoneroComponents.Style.defaultFontColor - } - } } } |
