Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
GUI for mitk::PaintbrushTool. More...
#include <QmitkPaintbrushToolGUI.h>
Public Member Functions | |
mitkClassMacro (QmitkPaintbrushToolGUI, QmitkToolGUI) | |
void | OnSizeChanged (int current) |
Public Member Functions inherited from QmitkToolGUI | |
mitkClassMacroItkParent (QmitkToolGUI, itk::Object) | |
void | SetTool (mitk::Tool *tool) |
virtual void | Register () const override |
virtual void | UnRegister () const ITK_NOEXCEPT ITK_OVERRIDE |
virtual void | SetReferenceCount (int) override |
virtual | ~QmitkToolGUI () |
Protected Slots | |
void | OnNewToolAssociated (mitk::Tool *) |
void | OnSliderValueChanged (int value) |
void | VisualizePaintbrushSize (int size) |
Protected Member Functions | |
QmitkPaintbrushToolGUI () | |
virtual | ~QmitkPaintbrushToolGUI () |
Protected Member Functions inherited from QmitkToolGUI | |
virtual void | BusyStateChanged (bool) |
Protected Attributes | |
QSlider * | m_Slider |
QLabel * | m_SizeLabel |
QFrame * | m_Frame |
mitk::PaintbrushTool::Pointer | m_PaintbrushTool |
Protected Attributes inherited from QmitkToolGUI | |
mitk::Tool::Pointer | m_Tool |
Additional Inherited Members | |
Signals inherited from QmitkToolGUI | |
void | NewToolAssociated (mitk::Tool *) |
GUI for mitk::PaintbrushTool.
This GUI shows a slider to change the pen's size.
Last contributor: $Author$
Definition at line 37 of file QmitkPaintbrushToolGUI.h.
|
protected |
Definition at line 27 of file QmitkPaintbrushToolGUI.cpp.
References m_SizeLabel, m_Slider, QmitkToolGUI::NewToolAssociated(), OnNewToolAssociated(), and OnSliderValueChanged().
|
protectedvirtual |
Definition at line 65 of file QmitkPaintbrushToolGUI.cpp.
References m_PaintbrushTool, and OnSizeChanged().
QmitkPaintbrushToolGUI::mitkClassMacro | ( | QmitkPaintbrushToolGUI | , |
QmitkToolGUI | |||
) |
|
protectedslot |
Definition at line 75 of file QmitkPaintbrushToolGUI.cpp.
References m_PaintbrushTool, and OnSizeChanged().
Referenced by QmitkPaintbrushToolGUI().
void QmitkPaintbrushToolGUI::OnSizeChanged | ( | int | current | ) |
Definition at line 120 of file QmitkPaintbrushToolGUI.cpp.
References m_Slider.
Referenced by OnNewToolAssociated(), and ~QmitkPaintbrushToolGUI().
|
protectedslot |
Definition at line 92 of file QmitkPaintbrushToolGUI.cpp.
References m_PaintbrushTool, and VisualizePaintbrushSize().
Referenced by QmitkPaintbrushToolGUI().
|
protectedslot |
Definition at line 102 of file QmitkPaintbrushToolGUI.cpp.
References m_SizeLabel.
Referenced by OnSliderValueChanged().
|
protected |
Definition at line 64 of file QmitkPaintbrushToolGUI.h.
|
protected |
Definition at line 66 of file QmitkPaintbrushToolGUI.h.
Referenced by OnNewToolAssociated(), OnSliderValueChanged(), and ~QmitkPaintbrushToolGUI().
|
protected |
Definition at line 63 of file QmitkPaintbrushToolGUI.h.
Referenced by QmitkPaintbrushToolGUI(), and VisualizePaintbrushSize().
|
protected |
Definition at line 62 of file QmitkPaintbrushToolGUI.h.
Referenced by OnSizeChanged(), and QmitkPaintbrushToolGUI().