mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 20:28:42 -05:00
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);
|
||
|
}
|