lyx_mirror/src/frontends/qt/GuiClickableLabel.cpp

32 lines
561 B
C++
Raw Normal View History

// -*- C++ -*-
/**
* \file GuiClickableLabel.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* Full author contact details are available in file CREDITS.
*/
#include "config.h"
#include "GuiClickableLabel.h"
namespace lyx {
namespace frontend {
GuiClickableLabel::GuiClickableLabel(QWidget * parent)
: QLabel(parent)
{}
GuiClickableLabel::~GuiClickableLabel()
{}
void GuiClickableLabel::mouseReleaseEvent(QMouseEvent *) {
Q_EMIT clicked();
}
}
}
#include "moc_GuiClickableLabel.cpp"