mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-27 23:51:20 -08:00
22 lines
445 B
C++
22 lines
445 B
C++
// SPDX-FileCopyrightText: Copyright 2017 Citra Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QLabel>
|
|
#include <QWidget>
|
|
|
|
class ClickableLabel : public QLabel {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ClickableLabel(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
|
|
~ClickableLabel() = default;
|
|
|
|
signals:
|
|
void clicked();
|
|
|
|
protected:
|
|
void mouseReleaseEvent(QMouseEvent* event);
|
|
};
|