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

boite de dialogue pour la gestion de la position selon les modes 'moving', 'rotation', 'edition' More...

#include <TYPositionDialog.h>

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

Public Slots

virtual void updateContent ()
 
virtual void apply ()
 

Public Member Functions

 TYPositionDialog (TYGeometryNode *pElement, QWidget *_pParent=NULL)
 
virtual ~TYPositionDialog ()
 
void setLayoutSpacing (int margin, int spacing)
 
bool getIsHauteurEnabled ()
 Get/Set de l'etat de la zone de saisie des hauteurs. More...
 
const bool getIsHauteurEnabled () const
 
void setHauteurEnabled (const bool &enable)
 Get/Set de l'etat de la zone de saisie des hauteurs. More...
 
- Public Member Functions inherited from TYFormDialog
 TYFormDialog (QWidget *parent=nullptr, Qt::WindowFlags f=QFlag(0))
 
bool validate ()
 
bool validateChildren (QObject *object)
 

Protected Attributes

QGroupBox * _groupBox
 
QLabel * _labelX
 
QLabel * _labelZ
 
QLabel * _labelY
 
QLabel * _labelHauteur
 
TYLineEdit_lineEditX
 
TYLineEdit_lineEditY
 
TYLineEdit_lineEditZ
 
TYLineEdit_lineEditH
 
bool _bHauteurEnable
 
QGridLayout * _pointLayout
 
QGridLayout * _groupBoxLayout
 
TYGeometryNode_pElement
 

Detailed Description

boite de dialogue pour la gestion de la position selon les modes 'moving', 'rotation', 'edition'

Definition at line 50 of file TYPositionDialog.h.

Constructor & Destructor Documentation

◆ TYPositionDialog()

TYPositionDialog::TYPositionDialog ( TYGeometryNode pElement,
QWidget *  _pParent = NULL 
)

Constructeur.

Definition at line 44 of file TYPositionDialog.cpp.

Here is the call graph for this function:

◆ ~TYPositionDialog()

TYPositionDialog::~TYPositionDialog ( )
virtual

Destructeur.

Definition at line 111 of file TYPositionDialog.cpp.

Member Function Documentation

◆ apply

void TYPositionDialog::apply ( )
virtualslot

Definition at line 141 of file TYPositionDialog.cpp.

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

◆ getIsHauteurEnabled() [1/2]

bool TYPositionDialog::getIsHauteurEnabled ( )
inline

Get/Set de l'etat de la zone de saisie des hauteurs.

Definition at line 78 of file TYPositionDialog.h.

◆ getIsHauteurEnabled() [2/2]

const bool TYPositionDialog::getIsHauteurEnabled ( ) const
inline

Definition at line 82 of file TYPositionDialog.h.

◆ setHauteurEnabled()

void TYPositionDialog::setHauteurEnabled ( const bool &  enable)
inline

Get/Set de l'etat de la zone de saisie des hauteurs.

Definition at line 88 of file TYPositionDialog.h.

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

◆ setLayoutSpacing()

void TYPositionDialog::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 TYPositionDialog.h.

◆ updateContent

void TYPositionDialog::updateContent ( )
virtualslot

Definition at line 113 of file TYPositionDialog.cpp.

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

Member Data Documentation

◆ _bHauteurEnable

bool TYPositionDialog::_bHauteurEnable
protected

Definition at line 110 of file TYPositionDialog.h.

◆ _groupBox

QGroupBox* TYPositionDialog::_groupBox
protected

Definition at line 100 of file TYPositionDialog.h.

◆ _groupBoxLayout

QGridLayout* TYPositionDialog::_groupBoxLayout
protected

Definition at line 112 of file TYPositionDialog.h.

◆ _labelHauteur

QLabel* TYPositionDialog::_labelHauteur
protected

Definition at line 104 of file TYPositionDialog.h.

◆ _labelX

QLabel* TYPositionDialog::_labelX
protected

Definition at line 101 of file TYPositionDialog.h.

◆ _labelY

QLabel* TYPositionDialog::_labelY
protected

Definition at line 103 of file TYPositionDialog.h.

◆ _labelZ

QLabel* TYPositionDialog::_labelZ
protected

Definition at line 102 of file TYPositionDialog.h.

◆ _lineEditH

TYLineEdit* TYPositionDialog::_lineEditH
protected

Definition at line 108 of file TYPositionDialog.h.

◆ _lineEditX

TYLineEdit* TYPositionDialog::_lineEditX
protected

Definition at line 105 of file TYPositionDialog.h.

◆ _lineEditY

TYLineEdit* TYPositionDialog::_lineEditY
protected

Definition at line 106 of file TYPositionDialog.h.

◆ _lineEditZ

TYLineEdit* TYPositionDialog::_lineEditZ
protected

Definition at line 107 of file TYPositionDialog.h.

◆ _pElement

TYGeometryNode* TYPositionDialog::_pElement
protected

Definition at line 114 of file TYPositionDialog.h.

◆ _pointLayout

QGridLayout* TYPositionDialog::_pointLayout
protected

Definition at line 111 of file TYPositionDialog.h.


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