Gui::Dialog::DlgSettingsColorGradientImp Class Reference

The DlgSettingsColorGradientImp class implements a preference page to change settings for the color gradient bar. More...

#include <DlgSettingsColorGradientImp.h>

Public Member Functions

void accept ()
 
 DlgSettingsColorGradientImp (QWidget *parent=0, Qt::WindowFlags fl=0)
 Constructs a DlgSettingsColorGradientImp as a child of 'parent', with the name 'name' and widget flags set to 'f'. More...
 
 ~DlgSettingsColorGradientImp ()
 Destroys the object and frees any allocated resources. More...
 
Color model
void setColorModel (App::ColorGradient::TColorModel tModel)
 
App::ColorGradient::TColorModel colorModel () const
 
Color style
void setColorStyle (App::ColorGradient::TStyle tStyle)
 
App::ColorGradient::TStyle colorStyle () const
 
Display mode
void setOutGrayed (bool grayed)
 
bool isOutGrayed () const
 
void setOutInvisible (bool invisible)
 
bool isOutInvisible () const
 

Parameter range and scale

void setRange (float fMin, float fMax)
 
void getRange (float &fMin, float &fMax) const
 
void setNumberOfLabels (int)
 
int numberOfLabels () const
 
void setNumberOfDecimals (int)
 
int numberOfDecimals () const
 

Detailed Description

The DlgSettingsColorGradientImp class implements a preference page to change settings for the color gradient bar.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ DlgSettingsColorGradientImp()

DlgSettingsColorGradientImp::DlgSettingsColorGradientImp ( QWidget parent = 0,
Qt::WindowFlags  fl = 0 
)

Constructs a DlgSettingsColorGradientImp as a child of 'parent', with the name 'name' and widget flags set to 'f'.

◆ ~DlgSettingsColorGradientImp()

DlgSettingsColorGradientImp::~DlgSettingsColorGradientImp ( )

Destroys the object and frees any allocated resources.

Member Function Documentation

◆ accept()

void DlgSettingsColorGradientImp::accept ( )

◆ colorModel()

◆ colorStyle()

App::ColorGradient::TStyle DlgSettingsColorGradientImp::colorStyle ( ) const

◆ getRange()

void DlgSettingsColorGradientImp::getRange ( float &  fMin,
float &  fMax 
) const

◆ isOutGrayed()

bool DlgSettingsColorGradientImp::isOutGrayed ( ) const

◆ isOutInvisible()

bool DlgSettingsColorGradientImp::isOutInvisible ( ) const

◆ numberOfDecimals()

int DlgSettingsColorGradientImp::numberOfDecimals ( ) const

◆ numberOfLabels()

int DlgSettingsColorGradientImp::numberOfLabels ( ) const

◆ setColorModel()

◆ setColorStyle()

void DlgSettingsColorGradientImp::setColorStyle ( App::ColorGradient::TStyle  tStyle)

◆ setNumberOfDecimals()

void DlgSettingsColorGradientImp::setNumberOfDecimals ( int  val)

◆ setNumberOfLabels()

void DlgSettingsColorGradientImp::setNumberOfLabels ( int  val)

◆ setOutGrayed()

void DlgSettingsColorGradientImp::setOutGrayed ( bool  grayed)

◆ setOutInvisible()

void DlgSettingsColorGradientImp::setOutInvisible ( bool  invisible)

◆ setRange()

void DlgSettingsColorGradientImp::setRange ( float  fMin,
float  fMax 
)

The documentation for this class was generated from the following files:
  • src/Gui/DlgSettingsColorGradientImp.h
  • src/Gui/DlgSettingsColorGradientImp.cpp