![]() |
Crossfire Resources Editor
|
#include <CREMainWindow.h>
Inheritance diagram for CREMainWindow:
Collaboration diagram for CREMainWindow:Signals | |
| void | updateFilters () |
Public Member Functions | |
| CREMainWindow (const QString &helpRoot) | |
Protected Member Functions | |
| void | closeEvent (QCloseEvent *event) |
| QAction * | createAction (const QString &title, const QString &statusTip) |
| template<typename F > | |
| QAction * | createAction (const QString &title, const QString &statusTip, F functor, bool waitMaps=false) |
| void | doResourceWindow (int assets, const QByteArray &position=QByteArray()) |
| void | fillFacesets () |
Private Member Functions | |
| void | createActions () |
| void | createMenus () |
Private Attributes | |
| QMdiArea * | myArea |
| AllAssets * | myAssets |
| ChangesDock * | myChanges |
| QAction * | myClearMapCache |
| QActionGroup * | myFacesetsGroup |
| HelpManager * | myHelpManager |
| QLabel * | myMapBrowseStatus |
| CREMapInformationManager * | myMapManager |
| MessageManager * | myMessageManager |
| AssetModel * | myModel |
| QMenu * | myOpenMenu |
| ResourcesManager * | myResourcesManager |
| QAction * | mySaveFormulae |
| QMenu * | mySaveMenu |
| ScriptFileManager * | myScriptManager |
| QAction * | myToolFacesetUseFallback |
| QMenu * | myToolsMenu |
| QMenu * | myWindows |
Definition at line 40 of file CREMainWindow.h.
| CREMainWindow::CREMainWindow | ( | const QString & | helpRoot | ) |
Definition at line 49 of file CREMainWindow.cpp.
References browsingFinished(), browsingMap(), createActions(), createMenus(), doResourceWindow(), fillFacesets(), CREPixmap::init(), ResourcesManager::load(), MessageManager::loadMessages(), CRESettings::mainWindowGeometry(), mapAdded(), myArea, myAssets, myChanges, myHelpManager, myMapBrowseStatus, myMapManager, myMessageManager, myModel, myResourcesManager, myScriptManager, onOpenExperience(), AssetWrapper::setDisplayParent(), ResourcesManager::setMapInformationManager(), CREMapInformationManager::start(), CRESettings::storeWindowsState(), CRESettings::subWindowCount(), CRESettings::subWindowPosition(), and CRESettings::subWindowType().
Here is the call graph for this function:
|
privateslot |
Definition at line 381 of file CREMainWindow.cpp.
References myClearMapCache, and myMapBrowseStatus.
Referenced by CREMainWindow().
Here is the caller graph for this function:
|
privateslot |
Definition at line 376 of file CREMainWindow.cpp.
References myMapBrowseStatus.
Referenced by CREMainWindow().
Here is the caller graph for this function:
|
protected |
Definition at line 111 of file CREMainWindow.cpp.
References CREMapInformationManager::cancel(), ResourcesManager::hasPendingChanges(), myArea, myMapManager, myMessageManager, myResourcesManager, CRESettings::setMainWindowGeometry(), CRESettings::setSubWindowCount(), CRESettings::setSubWindowPosition(), CRESettings::setSubWindowType(), and CRESettings::storeWindowsState().
Here is the call graph for this function:
|
protected |
Definition at line 182 of file CREMainWindow.cpp.
|
protected |
Definition at line 151 of file CREMainWindow.cpp.
References CREMapInformationManager::browseFinished(), and myMapManager.
Referenced by createMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 188 of file CREMainWindow.cpp.
References myClearMapCache, mySaveFormulae, myToolFacesetUseFallback, onClearCache(), onSaveFormulae(), and onToolFacesetUseFallback().
Referenced by CREMainWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 206 of file CREMainWindow.cpp.
References AllAssets::child(), AllAssets::childrenCount(), createAction(), HelpManager::displayHelp(), AssetWrapper::displayName, doResourceWindow(), myArea, myAssets, myChanges, myClearMapCache, myHelpManager, myOpenMenu, myResourcesManager, mySaveFormulae, mySaveMenu, myToolsMenu, myWindows, onOpenExperience(), onReportAlchemy(), onReportAlchemyGraph(), onReportArchetypes(), onReportDuplicate(), onReportLicenses(), onReportMaterials(), onReportPlayer(), onReportQuests(), onReportResetGroups(), onReportShops(), onReportSpellDamage(), onReportSpells(), onReportSummon(), onSaveMessages(), onSaveQuests(), onToolBarMaker(), onToolCombatSimulator(), onToolEditMonsters(), onToolFaceMaker(), onToolReloadAssets(), onToolSmooth(), onToolSounds(), onWindowsShowing(), ResourcesManager::saveArchetypes(), ResourcesManager::saveArtifacts(), ResourcesManager::saveGeneralMessages(), ResourcesManager::saveTreasures(), CRESettings::setShowChanges(), CRESettings::setStoreWindowState(), CRESettings::showChanges(), CRESettings::storeWindowsState(), and AssetWrapper::tipProperty.
Referenced by CREMainWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 305 of file CREMainWindow.cpp.
References AssetModel::index(), myArea, myMapManager, myMessageManager, myModel, myResourcesManager, myScriptManager, onFiltersModified(), and updateFilters().
Referenced by createMenus(), and CREMainWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 338 of file CREMainWindow.cpp.
References CRESettings::facesetToDisplay(), CRESettings::facesetUseFallback(), myFacesetsGroup, myToolFacesetUseFallback, myToolsMenu, and onToolFaceset().
Referenced by CREMainWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 1874 of file CREMainWindow.cpp.
References myAssets, myResourcesManager, AllAssets::randomMaps(), CREMapInformation::randomMaps(), CREMapInformation::region(), AllAssets::regions(), AssetWrapper::setDisplayParent(), and ResourcesManager::wrap().
Referenced by CREMainWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 1796 of file CREMainWindow.cpp.
References CREMapInformationManager::clearCache(), and myMapManager.
Referenced by createActions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 388 of file CREMainWindow.cpp.
References updateFilters().
Referenced by doResourceWindow().
Here is the caller graph for this function:
|
privateslot |
Definition at line 328 of file CREMainWindow.cpp.
References myArea.
Referenced by createMenus(), and CREMainWindow().
Here is the caller graph for this function:
|
privateslot |
Definition at line 722 of file CREMainWindow.cpp.
References alchemyTable(), and doIngredients().
Referenced by createMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 767 of file CREMainWindow.cpp.
References names.
Referenced by createMenus().
Here is the caller graph for this function:
|
privateslot |
Definition at line 1586 of file CREMainWindow.cpp.
References ResourcesManager::archetypeUse(), CREPixmap::getIcon(), and myMapManager.
Referenced by createMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 399 of file CREMainWindow.cpp.
Referenced by createMenus().
Here is the caller graph for this function:
|
privateslot |
Definition at line 1634 of file CREMainWindow.cpp.
References LicenseManager::getAll(), ResourcesManager::licenseManager(), LicenseManager::licenseNameFromFaceName(), and myResourcesManager.
Referenced by createMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 1544 of file CREMainWindow.cpp.
Referenced by createMenus().
Here is the caller graph for this function:
|
privateslot |
Generate and display a table reporting for each monster and skill at what level approximately the player could kill the monster.
Definition at line 1138 of file CREMainWindow.cpp.
References names.
Referenced by createMenus().
Here is the caller graph for this function:
|
privateslot |
Definition at line 1473 of file CREMainWindow.cpp.
References readDirectory().
Referenced by createMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 1713 of file CREMainWindow.cpp.
References CREMapInformationManager::allMaps(), ResourcesManager::getMapInformationManager(), myResourcesManager, CREMapInformation::name, and CREMapInformation::path.
Referenced by createMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 1382 of file CREMainWindow.cpp.
References CREMapInformationManager::allMaps(), buildShopReport(), myMapManager, and CREMapInformation::shopItems().
Referenced by createMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 577 of file CREMainWindow.cpp.
Referenced by createMenus().
Here is the caller graph for this function:
|
privateslot |
Definition at line 888 of file CREMainWindow.cpp.
References spellsTable().
Referenced by createMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 1265 of file CREMainWindow.cpp.
References reportSummon().
Referenced by createMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 362 of file CREMainWindow.cpp.
Referenced by createActions().
Here is the caller graph for this function:
|
privateslot |
Definition at line 371 of file CREMainWindow.cpp.
References myMessageManager, and MessageManager::saveMessages().
Referenced by createMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 366 of file CREMainWindow.cpp.
References myResourcesManager, and ResourcesManager::saveQuests().
Referenced by createMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 1784 of file CREMainWindow.cpp.
Referenced by createMenus().
Here is the caller graph for this function:
|
privateslot |
Definition at line 1778 of file CREMainWindow.cpp.
Referenced by createMenus().
Here is the caller graph for this function:
|
privateslot |
Definition at line 1766 of file CREMainWindow.cpp.
References myResourcesManager.
Referenced by createMenus().
Here is the caller graph for this function:
|
privateslot |
Definition at line 1790 of file CREMainWindow.cpp.
References myResourcesManager.
Referenced by createMenus().
Here is the caller graph for this function:
|
privateslot |
Definition at line 1811 of file CREMainWindow.cpp.
References CREPixmap::setFaceset().
Referenced by fillFacesets().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 1816 of file CREMainWindow.cpp.
References myToolFacesetUseFallback, and CREPixmap::setUseFacesetFallback().
Referenced by createActions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 1821 of file CREMainWindow.cpp.
References CREPixmap::clearFaceCache(), ResourcesManager::licenseManager(), myResourcesManager, and LicenseManager::reset().
Referenced by createMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 1772 of file CREMainWindow.cpp.
Referenced by createMenus().
Here is the caller graph for this function:
|
privateslot |
Definition at line 1831 of file CREMainWindow.cpp.
References CRESettings::setSoundsDirectory(), and CRESettings::soundsDirectory().
Referenced by createMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 1842 of file CREMainWindow.cpp.
References myArea, and myWindows.
Referenced by createMenus().
Here is the caller graph for this function:
|
signal |
Referenced by doResourceWindow(), and onFiltersModified().
Here is the caller graph for this function:
|
private |
Definition at line 51 of file CREMainWindow.h.
Referenced by closeEvent(), createMenus(), CREMainWindow(), doResourceWindow(), onOpenExperience(), and onWindowsShowing().
|
private |
Definition at line 53 of file CREMainWindow.h.
Referenced by createMenus(), CREMainWindow(), and mapAdded().
|
private |
Definition at line 72 of file CREMainWindow.h.
Referenced by createMenus(), and CREMainWindow().
|
private |
Definition at line 65 of file CREMainWindow.h.
Referenced by browsingFinished(), createActions(), and createMenus().
|
private |
Definition at line 63 of file CREMainWindow.h.
Referenced by fillFacesets().
|
private |
Definition at line 73 of file CREMainWindow.h.
Referenced by createMenus(), and CREMainWindow().
|
private |
Definition at line 67 of file CREMainWindow.h.
Referenced by browsingFinished(), browsingMap(), and CREMainWindow().
|
private |
Definition at line 68 of file CREMainWindow.h.
Referenced by closeEvent(), createAction(), CREMainWindow(), doResourceWindow(), onClearCache(), onReportArchetypes(), and onReportShops().
|
private |
Definition at line 69 of file CREMainWindow.h.
Referenced by closeEvent(), CREMainWindow(), doResourceWindow(), and onSaveMessages().
|
private |
Definition at line 52 of file CREMainWindow.h.
Referenced by CREMainWindow(), and doResourceWindow().
|
private |
Definition at line 58 of file CREMainWindow.h.
Referenced by createMenus().
|
private |
Definition at line 70 of file CREMainWindow.h.
Referenced by closeEvent(), createMenus(), CREMainWindow(), doResourceWindow(), mapAdded(), onReportLicenses(), onReportResetGroups(), onSaveQuests(), onToolEditMonsters(), onToolFaceMaker(), and onToolReloadAssets().
|
private |
Definition at line 61 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 59 of file CREMainWindow.h.
Referenced by createMenus().
|
private |
Definition at line 71 of file CREMainWindow.h.
Referenced by CREMainWindow(), and doResourceWindow().
|
private |
Definition at line 64 of file CREMainWindow.h.
Referenced by createActions(), fillFacesets(), and onToolFacesetUseFallback().
|
private |
Definition at line 62 of file CREMainWindow.h.
Referenced by createMenus(), and fillFacesets().
|
private |
Definition at line 66 of file CREMainWindow.h.
Referenced by createMenus(), and onWindowsShowing().