view src/gui/widgets/clickable_label.cc @ 283:969a3e8c79c5

dep/animone/x11: remove stupid debugging code
author Paper <paper@paper.us.eu.org>
date Wed, 08 May 2024 16:20:37 -0400
parents b3549da699a6
children b1f625b0227c
line wrap: on
line source

#include "gui/widgets/clickable_label.h"

ClickableLabel::ClickableLabel(QWidget* parent) : QLabel(parent) {
	setCursor(Qt::PointingHandCursor);
}

ClickableLabel::~ClickableLabel() {
}

void ClickableLabel::mousePressEvent(QMouseEvent*) {
	emit clicked();
}