QtQuick Components and new Symbian guidelines

Qt Quick ComponentsSo last week Qt Quick components were made available to download via the experimental section of the Qt Maintenance tool.  There is a full blog post about it on the Qt labs blog but basically, this means you can add an import line to your Qt Quick code and then add button and check-box (among others) objects that fit in with the new Symbian guidelines without having to create your own. Simple.

You can view the full list of components and how to use them in the Qt Reference Documentation and there are a few example apps available too.  MeeGo 1.2 Harmattan also uses a set of similar components (create a Harmattan project to see them). However, I’ll add my own very simple and brief example of the Symbian components here.

import com.nokia.symbian 1.0 // Symbian components
import QtQuick 1.0

Rectangle {
    id: rectangle1
    width: 320
    height: 500
    color: "#b7bcc0"
    Button {
        id: button1
        x: 80
        width: 200
        height: 50
        text: "Click Me!"
        checkable: true
        anchors.top: parent.top
        anchors.topMargin: 100
        anchors.horizontalCenter: parent.horizontalCenter
        onClicked: textarea1.text="Clicked"
    TextArea {
        id: textarea1
        x: 61
        y: 309
        width: 180
        height: 180
        text: "Not Clicked"
        anchors.horizontalCenterOffset: 0
        anchors.bottom: parent.bottom
        anchors.bottomMargin: 100
        anchors.horizontalCenter: parent.horizontalCenter


Also interesting to note that now with components variable for MeeGo 1.2 Harmattan and Symbian there are now updated guidelines for Symbian, all featuring a new standard bottom menu bar (to replace the chunky Options and Close buttons). If you want a quick look around what’s coming for Symbian, these guidelines are well worth a look.

New Symbian GuidelinesOf course, for comparison, the MeeGo 1.2 Harmattan guidelines are here.


About bluechrism

I am a software developer with most professional experience in the Windows .Net realm and I'm currently a WPF developer with Starkey Labs. However, I have wanted for some time to start the mobile developer journey properly and being an N900 owner, this was to be in the realm of QT. Job hunting, moving to Minnesota and changing jobs put my plans on hold 6-12 months but things are starting to settle now, just as I'm getting sorted to start some things, Microsoft and Nokia merge. This blog is about my novice mobile development experiences and hopefully will end up complete with links to download some apps on various platforms, but obviously by the name, Sybian, Maemo/Meego and Windows Mobile. In other stuff, I am English, I support Everton FC, I have visited Glastonbury music festival 5 times and recommend it to anyone. I am married and my wife and i have a dog called Friday.
This entry was posted in Development, MeeGo, Nokia, Qt, Symbian and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s