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

classe de l'objet IHM pour un etage More...

#include <TYEtageWidget.h>

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

Public Slots

virtual void updateContent ()
 
virtual void apply ()
 
void editSol ()
 
void editPlafond ()
 
void editMur (const int &item)
 
void editMachine (const int &item)
 
void editSource (const int &item)
 
void showReverb ()
 Affichage du champ reverbere. More...
 
void showTR ()
 Affichage du temps de reverberation. More...
 
virtual void contextMenuEvent (QContextMenuEvent *e)
 
void propagateRegime (int regime)
 
- Public Slots inherited from TYWidget
virtual void updateContent ()=0
 
virtual void apply ()=0
 
virtual void reject ()
 

Public Member Functions

 TYEtageWidget (TYEtage *pElement, QWidget *_pParent=NULL)
 
virtual ~TYEtageWidget ()
 
- Public Member Functions inherited from TYWidget
 TYWidget (TYElement *pElement, QWidget *parent=0, const char *name=0, Qt::WindowFlags f=QFlag(0))
 
virtual ~TYWidget ()
 
void setElement (TYElement *pElement)
 

Protected Attributes

QButtonGroup * _buttonGroupReverb
 
QRadioButton * _pRadioButtonSabine
 
QGroupBox * _groupBoxDalles
 
QGroupBox * _groupBoxSol
 
QLineEdit * _lineEditNomSol
 
QPushButton * _pushButtonSol
 
QCheckBox * _checkBoxSol
 
QGroupBox * _groupBoxPlafond
 
QLineEdit * _lineEditNomPlafond
 
QPushButton * _pushButtonPlafond
 
QCheckBox * _checkBoxPlafond
 
QGroupBox * _groupBoxListMur
 
QTableWidget * _tableFaces
 
QTabWidget * _tabWidget
 
QGroupBox * _groupBoxListMachine
 
QTabWidget * _tabWidgetSources
 
QTableWidget * _tableMachine
 
QTableWidget * _tableSource
 
QGridLayout * _etageLayout
 
QGridLayout * _groupBoxDallesLayout
 
QGridLayout * _groupBoxSolLayout
 
QGridLayout * _groupBoxPlafondLayout
 
QGridLayout * _groupBoxListMurLayout
 
QGridLayout * _groupBoxListMachineLayout
 
QGroupBox * _groupBoxDimensions
 
QGridLayout * _groupBoxDimensionsLayout
 
QLabel * _dimensionsHauteurLabel
 
TYLineEdit_dimensionsHauteurLineEdit
 
TYAcousticVolumeWidget_elmW
 
- Protected Attributes inherited from TYWidget
TYElement_pElement
 
bool _locked
 

Private Member Functions

void clearTables ()
 
void updateFromMurs ()
 
void applyToMurs ()
 

Additional Inherited Members

- Signals inherited from TYWidget
void modified ()
 
- Static Public Member Functions inherited from TYWidget
static int edit (TYElement *pElement, QWidget *pParent=NULL)
 
static QString getDisplayName (TYElement *pElt)
 

Detailed Description

classe de l'objet IHM pour un etage

Definition at line 55 of file TYEtageWidget.h.

Constructor & Destructor Documentation

◆ TYEtageWidget()

TYEtageWidget::TYEtageWidget ( TYEtage pElement,
QWidget *  _pParent = NULL 
)

Constructeur.

Definition at line 44 of file TYEtageWidget.cpp.

Here is the call graph for this function:

◆ ~TYEtageWidget()

TYEtageWidget::~TYEtageWidget ( )
virtual

Destructeur.

Definition at line 192 of file TYEtageWidget.cpp.

Member Function Documentation

◆ apply

void TYEtageWidget::apply ( )
virtualslot

Definition at line 209 of file TYEtageWidget.cpp.

Here is the call graph for this function:

◆ applyToMurs()

void TYEtageWidget::applyToMurs ( )
private

Mise a jour des informations des murs

Definition at line 657 of file TYEtageWidget.cpp.

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

◆ clearTables()

void TYEtageWidget::clearTables ( )
private

Definition at line 614 of file TYEtageWidget.cpp.

Here is the caller graph for this function:

◆ contextMenuEvent

void TYEtageWidget::contextMenuEvent ( QContextMenuEvent *  e)
virtualslot

Affiche un menu contextuel.

Definition at line 439 of file TYEtageWidget.cpp.

Here is the call graph for this function:

◆ editMachine

void TYEtageWidget::editMachine ( const int &  item)
slot

Edite la widget de la machine selectionne.

Parameters
itemElement de la liste correspondant a la machine selectionne.

Definition at line 390 of file TYEtageWidget.cpp.

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

◆ editMur

void TYEtageWidget::editMur ( const int &  item)
slot

Edite la widget du mur selectionne.

Parameters
itemElement de la liste correspondant au mur selectionne.

Definition at line 358 of file TYEtageWidget.cpp.

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

◆ editPlafond

void TYEtageWidget::editPlafond ( )
slot

Edite la widget du plafond.

Definition at line 346 of file TYEtageWidget.cpp.

Here is the caller graph for this function:

◆ editSol

void TYEtageWidget::editSol ( )
slot

Edite la widget du sol.

Definition at line 334 of file TYEtageWidget.cpp.

Here is the caller graph for this function:

◆ editSource

void TYEtageWidget::editSource ( const int &  item)
slot

Edite la widget de la source selectionnee.

Parameters
itemElement de la liste correspondant a la source selectionne.

Definition at line 414 of file TYEtageWidget.cpp.

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

◆ propagateRegime

