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::View Class Reference

#include <view.hpp>

Inheritance diagram for CSVDoc::View:
Collaboration diagram for CSVDoc::View:

Public Slots

void addSubView (const CSMWorld::UniversalId &id, const std::string &hint="")
 
void abortOperation (int type)
 
void updateTitle ()
 
void updateSubViewIndices (SubView *view=NULL)
 

Signals

void newGameRequest ()
 
void newAddonRequest ()
 
void loadDocumentRequest ()
 
void exitApplicationRequest (CSVDoc::View *view)
 
void editSettingsRequest ()
 
void mergeDocument (CSMDoc::Document *document)
 

Public Member Functions

 View (ViewManager &viewManager, CSMDoc::Document *document, int totalViews)
 The ownership of document is not transferred to *this. More...
 
virtual ~View ()
 
const CSMDoc::DocumentgetDocument () const
 
CSMDoc::DocumentgetDocument ()
 
void setIndex (int viewIndex, int totalViews)
 
void updateDocumentState ()
 
void updateProgress (int current, int max, int type, int threads)
 
void toggleStatusBar (bool checked)
 
OperationsgetOperations () const
 

Private Slots

void settingChanged (const CSMPrefs::Setting *setting)
 
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 addTopicsSubView ()
 
void addJournalsSubView ()
 
void addTopicInfosSubView ()
 
void addJournalInfosSubView ()
 
void addEnchantmentsSubView ()
 
void addBodyPartsSubView ()
 
void addSoundGensSubView ()
 
void addMagicEffectsSubView ()
 
void addMeshesSubView ()
 
void addIconsSubView ()
 
void addMusicsSubView ()
 
void addSoundsResSubView ()
 
void addTexturesSubView ()
 
void addVideosSubView ()
 
void addDebugProfilesSubView ()
 
void addRunLogSubView ()
 
void addPathgridSubView ()
 
void addStartScriptsSubView ()
 
void addSearchSubView ()
 
void addMetaDataSubView ()
 
void toggleShowStatusBar (bool show)
 
void loadErrorLog ()
 
void run (const std::string &profile, const std::string &startupInstruction="")
 
void stop ()
 
void closeRequest (SubView *subView)
 
void moveScrollBarToEnd (int min, int max)
 
void merge ()
 

Private Member Functions

 View (const View &)
 
Viewoperator= (const View &)
 
void closeEvent (QCloseEvent *event)
 
void setupFileMenu ()
 
void setupEditMenu ()
 
void setupViewMenu ()
 
void setupWorldMenu ()
 
void setupMechanicsMenu ()
 
void setupCharacterMenu ()
 
void setupAssetsMenu ()
 
void setupDebugMenu ()
 
void setupUi ()
 
void setupShortcut (const char *name, QAction *action)
 
void updateActions ()
 
void exitApplication ()
 
void resizeViewWidth (int width)
 User preference function. More...
 
void resizeViewHeight (int height)
 User preference function. More...
 
void updateScrollbar ()
 
void updateWidth (bool isGrowLimit, int minSubViewWidth)
 
void createScrollArea ()
 

Private Attributes

ViewManagermViewManager
 
CSMDoc::DocumentmDocument
 
int mViewIndex
 
int mViewTotal
 
QList< SubView * > mSubViews
 
QActionmUndo
 
QActionmRedo
 
QActionmSave
 
QActionmVerify
 
QActionmShowStatusBar
 
QActionmStopDebug
 
QActionmMerge
 
std::vector< QAction * > mEditingActions
 
OperationsmOperations
 
SubViewFactoryManager mSubViewFactory
 
QMainWindow mSubViewWindow
 
GlobalDebugProfileMenumGlobalDebugProfileMenu
 
QScrollAreamScroll
 
bool mScrollbarOnly
 

Constructor & Destructor Documentation

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.

Here is the call graph for this function:

CSVDoc::View::~View ( )
virtual

Member Function Documentation

void CSVDoc::View::abortOperation ( int  type)
slot

Here is the caller graph for this function:

void CSVDoc::View::addBirthsignsSubView ( )
privateslot
void CSVDoc::View::addBodyPartsSubView ( )
privateslot
void CSVDoc::View::addCellsSubView ( )
privateslot
void CSVDoc::View::addClassesSubView ( )
privateslot
void CSVDoc::View::addDebugProfilesSubView ( )
privateslot
void CSVDoc::View::addEnchantmentsSubView ( )
privateslot
void CSVDoc::View::addFactionsSubView ( )
privateslot
void CSVDoc::View::addFiltersSubView ( )
privateslot
void CSVDoc::View::addGlobalsSubView ( )
privateslot
void CSVDoc::View::addGmstsSubView ( )
privateslot
void CSVDoc::View::addIconsSubView ( )
privateslot
void CSVDoc::View::addJournalInfosSubView ( )
privateslot
void CSVDoc::View::addJournalsSubView ( )
privateslot
void CSVDoc::View::addMagicEffectsSubView ( )
privateslot
void CSVDoc::View::addMeshesSubView ( )
privateslot
void CSVDoc::View::addMetaDataSubView ( )
privateslot
void CSVDoc::View::addMusicsSubView ( )
privateslot
void CSVDoc::View::addPathgridSubView ( )
privateslot
void CSVDoc::View::addRacesSubView ( )
privateslot
void CSVDoc::View::addReferenceablesSubView ( )
privateslot
void CSVDoc::View::addReferencesSubView ( )
privateslot
void CSVDoc::View::addRegionMapSubView ( )
privateslot
void CSVDoc::View::addRegionsSubView ( )
privateslot
void CSVDoc::View::addRunLogSubView ( )
privateslot
void CSVDoc::View::addScriptsSubView ( )
privateslot
void CSVDoc::View::addSearchSubView ( )
privateslot
void CSVDoc::View::addSkillsSubView ( )
privateslot
void CSVDoc::View::addSoundGensSubView ( )
privateslot
void CSVDoc::View::addSoundsResSubView ( )
privateslot
void CSVDoc::View::addSoundsSubView ( )
privateslot
void CSVDoc::View::addSpellsSubView ( )
privateslot
void CSVDoc::View::addStartScriptsSubView ( )
privateslot
void CSVDoc::View::addSubView ( const CSMWorld::UniversalId id,
const std::string &  hint = "" 
)
slot
Parameters
hintSuggested view point (e.g. coordinates in a 3D scene or a line number in a script).

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVDoc::View::addTexturesSubView ( )
privateslot
void CSVDoc::View::addTopicInfosSubView ( )
privateslot
void CSVDoc::View::addTopicsSubView ( )
privateslot
void CSVDoc::View::addVideosSubView ( )
privateslot
void CSVDoc::View::closeEvent ( QCloseEvent *  event)
private

