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

#include <TYPaletteWidget.h>

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

Signals

void paletteChanged (const TYPalette *palette)
 

Public Member Functions

 PaletteEditor (TYPalette *palette, QWidget *parent=NULL)
 
virtual ~PaletteEditor ()
 
void notifyTYPaletteExternalyChanged ()
 

Protected Slots

void addNoiseLevel ()
 
void deleteNoiseLevels ()
 
void propagateModelChanges (const QModelIndex &topLeft, const QModelIndex &bottomRight)
 

Protected Attributes

QDoubleSpinBox * newNoiseLevelSpin
 
QPushButton * newNoiseLevelButton
 
QPushButton * deleteNoiseLevelButton
 
TYPalettep_palette
 
QTableView * p_table
 
PaletteColorDelegate color_delegate
 
PaletteValueDelegate value_delegate
 
PaletteModelp_model
 

Detailed Description

Definition at line 223 of file TYPaletteWidget.h.

Constructor & Destructor Documentation

◆ PaletteEditor()

PaletteEditor::PaletteEditor ( TYPalette palette,
QWidget *  parent = NULL 
)

Definition at line 587 of file TYPaletteWidget.cpp.

Here is the call graph for this function:

◆ ~PaletteEditor()

PaletteEditor::~PaletteEditor ( )
virtual

Definition at line 641 of file TYPaletteWidget.cpp.

Member Function Documentation

◆ addNoiseLevel

void PaletteEditor::addNoiseLevel ( )
protectedslot

Definition at line 653 of file TYPaletteWidget.cpp.

Here is the caller graph for this function:

◆ deleteNoiseLevels

void PaletteEditor::deleteNoiseLevels ( )
protectedslot

Definition at line 658 of file TYPaletteWidget.cpp.

Here is the caller graph for this function:

◆ notifyTYPaletteExternalyChanged()

void PaletteEditor::notifyTYPaletteExternalyChanged ( )

Definition at line 643 of file TYPaletteWidget.cpp.

Here is the caller graph for this function:

◆ paletteChanged

void PaletteEditor::paletteChanged ( const TYPalette palette)
signal
Here is the caller graph for this function:

◆ propagateModelChanges

void PaletteEditor::propagateModelChanges ( const QModelIndex &  topLeft,
const QModelIndex &  bottomRight 
)
protectedslot

Definition at line 648 of file TYPaletteWidget.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ color_delegate

PaletteColorDelegate PaletteEditor::color_delegate
protected

Definition at line 246 of file TYPaletteWidget.h.

◆ deleteNoiseLevelButton

QPushButton* PaletteEditor::deleteNoiseLevelButton
protected

Definition at line 243 of file TYPaletteWidget.h.

◆ newNoiseLevelButton

QPushButton* PaletteEditor::newNoiseLevelButton
protected

Definition at line 242 of file TYPaletteWidget.h.

◆ newNoiseLevelSpin

QDoubleSpinBox* PaletteEditor::newNoiseLevelSpin
protected

Definition at line 241 of file TYPaletteWidget.h.

◆ p_model

PaletteModel* PaletteEditor::p_model
protected

Definition at line 248 of file TYPaletteWidget.h.

◆ p_palette

TYPalette* PaletteEditor::p_palette
protected

Definition at line 244 of file TYPaletteWidget.h.

◆ p_table

QTableView* PaletteEditor::p_table
protected

Definition at line 245 of file TYPaletteWidget.h.

◆ value_delegate

PaletteValueDelegate PaletteEditor::value_delegate
protected

Definition at line 247 of file TYPaletteWidget.h.


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