Mercurial > minori
view src/gui/widgets/clickable_label.cc @ 295:b82841e76e79
*: better support on Windows
things now look much better in dark mode
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 12 May 2024 20:24:09 -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(); }