15 lines
343 B
C++
15 lines
343 B
C++
#include "DoubleClickablePushButton.hpp"
|
|
|
|
#include "moc_DoubleClickablePushButton.cpp"
|
|
|
|
DoubleClickablePushButton::DoubleClickablePushButton (QWidget * parent)
|
|
: QPushButton {parent}
|
|
{
|
|
}
|
|
|
|
void DoubleClickablePushButton::mouseDoubleClickEvent (QMouseEvent * event)
|
|
{
|
|
Q_EMIT doubleClicked ();
|
|
QPushButton::mouseDoubleClickEvent (event);
|
|
}
|