Computer Assited Medical Intervention Tool Kit  version 4.0
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)
 
 QtColorEditWidget (QWidget *parent)
 

Protected Member Functions

void paintEvent (QPaintEvent *)
 

Private Slots

void buttonClicked ()
 

Private Attributes

QToolButton * m_button
 
QColor m_color
 
QLabel * m_label
 
QLabel * m_pixmapLabel
 

Constructor & Destructor Documentation

QtColorEditWidget::QtColorEditWidget ( QWidget *  parent)

Member Function Documentation

void QtColorEditWidget::buttonClicked ( )
privateslot

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

Referenced by QtColorEditWidget().

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

References m_button.

void QtColorEditWidget::paintEvent ( QPaintEvent *  )
protected
void QtColorEditWidget::setValue ( const QColor &  value)
slot
void QtColorEditWidget::valueChanged ( const QColor &  value)
signal

Referenced by buttonClicked().

Member Data Documentation

QToolButton* QtColorEditWidget::m_button
private

Referenced by eventFilter(), and QtColorEditWidget().

QColor QtColorEditWidget::m_color
private
QLabel* QtColorEditWidget::m_label
private

Referenced by QtColorEditWidget(), and setValue().

QLabel* QtColorEditWidget::m_pixmapLabel
private

Referenced by QtColorEditWidget(), and setValue().


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