dolphin/Source/Core/DolphinQt/Config/ToolTipControls/ToolTipPushButton.h

20 lines
464 B
C++

// Copyright 2023 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "DolphinQt/Config/ToolTipControls/ToolTipWidget.h"
#include <QPushButton>
#include "DolphinQt/QtUtils/NonDefaultQPushButton.h"
class ToolTipPushButton : public ToolTipWidget<NonDefaultQPushButton>
{
public:
explicit ToolTipPushButton(const QString& text = {}, QWidget* parent = nullptr);
private:
QPoint GetToolTipPosition() const override;
};