2020-04-16 21:55:22 +00:00
|
|
|
import QtQuick 2.9
|
|
|
|
import QtQuick.Layouts 1.1
|
|
|
|
|
|
|
|
import "../components" as MoneroComponents
|
|
|
|
|
|
|
|
RowLayout {
|
|
|
|
id: advancedOptionsItem
|
2021-04-15 00:04:50 +00:00
|
|
|
|
2020-04-16 21:55:22 +00:00
|
|
|
property alias title: title.text
|
2021-04-15 00:04:50 +00:00
|
|
|
property alias tooltip: title.tooltip
|
2020-04-16 21:55:22 +00:00
|
|
|
property alias button1: button1
|
|
|
|
property alias button2: button2
|
|
|
|
property alias button3: button3
|
2021-04-15 00:04:50 +00:00
|
|
|
|
2020-04-16 21:55:22 +00:00
|
|
|
RowLayout {
|
|
|
|
id: titlecolumn
|
|
|
|
Layout.alignment: Qt.AlignTop | Qt.AlignLeft
|
|
|
|
Layout.preferredWidth: 195
|
|
|
|
Layout.maximumWidth: 195
|
|
|
|
Layout.leftMargin: 10
|
|
|
|
|
|
|
|
MoneroComponents.Label {
|
|
|
|
id: title
|
|
|
|
fontSize: 14
|
2021-05-19 16:36:44 +00:00
|
|
|
tooltipIconVisible: true
|
2020-04-16 21:55:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
id: separator
|
|
|
|
Layout.fillWidth: true
|
|
|
|
height: 10
|
|
|
|
color: "transparent"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ColumnLayout {
|
|
|
|
Layout.fillWidth: false
|
|
|
|
Layout.alignment: Qt.AlignTop | Qt.AlignLeft
|
|
|
|
spacing: 4
|
2021-07-22 18:47:12 +00:00
|
|
|
|
2020-04-16 21:55:22 +00:00
|
|
|
RowLayout {
|
|
|
|
Layout.fillWidth: false
|
|
|
|
spacing: 12
|
|
|
|
Layout.alignment: Qt.AlignTop | Qt.AlignLeft
|
2021-07-22 18:47:12 +00:00
|
|
|
|
2020-04-16 21:55:22 +00:00
|
|
|
StandardButton {
|
|
|
|
id: button1
|
|
|
|
small: true
|
2021-07-22 18:47:12 +00:00
|
|
|
primary: false
|
2020-04-16 21:55:22 +00:00
|
|
|
visible: button1.text
|
|
|
|
}
|
2021-07-22 18:47:12 +00:00
|
|
|
|
2020-04-16 21:55:22 +00:00
|
|
|
StandardButton {
|
|
|
|
id: button2
|
|
|
|
small: true
|
2021-07-22 18:47:12 +00:00
|
|
|
primary: false
|
2020-04-16 21:55:22 +00:00
|
|
|
visible: button2.text
|
|
|
|
}
|
2021-07-22 18:47:12 +00:00
|
|
|
|
2020-04-16 21:55:22 +00:00
|
|
|
StandardButton {
|
|
|
|
id: button3
|
|
|
|
small: true
|
2021-07-22 18:47:12 +00:00
|
|
|
primary: false
|
2020-04-16 21:55:22 +00:00
|
|
|
visible: button3.text
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|