Computer Assited Medical Intervention Tool Kit  version 4.1
Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | List of all members
QtColorEditWidget Class Reference

Inherits QWidget.

Public Slots

void setValue (const QColor &value)
 

Signals

void valueChanged (const QColor &value)
 

Public Member Functions

bool eventFilter (QObject *obj, QEvent *ev) override
 
 QtColorEditWidget (QWidget *parent)
 

Protected Member Functions

void paintEvent (QPaintEvent *) override
 

Private Slots

void buttonClicked ()
 

Private Attributes

QToolButton * m_button
 
QColor m_color
 
QLabel * m_label
 
QLabel * m_pixmapLabel
 

Constructor & Destructor Documentation

◆ QtColorEditWidget()

QtColorEditWidget::QtColorEditWidget ( QWidget *  parent)

Member Function Documentation

◆ buttonClicked

void QtColorEditWidget::buttonClicked ( )
privateslot

References m_color, setValue(), and valueChanged().

Referenced by QtColorEditWidget().

◆ eventFilter()

bool QtColorEditWidget::eventFilter ( QObject *  obj,
QEvent *  ev 
)
override

References m_button.

◆ paintEvent()

void QtColorEditWidget::paintEvent ( QPaintEvent *  )
overrideprotected

◆ setValue

void QtColorEditWidget::setValue ( const QColor &  value)
slot

◆ valueChanged

void QtColorEditWidget::valueChanged ( const QColor &  value)
signal

Referenced by buttonClicked().

Member Data Documentation

◆ m_button

QToolButton* QtColorEditWidget::m_button
private

Referenced by eventFilter(), and QtColorEditWidget().

◆ m_color

QColor QtColorEditWidget::m_color
private

◆ m_label

QLabel* QtColorEditWidget::m_label
private

Referenced by QtColorEditWidget(), and setValue().

◆ m_pixmapLabel

QLabel* QtColorEditWidget::m_pixmapLabel
private

Referenced by QtColorEditWidget(), and setValue().


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