Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | Private Slots | List of all members
TYMainWindow Class Reference

Fenetre principale de l'application Tympan. More...

#include <TYMainWindow.h>

Inheritance diagram for TYMainWindow:
Inheritance graph
[legend]
Collaboration diagram for TYMainWindow:
Collaboration graph
[legend]

Public Slots

void refreshWindowTitle ()
 
bool loadSettings (const QString &fileName)
 
bool saveSettings (const QString &fileName)
 
void setCurProjet (LPTYProjet pProjet)
 
void setCurSiteNode (LPTYSiteNode pSiteNode)
 
void updateCurCalcul ()
 
void createNew ()
 
void createNewProjet ()
 
void createNewSite ()
 
void createNewBatiment ()
 
void createNewMachine ()
 
void open ()
 
void open (std::vector< LPTYElement > &tabElem, const bool &bRegenerate=false)
 
bool save (QString dirName, QString &fileName, TYElement *pElement)
 
void formatFileName (QString &fileName)
 
void updateCurrentAppFile (const QString &dirName, const QString &fileName)
 
bool save ()
 
bool saveAs ()
 
bool saveAsNoResult ()
 
bool saveAs (LPTYElement pElement)
 
TYElementelementToSave ()
 
bool backupFile (const QString &fileName)
 
void showPluginManager ()
 
void close ()
 
void quitte ()
 
void print ()
 
void undo ()
 
void redo ()
 
void cut ()
 
void copy ()
 
void paste ()
 
void showHelp ()
 
void about ()
 
void showSpectreManager (bool show)
 
void showMaillageManager (bool show)
 
void showBiblio (bool show)
 
void showPreferenceDialog ()
 
void showOutput (bool show)
 
void updateHideOrShowOutputAction (bool visibilityChanged)
 
void launchImporter ()
 
bool makeModeler (TYElement *pElt)
 
bool makeBatimentModeler (LPTYBatiment pBatiment=NULL)
 
bool makeMachineModeler (LPTYMachine pMachine=NULL)
 
void makeSiteModeler (LPTYSiteNode pSite=NULL)
 
void makeProjetModeler (LPTYProjet pProjet=NULL)
 
void connectActionManager (TYActionManager *pActionManager)
 
void connectDefaultActionManager ()
 
void updateModelers (bool clipping=true, bool axesAndGrid=true, bool displayList=true)
 
void updateModelersElementGraphic (bool force=false)
 
void updateModelersAfterComputation (LPTYProjet &result)
 
void closeModeler (const TYElement *pElement)
 
void editCurCalcul ()
 
void goCurCalcul ()
 
void reloadSlots ()
 
void setDefaultCameraMode ()
 

Signals

void onUndo ()
 
void onRedo ()
 

Public Member Functions

 TYMainWindow ()
 
virtual ~TYMainWindow ()
 
QMdiArea * getWorkspace ()
 
TYModelerFramegetCurrentModeler ()
 
TYProjetFramegetProjetFrame ()
 
TYSiteFramegetSiteFrame ()
 
TYOutputFramegetOutputFrame ()
 
TYFaceToolbargetFaceToolbar ()
 
TYModelerToolbargetModelerToolbar ()
 
void updateCurrentFileName (const QString &fileName)
 
bool getSaveStatus ()
 Retourne l'etat de la requete de sauvegarde. More...
 
void initSaveStatus ()
 
virtual QMenu * createPopupMenu ()
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *pEvent)
 
bool testFile (const QString &fileName)
 Teste l'existence et la possibilite d'ecrire le fichier. More...
 
QString getFileName (const QString &filter, QString &dirName, const bool &forceNewName=false)
 Produit un nom de fichier valide (ou rien !) More...
 

Protected Attributes

QMdiArea * _pWorkspace
 Workspace pour la gestion MDI. More...
 
TYModelerFrame_pCurrentModeler
 Modeler en cours d'affichage. More...
 
QAction * _pCreateNewAction
 Action pour creer un nouvel element. More...
 
QAction * _pOpenAction
 Action pour ouvrir le gestionnaire de bibliotheques. More...
 
QAction * _pCloseAction
 Action pour fermer le projet ou site courant. More...
 
