|
OpenMW
|
#include <viewmanager.hpp>
Public Slots | |
| void | exitApplication (CSVDoc::View *view) |
Signals | |
| void | newGameRequest () |
| void | newAddonRequest () |
| void | loadDocumentRequest () |
| void | closeMessageBox () |
| void | editSettingsRequest () |
Public Member Functions | |
| ViewManager (CSMDoc::DocumentManager &documentManager) | |
| virtual | ~ViewManager () |
| View * | addView (CSMDoc::Document *document) |
| The ownership of the returned view is not transferred. | |
| int | countViews (const CSMDoc::Document *document) const |
| Return number of views for document. | |
| bool | closeRequest (View *view) |
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) |
| void | slotUpdateEditorSetting (const QString &, const QString &) |
| connected to update signal in UserSettings | |
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) |
Private Attributes | |
| CSMDoc::DocumentManager & | mDocumentManager |
| std::vector< View * > | mViews |
| CSVWorld::CommandDelegateFactoryCollection * | mDelegateFactories |
| bool | mExitOnSaveStateChange |
| bool | mUserWarned |
| CSVDoc::ViewManager::ViewManager | ( | const ViewManager & | ) | [private] |
| CSVDoc::ViewManager::ViewManager | ( | CSMDoc::DocumentManager & | documentManager | ) |
| CSVDoc::ViewManager::~ViewManager | ( | ) | [virtual] |
| CSVDoc::View * CSVDoc::ViewManager::addView | ( | CSMDoc::Document * | document | ) |
The ownership of the returned view is not transferred.
| void CSVDoc::ViewManager::closeMessageBox | ( | ) | [signal] |
| bool CSVDoc::ViewManager::closeRequest | ( | View * | view | ) |
| int CSVDoc::ViewManager::countViews | ( | const CSMDoc::Document * | document | ) | const |
Return number of views for document.
| void CSVDoc::ViewManager::documentStateChanged | ( | int | state, |
| CSMDoc::Document * | document | ||
| ) | [private, slot] |
| void CSVDoc::ViewManager::editSettingsRequest | ( | ) | [signal] |
| void CSVDoc::ViewManager::exitApplication | ( | CSVDoc::View * | view | ) | [slot] |
| void CSVDoc::ViewManager::loadDocumentRequest | ( | ) | [signal] |
| void CSVDoc::ViewManager::newAddonRequest | ( | ) | [signal] |
| void CSVDoc::ViewManager::newGameRequest | ( | ) | [signal] |
| bool CSVDoc::ViewManager::notifySaveOnClose | ( | CSVDoc::View * | view = 0 | ) | [private] |
| void CSVDoc::ViewManager::onExitWarningHandler | ( | int | state, |
| CSMDoc::Document * | document | ||
| ) | [private, slot] |
| ViewManager& CSVDoc::ViewManager::operator= | ( | const ViewManager & | ) | [private] |
| void CSVDoc::ViewManager::progress | ( | int | current, |
| int | max, | ||
| int | type, | ||
| int | threads, | ||
| CSMDoc::Document * | document | ||
| ) | [private, slot] |
| bool CSVDoc::ViewManager::showModifiedDocumentMessageBox | ( | CSVDoc::View * | view | ) | [private] |
| bool CSVDoc::ViewManager::showSaveInProgressMessageBox | ( | CSVDoc::View * | view | ) | [private] |
| void CSVDoc::ViewManager::slotUpdateEditorSetting | ( | const QString & | settingName, |
| const QString & | settingValue | ||
| ) | [private, slot] |
connected to update signal in UserSettings
| void CSVDoc::ViewManager::updateIndices | ( | ) | [private] |
bool CSVDoc::ViewManager::mExitOnSaveStateChange [private] |
bool CSVDoc::ViewManager::mUserWarned [private] |
std::vector<View *> CSVDoc::ViewManager::mViews [private] |
1.7.6.1