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

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
}