LineEdit: forward editingFinished signal

This commit is contained in:
moneromooo.monero 2017-01-16 21:56:15 +00:00
parent d4b3834bce
commit ea8bc5b56d

View file

@ -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()
}
}