blob: a0a2014b2d3c05d77537b3843f8eb04a9a964827 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "label_with_double_click.h"
LabelWithDoubleClick::LabelWithDoubleClick(const QString& s, QWidget* parent)
: QLabel(s, parent)
{}
void LabelWithDoubleClick::mouseDoubleClickEvent(QMouseEvent*)
{
emit doubleClicked();
}
#include "label_with_double_click.moc"
|