itom  4.1.0
ito::WidgetPropPalettes Class Reference
Inheritance diagram for ito::WidgetPropPalettes:
ito::AbstractPropertyPageWidget

Public Slots

void lwCurrentRowChanged (int row)
 
void colorComponentChanged (int value)
 
void colorComponentVisibilityChanged (bool)
 
void palSpecialColorChanged (QColor color)
 

Public Member Functions

 WidgetPropPalettes (QWidget *parent=NULL)
 
void readSettings ()
 
void writeSettings ()
 
const ItomPaletteBasegetCurPalette () const
 
void drawPalCurves (int selPt=-1)
 
void updateOptionPalette ()
 
void removeColorStop (int index)
 
void addColorStop (int index_before, float percent_to_next=0.5)
 
void changeSelectedColorStop (int new_index)
 
int getSelectedColorStop () const
 
ito::RetVal saveCurrentPalette ()
 
- Public Member Functions inherited from ito::AbstractPropertyPageWidget
 AbstractPropertyPageWidget (QWidget *parent=NULL, Qt::WindowFlags f=NULL)
 

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *event)
 

Private Slots

void on_sbIndex_valueChanged (double value)
 
void on_pbAdd_clicked ()
 
void on_pbDuplicate_clicked ()
 
void on_pbRemove_clicked ()
 
void on_pbPalSave_clicked ()
 
void on_pbEquidistantColorStop_clicked ()
 
void on_pbRemoveColorStop_clicked ()
 
void on_pbAddColorStop_clicked ()
 
void on_lePalName_textChanged (const QString &text)
 
void on_pbImportPalette_clicked ()
 
void on_pbExportPalette_clicked ()
 
void on_btnColor_colorChanged (QColor color)
 

Private Member Functions

void updatePaletteList ()
 
void updateViewOnResize ()
 

Private Attributes

Ui::WidgetPropPalettes ui
 
QImage m_imgGVCurPalette
 
int m_selectedColorStop
 
int m_isUpdating
 
int m_isDirty
 
float m_gvSceneMarginLeftRight
 
float m_gvPaletteSceneMarginTopBottom
 
float m_gvCurveSceneMarginTopBottom
 
QList< ito::ItomPaletteBasem_palettes
 
int m_curPaletteIndex
 
ito::ItomPaletteBase m_currentPalette
 
QGraphicsScene * m_pSceneCurPalette
 
QGraphicsScene * m_pScenePalCurves
 

Friends

class ColCurve
 

Member Function Documentation

void ito::WidgetPropPalettes::readSettings ( )
virtual

This method is called at startup of the property dialog. Read the setting file using QSetting in order to initialize your property widget (this method must be overwritten)

Implements ito::AbstractPropertyPageWidget.

void ito::WidgetPropPalettes::writeSettings ( )
virtual

This method is called at shutdown of the property dialog (only if apply or ok has been clicked). Apply your settings and write it to the setting file using QSetting (this method must be overwritten)

Implements ito::AbstractPropertyPageWidget.


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