OpenMW
|
#include <viewmanager.hpp>
Public Slots | |
void | exitApplication (CSVDoc::View *view) |
Signals | |
void | newGameRequest () |
void | newAddonRequest () |
void | loadDocumentRequest () |
void | closeMessageBox () |
void | editSettingsRequest () |
void | mergeDocument (CSMDoc::Document *document) |
Public Member Functions | |
ViewManager (CSMDoc::DocumentManager &documentManager) | |
virtual | ~ViewManager () |
View * | addView (CSMDoc::Document *document) |
The ownership of the returned view is not transferred. More... | |
View * | addView (CSMDoc::Document *document, const CSMWorld::UniversalId &id, const std::string &hint) |
int | countViews (const CSMDoc::Document *document) const |
Return number of views for document. More... | |
bool | closeRequest (View *view) |
void | removeDocAndView (CSMDoc::Document *document) |
Private Slots | |
void | documentStateChanged (int state, CSMDoc::Document *document) |
void | progress (int current, int max, int type, int threads, CSMDoc::Document *document) |
void | onExitWarningHandler (int state, CSMDoc::Document *document) |
Private Member Functions | |
ViewManager (const ViewManager &) | |
ViewManager & | operator= (const ViewManager &) |
void | updateIndices () |
bool | notifySaveOnClose (View *view=0) |
bool | showModifiedDocumentMessageBox (View *view) |
bool | showSaveInProgressMessageBox (View *view) |
bool | removeDocument (View *view) |
Private Attributes | |
CSMDoc::DocumentManager & | mDocumentManager |
std::vector< View * > | mViews |
CSVWorld::CommandDelegateFactoryCollection * | mDelegateFactories |
bool | mExitOnSaveStateChange |
bool | mUserWarned |
Loader | mLoader |
|
private |
CSVDoc::ViewManager::ViewManager | ( | CSMDoc::DocumentManager & | documentManager | ) |
|
virtual |
CSVDoc::View * CSVDoc::ViewManager::addView | ( | CSMDoc::Document * | document | ) |
The ownership of the returned view is not transferred.
CSVDoc::View * CSVDoc::ViewManager::addView | ( | CSMDoc::Document * | document, |
const CSMWorld::UniversalId & | id, | ||
const std::string & | hint | ||
) |
|
signal |
int CSVDoc::ViewManager::countViews | ( | const CSMDoc::Document * | document | ) | const |
Return number of views for document.
|
privateslot |
|
signal |
|
slot |
|
signal |
|
signal |
|
signal |
|
signal |
|
private |
|
privateslot |
|
private |
|
privateslot |
void CSVDoc::ViewManager::removeDocAndView | ( | CSMDoc::Document * | document | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |