mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
LineEdit: forward editingFinished signal
This commit is contained in:
parent
d4b3834bce
commit
ea8bc5b56d
1 changed files with 3 additions and 1 deletions
|
@ -29,6 +29,7 @@
|
|||
import QtQuick 2.0
|
||||
|
||||
Item {
|
||||
id: item
|
||||
property alias placeholderText: input.placeholderText
|
||||
property alias text: input.text
|
||||
property alias validator: input.validator
|
||||
|
@ -36,7 +37,7 @@ Item {
|
|||
property alias cursorPosition: input.cursorPosition
|
||||
property int fontSize: 18
|
||||
property bool error: false
|
||||
|
||||
signal editingFinished()
|
||||
|
||||
height: 37
|
||||
|
||||
|
@ -67,5 +68,6 @@ Item {
|
|||
anchors.leftMargin: 4
|
||||
anchors.rightMargin: 30
|
||||
font.pixelSize: parent.fontSize
|
||||
onEditingFinished: item.editingFinished()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue