Guitar
Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
ColorEditWidget Class Reference

#include <ColorEditWidget.h>

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

Signals

void colorChanged (QColor const &color)
 

Public Member Functions

 ColorEditWidget (QWidget *parent=nullptr)
 
 ~ColorEditWidget ()
 
void bind (ColorSquareWidget *w)
 
QColor color () const
 
void setColor (const QColor &color)
 

Private Slots

void on_horizontalSlider_hsv_h_valueChanged (int value)
 
void on_horizontalSlider_hsv_s_valueChanged (int value)
 
void on_horizontalSlider_hsv_v_valueChanged (int value)
 
void on_horizontalSlider_rgb_r_valueChanged (int value)
 
void on_horizontalSlider_rgb_g_valueChanged (int value)
 
void on_horizontalSlider_rgb_b_valueChanged (int value)
 
void on_spinBox_hsv_h_valueChanged (int arg1)
 
void on_spinBox_hsv_s_valueChanged (int arg1)
 
void on_spinBox_hsv_v_valueChanged (int arg1)
 
void on_spinBox_rgb_r_valueChanged (int arg1)
 
void on_spinBox_rgb_g_valueChanged (int arg1)
 
void on_spinBox_rgb_b_valueChanged (int arg1)
 

Private Member Functions

void setColorRed (int value)
 
void setColorGreen (int value)
 
void setColorBlue (int value)
 
void setColorHue (int value)
 
void setColorSaturation (int value)
 
void setColorValue (int value)
 
ColorSquareWidgetpickupper ()
 

Private Attributes

Ui::ColorEditWidget * ui
 
QColor color_
 
ColorSquareWidgetpickupper_ = nullptr
 

Constructor & Destructor Documentation

◆ ColorEditWidget()

ColorEditWidget::ColorEditWidget ( QWidget *  parent = nullptr)
explicit

◆ ~ColorEditWidget()

ColorEditWidget::~ColorEditWidget ( )

Member Function Documentation

◆ bind()

void ColorEditWidget::bind ( ColorSquareWidget w)
Here is the call graph for this function:

◆ color()

QColor ColorEditWidget::color ( ) const

◆ colorChanged

void ColorEditWidget::colorChanged ( QColor const &  color)
signal

◆ on_horizontalSlider_hsv_h_valueChanged

void ColorEditWidget::on_horizontalSlider_hsv_h_valueChanged ( int  value)
privateslot
Here is the call graph for this function:

◆ on_horizontalSlider_hsv_s_valueChanged

void ColorEditWidget::on_horizontalSlider_hsv_s_valueChanged ( int  value)
privateslot
Here is the call graph for this function:

◆ on_horizontalSlider_hsv_v_valueChanged

void ColorEditWidget::on_horizontalSlider_hsv_v_valueChanged ( int  value)
privateslot
Here is the call graph for this function:

◆ on_horizontalSlider_rgb_b_valueChanged

void ColorEditWidget::on_horizontalSlider_rgb_b_valueChanged ( int  value)
privateslot
Here is the call graph for this function:

◆ on_horizontalSlider_rgb_g_valueChanged

void ColorEditWidget::on_horizontalSlider_rgb_g_valueChanged ( int  value)
privateslot
Here is the call graph for this function:

◆ on_horizontalSlider_rgb_r_valueChanged

void ColorEditWidget::on_horizontalSlider_rgb_r_valueChanged ( int  value)
privateslot
Here is the call graph for this function:

◆ on_spinBox_hsv_h_valueChanged

void ColorEditWidget::on_spinBox_hsv_h_valueChanged ( int  arg1)
privateslot
Here is the call graph for this function:

◆ on_spinBox_hsv_s_valueChanged

void ColorEditWidget::on_spinBox_hsv_s_valueChanged ( int  arg1)
privateslot
Here is the call graph for this function:

◆ on_spinBox_hsv_v_valueChanged

void ColorEditWidget::on_spinBox_hsv_v_valueChanged ( int  arg1)
privateslot
Here is the call graph for this function:

◆ on_spinBox_rgb_b_valueChanged

void ColorEditWidget::on_spinBox_rgb_b_valueChanged ( int  arg1)
privateslot
Here is the call graph for this function:

◆ on_spinBox_rgb_g_valueChanged

void ColorEditWidget::on_spinBox_rgb_g_valueChanged ( int  arg1)
privateslot
Here is the call graph for this function:

◆ on_spinBox_rgb_r_valueChanged

void ColorEditWidget::on_spinBox_rgb_r_valueChanged ( int  arg1)
privateslot
Here is the call graph for this function:

◆ pickupper()

ColorSquareWidget * ColorEditWidget::pickupper ( )
private

◆ setColor()

void ColorEditWidget::setColor ( const QColor &  color)
Here is the call graph for this function:

◆ setColorBlue()

void ColorEditWidget::setColorBlue ( int  value)
private
Here is the call graph for this function:

◆ setColorGreen()

void ColorEditWidget::setColorGreen ( int  value)
private
Here is the call graph for this function:

◆ setColorHue()

void ColorEditWidget::setColorHue ( int  value)
private
Here is the call graph for this function:

◆ setColorRed()

void ColorEditWidget::setColorRed ( int  value)
private
Here is the call graph for this function:

◆ setColorSaturation()

void ColorEditWidget::setColorSaturation ( int  value)
private
Here is the call graph for this function:

◆ setColorValue()

void ColorEditWidget::setColorValue ( int  value)
private
Here is the call graph for this function:

Member Data Documentation

◆ color_

QColor ColorEditWidget::color_
private

◆ pickupper_

ColorSquareWidget* ColorEditWidget::pickupper_ = nullptr
private

◆ ui

Ui::ColorEditWidget* ColorEditWidget::ui
private

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