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

classe de l'objet IHM pour une courbe More...

#include <TYCourbeWidget.h>

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

Public Member Functions

 TYCourbeWidget (TYSpectreWidget *pSpectreWidget, bool dbType, QWidget *_pParent=NULL)
 
virtual ~TYCourbeWidget ()
 
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'objet IHM pour une courbe

Definition at line 39 of file TYCourbeWidget.h.

Constructor & Destructor Documentation

◆ TYCourbeWidget()

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

Constructeur.

Definition at line 39 of file TYCourbeWidget.cpp.

◆ ~TYCourbeWidget()

TYCourbeWidget::~TYCourbeWidget ( )
virtual

Destructeur.

Definition at line 46 of file TYCourbeWidget.cpp.

Member Function Documentation

◆ paintEvent()

void TYCourbeWidget::paintEvent ( QPaintEvent *  event)
protectedvirtual

Reimplementation du paintEvent

Definition at line 96 of file TYCourbeWidget.cpp.

Here is the call graph for this function:

◆ paintInto()

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

Dessiner dans

Definition at line 108 of file TYCourbeWidget.cpp.

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

◆ print()

void TYCourbeWidget::print ( )

Imprimer l'histogramme

Definition at line 48 of file TYCourbeWidget.cpp.

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

◆ setDbType()

void TYCourbeWidget::setDbType ( bool  dbType)
inline

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

Definition at line 58 of file TYCourbeWidget.h.

Here is the caller graph for this function:

Member Data Documentation

◆ _dbType

bool TYCourbeWidget::_dbType
private

Definition at line 81 of file TYCourbeWidget.h.

◆ _pSpectreWidget

TYSpectreWidget* TYCourbeWidget::_pSpectreWidget
private

Definition at line 80 of file TYCourbeWidget.h.


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