QAction * _pSaveAction
 Action pour sauvegarder un element. More...
 
QAction * _pSaveAsAction
 Action pour sauvegarder un element sous un nom specifique. More...
 
QAction * _pSaveAsNoResultAction
 Action pour sauvegarder un element sous un nom specifique sans les resultats de calcul. More...
 
QAction * _pShowPluginManagerAction
 Action pour afficher le gestionnaire de plug-ins. More...
 
QAction * _pSaveAllAction
 Action pour sauvegarder tous les elements. More...
 
QAction * _pImportXMLAction
 Action pour importer un element depuis un fichier XML. More...
 
QAction * _pExportXMLAction
 Action pour exporter l'element du modeler actif en XML. More...
 
QAction * _pPrintAction
 Action pour imprimer. More...
 
QAction * _pUndoAction
 Action pour realiser un undo. More...
 
QAction * _pRedoAction
 Action pour realiser un redo. More...
 
QAction * _pCutAction
 Action pour realiser un couper. More...
 
QAction * _pCopyAction
 Action pour realiser un copier. More...
 
QAction * _pPasteAction
 Action pour realiser un coller. More...
 
QAction * _pHideOrShowSpectreMngrAction
 Affiche ou cache le Spectre Manager. More...
 
QAction * _pHideOrShowMaillageMngrAction
 Affiche ou cache le Maillage Manager. More...
 
QAction * _pHideOrShowBiblioAction
 Affiche ou cache la Bibliotheque d'elements. More...
 
QAction * _pHideOrShowOutputAction
 Affiche ou cache la fenetre de sortie des messages. More...
 
QAction * _pEditCurCalculAction
 Action pour editer les preferences du calcul courant. More...
 
QAction * _pGoCurCalculAction
 Action pour lancer le calcul courant. More...
 
QToolBar * _pMainToolbar
 Toolbar principale. More...
 
QToolBar * _pWindowToolbar
 Toolbar pour la gestion des fenetres. More...
 
QToolBar * _pCalculAcousticToolbar
 Toolbar pour les calculs acoustiques. More...
 
TYModelerToolbar_pToolbarModeler
 Toolbar generale pour les modelers. More...
 
QButtonGroup * _pSiteBtnGroup
 Button group pour les toolbars site. More...
 
int _curSiteMode
 Conserve le mode courant des fenetres SiteModeler. More...
 
TYTopoToolbar_pToolbarTopo
 Toolbar topographie. More...
 
TYInfraToolbar_pToolbarInfra
 Toolbar infrastructure. More...
 
TYCalculToolbar_pToolbarCalcul
 Toolbar calcul. More...
 
QButtonGroup * _pMachineBtnGroup
 Button group pour la toolbar machine. More...
 
int _curMachineMode
 Conserve le mode courant des fenetres MachineModeler. More...
 
TYMachineToolbar_pToolbarMachine
 Toolbar machine. More...
 
QButtonGroup * _pFaceBtnGroup
 Button group pour la toolbar face. More...
 
int _curFaceMode
 Conserve le mode courant des fenetres FaceModeler. More...
 
TYFaceToolbar_pToolbarFace
 Toolbar machine. More...
 
QButtonGroup * _pBatimentBtnGroup
 Button group pour la toolbar batiment. More...
 
int _curBatimentMode
 Conserve le mode courant des fenetres BatimentModeler. More...
 
TYBatimentToolbar_pToolbarBatiment
 Toolbar batiment. More...
 
TYProjetFrame_pProjetFrame
 Frame pour la gestion de projets. More...
 
QDockWidget * _pProjetDockWnd
 Fenetre dockable pour la gestion de projets. More...
 
TYSiteFrame_pSiteFrame
 Frame pour la gestion de sites. More...
 
QDockWidget * _pSiteDockWnd
 Fenetre dockable pour la gestion de sites. More...
 
TYOutputFrame_pOutputFrame
 Frame pour les messages de retour. More...
 
QDockWidget * _pOutputDockWnd
 Fenetre dockable pour les messages de retour. More...
 
QMenu * _pWindowsMenu
 Gestionnaire de spectres. More...
 
QTextBrowser * _pHelpBrowser
 Navigateur d'aide. More...
 
