OpenMW
|
#include <view.hpp>
Public Slots | |
void | addSubView (const CSMWorld::UniversalId &id) |
void | abortOperation (int type) |
Signals | |
void | newGameRequest () |
void | newAddonRequest () |
void | loadDocumentRequest () |
void | exitApplicationRequest (CSVDoc::View *view) |
void | editSettingsRequest () |
Public Member Functions | |
View (ViewManager &viewManager, CSMDoc::Document *document, int totalViews) | |
The ownership of document is not transferred to *this. | |
virtual | ~View () |
const CSMDoc::Document * | getDocument () const |
CSMDoc::Document * | getDocument () |
void | setIndex (int viewIndex, int totalViews) |
void | updateDocumentState () |
void | updateProgress (int current, int max, int type, int threads) |
Operations * | getOperations () const |
void | updateEditorSetting (const QString &, const QString &) |
Function called by view manager when user preferences are updated. | |
Private Slots | |
void | newView () |
void | save () |
void | exit () |
void | verify () |
void | addGlobalsSubView () |
void | addGmstsSubView () |
void | addSkillsSubView () |
void | addClassesSubView () |
void | addFactionsSubView () |
void | addRacesSubView () |
void | addSoundsSubView () |
void | addScriptsSubView () |
void | addRegionsSubView () |
void | addBirthsignsSubView () |
void | addSpellsSubView () |
void | addCellsSubView () |
void | addReferenceablesSubView () |
void | addReferencesSubView () |
void | addRegionMapSubView () |
void | addFiltersSubView () |
void | addSceneSubView () |
void | addTopicsSubView () |
void | addJournalsSubView () |
void | addTopicInfosSubView () |
void | addJournalInfosSubView () |
void | toggleShowStatusBar (bool show) |
Private Member Functions | |
View (const View &) | |
View & | operator= (const View &) |
void | closeEvent (QCloseEvent *event) |
void | setupFileMenu () |
void | setupEditMenu () |
void | setupViewMenu () |
void | setupWorldMenu () |
void | setupMechanicsMenu () |
void | setupCharacterMenu () |
void | setupAssetsMenu () |
void | setupUi () |
void | updateTitle () |
void | updateActions () |
void | exitApplication () |
void | loadUserSettings () |
void | resizeViewWidth (int width) |
User preference function. | |
void | resizeViewHeight (int height) |
User preference function. | |
Private Attributes | |
ViewManager & | mViewManager |
CSMDoc::Document * | mDocument |
int | mViewIndex |
int | mViewTotal |
QAction * | mUndo |
QAction * | mRedo |
QAction * | mSave |
QAction * | mVerify |
QAction * | mShowStatusBar |
std::vector< QAction * > | mEditingActions |
Operations * | mOperations |
SubViewFactoryManager | mSubViewFactory |
QMainWindow | mSubViewWindow |
CSVDoc::View::View | ( | const View & | ) | [private] |
CSVDoc::View::View | ( | ViewManager & | viewManager, |
CSMDoc::Document * | document, | ||
int | totalViews | ||
) |
The ownership of document is not transferred to *this.
CSVDoc::View::~View | ( | ) | [virtual] |
void CSVDoc::View::abortOperation | ( | int | type | ) | [slot] |
void CSVDoc::View::addBirthsignsSubView | ( | ) | [private, slot] |
void CSVDoc::View::addCellsSubView | ( | ) | [private, slot] |
void CSVDoc::View::addClassesSubView | ( | ) | [private, slot] |
void CSVDoc::View::addFactionsSubView | ( | ) | [private, slot] |
void CSVDoc::View::addFiltersSubView | ( | ) | [private, slot] |
void CSVDoc::View::addGlobalsSubView | ( | ) | [private, slot] |
void CSVDoc::View::addGmstsSubView | ( | ) | [private, slot] |
void CSVDoc::View::addJournalInfosSubView | ( | ) | [private, slot] |
void CSVDoc::View::addJournalsSubView | ( | ) | [private, slot] |
void CSVDoc::View::addRacesSubView | ( | ) | [private, slot] |
void CSVDoc::View::addReferenceablesSubView | ( | ) | [private, slot] |
void CSVDoc::View::addReferencesSubView | ( | ) | [private, slot] |
void CSVDoc::View::addRegionMapSubView | ( | ) | [private, slot] |
void CSVDoc::View::addRegionsSubView | ( | ) | [private, slot] |
void CSVDoc::View::addSceneSubView | ( | ) | [private, slot] |
void CSVDoc::View::addScriptsSubView | ( | ) | [private, slot] |
void CSVDoc::View::addSkillsSubView | ( | ) | [private, slot] |
void CSVDoc::View::addSoundsSubView | ( | ) | [private, slot] |
void CSVDoc::View::addSpellsSubView | ( | ) | [private, slot] |
void CSVDoc::View::addSubView | ( | const CSMWorld::UniversalId & | id | ) | [slot] |
void CSVDoc::View::addTopicInfosSubView | ( | ) | [private, slot] |
void CSVDoc::View::addTopicsSubView | ( | ) | [private, slot] |
void CSVDoc::View::closeEvent | ( | QCloseEvent * | event | ) | [private] |
void CSVDoc::View::editSettingsRequest | ( | ) | [signal] |
void CSVDoc::View::exit | ( | ) | [private, slot] |
void CSVDoc::View::exitApplication | ( | ) | [private] |
void CSVDoc::View::exitApplicationRequest | ( | CSVDoc::View * | view | ) | [signal] |
const CSMDoc::Document * CSVDoc::View::getDocument | ( | ) | const |
CSVDoc::Operations * CSVDoc::View::getOperations | ( | ) | const |
void CSVDoc::View::loadDocumentRequest | ( | ) | [signal] |
void CSVDoc::View::loadUserSettings | ( | ) | [private] |
void CSVDoc::View::newAddonRequest | ( | ) | [signal] |
void CSVDoc::View::newGameRequest | ( | ) | [signal] |
void CSVDoc::View::newView | ( | ) | [private, slot] |
void CSVDoc::View::resizeViewHeight | ( | int | height | ) | [private] |
User preference function.
void CSVDoc::View::resizeViewWidth | ( | int | width | ) | [private] |
User preference function.
void CSVDoc::View::save | ( | ) | [private, slot] |
void CSVDoc::View::setIndex | ( | int | viewIndex, |
int | totalViews | ||
) |
void CSVDoc::View::setupAssetsMenu | ( | ) | [private] |
void CSVDoc::View::setupCharacterMenu | ( | ) | [private] |
void CSVDoc::View::setupEditMenu | ( | ) | [private] |
void CSVDoc::View::setupFileMenu | ( | ) | [private] |
void CSVDoc::View::setupMechanicsMenu | ( | ) | [private] |
void CSVDoc::View::setupUi | ( | ) | [private] |
void CSVDoc::View::setupViewMenu | ( | ) | [private] |
void CSVDoc::View::setupWorldMenu | ( | ) | [private] |
void CSVDoc::View::toggleShowStatusBar | ( | bool | show | ) | [private, slot] |
void CSVDoc::View::updateActions | ( | ) | [private] |
void CSVDoc::View::updateDocumentState | ( | ) |
void CSVDoc::View::updateEditorSetting | ( | const QString & | settingName, |
const QString & | settingValue | ||
) |
Function called by view manager when user preferences are updated.
void CSVDoc::View::updateProgress | ( | int | current, |
int | max, | ||
int | type, | ||
int | threads | ||
) |
void CSVDoc::View::updateTitle | ( | ) | [private] |
void CSVDoc::View::verify | ( | ) | [private, slot] |
CSMDoc::Document* CSVDoc::View::mDocument [private] |
std::vector<QAction *> CSVDoc::View::mEditingActions [private] |
Operations* CSVDoc::View::mOperations [private] |
QAction* CSVDoc::View::mRedo [private] |
QAction* CSVDoc::View::mSave [private] |
QAction* CSVDoc::View::mShowStatusBar [private] |
QMainWindow CSVDoc::View::mSubViewWindow [private] |
QAction* CSVDoc::View::mUndo [private] |
QAction* CSVDoc::View::mVerify [private] |
int CSVDoc::View::mViewIndex [private] |
ViewManager& CSVDoc::View::mViewManager [private] |
int CSVDoc::View::mViewTotal [private] |