Mercurial > minori
view src/gui/widgets/clickable_label.cc @ 339:eac06513db86
dialog/about: add licenses button
otherwise we wouldn't be complying with most of the libraries
and external software we use
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 19 Jun 2024 14:02:11 -0400 |
parents | b1f625b0227c |
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(); }