bool _closeAndQuit
 Indicateur d'annulation de commande de sortie. More...
 

Private Slots

void windowsMenuAboutToShow ()
 
void windowsMenuActivated ()
 
void subWindowActivated ()
 
void saveCurSiteMode (int mode)
 
void saveCurMachineMode (int mode)
 
void saveCurBatimentMode (int mode)
 
void saveCurFaceMode (int mode)
 
void updateUndoRedo (bool undoAvailable, bool redoAvailable, const QString &undoCmd, const QString &redoCmd)
 

Detailed Description

Fenetre principale de l'application Tympan.

Definition at line 52 of file TYMainWindow.h.

Constructor & Destructor Documentation

◆ TYMainWindow()

TYMainWindow::TYMainWindow ( )

Constructeur par defaut.

Definition at line 90 of file TYMainWindow.cpp.

Here is the call graph for this function:

◆ ~TYMainWindow()

TYMainWindow::~TYMainWindow ( )
virtual

Destructeur.

Definition at line 448 of file TYMainWindow.cpp.

Member Function Documentation

◆ about

void TYMainWindow::about ( )
slot

Affiche la fenetre d'information sur Tympan.

Definition at line 560 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ backupFile

bool TYMainWindow::backupFile ( const QString &  fileName)
slot

Cree une copie du fichier passe en parametre

Definition at line 1697 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ close

void TYMainWindow::close ( )
slot

Ferme le projet courant ou le site courant.

Definition at line 1403 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ closeEvent()

void TYMainWindow::closeEvent ( QCloseEvent *  pEvent)
protectedvirtual

Definition at line 1904 of file TYMainWindow.cpp.

Here is the call graph for this function:

◆ closeModeler

void TYMainWindow::closeModeler ( const TYElement pElement)
slot

Ferme le modeleur d'un element

Parameters
pElementObjet dont le modeleur est ouvert

Definition at line 863 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ connectActionManager

void TYMainWindow::connectActionManager ( TYActionManager pActionManager)
slot

Connecte un ActionManager a cette MainWindow. Ainsi les actions undo et redo seront branchees a ce nouvel ActionManager, et le precedent sera deconnecte.

Parameters
pActionManagerL'ActionManager a connecter.

Definition at line 733 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ connectDefaultActionManager

void TYMainWindow::connectDefaultActionManager ( )
slot

Connecte l'ActionManager de l'Application a cette MainWindow.

Definition at line 753 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copy

void TYMainWindow::copy ( )
slot

Couper-Copier-Coller.

Definition at line 1849 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createNew

void TYMainWindow::createNew ( )
slot

Affiche la boite de dialogue de creation d'un nouvel element.

Definition at line 1285 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createNewBatiment

void TYMainWindow::createNewBatiment ( )
slot

Creer un nouveau Btiment.

Definition at line 1314 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createNewMachine

void TYMainWindow::createNewMachine ( )
slot

Creer une nouvelle Machine.

Definition at line 1322 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createNewProjet

void TYMainWindow::createNewProjet ( )
slot

Creer un nouveau Projet.

Definition at line 1293 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createNewSite

void TYMainWindow::createNewSite ( )
slot

Creer un nouveau Site.

Definition at line 1306 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createPopupMenu()

QMenu * TYMainWindow::createPopupMenu ( )
virtual

Definition at line 454 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ cut

void TYMainWindow::cut ( )
slot

Couper-Copier-Coller.

Definition at line 1844 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ editCurCalcul

void TYMainWindow::editCurCalcul ( )
slot

Affiche la widget du calcul courant.

Definition at line 883 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ elementToSave

TYElement * TYMainWindow::elementToSave ( )
slot

Definition at line 1476 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ formatFileName

void TYMainWindow::formatFileName ( QString &  fileName)
inlineslot

Definition at line 178 of file TYMainWindow.h.

Here is the caller graph for this function:

◆ getCurrentModeler()

TYModelerFrame* TYMainWindow::getCurrentModeler ( )
inline

Definition at line 71 of file TYMainWindow.h.

Here is the caller graph for this function:

◆ getFaceToolbar()

TYFaceToolbar* TYMainWindow::getFaceToolbar ( )
inline

Definition at line 89 of file TYMainWindow.h.

