OpenMW
apps/opencs/view/world/tablesubview.hpp
Go to the documentation of this file.
00001 #ifndef CSV_WORLD_TABLESUBVIEW_H
00002 #define CSV_WORLD_TABLESUBVIEW_H
00003 
00004 #include "../doc/subview.hpp"
00005 
00006 class QModelIndex;
00007 
00008 namespace CSMDoc
00009 {
00010     class Document;
00011 }
00012 
00013 namespace CSVWorld
00014 {
00015     class Table;
00016     class TableBottomBox;
00017     class CreatorFactoryBase;
00018 
00019     class TableSubView : public CSVDoc::SubView
00020     {
00021             Q_OBJECT
00022 
00023             Table *mTable;
00024             TableBottomBox *mBottom;
00025 
00026         public:
00027 
00028             TableSubView (const CSMWorld::UniversalId& id, CSMDoc::Document& document,
00029                 const CreatorFactoryBase& creatorFactory, bool sorting);
00030 
00031             virtual void setEditLock (bool locked);
00032 
00033             virtual void updateEditorSetting (const QString& key, const QString& value);
00034 
00035             virtual void setStatusBar (bool show);
00036 
00037         private slots:
00038 
00039             void editRequest (int row);
00040     };
00041 }
00042 
00043 #endif