Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | List of all members
PaletteValueDelegate Class Reference

(Qt) Delegate for displaying and editing colors More...

#include <TYPaletteWidget.h>

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

Public Member Functions

 PaletteValueDelegate (QObject *parent=NULL)
 
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
void setEditorData (QWidget *editor, const QModelIndex &index) const
 
void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
 

Detailed Description

(Qt) Delegate for displaying and editing colors

Definition at line 208 of file TYPaletteWidget.h.

Constructor & Destructor Documentation

◆ PaletteValueDelegate()

PaletteValueDelegate::PaletteValueDelegate ( QObject *  parent = NULL)
inline

Definition at line 213 of file TYPaletteWidget.h.

Member Function Documentation

◆ createEditor()

QWidget * PaletteValueDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const

Definition at line 545 of file TYPaletteWidget.cpp.

Here is the call graph for this function:

◆ setEditorData()

void PaletteValueDelegate::setEditorData ( QWidget *  editor,
const QModelIndex &  index 
) const

Definition at line 559 of file TYPaletteWidget.cpp.

Here is the call graph for this function:

◆ setModelData()

void PaletteValueDelegate::setModelData ( QWidget *  editor,
QAbstractItemModel *  model,
const QModelIndex &  index 
) const

Definition at line 576 of file TYPaletteWidget.cpp.


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