OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
merge.hpp
Go to the documentation of this file.
1 #ifndef CSV_TOOLS_REPORTTABLE_H
2 #define CSV_TOOLS_REPORTTABLE_H
3 
4 #include <QWidget>
5 
6 #include <boost/filesystem/path.hpp>
7 
8 class QPushButton;
9 class QListWidget;
10 
11 namespace CSMDoc
12 {
13  class Document;
14  class DocumentManager;
15 }
16 
17 namespace CSVDoc
18 {
19  class FileWidget;
20  class AdjusterWidget;
21 }
22 
23 namespace CSVTools
24 {
25  class Merge : public QWidget
26  {
27  Q_OBJECT
28 
30  QPushButton *mOkay;
35 
36  void keyPressEvent (QKeyEvent *event);
37 
38  public:
39 
40  Merge (CSMDoc::DocumentManager& documentManager, QWidget *parent = 0);
41 
43  void configure (CSMDoc::Document *document);
44 
45  void setLocalData (const boost::filesystem::path& localData);
46 
48 
49  public slots:
50 
51  void cancel();
52 
53  private slots:
54 
55  void accept();
56 
57  void stateChanged (bool valid);
58  };
59 }
60 
61 #endif
Definition: adjusterwidget.hpp:19
Merge(CSMDoc::DocumentManager &documentManager, QWidget *parent=0)
Definition: merge.cpp:29
void stateChanged(bool valid)
Definition: merge.cpp:139
CSVDoc::FileWidget * mNewFile
Definition: merge.hpp:32
void cancel()
Definition: merge.cpp:118
Definition: documentmanager.hpp:33
void accept()
Definition: merge.cpp:124
void keyPressEvent(QKeyEvent *event)
Definition: merge.cpp:18
CSMDoc::Document * getDocument() const
Definition: merge.cpp:113
void setLocalData(const boost::filesystem::path &localData)
Definition: merge.cpp:108
QPushButton * mOkay
Definition: merge.hpp:30
Definition: filewidget.hpp:14
Definition: merge.hpp:25
void configure(CSMDoc::Document *document)
Configure dialogue for a new merge.
Definition: merge.cpp:91
CSVDoc::AdjusterWidget * mAdjuster
Definition: merge.hpp:33
Definition: document.hpp:57
CSMDoc::Document * mDocument
Definition: merge.hpp:29
CSMDoc::DocumentManager & mDocumentManager
Definition: merge.hpp:34
QListWidget * mFiles
Definition: merge.hpp:31