mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 12:56:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			39 lines
		
	
	
	
		
			603 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
	
		
			603 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef CSV_PREFS_PAGEBASE_H
 | |
| #define CSV_PREFS_PAGEBASE_H
 | |
| 
 | |
| #include <QScrollArea>
 | |
| 
 | |
| class QContextMenuEvent;
 | |
| 
 | |
| namespace CSMPrefs
 | |
| {
 | |
|     class Category;
 | |
| }
 | |
| 
 | |
| namespace CSVPrefs
 | |
| {
 | |
|     class PageBase : public QScrollArea
 | |
|     {
 | |
|             Q_OBJECT
 | |
| 
 | |
|             CSMPrefs::Category& mCategory;
 | |
| 
 | |
|         public:
 | |
| 
 | |
|             PageBase (CSMPrefs::Category& category, QWidget *parent);
 | |
| 
 | |
|             CSMPrefs::Category& getCategory();
 | |
| 
 | |
|         protected:
 | |
| 
 | |
|             void contextMenuEvent(QContextMenuEvent*);
 | |
| 
 | |
|         private slots:
 | |
| 
 | |
|             void resetCategory();
 | |
| 
 | |
|             void resetAll();
 | |
|     };
 | |
| }
 | |
| 
 | |
| #endif
 |