OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
CSVDoc::ViewManager Class Reference

#include <viewmanager.hpp>

Inheritance diagram for CSVDoc::ViewManager:
Collaboration diagram for CSVDoc::ViewManager:

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 ()
 
ViewaddView (CSMDoc::Document *document)
 The ownership of the returned view is not transferred. More...
 
ViewaddView (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 &)
 
ViewManageroperator= (const ViewManager &)
 
void updateIndices ()
 
bool notifySaveOnClose (View *view=0)
 
bool showModifiedDocumentMessageBox (View *view)
 
bool showSaveInProgressMessageBox (View *view)
 
bool removeDocument (View *view)
 

Private Attributes

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

Constructor & Destructor Documentation

CSVDoc::ViewManager::ViewManager ( const ViewManager )
private
CSVDoc::ViewManager::ViewManager ( CSMDoc::DocumentManager documentManager)

Here is the call graph for this function:

CSVDoc::ViewManager::~ViewManager ( )
virtual

Member Function Documentation

CSVDoc::View * CSVDoc::ViewManager::addView ( CSMDoc::Document document)

The ownership of the returned view is not transferred.

Here is the call graph for this function:

CSVDoc::View * CSVDoc::ViewManager::addView ( CSMDoc::Document document,
const CSMWorld::UniversalId id,
const std::string &  hint 
)

Here is the call graph for this function:

void CSVDoc::ViewManager::closeMessageBox ( )
signal
bool CSVDoc::ViewManager::closeRequest ( View view)

Here is the call graph for this function:

Here is the caller graph for this function:

int CSVDoc::ViewManager::countViews ( const CSMDoc::Document document) const

Return number of views for document.

Here is the caller graph for this function:

void CSVDoc::ViewManager::documentStateChanged ( int  state,
CSMDoc::Document document 
)
privateslot
void CSVDoc::ViewManager::editSettingsRequest ( )
signal
void CSVDoc::ViewManager::exitApplication ( CSVDoc::View view)
slot
void CSVDoc::ViewManager::loadDocumentRequest ( )
signal
void CSVDoc::ViewManager::mergeDocument ( CSMDoc::Document document)
signal
void CSVDoc::ViewManager::newAddonRequest ( )
signal
void CSVDoc::ViewManager::newGameRequest ( )
signal
bool CSVDoc::ViewManager::notifySaveOnClose ( CSVDoc::View view = 0)
private

Here is the call graph for this function:

void CSVDoc::ViewManager::onExitWarningHandler ( int  state,
CSMDoc::Document document 
)
privateslot
ViewManager& CSVDoc::ViewManager::operator= ( const ViewManager )
private
void CSVDoc::ViewManager::progress ( int  current,
int  max,
int  type,
int  threads,
CSMDoc::Document document 
)
privateslot
void CSVDoc::ViewManager::removeDocAndView ( CSMDoc::Document document)

Here is the caller graph for this function:

bool CSVDoc::ViewManager::removeDocument ( CSVDoc::View view)
private

Here is the call graph for this function:

Here is the caller graph for this function:

bool CSVDoc::ViewManager::showModifiedDocumentMessageBox ( CSVDoc::View view)
private

Here is the call graph for this function:

bool CSVDoc::ViewManager::showSaveInProgressMessageBox ( CSVDoc::View view)
private

Here is the call graph for this function:

void CSVDoc::ViewManager::updateIndices ( )
private

Here is the call graph for this function:

Member Data Documentation

CSVWorld::CommandDelegateFactoryCollection* CSVDoc::ViewManager::mDelegateFactories
private
CSMDoc::DocumentManager& CSVDoc::ViewManager::mDocumentManager
private
bool CSVDoc::ViewManager::mExitOnSaveStateChange
private
Loader CSVDoc::ViewManager::mLoader
private
bool CSVDoc::ViewManager::mUserWarned
private
std::vector<View *> CSVDoc::ViewManager::mViews
private

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