OpenMW
Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
CSVDoc::ViewManager Class Reference

#include <viewmanager.hpp>

List of all members.

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 ()
ViewaddView (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 &)
ViewManageroperator= (const ViewManager &)
void updateIndices ()
bool notifySaveOnClose (View *view=0)
bool showModifiedDocumentMessageBox (View *view)
bool showSaveInProgressMessageBox (View *view)

Private Attributes

CSMDoc::DocumentManagermDocumentManager
std::vector< View * > mViews
CSVWorld::CommandDelegateFactoryCollectionmDelegateFactories
bool mExitOnSaveStateChange
bool mUserWarned

Constructor & Destructor Documentation


Member Function Documentation

The ownership of the returned view is not transferred.

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]
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]
void CSVDoc::ViewManager::slotUpdateEditorSetting ( const QString &  settingName,
const QString &  settingValue 
) [private, slot]

connected to update signal in UserSettings


Member Data Documentation

std::vector<View *> CSVDoc::ViewManager::mViews [private]

The documentation for this class was generated from the following files: