view src/gui/widgets/clickable_label.cc @ 248:cf47a8f687c0

cmake: remove cmake
author Paper <mrpapersonic@gmail.com>
date Wed, 24 Jan 2024 20:18:14 -0500
parents 4d461ef7d424
children b3549da699a6
line wrap: on
line source

#include "gui/widgets/clickable_label.h"
/* NOTE: this can likely be moved to poster.cpp, as
   it's really the only place this will ever be used */

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

ClickableLabel::~ClickableLabel() {
}

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