|
|
|
@ -26,10 +26,22 @@ ElDialog { |
|
|
|
anchors.fill: parent |
|
|
|
anchors.fill: parent |
|
|
|
spacing: 0 |
|
|
|
spacing: 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flickable { |
|
|
|
|
|
|
|
Layout.fillWidth: true |
|
|
|
|
|
|
|
Layout.fillHeight: true |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
leftMargin: constants.paddingLarge |
|
|
|
|
|
|
|
rightMargin: constants.paddingLarge |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
contentHeight: rootLayout.height |
|
|
|
|
|
|
|
clip: true |
|
|
|
|
|
|
|
interactive: height < contentHeight |
|
|
|
|
|
|
|
|
|
|
|
GridLayout { |
|
|
|
GridLayout { |
|
|
|
Layout.preferredWidth: parent.width |
|
|
|
id: rootLayout |
|
|
|
Layout.leftMargin: constants.paddingLarge |
|
|
|
|
|
|
|
Layout.rightMargin: constants.paddingLarge |
|
|
|
width: parent.width |
|
|
|
|
|
|
|
|
|
|
|
columns: 2 |
|
|
|
columns: 2 |
|
|
|
|
|
|
|
|
|
|
|
Label { |
|
|
|
Label { |
|
|
|
@ -49,7 +61,10 @@ ElDialog { |
|
|
|
RowLayout { |
|
|
|
RowLayout { |
|
|
|
Layout.preferredWidth: 1 |
|
|
|
Layout.preferredWidth: 1 |
|
|
|
Layout.fillWidth: true |
|
|
|
Layout.fillWidth: true |
|
|
|
|
|
|
|
Layout.minimumWidth: bumpMethodComboBox.implicitWidth |
|
|
|
|
|
|
|
|
|
|
|
ElComboBox { |
|
|
|
ElComboBox { |
|
|
|
|
|
|
|
id: bumpMethodComboBox |
|
|
|
enabled: rbffeebumper.canChangeBumpMethod |
|
|
|
enabled: rbffeebumper.canChangeBumpMethod |
|
|
|
|
|
|
|
|
|
|
|
textRole: 'text' |
|
|
|
textRole: 'text' |
|
|
|
@ -142,10 +157,8 @@ ElDialog { |
|
|
|
|
|
|
|
|
|
|
|
RowLayout { |
|
|
|
RowLayout { |
|
|
|
Layout.columnSpan: 2 |
|
|
|
Layout.columnSpan: 2 |
|
|
|
Layout.fillWidth: true |
|
|
|
|
|
|
|
Slider { |
|
|
|
Slider { |
|
|
|
id: feeslider |
|
|
|
id: feeslider |
|
|
|
Layout.fillWidth: true |
|
|
|
|
|
|
|
leftPadding: constants.paddingMedium |
|
|
|
leftPadding: constants.paddingMedium |
|
|
|
snapMode: Slider.SnapOnRelease |
|
|
|
snapMode: Slider.SnapOnRelease |
|
|
|
stepSize: 1 |
|
|
|
stepSize: 1 |
|
|
|
@ -174,8 +187,7 @@ ElDialog { |
|
|
|
|
|
|
|
|
|
|
|
InfoTextArea { |
|
|
|
InfoTextArea { |
|
|
|
Layout.columnSpan: 2 |
|
|
|
Layout.columnSpan: 2 |
|
|
|
Layout.preferredWidth: parent.width * 3/4 |
|
|
|
Layout.fillWidth: true |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
|
|
|
|
visible: rbffeebumper.warning != '' |
|
|
|
visible: rbffeebumper.warning != '' |
|
|
|
text: rbffeebumper.warning |
|
|
|
text: rbffeebumper.warning |
|
|
|
iconStyle: InfoTextArea.IconStyle.Warn |
|
|
|
iconStyle: InfoTextArea.IconStyle.Warn |
|
|
|
@ -218,8 +230,7 @@ ElDialog { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
Item { Layout.fillHeight: true; Layout.preferredWidth: 1 } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FlatButton { |
|
|
|
FlatButton { |
|
|
|
id: sendButton |
|
|
|
id: sendButton |
|
|
|
|