mirror of
https://github.com/vicr123/theshell.git
synced 2025-01-23 12:12:06 -05:00
13 lines
206 B
C++
13 lines
206 B
C++
|
#include "clickablelabel.h"
|
||
|
|
||
|
ClickableLabel::ClickableLabel(QWidget* parent) :
|
||
|
QLabel(parent)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void ClickableLabel::mousePressEvent(QMouseEvent *event) {
|
||
|
emit clicked();
|
||
|
event->accept();
|
||
|
}
|