mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-14 08:01:49 -05:00
947b429723
This change incorporates a reorganization of the GUI code with widgets, validators, models, and item delegates being moved to sub-directories. Relax the requirements of the ForeignKeyDelegate and related CandidateKeyFilter classes to allow them to work with constant model pointers for both referenced and referencing models.
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);
|
|
}
|