summaryrefslogtreecommitdiff
path: root/tools/stretchbench/StretchBenchBoolOption.qml
blob: ceceec178f5f0fcfd8e73c0b39fc930d4b4de494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import QtQuick 1.0
import "../../components"

Item {
    id: name

    property alias text: optionText.text
    property alias checked: optionCheckBox.checked

    anchors.left: parent.left
    anchors.right: parent.right
    height: row.height

    Item { id: row
        clip: true
        width: parent.width
        height: Math.max(optionText.height, optionCheckBox.height)
        Text { id: optionText; font.pixelSize: 16; anchors.verticalCenter: parent.verticalCenter }
        CheckBox { id: optionCheckBox; anchors.right: parent.right }
    }
}