linux.x86.linphone/Linphone/view/Page/LoginPage.qml
Julien Wadel 23c0b9bd42 Add an example of Cpp model for views.
Remove qml folder.
Update SDK
2023-10-03 15:44:20 +02:00

25 lines
No EOL
384 B
QML

import QtQuick 2.15
import QtQuick.Layouts 1.0
import Linphone
Item{
id: mainItem
ColumnLayout{
anchors.fill: parent
Text{
Layout.fillWidth: true
text: LoginPageCpp.isLogged ? "Online" : "Offline"
}
RowLayout{
Button{
text: 'Sign In'
onClicked: console.log("Click!")
}
Button{
text: 'Sign Out'
onClicked: console.log("Click!")
}
}
}
}