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

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

#include <TYPointWidget.h>

Inheritance diagram for TYPointWidget:
Inheritance graph
[legend]
Collaboration diagram for TYPointWidget:
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

 TYPointWidget (TYPoint *pElement, QWidget *_pParent=NULL)
 
virtual ~TYPointWidget ()
 
void setLayoutSpacing (int margin, int spacing)
 
void disableZ ()
 
void enableZ ()
 
- 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

QGroupBox * _groupBox
 
QLabel * _labelX
 
QLabel * _labelZ
 
QLabel * _labelY
 
TYLineEdit_lineEditX
 
TYLineEdit_lineEditY
 
TYLineEdit_lineEditZ
 
QGridLayout * _pointLayout
 
QGridLayout * _groupBoxLayout
 
TYColorInterfaceWidget_colorW
 
- Protected Attributes inherited from TYWidget
TYElement_pElement
 
bool _locked
 

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 point

Definition at line 48 of file TYPointWidget.h.

Constructor & Destructor Documentation

◆ TYPointWidget()

TYPointWidget::TYPointWidget ( TYPoint pElement,
QWidget *  _pParent = NULL 
)

Constructeur.

Definition at line 34 of file TYPointWidget.cpp.

Here is the call graph for this function:

◆ ~TYPointWidget()

TYPointWidget::~TYPointWidget ( )
virtual

Destructeur.

Definition at line 79 of file TYPointWidget.cpp.

Member Function Documentation

◆ apply

void TYPointWidget::apply ( )
virtualslot

Definition at line 91 of file TYPointWidget.cpp.

Here is the caller graph for this function:

◆ disableZ()

void TYPointWidget::disableZ ( )

Definition at line 103 of file TYPointWidget.cpp.

Here is the caller graph for this function:

◆ enableZ()

void TYPointWidget::enableZ ( )

Definition at line 108 of file TYPointWidget.cpp.

◆ setLayoutSpacing()

void TYPointWidget::setLayoutSpacing ( int  margin,
int  spacing 
)
inline

Permet de modifier les parametres du layout.

Parameters
marginLa valeur de la marge.
spacingLa valeur de l'espacement.

Definition at line 71 of file TYPointWidget.h.

Here is the caller graph for this function:

◆ updateContent

void TYPointWidget::updateContent ( )
virtualslot

Definition at line 81 of file TYPointWidget.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ _colorW

TYColorInterfaceWidget* TYPointWidget::_colorW
protected

Definition at line 98 of file TYPointWidget.h.

◆ _groupBox

QGroupBox* TYPointWidget::_groupBox
protected

Definition at line 86 of file TYPointWidget.h.

◆ _groupBoxLayout

QGridLayout* TYPointWidget::_groupBoxLayout
protected

Definition at line 95 of file TYPointWidget.h.

◆ _labelX

QLabel* TYPointWidget::_labelX
protected

Definition at line 87 of file TYPointWidget.h.

◆ _labelY

QLabel* TYPointWidget::_labelY
protected

Definition at line 89 of file TYPointWidget.h.

◆ _labelZ

QLabel* TYPointWidget::_labelZ
protected

Definition at line 88 of file TYPointWidget.h.

◆ _lineEditX

TYLineEdit* TYPointWidget::_lineEditX
protected

Definition at line 90 of file TYPointWidget.h.

◆ _lineEditY

TYLineEdit* TYPointWidget::_lineEditY
protected

Definition at line 91 of file TYPointWidget.h.

◆ _lineEditZ

TYLineEdit* TYPointWidget::_lineEditZ
protected

Definition at line 92 of file TYPointWidget.h.

◆ _pointLayout

QGridLayout* TYPointWidget::_pointLayout
protected

Definition at line 94 of file TYPointWidget.h.


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