Here is the caller graph for this function:

◆ getFileName()

QString TYMainWindow::getFileName ( const QString &  filter,
QString &  dirName,
const bool &  forceNewName = false 
)
protected

Produit un nom de fichier valide (ou rien !)

Definition at line 1779 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getModelerToolbar()

TYModelerToolbar* TYMainWindow::getModelerToolbar ( )
inline

Definition at line 93 of file TYMainWindow.h.

Here is the caller graph for this function:

◆ getOutputFrame()

TYOutputFrame* TYMainWindow::getOutputFrame ( )
inline

Definition at line 84 of file TYMainWindow.h.

Here is the caller graph for this function:

◆ getProjetFrame()

TYProjetFrame* TYMainWindow::getProjetFrame ( )
inline

Definition at line 76 of file TYMainWindow.h.

Here is the caller graph for this function:

◆ getSaveStatus()

bool TYMainWindow::getSaveStatus ( )
inline

Retourne l'etat de la requete de sauvegarde.

Definition at line 101 of file TYMainWindow.h.

◆ getSiteFrame()

TYSiteFrame* TYMainWindow::getSiteFrame ( )
inline

Definition at line 80 of file TYMainWindow.h.

Here is the caller graph for this function:

◆ getWorkspace()

QMdiArea* TYMainWindow::getWorkspace ( )
inline

Definition at line 66 of file TYMainWindow.h.

Here is the caller graph for this function:

◆ goCurCalcul

void TYMainWindow::goCurCalcul ( )
slot

Lance le calcul courant.

Definition at line 891 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initSaveStatus()

void TYMainWindow::initSaveStatus ( )
inline

Definition at line 105 of file TYMainWindow.h.

◆ launchImporter

void TYMainWindow::launchImporter ( )
slot

Ouvre l'Importer (conversion Tympan II vers Tympan 3) dans un nouveau process.

Definition at line 1881 of file TYMainWindow.cpp.

Here is the call graph for this function:

◆ loadSettings

bool TYMainWindow::loadSettings ( const QString &  fileName)
slot

Chargement des settings.

Definition at line 465 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ makeBatimentModeler

bool TYMainWindow::makeBatimentModeler ( LPTYBatiment  pBatiment = NULL)
slot

Instancie une novuelle fenetre Batiment Modeler.

Definition at line 618 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ makeMachineModeler

bool TYMainWindow::makeMachineModeler ( LPTYMachine  pMachine = NULL)
slot

Instancie une novuelle fenetre Machine Modeler.

Definition at line 659 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ makeModeler

bool TYMainWindow::makeModeler ( TYElement pElt)
slot

Creation d'un modeleur a partir d'un type

Definition at line 586 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ makeProjetModeler

void TYMainWindow::makeProjetModeler ( LPTYProjet  pProjet = NULL)
slot

Instancie une novuelle fenetre Site Modeler.

Definition at line 717 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ makeSiteModeler

void TYMainWindow::makeSiteModeler ( LPTYSiteNode  pSite = NULL)
slot

Instancie une novuelle fenetre Site Modeler.

Definition at line 701 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onRedo

void TYMainWindow::onRedo ( )
signal

Signal qu'un redo est demande.

Here is the caller graph for this function:

◆ onUndo

void TYMainWindow::onUndo ( )
signal

Signal qu'un undo est demande.

Here is the caller graph for this function:

◆ open [1/2]

void TYMainWindow::open ( )
slot

Ouvre un fichier XML

Definition at line 1330 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ open [2/2]

void TYMainWindow::open ( std::vector< LPTYElement > &  tabElem,
const bool &  bRegenerate = false 
)
slot