void TYEtageWidget::propagateRegime ( int  regime)
slot

Gestion du changement de regime de l'etage

Definition at line 516 of file TYEtageWidget.cpp.

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

◆ showReverb

void TYEtageWidget::showReverb ( )
slot

Affichage du champ reverbere.

Definition at line 679 of file TYEtageWidget.cpp.

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

◆ showTR

void TYEtageWidget::showTR ( )
slot

Affichage du temps de reverberation.

Definition at line 684 of file TYEtageWidget.cpp.

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

◆ updateContent

void TYEtageWidget::updateContent ( )
virtualslot

Definition at line 194 of file TYEtageWidget.cpp.

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

◆ updateFromMurs()

void TYEtageWidget::updateFromMurs ( )
private

Recuperation des informations des murs

Definition at line 632 of file TYEtageWidget.cpp.

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

Member Data Documentation

◆ _buttonGroupReverb

QButtonGroup* TYEtageWidget::_buttonGroupReverb
protected

Definition at line 132 of file TYEtageWidget.h.

◆ _checkBoxPlafond

QCheckBox* TYEtageWidget::_checkBoxPlafond
protected

Definition at line 143 of file TYEtageWidget.h.

◆ _checkBoxSol

QCheckBox* TYEtageWidget::_checkBoxSol
protected

Definition at line 139 of file TYEtageWidget.h.

◆ _dimensionsHauteurLabel

QLabel* TYEtageWidget::_dimensionsHauteurLabel
protected

Definition at line 168 of file TYEtageWidget.h.

◆ _dimensionsHauteurLineEdit

TYLineEdit* TYEtageWidget::_dimensionsHauteurLineEdit
protected

Definition at line 169 of file TYEtageWidget.h.

◆ _elmW

TYAcousticVolumeWidget* TYEtageWidget::_elmW
protected

Definition at line 171 of file TYEtageWidget.h.

◆ _etageLayout

QGridLayout* TYEtageWidget::_etageLayout
protected

Definition at line 159 of file TYEtageWidget.h.

◆ _groupBoxDalles

QGroupBox* TYEtageWidget::_groupBoxDalles
protected

Definition at line 135 of file TYEtageWidget.h.

◆ _groupBoxDallesLayout

QGridLayout* TYEtageWidget::_groupBoxDallesLayout
protected

Definition at line 160 of file TYEtageWidget.h.

◆ _groupBoxDimensions

QGroupBox* TYEtageWidget::_groupBoxDimensions
protected

Definition at line 166 of file TYEtageWidget.h.

◆ _groupBoxDimensionsLayout

QGridLayout* TYEtageWidget::_groupBoxDimensionsLayout
protected

Definition at line 167 of file TYEtageWidget.h.

◆ _groupBoxListMachine

QGroupBox* TYEtageWidget::_groupBoxListMachine
protected

Definition at line 153 of file TYEtageWidget.h.

◆ _groupBoxListMachineLayout

QGridLayout* TYEtageWidget::_groupBoxListMachineLayout
protected

Definition at line 164 of file TYEtageWidget.h.

◆ _groupBoxListMur

QGroupBox* TYEtageWidget::_groupBoxListMur
protected

Definition at line 146 of file TYEtageWidget.h.

◆ _groupBoxListMurLayout

QGridLayout* TYEtageWidget::_groupBoxListMurLayout
protected

Definition at line 163 of file TYEtageWidget.h.

◆ _groupBoxPlafond

QGroupBox* TYEtageWidget::_groupBoxPlafond
protected

Definition at line 140 of file TYEtageWidget.h.

◆ _groupBoxPlafondLayout

QGridLayout* TYEtageWidget::_groupBoxPlafondLayout
protected

Definition at line 162 of file TYEtageWidget.h.

◆ _groupBoxSol

QGroupBox* TYEtageWidget::_groupBoxSol
protected

Definition at line 136 of file TYEtageWidget.h.

◆ _groupBoxSolLayout

QGridLayout* TYEtageWidget::_groupBoxSolLayout
protected

Definition at line 161 of file TYEtageWidget.h.

◆ _lineEditNomPlafond

QLineEdit* TYEtageWidget::_lineEditNomPlafond
protected

Definition at line 141 of file TYEtageWidget.h.

◆ _lineEditNomSol

QLineEdit* TYEtageWidget::_lineEditNomSol
protected

Definition at line 137 of file TYEtageWidget.h.

◆ _pRadioButtonSabine

QRadioButton* TYEtageWidget::_pRadioButtonSabine
protected

Definition at line 133 of file TYEtageWidget.h.

◆ _pushButtonPlafond

QPushButton* TYEtageWidget::_pushButtonPlafond
protected

Definition at line 142 of file TYEtageWidget.h.

◆ _pushButtonSol

QPushButton* TYEtageWidget::_pushButtonSol
protected

Definition at line 138 of file TYEtageWidget.h.

◆ _tableFaces

QTableWidget* TYEtageWidget::_tableFaces
protected

Definition at line 147 of file TYEtageWidget.h.

◆ _tableMachine

QTableWidget* TYEtageWidget::_tableMachine
protected

Definition at line 156 of file TYEtageWidget.h.

◆ _tableSource

QTableWidget* TYEtageWidget::_tableSource
protected

Definition at line 157 of file TYEtageWidget.h.

◆ _tabWidget

QTabWidget* TYEtageWidget::_tabWidget
protected

Definition at line 150 of file TYEtageWidget.h.

◆ _tabWidgetSources

QTabWidget* TYEtageWidget::_tabWidgetSources
protected

Definition at line 155 of file TYEtageWidget.h.


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