From 9a41afb29b155665543bd8ba5b8d1acb49bf86a9 Mon Sep 17 00:00:00 2001 From: Martin Klapetek Date: Thu, 5 Mar 2015 15:09:29 +0100 Subject: [PATCH] Add another tooltip test mimicking the notifications applet Change-Id: I3900c02c16c8c4c0a98f058e55681ec05006a360 --- tests/tooltip.qml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/tests/tooltip.qml b/tests/tooltip.qml index 86703b476..b153188e1 100644 --- a/tests/tooltip.qml +++ b/tests/tooltip.qml @@ -123,6 +123,25 @@ Rectangle { } } + PlasmaCore.ToolTipArea { + width: 300 + height: 50 + + icon: "kde" + mainText: "Notifications" + subText: "Display notifications and jobs" + + Rectangle { + color: "red" + anchors.fill: parent + } + + Text { + anchors.fill: parent + text: "Notification applet tooltip" + } + } + } }