2014-10-15 15:45:29 +02:00
|
|
|
/*
|
2020-08-13 21:08:54 +02:00
|
|
|
SPDX-FileCopyrightText: 2014 Bhushan Shah <bhush94@gmail.com>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2014-10-15 15:45:29 +02:00
|
|
|
|
|
|
|
import QtQuick 2.0
|
|
|
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
|
|
|
|
|
|
|
Row {
|
|
|
|
height: 200
|
|
|
|
width: 400
|
|
|
|
PlasmaCore.IconItem {
|
|
|
|
source: "plasma"
|
|
|
|
PlasmaCore.ToolTipArea {
|
|
|
|
anchors.fill: parent
|
|
|
|
mainText: "Tooltip Title"
|
|
|
|
subText: "Some explanation."
|
|
|
|
icon: "plasma"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
PlasmaCore.IconItem {
|
|
|
|
source: "ark"
|
|
|
|
PlasmaCore.ToolTipArea {
|
|
|
|
anchors.fill: parent
|
|
|
|
mainText: "Tooltip title"
|
|
|
|
subText: "No icon!"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|