import QtQuick 2.4
import Ubuntu.Components 1.3
import "components"
MainView {
// objectName for functional testing purposes (autopilot-qt5)
objectName: "mainView"
// Note! applicationName needs to match the "name" field of the click manifest
applicationName: "com.ubuntu.developer.aaronhoneycutt.ubuntubeginner"
/*
This property enables the application to change orientation
when the device is rotated. The default is false.
*/
//automaticOrientation: true
width: units.gu(50)
height: units.gu(75)
Tabs {
id: tabs
Tab{
title: i18n.tr("Home")
page: Page {
Home {
id: home
}
}
}
Tab {
title: i18n.tr("Contribute")
page: Page {
Contribute {
id: contribute
}
}
}
Tab {
title: i18n.tr("Family")
page: Page {
Family {
id: family
}
}
}
Tab {
title: i18n.tr("About")
page: Page {
About {
id: about
}
}
}
Component.onCompleted: selectedTabIndex = 0
}
}