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

objet IHM pour une route More...

#include <TYRouteWidget.h>

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

Public Slots

virtual void updateContent ()
 
virtual void apply ()
 
- Public Slots inherited from TYWidget
virtual void updateContent ()=0
 
virtual void apply ()=0
 
virtual void reject ()
 

Public Member Functions

 TYRouteWidget (TYRoute *pElement, QWidget *_pParent=NULL)
 
virtual ~TYRouteWidget ()
 
- 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 Slots

void display_AADT_dialog ()
 
void checkComputationMode (int)
 
void setSpeedBoxEnabled (bool enabled=true)
 
void setFlowBoxEnabled (bool enabled=true)
 
void setSpectresEditable (bool enabled=true)
 
void displaySpectrumDay ()
 

Protected Member Functions

void displaySpectrumEvening ()
 
void displaySpectrumNight ()
 
void onRoadSurfaceChange (int)
 
void onRoadSurfaceFormulationChange (int)
 

Protected Attributes

TYAcousticLineWidget_elmW
 
QComboBox * q_RoadSurfaceType_Combo
 
QComboBox * q_RoadSurfaceFormulation_Combo
 
QCheckBox * q_RoadSurfaceDraining_Check
 
QSpinBox * q_RoadSurfaceAge_Spin
 
QComboBox * q_RoadFlowType_Combo
 
QSpinBox * q_RoadSpeed_Spin [TYRoute::NB_TRAFFIC_REGIMES][TYTrafic::NB_VEHICLE_TYPES]
 
QSpinBox * q_RoadFlow_Spin [TYRoute::NB_TRAFFIC_REGIMES][TYTrafic::NB_VEHICLE_TYPES]
 
QPushButton * q_AADT_Push
 
QButtonGroup * p_ModeCalcul_ButtonGroup
 
QPushButton * q_EditSpectre_Button [TYRoute::NB_TRAFFIC_REGIMES]
 
- Protected Attributes inherited from TYWidget
TYElement_pElement
 
bool _locked
 

Private Member Functions

void apply_road_surface ()
 
void update_road_surface ()
 
void apply_road_traffic ()
 
void update_road_traffic ()
 
void displaySpectrum (TYRoute::TrafficRegimes)
 

Private Attributes

bool spectrum_read_only
 

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

objet IHM pour une route

Definition at line 52 of file TYRouteWidget.h.

Constructor & Destructor Documentation

◆ TYRouteWidget()

TYRouteWidget::TYRouteWidget ( TYRoute pElement,
QWidget *  _pParent = NULL 
)

Constructeur.

Definition at line 51 of file TYRouteWidget.cpp.

Here is the call graph for this function:

◆ ~TYRouteWidget()

TYRouteWidget::~TYRouteWidget ( )
virtual

Destructeur.

Definition at line 160 of file TYRouteWidget.cpp.

Member Function Documentation

◆ apply

void TYRouteWidget::apply ( )
virtualslot

Definition at line 170 of file TYRouteWidget.cpp.

Here is the call graph for this function:

◆ apply_road_surface()

void TYRouteWidget::apply_road_surface ( )
private

Definition at line 179 of file TYRouteWidget.cpp.

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

◆ apply_road_traffic()

void TYRouteWidget::apply_road_traffic ( )
private

Definition at line 232 of file TYRouteWidget.cpp.

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

◆ checkComputationMode

void TYRouteWidget::checkComputationMode ( int  mode)
protectedslot

Definition at line 367 of file TYRouteWidget.cpp.

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

◆ display_AADT_dialog

void TYRouteWidget::display_AADT_dialog ( )
protectedslot

Definition at line 277 of file TYRouteWidget.cpp.

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

◆ displaySpectrum()

void TYRouteWidget::displaySpectrum ( TYRoute::TrafficRegimes  regime)
private

Definition at line 396 of file TYRouteWidget.cpp.

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

◆ displaySpectrumDay

void TYRouteWidget::displaySpectrumDay ( )
inlineprotectedslot

Definition at line 96 of file TYRouteWidget.h.

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

◆ displaySpectrumEvening()

void TYRouteWidget::displaySpectrumEvening ( )
inlineprotected

Definition at line 100 of file TYRouteWidget.h.

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

