mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-09-08 22:36:40 -04:00
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);
|
|
}
|