PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::QColorButton Class Reference

#include <QColorWidget.h>

Inheritance diagram for dyno::QColorButton:
Collaboration diagram for dyno::QColorButton:

Signals

void colorChanged (const QColor &)
 

Public Member Functions

 QColorButton (QWidget *pParent=NULL)
 
int getMargin (void) const
 
void setMargin (const int &Margin)
 
int getRadius (void) const
 
void setRadius (const int &Radius)
 
QColor getColor (void) const
 
void setColor (const QColor &Color, bool BlockSignals=false)
 

Protected Member Functions

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

Private Slots

void onColorChanged (const QColor &Color)
 

Private Attributes

int mMargin
 
int mRadius
 
QColor mColor
 

Detailed Description

Definition at line 25 of file QColorWidget.h.

Constructor & Destructor Documentation

◆ QColorButton()

dyno::QColorButton::QColorButton ( QWidget * pParent = NULL)

Definition at line 14 of file QColorWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ colorChanged

void dyno::QColorButton::colorChanged ( const QColor & )
signal
Here is the caller graph for this function:

◆ getColor()

QColor dyno::QColorButton::getColor ( void ) const

Definition at line 84 of file QColorWidget.cpp.

◆ getMargin()

int dyno::QColorButton::getMargin ( void ) const

Definition at line 62 of file QColorWidget.cpp.

◆ getRadius()

int dyno::QColorButton::getRadius ( void ) const

Definition at line 73 of file QColorWidget.cpp.

◆ mousePressEvent()

void dyno::QColorButton::mousePressEvent ( QMouseEvent * event)
protectedvirtual

Definition at line 48 of file QColorWidget.cpp.

Here is the call graph for this function:

◆ onColorChanged

void dyno::QColorButton::onColorChanged ( const QColor & Color)
privateslot

Definition at line 99 of file QColorWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ paintEvent()

void dyno::QColorButton::paintEvent ( QPaintEvent * event)
protectedvirtual

Definition at line 23 of file QColorWidget.cpp.

◆ setColor()

void dyno::QColorButton::setColor ( const QColor & Color,
bool BlockSignals = false )

Definition at line 89 of file QColorWidget.cpp.

Here is the caller graph for this function:

◆ setMargin()

void dyno::QColorButton::setMargin ( const int & Margin)

Definition at line 67 of file QColorWidget.cpp.

◆ setRadius()

void dyno::QColorButton::setRadius ( const int & Radius)

Definition at line 78 of file QColorWidget.cpp.

Member Data Documentation

◆ mColor

QColor dyno::QColorButton::mColor
private

Definition at line 52 of file QColorWidget.h.

◆ mMargin

int dyno::QColorButton::mMargin
private

Definition at line 50 of file QColorWidget.h.

◆ mRadius

int dyno::QColorButton::mRadius
private

Definition at line 51 of file QColorWidget.h.


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