import QtQuick 1.1 import com.nokia.symbian 1.1 import "UIConstants.js" as UI Item { ListPage { id: listpage tools: commonTools ToolBarLayout { id: commonTools ToolButton { iconSource: "toolbar-back" anchors.left: (parent === undefined) ? undefined : parent.left onClicked: { pageStack.pop(); } } ToolButton { iconSource: "toolbar-view-menu" anchors.right: (parent === undefined) ? undefined : parent.right onClicked: (myMenu.status === DialogStatus.Closed) ? myMenu.open() : myMenu.close() } } } DescriptionPage { id: descriptionpage tools: commonTools } Text { id: header anchors.horizontalCenter: parent.horizontalCenter anchors.top: parent.top anchors.margins: UI.DEFAULT_MARGIN text: "Энциклопедия грибов" smooth: true font.pixelSize: UI.FONT_XLARGE color: !true ? UI.COLOR_FOREGROUND : UI.COLOR_INVERTED_FOREGROUND } Column { id: categoryButtons anchors.top: header.bottom anchors.bottom: parent.bottom anchors.left: parent.left anchors.right: parent.right anchors.margins: 10 spacing: 10 CategoryButtonP { title: "Съедобные" icon: "qrc:/gfx/good.svg" onButtonClicked: { listpage.showEdible(); pageStack.push(listpage); } } CategoryButtonP { title: "Условно съедобные" icon: "qrc:/gfx/cond.svg" onButtonClicked: { listpage.showCondEdible(); pageStack.push(listpage); } } CategoryButtonP { title: "Ядовитые" icon: "qrc:/gfx/bad.svg" onButtonClicked: { listpage.showToxic(); pageStack.push(listpage); } } } }