◆ displaySpectrumNight()

void TYRouteWidget::displaySpectrumNight ( )
inlineprotected

Definition at line 105 of file TYRouteWidget.h.

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

◆ onRoadSurfaceChange()

void TYRouteWidget::onRoadSurfaceChange ( int  )
protected

Definition at line 406 of file TYRouteWidget.cpp.

Here is the caller graph for this function:

◆ onRoadSurfaceFormulationChange()

void TYRouteWidget::onRoadSurfaceFormulationChange ( int  index)
protected

Definition at line 414 of file TYRouteWidget.cpp.

Here is the caller graph for this function:

◆ setFlowBoxEnabled

void TYRouteWidget::setFlowBoxEnabled ( bool  enabled = true)
protectedslot

Definition at line 338 of file TYRouteWidget.cpp.

Here is the caller graph for this function:

◆ setSpectresEditable

void TYRouteWidget::setSpectresEditable ( bool  enabled = true)
protectedslot

Definition at line 347 of file TYRouteWidget.cpp.

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

◆ setSpeedBoxEnabled

void TYRouteWidget::setSpeedBoxEnabled ( bool  enabled = true)
protectedslot

Definition at line 329 of file TYRouteWidget.cpp.

Here is the caller graph for this function:

◆ update_road_surface()

void TYRouteWidget::update_road_surface ( )
private

Definition at line 197 of file TYRouteWidget.cpp.

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

◆ update_road_traffic()

void TYRouteWidget::update_road_traffic ( )
private

Definition at line 253 of file TYRouteWidget.cpp.

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

◆ updateContent

void TYRouteWidget::updateContent ( )
virtualslot

Definition at line 162 of file TYRouteWidget.cpp.

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

Member Data Documentation

◆ _elmW

TYAcousticLineWidget* TYRouteWidget::_elmW
protected

Definition at line 76 of file TYRouteWidget.h.

◆ p_ModeCalcul_ButtonGroup

QButtonGroup* TYRouteWidget::p_ModeCalcul_ButtonGroup
protected

Definition at line 87 of file TYRouteWidget.h.

◆ q_AADT_Push

QPushButton* TYRouteWidget::q_AADT_Push
protected

Definition at line 85 of file TYRouteWidget.h.

◆ q_EditSpectre_Button

QPushButton* TYRouteWidget::q_EditSpectre_Button[TYRoute::NB_TRAFFIC_REGIMES]
protected

Definition at line 88 of file TYRouteWidget.h.

◆ q_RoadFlow_Spin

QSpinBox* TYRouteWidget::q_RoadFlow_Spin[TYRoute::NB_TRAFFIC_REGIMES][TYTrafic::NB_VEHICLE_TYPES]
protected

Definition at line 84 of file TYRouteWidget.h.

◆ q_RoadFlowType_Combo

QComboBox* TYRouteWidget::q_RoadFlowType_Combo
protected

Definition at line 82 of file TYRouteWidget.h.

◆ q_RoadSpeed_Spin

QSpinBox* TYRouteWidget::q_RoadSpeed_Spin[TYRoute::NB_TRAFFIC_REGIMES][TYTrafic::NB_VEHICLE_TYPES]
protected

Definition at line 83 of file TYRouteWidget.h.

◆ q_RoadSurfaceAge_Spin

QSpinBox* TYRouteWidget::q_RoadSurfaceAge_Spin
protected

Definition at line 81 of file TYRouteWidget.h.

◆ q_RoadSurfaceDraining_Check

QCheckBox* TYRouteWidget::q_RoadSurfaceDraining_Check
protected

Definition at line 80 of file TYRouteWidget.h.

◆ q_RoadSurfaceFormulation_Combo

QComboBox* TYRouteWidget::q_RoadSurfaceFormulation_Combo
protected

Definition at line 79 of file TYRouteWidget.h.

◆ q_RoadSurfaceType_Combo

QComboBox* TYRouteWidget::q_RoadSurfaceType_Combo
protected

Definition at line 78 of file TYRouteWidget.h.

◆ spectrum_read_only

bool TYRouteWidget::spectrum_read_only
private

Definition at line 119 of file TYRouteWidget.h.


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