mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
DolphinQt: Add ToolTipPushButton.
This commit is contained in:
@ -0,0 +1,19 @@
|
||||
// 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;
|
||||
};
|
Reference in New Issue
Block a user