123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- import QtQuick 2.12
- import QtQuick.Controls 2.5
- import "../Sending"
- import "../Receiving"
- import "../Messages"
- import "../Settings"
- import "../Help"
- import "../Connect"
- ApplicationWindow {
- id: window
- visible: true
- width: 1280
- height: 720
- maximumHeight: height
- maximumWidth: width
- font.capitalization: Font.MixedCase
- minimumHeight: height
- minimumWidth: width
- title: qsTr("Covert Channel - Control Panel")
- SwipeView {
- id: swipeView
- anchors.fill: parent
- currentIndex: header.currentIndex
- SendingForm {
- }
- ReceivingForm {
- }
- MessagesForm {
- }
- SettingsForm {
- }
- HelpForm {
- }
- }
- header: TabBar {
- id: header
- currentIndex: swipeView.currentIndex
- contentHeight: 50
- TabButton {
- text: qsTr("Sending")
- }
- TabButton {
- text: qsTr("Receiving")
- }
- TabButton {
- text: qsTr("Messages")
- }
- TabButton {
- text: qsTr("Settings")
- }
- TabButton {
- text: qsTr("Help")
- }
- }
- footer: FooterForm {
- }
- LoginSignupPopup {
- id: loginSignupPopup
- }
- IpPopup {
- id: ipPopup
- }
- NoConfigFoundPopup {
- id: noConfigFoundPopup
- }
- InvalidConfigPopup {
- id: invalidConfigPopup
- }
- InvalidCliPathPopup {
- id: invalidCliPathPopup
- }
- Component.onCompleted: {
- swipeView.interactive = false
- ipPopup.open()
- _qmlHandler.onStart()
- }
- }
|