2020-06-17 19:18:31 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtQuick.Controls 2.13
|
|
|
|
import QtQuick.Layouts 1.13
|
2020-05-27 21:28:25 +00:00
|
|
|
import "../../../../imports"
|
2020-06-04 07:38:24 +00:00
|
|
|
import "../../../../shared"
|
2020-05-27 21:28:25 +00:00
|
|
|
|
|
|
|
Item {
|
|
|
|
id: signoutContainer
|
|
|
|
width: 200
|
|
|
|
height: 200
|
|
|
|
Layout.fillHeight: true
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
2020-06-19 18:06:58 +00:00
|
|
|
StyledText {
|
2020-06-04 07:38:24 +00:00
|
|
|
id: txtTitle
|
2020-05-27 21:28:25 +00:00
|
|
|
text: qsTr("Sign out controls")
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.leftMargin: 24
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.topMargin: 24
|
|
|
|
font.weight: Font.Bold
|
|
|
|
font.pixelSize: 20
|
|
|
|
}
|
2020-06-04 07:38:24 +00:00
|
|
|
|
|
|
|
StyledButton {
|
|
|
|
id: btnLogout
|
|
|
|
anchors.top: txtTitle.bottom
|
|
|
|
anchors.topMargin: Theme.padding
|
2020-06-17 16:13:13 +00:00
|
|
|
// label: qsTr("Logout")
|
|
|
|
label: qsTr("Exit")
|
2020-06-04 07:38:24 +00:00
|
|
|
|
|
|
|
onClicked: {
|
2020-06-17 16:13:13 +00:00
|
|
|
// profileModel.logout();
|
|
|
|
Qt.quit();
|
2020-06-04 07:38:24 +00:00
|
|
|
}
|
|
|
|
}
|
2020-06-17 19:18:31 +00:00
|
|
|
}
|