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

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

#include <TYPaletteWidget.h>

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

Public Slots

virtual void updateContent ()
 
virtual void apply ()
 
void resetPalette ()
 
void loadPalette ()
 
void savePalette ()
 
void makeLinearPalette ()
 
- Public Slots inherited from TYWidget
virtual void updateContent ()=0
 
virtual void apply ()=0
 
virtual void reject ()
 

Public Member Functions

 TYPaletteWidget (TYPalette *pElement, QWidget *_pParent=NULL)
 
virtual ~TYPaletteWidget ()
 
- 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

QVBoxLayout * _paletteLayout
 
TYElementWidget_elmW
 
PaletteEditor_editor
 
TYLabeledLookupTableWidgetp_previewWidget
 
QPushButton * _pushButtonLoadPalette
 
QPushButton * _pushButtonSavePalette
 
QPushButton * _pushButtonResetPalette
 
QPushButton * _pushButtonLinearPalette
 
- Protected Attributes inherited from TYWidget
TYElement_pElement
 
bool _locked
 

Private Member Functions

void updateLegacyFromPalette ()
 

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 une palette

Definition at line 85 of file TYPaletteWidget.h.

Constructor & Destructor Documentation

◆ TYPaletteWidget()

TYPaletteWidget::TYPaletteWidget ( TYPalette pElement,
QWidget *  _pParent = NULL 
)

Constructeur.

Definition at line 52 of file TYPaletteWidget.cpp.

Here is the call graph for this function:

◆ ~TYPaletteWidget()

TYPaletteWidget::~TYPaletteWidget ( )
virtual

Destructeur.

Definition at line 121 of file TYPaletteWidget.cpp.

Member Function Documentation

◆ apply

void TYPaletteWidget::apply ( )
virtualslot

Definition at line 130 of file TYPaletteWidget.cpp.

Here is the call graph for this function:

◆ loadPalette

void TYPaletteWidget::loadPalette ( )
slot

Charge une palette

Definition at line 156 of file TYPaletteWidget.cpp.

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

◆ makeLinearPalette

void TYPaletteWidget::makeLinearPalette ( )
slot

Make a linear Palette

Definition at line 146 of file TYPaletteWidget.cpp.

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

◆ resetPalette

void TYPaletteWidget::resetPalette ( )
slot

Reset une palette

Definition at line 136 of file TYPaletteWidget.cpp.

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

◆ savePalette

void TYPaletteWidget::savePalette ( )
slot

Sauvegarde une palette

Definition at line 192 of file TYPaletteWidget.cpp.

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

◆ updateContent

void TYPaletteWidget::updateContent ( )
virtualslot

Definition at line 123 of file TYPaletteWidget.cpp.

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

◆ updateLegacyFromPalette()

void TYPaletteWidget::updateLegacyFromPalette ( )
private

Member Data Documentation

◆ _editor

PaletteEditor* TYPaletteWidget::_editor
protected

Definition at line 132 of file TYPaletteWidget.h.

◆ _elmW

TYElementWidget* TYPaletteWidget::_elmW
protected

Definition at line 131 of file TYPaletteWidget.h.

◆ _paletteLayout

QVBoxLayout* TYPaletteWidget::_paletteLayout
protected

Definition at line 128 of file TYPaletteWidget.h.

◆ _pushButtonLinearPalette

QPushButton* TYPaletteWidget::_pushButtonLinearPalette
protected

Definition at line 139 of file TYPaletteWidget.h.

◆ _pushButtonLoadPalette

QPushButton* TYPaletteWidget::_pushButtonLoadPalette
protected

Definition at line 136 of file TYPaletteWidget.h.

◆ _pushButtonResetPalette

QPushButton* TYPaletteWidget::_pushButtonResetPalette
protected

Definition at line 138 of file TYPaletteWidget.h.

◆ _pushButtonSavePalette

QPushButton* TYPaletteWidget::_pushButtonSavePalette
protected

Definition at line 137 of file TYPaletteWidget.h.

◆ p_previewWidget

TYLabeledLookupTableWidget* TYPaletteWidget::p_previewWidget
protected

Definition at line 133 of file TYPaletteWidget.h.


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