Classe principale pour l'application Tympan.
More...
#include <TYApplication.h>
Classe principale pour l'application Tympan.
Definition at line 45 of file TYApplication.h.
◆ TYApplication()
| TYApplication::TYApplication |
( |
int & |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ ~TYApplication()
| TYApplication::~TYApplication |
( |
| ) |
|
|
virtual |
◆ close()
| bool TYApplication::close |
( |
| ) |
|
Ferme l'application et libere toutes les ressources.
Definition at line 409 of file TYApplication.cpp.
◆ createCacheDir()
| bool TYApplication::createCacheDir |
( |
| ) |
|
|
private |
◆ createCalculMngr()
| bool TYApplication::createCalculMngr |
( |
| ) |
|
|
private |
◆ createMainWnd()
| bool TYApplication::createMainWnd |
( |
| ) |
|
|
private |
◆ createMessageMngr()
| bool TYApplication::createMessageMngr |
( |
| ) |
|
|
private |
◆ createProgressMngr()
| bool TYApplication::createProgressMngr |
( |
| ) |
|
|
private |
◆ createWorkDir()
| bool TYApplication::createWorkDir |
( |
| ) |
|
|
private |
◆ curProjetChanged
| void TYApplication::curProjetChanged |
( |
LPTYProjet |
pCurProjet | ) |
|
|
signal |
Signal que le projet courant a change.
◆ curSiteNodeChanged
| void TYApplication::curSiteNodeChanged |
( |
LPTYSiteNode |
pCurSiteNode | ) |
|
|
signal |
Signal que le site node courant a change.
◆ getActionManager()
Get du gestionnaire d'actions (historique pour les undos).
Definition at line 90 of file TYApplication.h.
◆ getCalculManager()
◆ getCurProjet()
◆ getCurrentDirName()
| const QString & TYApplication::getCurrentDirName |
( |
| ) |
|
|
static |
◆ getCurrentFileName()
| static const QString & TYApplication::getCurrentFileName |
( |
| ) |
|
|
static |
Retourne le nom du fichier en cours d'utilisation.
Definition at line 112 of file TYApplication.cpp.
◆ getCurSiteNode()
◆ getIsCurrentFileSaved()
| bool TYApplication::getIsCurrentFileSaved |
( |
| ) |
|
|
inline |
Get/Set de l'indicateur d'etat de sauvegarde du fichier courant.
Definition at line 156 of file TYApplication.h.
◆ getMainWnd()
◆ getOriginalCurrentDirPath()
| const QString & TYApplication::getOriginalCurrentDirPath |
( |
| ) |
|
|
static |
Get Chemin d'origine de l'application. (singleton)
Definition at line 89 of file TYApplication.cpp.
◆ getSettingsDir()
| const QString & TYApplication::getSettingsDir |
( |
| ) |
|
|
static |
◆ init()
| bool TYApplication::init |
( |
| ) |
|
Initialise l'application et charges toutes les ressources.
Definition at line 183 of file TYApplication.cpp.
◆ loadPlugins()
| bool TYApplication::loadPlugins |
( |
| ) |
|
|
private |
◆ loadSettings()
| bool TYApplication::loadSettings |
( |
| ) |
|
|
private |
◆ loadTextures()
| bool TYApplication::loadTextures |
( |
| ) |
|
|
private |
◆ run()
| bool TYApplication::run |
( |
| ) |
|
◆ setCurProjet
| void TYApplication::setCurProjet |
( |
LPTYProjet |
pProjet | ) |
|
|
slot |
◆ setCurrentDirName()
| void TYApplication::setCurrentDirName |
( |
const QString & |
dirName | ) |
|
|
static |
◆ setCurrentFileName()
| static void TYApplication::setCurrentFileName |
( |
const QString & |
fileName | ) |
|
|
static |
◆ setCurSiteNode
| void TYApplication::setCurSiteNode |
( |
LPTYSiteNode |
pSiteNode | ) |
|
|
slot |
◆ setIsCurrentFileSaved()
| void TYApplication::setIsCurrentFileSaved |
( |
const bool & |
saved | ) |
|
|
inline |
Get/Set de l'indicateur d'etat de sauvegarde du fichier courant.
Definition at line 165 of file TYApplication.h.
◆ setOriginalCurrentDirPath()
| void TYApplication::setOriginalCurrentDirPath |
( |
const QString & |
newValue | ) |
|
|
static |
◆ setSettingsDir()
| static void TYApplication::setSettingsDir |
( |
const QString & |
| ) |
|
|
static |
Set chemin des preferences utilisateur.
◆ tympanAppDir()
| static QString TYApplication::tympanAppDir |
( |
| ) |
|
|
static |
◆ tympanUserDir()
| static QString TYApplication::tympanUserDir |
( |
| ) |
|
|
static |
Retourne le chemin du dossier de sauvegarde de l'utilisateur courant. Celui-ci est donne par la variable d'environnement TYMPANUSERDIR. Si la variable n'est pas definie, c'est le dossier courant de l'application qui est utilise.
Definition at line 450 of file TYApplication.cpp.
◆ _actionManager
Le gestionnaire d'actions (historique pour les undos).
Definition at line 202 of file TYApplication.h.
◆ _currentDirName
| QString * TYApplication::_currentDirName = NULL |
|
staticprivate |
◆ _currentFileName
| QString * TYApplication::_currentFileName = NULL |
|
staticprivate |
◆ _originalCurrentDirPath
| QString * TYApplication::_originalCurrentDirPath = NULL |
|
staticprivate |
◆ _pCalculManager
◆ _pCurProjet
◆ _pCurSiteNode
◆ _pImageManager
◆ _pMainWnd
◆ _pMessageManager
◆ _pPluginManager
◆ _pSplash
◆ _saved
| bool TYApplication::_saved |
|
protected |
Indicateur de l'etat de sauvegarde du fichier courant.
Definition at line 223 of file TYApplication.h.
◆ _settingsDir
| QString * TYApplication::_settingsDir = NULL |
|
staticprivate |
Chemin des parametres utilisateur de l'application.
Definition at line 254 of file TYApplication.h.
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/gui/app/TYApplication.h
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/gui/app/TYApplication.cpp