mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 22:26:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			63 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef CSV_TOOLS_REPORTTABLE_H
 | |
| #define CSV_TOOLS_REPORTTABLE_H
 | |
| 
 | |
| #include <QWidget>
 | |
| 
 | |
| #ifndef Q_MOC_RUN
 | |
| #include <boost/filesystem/path.hpp>
 | |
| #endif
 | |
| 
 | |
| class QPushButton;
 | |
| class QListWidget;
 | |
| 
 | |
| namespace CSMDoc
 | |
| {
 | |
|     class Document;
 | |
|     class DocumentManager;
 | |
| }
 | |
| 
 | |
| namespace CSVDoc
 | |
| {
 | |
|     class FileWidget;
 | |
|     class AdjusterWidget;
 | |
| }
 | |
| 
 | |
| namespace CSVTools
 | |
| {
 | |
|     class Merge : public QWidget
 | |
|     {
 | |
|             Q_OBJECT
 | |
| 
 | |
|             CSMDoc::Document *mDocument;
 | |
|             QPushButton *mOkay;
 | |
|             QListWidget *mFiles;
 | |
|             CSVDoc::FileWidget *mNewFile;
 | |
|             CSVDoc::AdjusterWidget *mAdjuster;
 | |
|             CSMDoc::DocumentManager& mDocumentManager;
 | |
| 
 | |
|             void keyPressEvent (QKeyEvent *event);
 | |
| 
 | |
|         public:
 | |
| 
 | |
|             Merge (CSMDoc::DocumentManager& documentManager, QWidget *parent = 0);
 | |
| 
 | |
|             /// Configure dialogue for a new merge
 | |
|             void configure (CSMDoc::Document *document);
 | |
| 
 | |
|             void setLocalData (const boost::filesystem::path& localData);
 | |
| 
 | |
|             CSMDoc::Document *getDocument() const;
 | |
| 
 | |
|         public slots:
 | |
| 
 | |
|             void cancel();
 | |
| 
 | |
|         private slots:
 | |
| 
 | |
|             void accept();
 | |
| 
 | |
|             void stateChanged (bool valid);
 | |
|     };
 | |
| }
 | |
| 
 | |
| #endif
 |