mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-29 23:58:39 -05:00
ba0228b173
These emit doubleClicked signal when double-clicked, otherwise they are identical to their super-classes. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7938 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
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);
|
|
}
|