1
0

qml: initial RbF bump fee feature

This commit is contained in:
Sander van Grieken
2022-10-25 15:13:57 +02:00
parent 1a7fc2cff7
commit 902f16204c
7 changed files with 656 additions and 189 deletions

View File

@@ -0,0 +1,26 @@
import QtQuick 2.6
import QtQuick.Controls 2.0
import org.electrum 1.0
ComboBox {
id: control
required property QtObject feeslider
textRole: 'text'
valueRole: 'value'
model: [
{ text: qsTr('ETA'), value: 1 },
{ text: qsTr('Mempool'), value: 2 },
{ text: qsTr('Static'), value: 0 }
]
onCurrentValueChanged: {
if (activeFocus)
feeslider.method = currentValue
}
Component.onCompleted: {
currentIndex = indexOfValue(feeslider.method)
}
}