Ouvre un fichier XML (utilise pour faire l'import de composants)

Definition at line 1378 of file TYMainWindow.cpp.

Here is the call graph for this function:

◆ paste

void TYMainWindow::paste ( )
slot

Couper-Copier-Coller.

Definition at line 1854 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print

void TYMainWindow::print ( )
slot

Affiche la boite de dialogue d'impression.

Definition at line 1824 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ quitte

void TYMainWindow::quitte ( )
slot

Quitte l'application

Definition at line 1458 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ redo

void TYMainWindow::redo ( )
slot

Effectue a nouveau la derniere action annulee.

Definition at line 1839 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ refreshWindowTitle

void TYMainWindow::refreshWindowTitle ( )
slot

Raffraichit le titre de la fenetre

Definition at line 1958 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reloadSlots

void TYMainWindow::reloadSlots ( )
slot

Definition at line 463 of file TYMainWindow.cpp.

◆ save [1/2]

bool TYMainWindow::save ( )
slot

Enregistre l'element de la fenetre activee.

Definition at line 1517 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ save [2/2]

bool TYMainWindow::save ( QString  dirName,
QString &  fileName,
TYElement pElement 
)
slot

Definition at line 1550 of file TYMainWindow.cpp.

Here is the call graph for this function:

◆ saveAs [1/2]

bool TYMainWindow::saveAs ( )
slot

Enregistre le projet (ou l'element actif) sous un autre nom

Definition at line 1588 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ saveAs [2/2]

bool TYMainWindow::saveAs ( LPTYElement  pElement)
slot

Enregistre l'element passe en parametre

Definition at line 1659 of file TYMainWindow.cpp.

Here is the call graph for this function:

◆ saveAsNoResult

bool TYMainWindow::saveAsNoResult ( )
slot

Enregistre le projet (ou l'element actif) sous un autre nom sans les resultats de calcul

Definition at line 1624 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ saveCurBatimentMode

void TYMainWindow::saveCurBatimentMode ( int  mode)
privateslot

Pour conserver le mode courant des fenetres BatimentModeler.

Definition at line 1195 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ saveCurFaceMode

void TYMainWindow::saveCurFaceMode ( int  mode)
privateslot

Pour conserver le mode courant des fenetres FaceModeler.

Definition at line 1202 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ saveCurMachineMode

void TYMainWindow::saveCurMachineMode ( int  mode)
privateslot

Pour conserver le mode courant des fenetres MachineModeler.

Definition at line 1188 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ saveCurSiteMode

void TYMainWindow::saveCurSiteMode ( int  mode)
privateslot

Pour conserver le mode courant des fenetres SiteModeler.

Definition at line 1181 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ saveSettings

bool TYMainWindow::saveSettings ( const QString &  fileName)
slot

Sauvegarde des settings.

Definition at line 533 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ setCurProjet

void TYMainWindow::setCurProjet ( LPTYProjet  pProjet)
slot

Set du projet courant.

Definition at line 1237 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCurSiteNode

void TYMainWindow::setCurSiteNode ( LPTYSiteNode  pSiteNode)
slot

Set du site node courant.

Definition at line 1251 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDefaultCameraMode

void TYMainWindow::setDefaultCameraMode ( )
slot

Repositionne l'interface en mode camera par defaut (utilise automatiquement apres les creations d'elements)

Definition at line 964 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ showBiblio

void TYMainWindow::showBiblio ( bool  show)
slot

Affiche ou cache a bibliotheque.

Definition at line 1863 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ showHelp

void TYMainWindow::showHelp ( )
slot

Affiche le navigateur d'aide.

Definition at line 555 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ showMaillageManager

void TYMainWindow::showMaillageManager ( bool  show)
slot

Affiche ou cache le gestionnaire de maillage.

Definition at line 1861 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ showOutput

void TYMainWindow::showOutput ( bool  show)
slot

Affiche la fenetre de sortie des messages.

Definition at line 1871 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ showPluginManager

void TYMainWindow::showPluginManager ( )
slot

Affiche le gestionnaire de plug-ins

Definition at line 1733 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ showPreferenceDialog

void TYMainWindow::showPreferenceDialog ( )
slot

Affiche la boite de dialogue des preferences.

Definition at line 1865 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ showSpectreManager

void TYMainWindow::showSpectreManager ( bool  show)
slot

Affiche ou cache le gestionnaire de spectre.

Definition at line 1859 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ subWindowActivated

void TYMainWindow::subWindowActivated ( )
privateslot

Appeller lorsque une fenetre est actrivee.

Definition at line 972 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ testFile()

bool TYMainWindow::testFile ( const QString &  fileName)
protected

Teste l'existence et la possibilite d'ecrire le fichier.

Definition at line 1747 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ undo

void TYMainWindow::undo ( )
slot

Annule la derniere action.

Definition at line 1834 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ updateCurCalcul

void TYMainWindow::updateCurCalcul ( )
slot

Met a jour le calcul courant.

Definition at line 1257 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateCurrentAppFile

void TYMainWindow::updateCurrentAppFile ( const QString &  dirName,
const QString &  fileName 
)
slot

Definition at line 1688 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateCurrentFileName()

void TYMainWindow::updateCurrentFileName ( const QString &  fileName)

Definition at line 1947 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateHideOrShowOutputAction

void TYMainWindow::updateHideOrShowOutputAction ( bool  visibilityChanged)
slot

Synchronise l'etat du bouton avec la visibilite de la fenetre de sortie de messages.

Definition at line 1876 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ updateModelers

void TYMainWindow::updateModelers ( bool  clipping = true,
bool  axesAndGrid = true,
bool  displayList = true 
)
slot

Met a jour les vues graphiques des modelers ouverts.

Parameters
clippingPour mettre a jour le clipping range de la camera.
axesAndGridPour mettre a jour les axes et la grille.
displayListPour mettre a jour la display liste globale

Definition at line 758 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateModelersAfterComputation

void TYMainWindow::updateModelersAfterComputation ( LPTYProjet result)
slot

Met a jour les modelers ouverts suite au calcul acoustique

Parameters
resultLe nouveau projet suite au calcul acoustique

Definition at line 807 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateModelersElementGraphic

void TYMainWindow::updateModelersElementGraphic ( bool  force = false)
slot

Mets a jour la structure graphique de l'element associe aux modelers ouverts.

Parameters
forceForce la mise a jour meme si l'element n'est pas marque comme modifie.

Definition at line 791 of file TYMainWindow.cpp.

Here is the call graph for this function:

◆ updateUndoRedo

void TYMainWindow::updateUndoRedo ( bool  undoAvailable,
bool  redoAvailable,
const QString &  undoCmd,
const QString &  redoCmd 
)
privateslot

Mets a jour les menus et boutons d'undo et redo.

Definition at line 1209 of file TYMainWindow.cpp.

Here is the caller graph for this function:

◆ windowsMenuAboutToShow

void TYMainWindow::windowsMenuAboutToShow ( )
privateslot

Gere l'affichage des fenetres.

Definition at line 896 of file TYMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ windowsMenuActivated

void TYMainWindow::windowsMenuActivated ( )
privateslot

Gere l'affichage des fenetres.

Definition at line 937 of file TYMainWindow.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ _closeAndQuit

bool TYMainWindow::_closeAndQuit
protected

Indicateur d'annulation de commande de sortie.

Definition at line 582 of file TYMainWindow.h.

◆ _curBatimentMode

int TYMainWindow::_curBatimentMode
protected

Conserve le mode courant des fenetres BatimentModeler.

Definition at line 548 of file TYMainWindow.h.

◆ _curFaceMode

int TYMainWindow::_curFaceMode
protected

Conserve le mode courant des fenetres FaceModeler.

Definition at line 541 of file TYMainWindow.h.

◆ _curMachineMode

int TYMainWindow::_curMachineMode
protected

Conserve le mode courant des fenetres MachineModeler.

Definition at line 534 of file TYMainWindow.h.

◆ _curSiteMode

int TYMainWindow::_curSiteMode
protected

Conserve le mode courant des fenetres SiteModeler.

Definition at line 523 of file TYMainWindow.h.

◆ _pBatimentBtnGroup

QButtonGroup* TYMainWindow::_pBatimentBtnGroup
protected

Button group pour la toolbar batiment.

Definition at line 546 of file TYMainWindow.h.

◆ _pCalculAcousticToolbar

QToolBar* TYMainWindow::_pCalculAcousticToolbar
protected

Toolbar pour les calculs acoustiques.

Definition at line 515 of file TYMainWindow.h.

◆ _pCloseAction

QAction* TYMainWindow::_pCloseAction
protected

Action pour fermer le projet ou site courant.

Definition at line 457 of file TYMainWindow.h.

◆ _pCopyAction

QAction* TYMainWindow::_pCopyAction
protected

Action pour realiser un copier.

Definition at line 490 of file TYMainWindow.h.

◆ _pCreateNewAction

QAction* TYMainWindow::_pCreateNewAction
protected

Action pour creer un nouvel element.

Definition at line 453 of file TYMainWindow.h.

◆ _pCurrentModeler

TYModelerFrame* TYMainWindow::_pCurrentModeler
protected

Modeler en cours d'affichage.

Definition at line 450 of file TYMainWindow.h.

◆ _pCutAction

QAction* TYMainWindow::_pCutAction
protected

Action pour realiser un couper.

Definition at line 488 of file TYMainWindow.h.

◆ _pEditCurCalculAction

QAction* TYMainWindow::_pEditCurCalculAction
protected

Action pour editer les preferences du calcul courant.

Definition at line 504 of file TYMainWindow.h.

◆ _pExportXMLAction

QAction* TYMainWindow::_pExportXMLAction
protected

Action pour exporter l'element du modeler actif en XML.

Definition at line 477 of file TYMainWindow.h.

◆ _pFaceBtnGroup

QButtonGroup* TYMainWindow::_pFaceBtnGroup
protected

Button group pour la toolbar face.

Definition at line 539 of file TYMainWindow.h.

◆ _pGoCurCalculAction

QAction* TYMainWindow::_pGoCurCalculAction
protected

Action pour lancer le calcul courant.

Definition at line 506 of file TYMainWindow.h.

◆ _pHelpBrowser

QTextBrowser* TYMainWindow::_pHelpBrowser
protected

Navigateur d'aide.

Definition at line 579 of file TYMainWindow.h.

◆ _pHideOrShowBiblioAction

QAction* TYMainWindow::_pHideOrShowBiblioAction
protected

Affiche ou cache la Bibliotheque d'elements.

Definition at line 499 of file TYMainWindow.h.

◆ _pHideOrShowMaillageMngrAction

QAction* TYMainWindow::_pHideOrShowMaillageMngrAction
protected

Affiche ou cache le Maillage Manager.

Definition at line 497 of file TYMainWindow.h.

◆ _pHideOrShowOutputAction

QAction* TYMainWindow::_pHideOrShowOutputAction
protected

Affiche ou cache la fenetre de sortie des messages.

Definition at line 501 of file TYMainWindow.h.

◆ _pHideOrShowSpectreMngrAction

QAction* TYMainWindow::_pHideOrShowSpectreMngrAction
protected

Affiche ou cache le Spectre Manager.

Definition at line 495 of file TYMainWindow.h.

◆ _pImportXMLAction

QAction* TYMainWindow::_pImportXMLAction
protected

Action pour importer un element depuis un fichier XML.

Definition at line 475 of file TYMainWindow.h.

◆ _pMachineBtnGroup

QButtonGroup* TYMainWindow::_pMachineBtnGroup
protected

Button group pour la toolbar machine.

Definition at line 532 of file TYMainWindow.h.

◆ _pMainToolbar

QToolBar* TYMainWindow::_pMainToolbar
protected

Toolbar principale.

Definition at line 509 of file TYMainWindow.h.

◆ _pOpenAction

QAction* TYMainWindow::_pOpenAction
protected

Action pour ouvrir le gestionnaire de bibliotheques.

Definition at line 455 of file TYMainWindow.h.

◆ _pOutputDockWnd

QDockWidget* TYMainWindow::_pOutputDockWnd
protected

Fenetre dockable pour les messages de retour.

Definition at line 565 of file TYMainWindow.h.

◆ _pOutputFrame

TYOutputFrame* TYMainWindow::_pOutputFrame
protected

Frame pour les messages de retour.

Definition at line 563 of file TYMainWindow.h.

◆ _pPasteAction

QAction* TYMainWindow::_pPasteAction
protected

Action pour realiser un coller.

Definition at line 492 of file TYMainWindow.h.

◆ _pPrintAction

QAction* TYMainWindow::_pPrintAction
protected

Action pour imprimer.

Definition at line 480 of file TYMainWindow.h.

◆ _pProjetDockWnd

QDockWidget* TYMainWindow::_pProjetDockWnd
protected

Fenetre dockable pour la gestion de projets.

Definition at line 555 of file TYMainWindow.h.

◆ _pProjetFrame

TYProjetFrame* TYMainWindow::_pProjetFrame
protected

Frame pour la gestion de projets.

Definition at line 553 of file TYMainWindow.h.

◆ _pRedoAction

QAction* TYMainWindow::_pRedoAction
protected

Action pour realiser un redo.

Definition at line 485 of file TYMainWindow.h.

◆ _pSaveAction

QAction* TYMainWindow::_pSaveAction
protected

Action pour sauvegarder un element.

Definition at line 460 of file TYMainWindow.h.

◆ _pSaveAllAction

QAction* TYMainWindow::_pSaveAllAction
protected

Action pour sauvegarder tous les elements.

Definition at line 472 of file TYMainWindow.h.

◆ _pSaveAsAction

QAction* TYMainWindow::_pSaveAsAction
protected

Action pour sauvegarder un element sous un nom specifique.

Definition at line 463 of file TYMainWindow.h.

◆ _pSaveAsNoResultAction

QAction* TYMainWindow::_pSaveAsNoResultAction
protected

Action pour sauvegarder un element sous un nom specifique sans les resultats de calcul.

Definition at line 466 of file TYMainWindow.h.

◆ _pShowPluginManagerAction

QAction* TYMainWindow::_pShowPluginManagerAction
protected

Action pour afficher le gestionnaire de plug-ins.

Definition at line 469 of file TYMainWindow.h.

◆ _pSiteBtnGroup

QButtonGroup* TYMainWindow::_pSiteBtnGroup
protected

Button group pour les toolbars site.

Definition at line 521 of file TYMainWindow.h.

◆ _pSiteDockWnd

QDockWidget* TYMainWindow::_pSiteDockWnd
protected

Fenetre dockable pour la gestion de sites.

Definition at line 560 of file TYMainWindow.h.

◆ _pSiteFrame

TYSiteFrame* TYMainWindow::_pSiteFrame
protected

Frame pour la gestion de sites.

Definition at line 558 of file TYMainWindow.h.

◆ _pToolbarBatiment

TYBatimentToolbar* TYMainWindow::_pToolbarBatiment
protected

Toolbar batiment.

Definition at line 550 of file TYMainWindow.h.

◆ _pToolbarCalcul

TYCalculToolbar* TYMainWindow::_pToolbarCalcul
protected

Toolbar calcul.

Definition at line 529 of file TYMainWindow.h.

◆ _pToolbarFace

TYFaceToolbar* TYMainWindow::_pToolbarFace
protected

Toolbar machine.

Definition at line 543 of file TYMainWindow.h.

◆ _pToolbarInfra

TYInfraToolbar* TYMainWindow::_pToolbarInfra
protected

Toolbar infrastructure.

Definition at line 527 of file TYMainWindow.h.

◆ _pToolbarMachine

TYMachineToolbar* TYMainWindow::_pToolbarMachine
protected

Toolbar machine.

Definition at line 536 of file TYMainWindow.h.

◆ _pToolbarModeler

TYModelerToolbar* TYMainWindow::_pToolbarModeler
protected

Toolbar generale pour les modelers.

Definition at line 518 of file TYMainWindow.h.

◆ _pToolbarTopo

TYTopoToolbar* TYMainWindow::_pToolbarTopo
protected

Toolbar topographie.

Definition at line 525 of file TYMainWindow.h.

◆ _pUndoAction

QAction* TYMainWindow::_pUndoAction
protected

Action pour realiser un undo.

Definition at line 483 of file TYMainWindow.h.

◆ _pWindowsMenu

QMenu* TYMainWindow::_pWindowsMenu
protected

Gestionnaire de spectres.

Gestionnaire de maillages. Modeler de maillage pour le gestionnaire de maillage. Menu de gestion des fenetres.

Definition at line 576 of file TYMainWindow.h.

◆ _pWindowToolbar

QToolBar* TYMainWindow::_pWindowToolbar
protected

Toolbar pour la gestion des fenetres.

Definition at line 512 of file TYMainWindow.h.

◆ _pWorkspace

QMdiArea* TYMainWindow::_pWorkspace
protected

Workspace pour la gestion MDI.

Definition at line 445 of file TYMainWindow.h.


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