import QtQuick 2.9
import QtMultimedia 5.8
import QtQuick.Window 2.2
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
import QtGraphicalEffects 1.0
import QtQuick.Controls.Styles 1.4
import "../components"
StackView {
id: control
property int delegateHeight: height * 0.25
property int rowSpacing: height * 0.01
initialItem: settings
/*-----start page of the settings-----*/
Component {
id: settings
StartPage {
id: settings_col
parentObj: control
}
/*-----Page to setup automatc start sequence-----*/
id: autostart
SettingsStartSequencePage {
id: autostart_col
/*-----Page to connect to the base station -----*/
id: connect
SettingsBaseStationPage{
id: connectCol
/*-----Custom animations-----*/
pushEnter: Transition {
NumberAnimation {
property: "opacity"
from: 0
to: 1
duration: 300
easing.type: Easing.InOutQuad
property: "x"
from: width * 0.1
to: 0
pushExit: Transition {
from: 1
to: -width * 0.1
popExit: Transition {
to: width * 0.1
popEnter: Transition {
from: -width * 0.1