mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-28 20:44:15 +01:00
24 lines
470 B
C
24 lines
470 B
C
|
// Copyright 2017 Citra Emulator Project
|
||
|
// Licensed under GPLv2 or any later version
|
||
|
// Refer to the license.txt file included.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <QLabel>
|
||
|
#include <QWidget>
|
||
|
#include <Qt>
|
||
|
|
||
|
class ClickableLabel : public QLabel {
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit ClickableLabel(QWidget* parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags());
|
||
|
~ClickableLabel();
|
||
|
|
||
|
signals:
|
||
|
void clicked();
|
||
|
|
||
|
protected:
|
||
|
void mouseReleaseEvent(QMouseEvent* event);
|
||
|
};
|