Walls And Holes  1
ColorPickerButton Class Reference

#include <colorpickerbutton.h>

Inheritance diagram for ColorPickerButton:
Collaboration diagram for ColorPickerButton:

Public Slots

void colorChanged (QColor color)
 colorChanged When the color this button represents changes by means other than the button. Does not emit colorPicked; More...
 

Signals

void colorPicked (QColor color)
 

Public Member Functions

 ColorPickerButton (QColor color=Qt::black, QWidget *parent=nullptr)
 
QColor currentColor () const
 

Constructor & Destructor Documentation

◆ ColorPickerButton()

ColorPickerButton::ColorPickerButton ( QColor  color = Qt::black,
QWidget *  parent = nullptr 
)

Member Function Documentation

◆ colorChanged

void ColorPickerButton::colorChanged ( QColor  color)
slot

colorChanged When the color this button represents changes by means other than the button. Does not emit colorPicked;

Parameters
color

◆ colorPicked

void ColorPickerButton::colorPicked ( QColor  color)
signal

◆ currentColor()

QColor ColorPickerButton::currentColor ( ) const
inline

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