~nbdev/firepoint/symbian

« back to all changes in this revision

Viewing changes to ui/ComicsMenu.qml

  • Committer: Tema Timonin
  • Date: 2012-10-29 20:23:52 UTC
  • Revision ID: timonin.artem@gmail.com-20121029202352-h84me2ay3fufkq7n
some changes in main menu + about +comics

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        }
39
39
                
40
40
        Column {        
41
 
                y: 95   
 
41
                y: comicsMenu.height / 10
 
42
                //x:10
42
43
                id: comicsColumn
43
 
                anchors.centerIn : parent
44
 
                spacing: 60
 
44
                anchors.horizontalCenter: parent.horizontalCenter
 
45
                spacing: comicsMenu.height / 15
45
46
                
46
47
                Image {
47
48
                        source: "img/comics1.png"
 
49
                        width: comicsMenu.width
 
50
                        fillMode: Image.PreserveAspectFit
48
51
            MouseArea{
49
52
                anchors.fill: parent
50
53
                onClicked: pageStack.push(appWindow.uiprefix + "ComicsTwo.qml");
53
56
                
54
57
                Image {
55
58
                        source: "img/comics2.png"
 
59
                        width: comicsMenu.width
 
60
                        fillMode: Image.PreserveAspectFit
56
61
            MouseArea{
57
62
                anchors.fill: parent
58
63
                onClicked: pageStack.push(appWindow.uiprefix + "ComicsOne.qml");
60
65
                }
61
66
        }
62
67
        
63
 
        Item {
64
 
        id: headerRect
65
 
        anchors.top:comicsMenu.top; anchors.left: comicsMenu.left; anchors.right: comicsMenu.right
66
 
        width: comicsMenu.width ; height: 78
67
 
        
68
68
        Image {
69
 
                        width: parent.width
70
 
                        height: 78
71
 
                        source: "img/header.png"
72
 
                        fillMode: Image.Tile
73
 
        }
74
 
        
75
 
        Text {
76
 
            id: titleText
77
 
            color: "white"
78
 
            x: parent.x + 20
79
 
            anchors.verticalCenter: headerRect.verticalCenter          
80
 
            
81
 
            font.pixelSize: 26
82
 
            text: qsTr("How-to's")
83
 
            font.family: 'Nokia Pure Text'
84
 
        }
85
 
    }
 
69
            id: headerRect
 
70
            anchors.top:comicsMenu.top; anchors.left: comicsMenu.left; anchors.right: comicsMenu.right
 
71
            width: comicsMenu.width ;
 
72
            //width: parent.width
 
73
            height: comicsMenu.height/10
 
74
            source: "img/header.png"
 
75
            fillMode: Image.TileHorizontally
 
76
 
 
77
 
 
78
            Text {
 
79
                id: titleText
 
80
                color: "white"
 
81
                x: parent.x + 20
 
82
                anchors.verticalCenter: headerRect.verticalCenter
 
83
 
 
84
                font.pointSize: 6.5
 
85
                text: qsTr("How-to's")
 
86
               // font.family: 'Nokia Pure Text'
 
87
            }
 
88
        }
86
89
    
87
90
     ToolBarLayout {
88
91
        ToolButton {