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

classe de l'objet IHM pour une interface acoustique More...

#include <TYAcousticInterfaceWidget.h>

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

Public Slots

virtual void updateContent ()
 
virtual void apply ()
 
virtual void reject ()
 
void createNewRegime ()
 
void deleteRegime ()
 
void changeRegime (int regime)
 
void renameRegime ()
 
void editAtt ()
 
void useAttenuateur ()
 
void updateDensite ()
 Note que la densite de source a ete modifiee. More...
 
void showSpectre ()
 
void updateRayonnant ()
 

Signals

void regimeChanged (int)
 

Public Member Functions

 TYAcousticInterfaceWidget (TYAcousticInterface *pElement, QWidget *_pParent=NULL)
 
virtual ~TYAcousticInterfaceWidget ()
 
void updateComboRegime ()
 
void updateFromCurrentRegime ()
 
void saveCurrentRegime ()
 
void setCheckBoxRayonnantState (const bool &active)
 
bool getCheckBoxRayonnantState ()
 
TYAcousticInterfacegetElement ()
 

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *ev)
 

Protected Attributes

TYAcousticInterface_pElement
 
QGroupBox * _groupBoxDensiteH
 
QLabel * _labelDensiteSrcsH
 
TYLineEdit_lineEditDensiteSrcsH
 
QGridLayout * _groupBoxDensiteHLayout
 
QGroupBox * _groupBoxDensiteV
 
QLabel * _labelDensiteSrcsV
 
TYLineEdit_lineEditDensiteSrcsV
 
QGridLayout * _groupBoxDensiteVLayout
 
QLabel * _labeUseAtt
 
QCheckBox * _checkBoxUseAtt
 
QLabel * _labelIsRayonnant
 
QCheckBox * _checkBoxIsRayonnant
 
QGroupBox * _groupBoxAtt
 
QLineEdit * _lineEditNomAtt
 
QPushButton * _pushButtonSpectreAtt
 
QGroupBox * _groupBox
 
QButtonGroup * _buttonGroupTypeDistrib
 
QRadioButton * _pRadioButtonCalculee
 
QRadioButton * _pRadioButtonImposee
 
QGroupBox * _groupBoxSpectre
 
QGridLayout * _groupBoxSpectreLayout
 
QPushButton * _pushButtonShowSpectre
 
QGridLayout * _acousticInterfaceLayout
 
QGridLayout * _groupBoxListSpLayout
 
QGridLayout * _groupBoxAttLayout
 
QGridLayout * _groupBoxLayout
 
QGroupBox * _buttonGroupBox
 
QGridLayout * _buttonGroupBoxLayout
 
QComboBox * _comboBoxSelectRegime
 
QPushButton * _pushButtonNewRegime
 
QPushButton * _pushButtonRemRegime
 
bool _bAddRemRegimeOk
 Autorise ou non l'ajout et la suppression de regime. More...
 
bool _modified
 Signale une modification des parametres. More...
 

Detailed Description

classe de l'objet IHM pour une interface acoustique

Definition at line 52 of file TYAcousticInterfaceWidget.h.

Constructor & Destructor Documentation

◆ TYAcousticInterfaceWidget()

TYAcousticInterfaceWidget::TYAcousticInterfaceWidget ( TYAcousticInterface pElement,
QWidget *  _pParent = NULL 
)

Constructeur.

Definition at line 42 of file TYAcousticInterfaceWidget.cpp.

Here is the call graph for this function:

◆ ~TYAcousticInterfaceWidget()

TYAcousticInterfaceWidget::~TYAcousticInterfaceWidget ( )
virtual

Destructeur.

Definition at line 195 of file TYAcousticInterfaceWidget.cpp.

Member Function Documentation

◆ apply

void TYAcousticInterfaceWidget::apply ( )
virtualslot

Definition at line 216 of file TYAcousticInterfaceWidget.cpp.

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

◆ changeRegime

void TYAcousticInterfaceWidget::changeRegime ( int  regime)
slot

Changement de regime

Definition at line 368 of file TYAcousticInterfaceWidget.cpp.

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

◆ createNewRegime

void TYAcousticInterfaceWidget::createNewRegime ( )
slot

Creation d'un nouveau regime.

Definition at line 315 of file TYAcousticInterfaceWidget.cpp.

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

◆ deleteRegime

void TYAcousticInterfaceWidget::deleteRegime ( )
slot

Suppression du regime

Definition at line 358 of file TYAcousticInterfaceWidget.cpp.

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

◆ editAtt

void TYAcousticInterfaceWidget::editAtt ( )
slot

Edite la widget de l'attenuateur.

Definition at line 285 of file TYAcousticInterfaceWidget.cpp.

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

◆ eventFilter()

bool TYAcousticInterfaceWidget::eventFilter ( QObject *  obj,
QEvent *  ev 
)
protected

Definition at line 457 of file TYAcousticInterfaceWidget.cpp.

Here is the call graph for this function:

◆ getCheckBoxRayonnantState()

