1 #ifndef CSV_DOC_VIEWMANAGER_H
2 #define CSV_DOC_VIEWMANAGER_H
13 class DocumentManager;
Definition: viewmanager.hpp:30
View * addView(CSMDoc::Document *document)
The ownership of the returned view is not transferred.
Definition: viewmanager.cpp:152
virtual ~ViewManager()
Definition: viewmanager.cpp:144
static const struct @2 signals[]
bool closeRequest(View *view)
Definition: viewmanager.cpp:201
void mergeDocument(CSMDoc::Document *document)
bool showSaveInProgressMessageBox(View *view)
Definition: viewmanager.cpp:314
CSVWorld::CommandDelegateFactoryCollection * mDelegateFactories
Definition: viewmanager.hpp:36
bool showModifiedDocumentMessageBox(View *view)
Definition: viewmanager.cpp:259
Definition: documentmanager.hpp:33
void loadDocumentRequest()
ViewManager(const ViewManager &)
int countViews(const CSMDoc::Document *document) const
Return number of views for document.
Definition: viewmanager.cpp:190
void exitApplication(CSVDoc::View *view)
Definition: viewmanager.cpp:421
CSMDoc::DocumentManager & mDocumentManager
Definition: viewmanager.hpp:34
Use commands instead of manipulating the model directly.
Definition: util.hpp:65
void documentStateChanged(int state, CSMDoc::Document *document)
Definition: viewmanager.cpp:368
Definition: loader.hpp:68
void progress(int current, int max, int type, int threads, CSMDoc::Document *document)
Definition: viewmanager.cpp:375
void removeDocAndView(CSMDoc::Document *document)
Definition: viewmanager.cpp:226
bool mExitOnSaveStateChange
Definition: viewmanager.hpp:37
bool mUserWarned
Definition: viewmanager.hpp:38
void updateIndices()
Definition: viewmanager.cpp:29
bool removeDocument(View *view)
Definition: viewmanager.cpp:398
void editSettingsRequest()
Definition: document.hpp:57
bool notifySaveOnClose(View *view=0)
Definition: viewmanager.cpp:243
ViewManager & operator=(const ViewManager &)
Loader mLoader
Definition: viewmanager.hpp:39
void onExitWarningHandler(int state, CSMDoc::Document *document)
Definition: viewmanager.cpp:382
std::vector< View * > mViews
Definition: viewmanager.hpp:35
Definition: universalid.hpp:12