Guitar
Classes | Signals | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
ColorSquareWidget Class Reference

#include <ColorSquareWidget.h>

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

Classes

struct  Private
 

Signals

void changeColor (const QColor &color)
 

Public Member Functions

 ColorSquareWidget (QWidget *parent=0)
 
 ~ColorSquareWidget ()
 
void setHue (int h)
 

Protected Member Functions

void paintEvent (QPaintEvent *)
 
void mousePressEvent (QMouseEvent *event)
 
void mouseMoveEvent (QMouseEvent *event)
 

Private Member Functions

MainWindowmainwindow ()
 
void updatePixmap (bool force)
 
QImage createImage (int w, int h)
 
void press (const QPoint &pos)
 

Private Attributes

Privatem
 

Constructor & Destructor Documentation

◆ ColorSquareWidget()

ColorSquareWidget::ColorSquareWidget ( QWidget *  parent = 0)
explicit

◆ ~ColorSquareWidget()

ColorSquareWidget::~ColorSquareWidget ( )

Member Function Documentation

◆ changeColor

void ColorSquareWidget::changeColor ( const QColor &  color)
signal

◆ createImage()

QImage ColorSquareWidget::createImage ( int  w,
int  h 
)
private

◆ mainwindow()

MainWindow * ColorSquareWidget::mainwindow ( )
private

◆ mouseMoveEvent()

void ColorSquareWidget::mouseMoveEvent ( QMouseEvent *  event)
protected
Here is the call graph for this function:

◆ mousePressEvent()

void ColorSquareWidget::mousePressEvent ( QMouseEvent *  event)
protected
Here is the call graph for this function:

◆ paintEvent()

void ColorSquareWidget::paintEvent ( QPaintEvent *  )
protected
Here is the call graph for this function:

◆ press()

void ColorSquareWidget::press ( const QPoint &  pos)
private

◆ setHue()

void ColorSquareWidget::setHue ( int  h)
Here is the call graph for this function:

◆ updatePixmap()

void ColorSquareWidget::updatePixmap ( bool  force)
private
Here is the call graph for this function:

Member Data Documentation

◆ m

Private* ColorSquareWidget::m
private

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