OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
searchsubview.hpp
Go to the documentation of this file.
1 #ifndef CSV_TOOLS_SEARCHSUBVIEW_H
2 #define CSV_TOOLS_SEARCHSUBVIEW_H
3 
4 #include "../../model/tools/search.hpp"
5 
6 #include "../doc/subview.hpp"
7 
8 #include "searchbox.hpp"
9 
10 class QTableView;
11 class QModelIndex;
12 
13 namespace CSMDoc
14 {
15  class Document;
16 }
17 
18 namespace CSVTools
19 {
20  class ReportTable;
21 
23  {
24  Q_OBJECT
25 
30  bool mLocked;
31 
32  private:
33 
34  void replace (bool selection);
35 
36  protected:
37 
38  void showEvent (QShowEvent *event);
39 
40  public:
41 
43 
44  virtual void setEditLock (bool locked);
45 
46  private slots:
47 
48  void stateChanged (int state, CSMDoc::Document *document);
49 
50  void startSearch (const CSMTools::Search& search);
51 
52  void replaceRequest();
53 
54  void replaceAllRequest();
55  };
56 }
57 
58 #endif
void stateChanged(int state, CSMDoc::Document *document)
Definition: searchsubview.cpp:104
Definition: searchsubview.hpp:22
void replaceAllRequest()
Definition: searchsubview.cpp:125
void showEvent(QShowEvent *event)
Definition: searchsubview.cpp:61
bool event(QEvent *event)
Definition: subview.cpp:9
void replace(bool selection)
Definition: searchsubview.cpp:14
SearchBox mSearchBox
Definition: searchsubview.hpp:27
void startSearch(const CSMTools::Search &search)
Definition: searchsubview.cpp:109
bool mLocked
Definition: searchsubview.hpp:30
Definition: searchbox.hpp:20
Definition: subview.hpp:23
ReportTable * mTable
Definition: searchsubview.hpp:26
Definition: reporttable.hpp:28
Definition: document.hpp:57
SearchSubView(const CSMWorld::UniversalId &id, CSMDoc::Document &document)
Definition: searchsubview.cpp:67
virtual void setEditLock(bool locked)
Definition: searchsubview.cpp:98
CSMDoc::Document & mDocument
Definition: searchsubview.hpp:28
CSMTools::Search mSearch
Definition: searchsubview.hpp:29
void replaceRequest()
Definition: searchsubview.cpp:120
Definition: search.hpp:26
Definition: universalid.hpp:12