Files
RedBear-OS/local/recipes/kde/kf6-kwidgetsaddons/source/autotests/ktooltipwidgettest.h
T
2026-04-14 10:51:06 +01:00

36 lines
709 B
C++

/*
SPDX-FileCopyrightText: 2017 Elvis Angelaccio <elvis.angelaccio@kde.org>
SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef KTOOLTIPWIDGETTEST_H
#define KTOOLTIPWIDGETTEST_H
#include <QObject>
#include <QRect>
class KToolTipWidgetTest : public QObject
{
Q_OBJECT
private Q_SLOTS:
void initTestCase();
void showTooltipShouldShowContent();
void hideLaterShouldHideAfterDelay();
void setZeroDelayShouldHideImmediately();
void shouldHideImmediatelyIfContentDestroyed();
void shouldNotTakeOwnershipOfContent();
void shouldNotObscureTarget_data();
void shouldNotObscureTarget();
private:
QRect m_screenGeometry;
const int m_offset = 10;
};
#endif