2020-08-20 00:14:19 +02:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2014 David Edmundson <kde@davidedmundson.co.uk>
|
|
|
|
* SPDX-FileCopyrightText: 2020 Noah Davis <noahadvs@gmail.com>
|
|
|
|
* SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
|
|
|
|
*/
|
2014-09-22 17:02:10 +02:00
|
|
|
import QtQuick 2.0
|
2020-08-18 11:45:23 +02:00
|
|
|
import QtQuick.Layouts 1.12
|
|
|
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
2014-09-22 17:02:10 +02:00
|
|
|
import org.kde.plasma.components 2.0 as PlasmaComponents
|
|
|
|
|
2019-12-09 17:33:23 +01:00
|
|
|
ComponentBase {
|
2020-08-18 11:45:23 +02:00
|
|
|
id: root
|
|
|
|
title: "Plasma Components 2 ToolButton"
|
|
|
|
|
|
|
|
contentItem: Flow {
|
|
|
|
spacing: PlasmaCore.Units.gridUnit
|
2014-09-22 17:02:10 +02:00
|
|
|
|
|
|
|
PlasmaComponents.ToolButton {
|
2020-08-18 11:45:23 +02:00
|
|
|
iconSource: "start-here-kde-plasma"
|
2014-09-22 17:02:10 +02:00
|
|
|
text: "test"
|
|
|
|
flat: true
|
|
|
|
}
|
|
|
|
PlasmaComponents.ToolButton {
|
2020-08-18 11:45:23 +02:00
|
|
|
iconSource: "start-here-kde-plasma"
|
2014-09-22 17:02:10 +02:00
|
|
|
flat: true
|
|
|
|
}
|
|
|
|
PlasmaComponents.ToolButton {
|
|
|
|
text: "test"
|
|
|
|
flat: true
|
|
|
|
}
|
|
|
|
PlasmaComponents.ToolButton {
|
2020-08-18 11:45:23 +02:00
|
|
|
iconSource: "start-here-kde-plasma"
|
2014-09-22 17:02:10 +02:00
|
|
|
text: "test"
|
|
|
|
flat: false
|
|
|
|
}
|
|
|
|
PlasmaComponents.ToolButton {
|
2020-08-18 11:45:23 +02:00
|
|
|
iconSource: "start-here-kde-plasma"
|
2014-09-22 17:02:10 +02:00
|
|
|
flat: false
|
|
|
|
}
|
|
|
|
PlasmaComponents.ToolButton {
|
|
|
|
text: "test"
|
|
|
|
flat: false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|