mirror of
				https://github.com/YACReader/yacreader
				synced 2025-11-03 16:54:39 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			418 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			418 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef YACREADER_FIELD_EDIT_H
 | 
						|
#define YACREADER_FIELD_EDIT_H
 | 
						|
 | 
						|
#include <QLineEdit>
 | 
						|
 | 
						|
class QAction;
 | 
						|
class QFocusEvent;
 | 
						|
 | 
						|
class YACReaderFieldEdit : public QLineEdit
 | 
						|
{
 | 
						|
  Q_OBJECT
 | 
						|
	public:
 | 
						|
		YACReaderFieldEdit(QWidget * parent = 0);
 | 
						|
		void clear();
 | 
						|
		void setDisabled(bool disabled);
 | 
						|
	protected:
 | 
						|
		void focusInEvent(QFocusEvent* e);
 | 
						|
private:
 | 
						|
	QAction * restore;
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
#endif // YACREADER_FIELD_EDIT_H
 |