| 1 |
import QtQuick 2.9 |
| 2 |
import Lomiri.OnlineAccounts.Plugin 1.0 |
| 3 |
|
| 4 |
Flickable { |
| 5 |
id: root |
| 6 |
|
| 7 |
property int keyboardSize: Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height : 0 |
| 8 |
contentHeight: loader.item.height + keyboardSize |
| 9 |
|
| 10 |
signal finished |
| 11 |
|
| 12 |
Loader { |
| 13 |
id: loader |
| 14 |
anchors.fill: parent |
| 15 |
sourceComponent: newAccountComponent |
| 16 |
|
| 17 |
Connections { |
| 18 |
target: loader.item |
| 19 |
onFinished: root.finished() |
| 20 |
} |
| 21 |
} |
| 22 |
|
| 23 |
Component { |
| 24 |
id: newAccountComponent |
| 25 |
NewAccount {} |
| 26 |
} |
| 27 |
} |