mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-31 13:10:19 -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);
 | |
| }
 |