VAPOR3 3.9.4
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
TFColorInfoWidget Class Reference

#include <TFColorInfoWidget.h>

Inheritance diagram for TFColorInfoWidget:
TFInfoWidget

Public Slots

void SetControlPoint (float value, const QColor &color)
 
void DeselectControlPoint ()
 

Signals

void ControlPointChanged (float value, QColor color)
 

Public Member Functions

 TFColorInfoWidget (const std::string &variableNameTag)
 
void SetColor (const QColor &color)
 
- Public Member Functions inherited from TFInfoWidget
 TFInfoWidget (const std::string &variableNameTag)
 
void Update (VAPoR::RenderParams *rParams)
 
void DeselectControlPoint ()
 
void SetNormalizedValue (float value)
 

Protected Member Functions

void controlPointChanged ()
 
- Protected Member Functions inherited from TFInfoWidget
void paintEvent (QPaintEvent *event)
 
void updateValue ()
 
void updateValueEditValidator ()
 
bool isUsingNormalizedValue () const
 
bool isUsingMappedValue () const
 
float toMappedValue (float normalized) const
 
float toNormalizedValue (float mapped) const
 
float getValueFromEdit () const
 
virtual void controlPointChanged ()
 

Additional Inherited Members

- Public Types inherited from TFInfoWidget
enum  ValueFormat { Mapped = 0 , Percent = 1 }
 
- Protected Attributes inherited from TFInfoWidget
VDoubleLineEdit_valueEdit
 
QComboBox * _valueEditType
 
float _min = 0
 
float _max = 1
 
float _value
 
const std::string _variableNameTag
 

Detailed Description

Definition at line 11 of file TFColorInfoWidget.h.

Constructor & Destructor Documentation

◆ TFColorInfoWidget()

TFColorInfoWidget::TFColorInfoWidget ( const std::string &  variableNameTag)

Member Function Documentation

◆ controlPointChanged()

void TFColorInfoWidget::controlPointChanged ( )
protectedvirtual

Reimplemented from TFInfoWidget.

◆ ControlPointChanged

void TFColorInfoWidget::ControlPointChanged ( float  value,
QColor  color 
)
signal

◆ DeselectControlPoint

void TFColorInfoWidget::DeselectControlPoint ( )
slot

◆ SetColor()

void TFColorInfoWidget::SetColor ( const QColor &  color)

◆ SetControlPoint

void TFColorInfoWidget::SetControlPoint ( float  value,
const QColor &  color 
)
slot

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