view src/gui/widgets/clickable_label.cc @ 265:ff0b2052b234

*: add missing utf8proc files I'm an idiot LOL
author Paper <paper@paper.us.eu.org>
date Thu, 11 Apr 2024 10:22:05 -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();
}