view src/gui/widgets/clickable_label.cc @ 413:192da585a0a8 default tip

*: fix formatting the clang-format file was broken andjust using LLVM defaults. now it's fixed and is more in line with what I actually prefer my code to look like -- esp. with regards to tabulators
author Paper <paper@tflc.us>
date Sat, 25 Jul 2026 14:54:32 -0400
parents ea3a74ed2ef9
children
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();
}