plasma-framework/tests/components/toolbutton.qml

45 lines
920 B
QML
Raw Normal View History

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
}
}
}