digiKam
Digikam::CIETongueWidget Class Reference
+ Inheritance diagram for Digikam::CIETongueWidget:

Public Member Functions

 CIETongueWidget (int w, int h, QWidget *const parent=nullptr, cmsHPROFILE hMonitor=nullptr)
 
void loadingFailed ()
 
void loadingStarted ()
 
bool setProfileData (const QByteArray &profileData=QByteArray())
 
bool setProfileFromFile (const QUrl &file=QUrl())
 
void uncalibratedColor ()
 
 ~CIETongueWidget () override
 

Protected Member Functions

QRgb colorByCoord (double x, double y)
 
void drawLabels ()
 
void drawSmallElipse (LPcmsCIExyY xyY, BYTE r, BYTE g, BYTE b, int sz)
 
void drawTongueAxis ()
 
void drawTongueGrid ()
 
void fillTongue ()
 
int grids (double val) const
 
void outlineTongue ()
 
void paintEvent (QPaintEvent *) override
 
void resizeEvent (QResizeEvent *event) override
 

Constructor & Destructor Documentation

◆ CIETongueWidget()

Digikam::CIETongueWidget::CIETongueWidget ( int  w,
int  h,
QWidget *const  parent = nullptr,
cmsHPROFILE  hMonitor = nullptr 
)
explicit

◆ ~CIETongueWidget()

Digikam::CIETongueWidget::~CIETongueWidget ( )
override

Member Function Documentation

◆ colorByCoord()

QRgb Digikam::CIETongueWidget::colorByCoord ( double  x,
double  y 
)
protected

◆ drawLabels()

void Digikam::CIETongueWidget::drawLabels ( )
protected

References colorByCoord(), and grids().

◆ drawSmallElipse()

void Digikam::CIETongueWidget::drawSmallElipse ( LPcmsCIExyY  xyY,
BYTE  r,
BYTE  g,
BYTE  b,
int  sz 
)
protected

◆ drawTongueAxis()

void Digikam::CIETongueWidget::drawTongueAxis ( )
protected

References grids().

◆ drawTongueGrid()

void Digikam::CIETongueWidget::drawTongueGrid ( )
protected

References grids().

◆ fillTongue()

void Digikam::CIETongueWidget::fillTongue ( )
protected

References colorByCoord().

◆ grids()

int Digikam::CIETongueWidget::grids ( double  val) const
protected

◆ loadingFailed()

void Digikam::CIETongueWidget::loadingFailed ( )

◆ loadingStarted()

void Digikam::CIETongueWidget::loadingStarted ( )

◆ outlineTongue()

void Digikam::CIETongueWidget::outlineTongue ( )
protected

◆ paintEvent()

void Digikam::CIETongueWidget::paintEvent ( QPaintEvent *  )
overrideprotected

◆ resizeEvent()

void Digikam::CIETongueWidget::resizeEvent ( QResizeEvent *  event)
overrideprotected

◆ setProfileData()

bool Digikam::CIETongueWidget::setProfileData ( const QByteArray &  profileData = QByteArray())

◆ setProfileFromFile()

bool Digikam::CIETongueWidget::setProfileFromFile ( const QUrl &  file = QUrl())

◆ uncalibratedColor()

void Digikam::CIETongueWidget::uncalibratedColor ( )

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