summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/comments.qml
blob: ab1bbc9b18f1349e2c8efd533d9665cc1d7d258a (plain)
1
2
3
4
5
6
7
8
9
10
11
import Qt 4.7

Text {
    text: "Hello world!"    //a basic greeting
    /*
        We want this text to stand out from the rest so
        we give it a large size and different font.
     */
    font.family: "Helvetica"
    font.pointSize: 24
}