Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkPopupColorChooser Class Reference

#include <QmitkColorPropertyEditor.h>

Inheritance diagram for QmitkPopupColorChooser:
Collaboration diagram for QmitkPopupColorChooser:

Signals

void colorSelected (QColor)
 Call to popup this widget. parent determines popup position. More...
 

Public Member Functions

 QmitkPopupColorChooser (QWidget *parent=nullptr, unsigned int steps=16, unsigned int size=150)
 
 ~QmitkPopupColorChooser () override
 
void setSteps (int)
 
virtual void popup (QWidget *parent, const QPoint &point, const mitk::Color *=nullptr)
 

Protected Member Functions

void keyReleaseEvent (QKeyEvent *) override
 
void mouseMoveEvent (QMouseEvent *) override
 
void mouseReleaseEvent (QMouseEvent *) override
 
void closeEvent (QCloseEvent *) override
 
void paintEvent (QPaintEvent *) override
 
void drawGradient (QPainter *p)
 

Detailed Description

Definition at line 23 of file QmitkColorPropertyEditor.h.

Constructor & Destructor Documentation

◆ QmitkPopupColorChooser()

QmitkPopupColorChooser::QmitkPopupColorChooser ( QWidget *  parent = nullptr,
unsigned int  steps = 16,
unsigned int  size = 150 
)

◆ ~QmitkPopupColorChooser()

QmitkPopupColorChooser::~QmitkPopupColorChooser ( )
override

Member Function Documentation

◆ closeEvent()

void QmitkPopupColorChooser::closeEvent ( QCloseEvent *  )
overrideprotected

◆ colorSelected

void QmitkPopupColorChooser::colorSelected ( QColor  )
signal

Call to popup this widget. parent determines popup position.

◆ drawGradient()

void QmitkPopupColorChooser::drawGradient ( QPainter *  p)
protected

◆ keyReleaseEvent()

void QmitkPopupColorChooser::keyReleaseEvent ( QKeyEvent *  )
overrideprotected

◆ mouseMoveEvent()

void QmitkPopupColorChooser::mouseMoveEvent ( QMouseEvent *  )
overrideprotected

◆ mouseReleaseEvent()

void QmitkPopupColorChooser::mouseReleaseEvent ( QMouseEvent *  )
overrideprotected

◆ paintEvent()

void QmitkPopupColorChooser::paintEvent ( QPaintEvent *  )
overrideprotected

◆ popup()

virtual void QmitkPopupColorChooser::popup ( QWidget *  parent,
const QPoint &  point,
const mitk::Color = nullptr 
)
virtual

◆ setSteps()

void QmitkPopupColorChooser::setSteps ( int  )

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