~feng-kylin/youker-assistant/youker-assistant

« back to all changes in this revision

Viewing changes to qml/func/common/ApplicationWindow.qml

  • Committer: kobe
  • Date: 2015-02-13 07:37:10 UTC
  • Revision ID: xiangli@ubuntukylin.com-20150213073710-0jyp02ilyi5njj10
Qt Version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import QtQuick 1.1
2
 
import WindowType 0.1
3
 
Window {
4
 
    width: 320
5
 
    height: 240
6
 
 
7
 
    property alias toolBar: toolBarArea.data
8
 
    property alias statusBar: statusBarArea.data
9
 
    default property alias data: contentArea.data
10
 
 
11
 
    SystemPalette {id: syspal}
12
 
 
13
 
 
14
 
    Rectangle {
15
 
        anchors.fill: parent
16
 
        color: syspal.button
17
 
    }
18
 
 
19
 
 
20
 
    Column {
21
 
        id: toolBarArea
22
 
        anchors.top: parent.top
23
 
        anchors.left: parent.left
24
 
        anchors.right: parent.right
25
 
    }
26
 
 
27
 
    Item {
28
 
        id: contentArea
29
 
        anchors.top: toolBarArea.bottom
30
 
        anchors.left: parent.left
31
 
        anchors.right: parent.right
32
 
        anchors.bottom: statusBarArea.top
33
 
    }
34
 
 
35
 
    Column {
36
 
        id: statusBarArea
37
 
        anchors.bottom: parent.bottom
38
 
        anchors.left: parent.left
39
 
        anchors.right: parent.right
40
 
    }
41
 
}