mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 01:56:43 +00:00 
			
		
		
		
	Fixed datafilespage model implementation in launcher Filtered addons in table view by selected game file
		
			
				
	
	
		
			39 lines
		
	
	
	
		
			811 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
	
		
			811 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /****************************************************************************
 | |
| **
 | |
| ** Copyright (c) 2007 Trolltech ASA <info@trolltech.com>
 | |
| **
 | |
| ** Use, modification and distribution is allowed without limitation,
 | |
| ** warranty, liability or support of any kind.
 | |
| **
 | |
| ****************************************************************************/
 | |
| 
 | |
| #ifndef LINEEDIT_H
 | |
| #define LINEEDIT_H
 | |
| 
 | |
| #include <QLineEdit>
 | |
| 
 | |
| class QToolButton;
 | |
| 
 | |
| namespace ContentSelectorView
 | |
| {
 | |
|     class LineEdit : public QLineEdit
 | |
|     {
 | |
|         Q_OBJECT
 | |
| 
 | |
|         QString mPlaceholderText;
 | |
| 
 | |
|     public:
 | |
|         LineEdit(QWidget *parent = 0);
 | |
| 
 | |
|     protected:
 | |
|         void resizeEvent(QResizeEvent *);
 | |
| 
 | |
|     private slots:
 | |
|         void updateClearButton(const QString &text);
 | |
| 
 | |
|     private:
 | |
|         QToolButton *mClearButton;
 | |
|     };
 | |
| }
 | |
| #endif // LIENEDIT_H
 | |
| 
 |