bool TYAcousticInterfaceWidget::getCheckBoxRayonnantState ( )

Permet de connaitre l'etat de la checkBox rayonnant

Definition at line 452 of file TYAcousticInterfaceWidget.cpp.

◆ getElement()

TYAcousticInterface* TYAcousticInterfaceWidget::getElement ( )
inline

Definition at line 92 of file TYAcousticInterfaceWidget.h.

Here is the caller graph for this function:

◆ regimeChanged

void TYAcousticInterfaceWidget::regimeChanged ( int  )
signal
Here is the caller graph for this function:

◆ reject

void TYAcousticInterfaceWidget::reject ( )
virtualslot

Definition at line 267 of file TYAcousticInterfaceWidget.cpp.

Here is the call graph for this function:

◆ renameRegime

void TYAcousticInterfaceWidget::renameRegime ( )
slot

Renomme le regime

Definition at line 381 of file TYAcousticInterfaceWidget.cpp.

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

◆ saveCurrentRegime()

void TYAcousticInterfaceWidget::saveCurrentRegime ( )

Sauvegarde des donnees du regime

Definition at line 333 of file TYAcousticInterfaceWidget.cpp.

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

◆ setCheckBoxRayonnantState()

void TYAcousticInterfaceWidget::setCheckBoxRayonnantState ( const bool &  active)

Permet de desactiver la checkBox rayonnant

Definition at line 447 of file TYAcousticInterfaceWidget.cpp.

Here is the caller graph for this function:

◆ showSpectre

void TYAcousticInterfaceWidget::showSpectre ( )
slot

Visualise le spectre de l'etat courant de l'element

Definition at line 301 of file TYAcousticInterfaceWidget.cpp.

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

◆ updateComboRegime()

void TYAcousticInterfaceWidget::updateComboRegime ( )

Mise a jour du comboBox des regimes

Definition at line 403 of file TYAcousticInterfaceWidget.cpp.

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

◆ updateContent

void TYAcousticInterfaceWidget::updateContent ( )
virtualslot

Definition at line 197 of file TYAcousticInterfaceWidget.cpp.

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

◆ updateDensite

void TYAcousticInterfaceWidget::updateDensite ( )
slot

Note que la densite de source a ete modifiee.

Definition at line 260 of file TYAcousticInterfaceWidget.cpp.

Here is the caller graph for this function:

◆ updateFromCurrentRegime()

void TYAcousticInterfaceWidget::updateFromCurrentRegime ( )

Mise a jour de l'etat a partir du regime courant

Definition at line 420 of file TYAcousticInterfaceWidget.cpp.

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

◆ updateRayonnant

void TYAcousticInterfaceWidget::updateRayonnant ( )
slot

Note que la case a cocher rayonnant a ete modifiee

Definition at line 265 of file TYAcousticInterfaceWidget.cpp.

Here is the caller graph for this function:

◆ useAttenuateur

void TYAcousticInterfaceWidget::useAttenuateur ( )
slot

Definition at line 273 of file TYAcousticInterfaceWidget.cpp.

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

Member Data Documentation

◆ _acousticInterfaceLayout

QGridLayout* TYAcousticInterfaceWidget::_acousticInterfaceLayout
protected

Definition at line 179 of file TYAcousticInterfaceWidget.h.

◆ _bAddRemRegimeOk

bool TYAcousticInterfaceWidget::_bAddRemRegimeOk
protected

Autorise ou non l'ajout et la suppression de regime.

Definition at line 192 of file TYAcousticInterfaceWidget.h.

◆ _buttonGroupBox

QGroupBox* TYAcousticInterfaceWidget::_buttonGroupBox
protected

Definition at line 185 of file TYAcousticInterfaceWidget.h.

◆ _buttonGroupBoxLayout

QGridLayout* TYAcousticInterfaceWidget::_buttonGroupBoxLayout
protected

Definition at line 186 of file TYAcousticInterfaceWidget.h.

◆ _buttonGroupTypeDistrib

QButtonGroup* TYAcousticInterfaceWidget::_buttonGroupTypeDistrib
protected

Definition at line 171 of file TYAcousticInterfaceWidget.h.

◆ _checkBoxIsRayonnant

QCheckBox* TYAcousticInterfaceWidget::_checkBoxIsRayonnant
protected

Definition at line 165 of file TYAcousticInterfaceWidget.h.

◆ _checkBoxUseAtt

QCheckBox* TYAcousticInterfaceWidget::_checkBoxUseAtt
protected

Definition at line 163 of file TYAcousticInterfaceWidget.h.

◆ _comboBoxSelectRegime

QComboBox* TYAcousticInterfaceWidget::_comboBoxSelectRegime
protected

Definition at line 187 of file TYAcousticInterfaceWidget.h.

◆ _groupBox

QGroupBox* TYAcousticInterfaceWidget::_groupBox
protected

Definition at line 170 of file TYAcousticInterfaceWidget.h.

◆ _groupBoxAtt

