view src/gui/widgets/clickable_label.cc @ 296:b2a4358da16c

scripts/win32: CRLF -> LF this breaks win32 build scripts
author Paper <paper@paper.us.eu.org>
date Mon, 13 May 2024 02:48:39 -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();
}