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

classe de l'outil IHM pour un histogramme More...

#include <TYHistoWidget.h>

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

Public Member Functions

 TYHistoWidget (TYSpectreWidget *pSpectreWidget, bool dbType, QWidget *_pParent=NULL)
 
virtual ~TYHistoWidget ()
 
void setDbType (bool dbType)
 
void print ()
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *event)
 
void paintInto (QPainter *painter, int w, int h)
 

Private Attributes

TYSpectreWidget_pSpectreWidget
 
bool _dbType
 

Detailed Description

classe de l'outil IHM pour un histogramme

Definition at line 39 of file TYHistoWidget.h.

Constructor & Destructor Documentation

◆ TYHistoWidget()

TYHistoWidget::TYHistoWidget ( TYSpectreWidget pSpectreWidget,
bool  dbType,
QWidget *  _pParent = NULL 
)

Constructeur.

Definition at line 38 of file TYHistoWidget.cpp.

◆ ~TYHistoWidget()

TYHistoWidget::~TYHistoWidget ( )
virtual

Destructeur.

Definition at line 45 of file TYHistoWidget.cpp.

Member Function Documentation

◆ paintEvent()

void TYHistoWidget::paintEvent ( QPaintEvent *  event)
protectedvirtual

Reimplementation du paintEvent

Definition at line 94 of file TYHistoWidget.cpp.

Here is the call graph for this function:

◆ paintInto()

void TYHistoWidget::paintInto ( QPainter *  painter,
int  w,
int  h 
)
protected

Dessiner dans

Definition at line 106 of file TYHistoWidget.cpp.

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

◆ print()

void TYHistoWidget::print ( )

Imprimer l'histogramme

Definition at line 47 of file TYHistoWidget.cpp.

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

◆ setDbType()

void TYHistoWidget::setDbType ( bool  dbType)
inline

Modifier le type de db (db ou db/km)

Definition at line 58 of file TYHistoWidget.h.

Here is the caller graph for this function:

Member Data Documentation

◆ _dbType

bool TYHistoWidget::_dbType
private

Definition at line 81 of file TYHistoWidget.h.

◆ _pSpectreWidget

TYSpectreWidget* TYHistoWidget::_pSpectreWidget
private

Definition at line 80 of file TYHistoWidget.h.


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