61 lines
1.1 KiB
QML
Raw Normal View History

2019-07-21 13:34:42 +03:00
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.12
import QtQml.Models 2.12
import QtQuick.Window 2.12
import QtQuick.Controls.Material 2.12
import Qt.labs.settings 1.0
Window {
id: window
visible: true
width: 640
height: 480
title: qsTr("Qt-Secret-GUI")
// Settings {
// id: settings
// property string style: "Material"
// }
SwipeView {
id: swipeView
anchors.fill: parent
currentIndex: tabBar.currentIndex
Item {
Loader {
source: "KeysGeneratePage.qml"
}
}
Item {
Loader {
source: "EncryptDecryptPage.qml"
}
}
Item {
Loader {
source: "DigitalSignaturePage.qml"
}
}
}
TabBar {
id: tabBar
width: parent.width
currentIndex: swipeView.currentIndex
TabButton {
text: "Keys generate"
}
TabButton {
text: "Encryption and decryption"
}
TabButton {
text: "Digital signature"
}
}
}