OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
scenesubview.hpp
Go to the documentation of this file.
1 #ifndef CSV_WORLD_SCENESUBVIEW_H
2 #define CSV_WORLD_SCENESUBVIEW_H
3 
4 #include <QHBoxLayout>
5 
6 #include "../doc/subview.hpp"
7 
8 class QModelIndex;
9 
10 namespace CSMWorld
11 {
12  class CellSelection;
13 }
14 
15 namespace CSMDoc
16 {
17  class Document;
18 }
19 
20 namespace CSVRender
21 {
22  class WorldspaceWidget;
23  class PagedWorldspaceWidget;
24  class UnpagedWorldspaceWidget;
25 }
26 
27 namespace CSVWidget
28 {
29  class SceneToolbar;
30  class SceneToolMode;
31 }
32 
33 namespace CSVWorld
34 {
35  class Table;
36  class TableBottomBox;
37  class CreatorFactoryBase;
38 
40  {
41  Q_OBJECT
42 
45  QHBoxLayout* mLayout;
48  std::string mTitle;
49 
50  public:
51 
53 
54  virtual void setEditLock (bool locked);
55 
56  virtual void setStatusBar (bool show);
57 
58  virtual void useHint (const std::string& hint);
59 
60  virtual std::string getTitle() const;
61 
62  private:
63 
65 
67 
69 
71  {
74  };
75 
77 
78  private slots:
79 
80  void cellSelectionChanged (const CSMWorld::CellSelection& selection);
81 
83 
84  void handleDrop(const std::vector<CSMWorld::UniversalId>& data);
85  };
86 }
87 
88 #endif
virtual void setEditLock(bool locked)
Definition: scenesubview.cpp:130
Definition: worldspacewidget.hpp:48
void handleDrop(const std::vector< CSMWorld::UniversalId > &data)
Definition: scenesubview.cpp:190
Selection of cells in a paged worldspace.
Definition: cellselection.hpp:15
virtual void useHint(const std::string &hint)
Default implementation: ignored.
Definition: scenesubview.cpp:140
virtual std::string getTitle() const
Definition: scenesubview.cpp:145
std::string mTitle
Definition: scenesubview.hpp:48
QHBoxLayout * mLayout
Definition: scenesubview.hpp:45
virtual void setStatusBar(bool show)
Default implementation: ignored.
Definition: scenesubview.cpp:135
CSVWidget::SceneToolbar * mToolbar
Definition: scenesubview.hpp:47
Definition: scenesubview.hpp:39
void makeConnections(CSVRender::PagedWorldspaceWidget *widget)
Definition: scenesubview.cpp:88
void replaceToolbarAndWorldspace(CSVRender::WorldspaceWidget *widget, CSVWidget::SceneToolbar *toolbar)
Definition: scenesubview.cpp:225
Definition: tablebottombox.hpp:23
TableBottomBox * mBottom
Definition: scenesubview.hpp:43
widgetType
Definition: scenesubview.hpp:70
Definition: pagedworldspacewidget.hpp:22
Definition: scenesubview.hpp:73
Definition: unpagedworldspacewidget.hpp:24
Definition: subview.hpp:23
CSVWidget::SceneToolbar * makeToolbar(CSVRender::WorldspaceWidget *widget, widgetType type)
Definition: scenesubview.cpp:99
Definition: document.hpp:57
void cellSelectionChanged(const CSMWorld::CellSelection &selection)
Definition: scenesubview.cpp:161
Definition: scenetoolbar.hpp:12
CSVRender::WorldspaceWidget * mScene
Definition: scenesubview.hpp:44
SceneSubView(const CSMWorld::UniversalId &id, CSMDoc::Document &document)
Definition: scenesubview.cpp:29
CSMDoc::Document & mDocument
Definition: scenesubview.hpp:46
Definition: scenesubview.hpp:72
Definition: universalid.hpp:12