12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import QtQuick 1.1
- import com.nokia.meego 1.0
- Page {
- id: page
- orientationLock: main.appOrientation
- /*------------------------------------------*/
- /* фишка с неактивным приложением */
- onStatusChanged: {
- console.log("QML: MainView: status:" + status)
- }
- /*------------------------------------------*/
- Rectangle {
- id: background
- anchors.fill: parent
- color: "black"
- Loader {
- id: mainItem
- anchors.fill: parent
- source: main.loadPage
- onLoaded: {
- main.mainViewItem = item
- mainItem.item.state = "visible"
- }
- }
- }
- /*Rectangle {
- id: curtainWhenItNotActive
- z: 1000
- anchors.fill: parent
- color: "black"
- opacity: 0.85
- //visible: page.status == PageStatus.Active ? false : true
- Text {
- anchors.centerIn: parent
- font.bold: true
- font.pixelSize: 58
- color: "yellow"
- text: "MeegIM"
- }
- }*/
- }
|