Here is the call graph for this function:

void CSVDoc::View::closeRequest ( SubView subView)
privateslot

Here is the call graph for this function:

void CSVDoc::View::createScrollArea ( )
private

Here is the caller graph for this function:

void CSVDoc::View::editSettingsRequest ( )
signal
void CSVDoc::View::exit ( )
privateslot
void CSVDoc::View::exitApplication ( )
private
void CSVDoc::View::exitApplicationRequest ( CSVDoc::View view)
signal
const CSMDoc::Document * CSVDoc::View::getDocument ( ) const

Here is the caller graph for this function:

CSMDoc::Document * CSVDoc::View::getDocument ( )
CSVDoc::Operations * CSVDoc::View::getOperations ( ) const
void CSVDoc::View::loadDocumentRequest ( )
signal
void CSVDoc::View::loadErrorLog ( )
privateslot
void CSVDoc::View::merge ( )
privateslot
void CSVDoc::View::mergeDocument ( CSMDoc::Document document)
signal
void CSVDoc::View::moveScrollBarToEnd ( int  min,
int  max 
)
privateslot
void CSVDoc::View::newAddonRequest ( )
signal
void CSVDoc::View::newGameRequest ( )
signal
void CSVDoc::View::newView ( )
privateslot
View& CSVDoc::View::operator= ( const View )
private
void CSVDoc::View::resizeViewHeight ( int  height)
private

User preference function.

void CSVDoc::View::resizeViewWidth ( int  width)
private

User preference function.

void CSVDoc::View::run ( const std::string &  profile,
const std::string &  startupInstruction = "" 
)
privateslot
void CSVDoc::View::save ( )
privateslot
void CSVDoc::View::setIndex ( int  viewIndex,
int  totalViews 
)
void CSVDoc::View::settingChanged ( const CSMPrefs::Setting setting)
privateslot

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVDoc::View::setupAssetsMenu ( )
private
void CSVDoc::View::setupCharacterMenu ( )
private
void CSVDoc::View::setupDebugMenu ( )
private
void CSVDoc::View::setupEditMenu ( )
private
void CSVDoc::View::setupFileMenu ( )
private

Here is the call graph for this function:

void CSVDoc::View::setupMechanicsMenu ( )
private
void CSVDoc::View::setupShortcut ( const char *  name,
QAction action 
)
private

Here is the call graph for this function:

void CSVDoc::View::setupUi ( )
private

Here is the caller graph for this function:

void CSVDoc::View::setupViewMenu ( )
private

Here is the call graph for this function:

void CSVDoc::View::setupWorldMenu ( )
private
void CSVDoc::View::stop ( )
privateslot
void CSVDoc::View::toggleShowStatusBar ( bool  show)
privateslot
void CSVDoc::View::toggleStatusBar ( bool  checked)

Here is the caller graph for this function:

void CSVDoc::View::updateActions ( )
private

Here is the caller graph for this function:

void CSVDoc::View::updateDocumentState ( )
void CSVDoc::View::updateProgress ( int  current,
int  max,
int  type,
int  threads 
)
void CSVDoc::View::updateScrollbar ( )
private
void CSVDoc::View::updateSubViewIndices ( SubView view = NULL)
slot

Here is the call graph for this function:

void CSVDoc::View::updateTitle ( )
slot

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVDoc::View::updateWidth ( bool  isGrowLimit,
int  minSubViewWidth 
)
private
void CSVDoc::View::verify ( )
privateslot

Member Data Documentation

CSMDoc::Document* CSVDoc::View::mDocument
private
std::vector<QAction *> CSVDoc::View::mEditingActions
private
GlobalDebugProfileMenu* CSVDoc::View::mGlobalDebugProfileMenu
private
QAction* CSVDoc::View::mMerge
private
Operations* CSVDoc::View::mOperations
private
QAction* CSVDoc::View::mRedo
private
QAction* CSVDoc::View::mSave
private
QScrollArea* CSVDoc::View::mScroll
private
bool CSVDoc::View::mScrollbarOnly
private
QAction* CSVDoc::View::mShowStatusBar
private
QAction* CSVDoc::View::mStopDebug
private
SubViewFactoryManager CSVDoc::View::mSubViewFactory
private
QList<SubView *> CSVDoc::View::mSubViews
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

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