mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-04 05:50:31 -05: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);
 | 
						|
}
 |