summaryrefslogtreecommitdiff
path: root/share/qtcreator/welcomescreen/widgets/IconAndLink.qml
blob: c9d934c276b0ec8c542a95d0ba9e696666757422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import QtQuick 1.1
import widgets 1.0

Row {
    id: root

    property string iconName
    property string linkText
    signal clicked

    spacing: 4

    Image {
        y: 10
        source: "images/icons/" + iconName +".png"
    }

    LinkedText {
        x: 19
        y: 5
        height: 38
        text: linkText
        verticalAlignment: Text.AlignBottom
        onClicked: root.clicked();
    }
}