Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <QmitkColorPropertyEditor.h>
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) | |
virtual | ~QmitkPopupColorChooser () |
void | setSteps (int) |
virtual void | popup (QWidget *parent, const QPoint &point, const mitk::Color *=nullptr) |
Protected Member Functions | |
virtual void | keyReleaseEvent (QKeyEvent *) override |
virtual void | mouseMoveEvent (QMouseEvent *) override |
virtual void | mouseReleaseEvent (QMouseEvent *) override |
virtual void | closeEvent (QCloseEvent *) override |
virtual void | paintEvent (QPaintEvent *) override |
void | drawGradient (QPainter *p) |
Definition at line 27 of file QmitkColorPropertyEditor.h.
QmitkPopupColorChooser::QmitkPopupColorChooser | ( | QWidget * | parent = nullptr , |
unsigned int | steps = 16 , |
||
unsigned int | size = 150 |
||
) |
Definition at line 28 of file QmitkColorPropertyEditor.cpp.
References setSteps().
|
virtual |
Definition at line 45 of file QmitkColorPropertyEditor.cpp.
|
overrideprotectedvirtual |
Definition at line 118 of file QmitkColorPropertyEditor.cpp.
|
signal |
Call to popup this widget. parent determines popup position.
Referenced by keyReleaseEvent(), and mouseMoveEvent().
|
protected |
Definition at line 202 of file QmitkColorPropertyEditor.cpp.
Referenced by paintEvent().
|
overrideprotectedvirtual |
Definition at line 58 of file QmitkColorPropertyEditor.cpp.
References colorSelected().
|
overrideprotectedvirtual |
Definition at line 64 of file QmitkColorPropertyEditor.cpp.
References colorSelected().
|
overrideprotectedvirtual |
Definition at line 113 of file QmitkColorPropertyEditor.cpp.
|
overrideprotectedvirtual |
Definition at line 196 of file QmitkColorPropertyEditor.cpp.
References drawGradient().
|
virtual |
Definition at line 138 of file QmitkColorPropertyEditor.cpp.
Referenced by QmitkColorPropertyEditor::mousePressEvent().
void QmitkPopupColorChooser::setSteps | ( | int | steps | ) |
Definition at line 49 of file QmitkColorPropertyEditor.cpp.
Referenced by QmitkPopupColorChooser().