plasma-framework/tests/components/toolbutton.qml
David Edmundson 40fbd5f13c Add component tests
The rationale is to build simple tests which cover most combos of
components

Change-Id: I771a511eb3589c3815600697a800d4250e50175d
2014-09-25 12:37:44 +02:00

45 lines
920 B
QML

import QtQuick 2.0
import org.kde.plasma.components 2.0 as PlasmaComponents
Rectangle
{
width: 500
height: 300
color: "white"
Flow {
anchors.fill: parent
anchors.margins: 20
spacing: 20
PlasmaComponents.ToolButton {
iconSource: "list-remove"
text: "test"
flat: true
}
PlasmaComponents.ToolButton {
iconSource: "list-remove"
flat: true
}
PlasmaComponents.ToolButton {
text: "test"
flat: true
}
PlasmaComponents.ToolButton {
iconSource: "list-remove"
text: "test"
flat: false
}
PlasmaComponents.ToolButton {
iconSource: "list-remove"
flat: false
}
PlasmaComponents.ToolButton {
text: "test"
flat: false
}
}
}