QGroupBox* TYAcousticInterfaceWidget::_groupBoxAtt
protected

Definition at line 167 of file TYAcousticInterfaceWidget.h.

◆ _groupBoxAttLayout

QGridLayout* TYAcousticInterfaceWidget::_groupBoxAttLayout
protected

Definition at line 181 of file TYAcousticInterfaceWidget.h.

◆ _groupBoxDensiteH

QGroupBox* TYAcousticInterfaceWidget::_groupBoxDensiteH
protected

Definition at line 152 of file TYAcousticInterfaceWidget.h.

◆ _groupBoxDensiteHLayout

QGridLayout* TYAcousticInterfaceWidget::_groupBoxDensiteHLayout
protected

Definition at line 155 of file TYAcousticInterfaceWidget.h.

◆ _groupBoxDensiteV

QGroupBox* TYAcousticInterfaceWidget::_groupBoxDensiteV
protected

Definition at line 157 of file TYAcousticInterfaceWidget.h.

◆ _groupBoxDensiteVLayout

QGridLayout* TYAcousticInterfaceWidget::_groupBoxDensiteVLayout
protected

Definition at line 160 of file TYAcousticInterfaceWidget.h.

◆ _groupBoxLayout

QGridLayout* TYAcousticInterfaceWidget::_groupBoxLayout
protected

Definition at line 182 of file TYAcousticInterfaceWidget.h.

◆ _groupBoxListSpLayout

QGridLayout* TYAcousticInterfaceWidget::_groupBoxListSpLayout
protected

Definition at line 180 of file TYAcousticInterfaceWidget.h.

◆ _groupBoxSpectre

QGroupBox* TYAcousticInterfaceWidget::_groupBoxSpectre
protected

Definition at line 175 of file TYAcousticInterfaceWidget.h.

◆ _groupBoxSpectreLayout

QGridLayout* TYAcousticInterfaceWidget::_groupBoxSpectreLayout
protected

Definition at line 176 of file TYAcousticInterfaceWidget.h.

◆ _labelDensiteSrcsH

QLabel* TYAcousticInterfaceWidget::_labelDensiteSrcsH
protected

Definition at line 153 of file TYAcousticInterfaceWidget.h.

◆ _labelDensiteSrcsV

QLabel* TYAcousticInterfaceWidget::_labelDensiteSrcsV
protected

Definition at line 158 of file TYAcousticInterfaceWidget.h.

◆ _labelIsRayonnant

QLabel* TYAcousticInterfaceWidget::_labelIsRayonnant
protected

Definition at line 164 of file TYAcousticInterfaceWidget.h.

◆ _labeUseAtt

QLabel* TYAcousticInterfaceWidget::_labeUseAtt
protected

Definition at line 162 of file TYAcousticInterfaceWidget.h.

◆ _lineEditDensiteSrcsH

TYLineEdit* TYAcousticInterfaceWidget::_lineEditDensiteSrcsH
protected

Definition at line 154 of file TYAcousticInterfaceWidget.h.

◆ _lineEditDensiteSrcsV

TYLineEdit* TYAcousticInterfaceWidget::_lineEditDensiteSrcsV
protected

Definition at line 159 of file TYAcousticInterfaceWidget.h.

◆ _lineEditNomAtt

QLineEdit* TYAcousticInterfaceWidget::_lineEditNomAtt
protected

Definition at line 168 of file TYAcousticInterfaceWidget.h.

◆ _modified

bool TYAcousticInterfaceWidget::_modified
protected

Signale une modification des parametres.

Definition at line 195 of file TYAcousticInterfaceWidget.h.

◆ _pElement

TYAcousticInterface* TYAcousticInterfaceWidget::_pElement
protected

Definition at line 150 of file TYAcousticInterfaceWidget.h.

◆ _pRadioButtonCalculee

QRadioButton* TYAcousticInterfaceWidget::_pRadioButtonCalculee
protected

Definition at line 172 of file TYAcousticInterfaceWidget.h.

◆ _pRadioButtonImposee

QRadioButton* TYAcousticInterfaceWidget::_pRadioButtonImposee
protected

Definition at line 173 of file TYAcousticInterfaceWidget.h.

◆ _pushButtonNewRegime

QPushButton* TYAcousticInterfaceWidget::_pushButtonNewRegime
protected

Definition at line 188 of file TYAcousticInterfaceWidget.h.

◆ _pushButtonRemRegime

QPushButton* TYAcousticInterfaceWidget::_pushButtonRemRegime
protected

Definition at line 189 of file TYAcousticInterfaceWidget.h.

◆ _pushButtonShowSpectre

QPushButton* TYAcousticInterfaceWidget::_pushButtonShowSpectre
protected

Definition at line 177 of file TYAcousticInterfaceWidget.h.

◆ _pushButtonSpectreAtt

QPushButton* TYAcousticInterfaceWidget::_pushButtonSpectreAtt
protected

Definition at line 169 of file TYAcousticInterfaceWidget.h.


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