Mercurial > minori
view src/gui/widgets/clickable_label.cc @ 288:8b9db17d1e5f
autoconf: don't need Qt5Svg
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 08 May 2024 16:47:25 -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(); }