Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
QmitkPaintbrushToolGUI Class Reference

GUI for mitk::PaintbrushTool. More...

#include <QmitkPaintbrushToolGUI.h>

Inheritance diagram for QmitkPaintbrushToolGUI:
Collaboration diagram for QmitkPaintbrushToolGUI:

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)
 
void Register () const override
 
void UnRegister () const ITK_NOEXCEPT ITK_OVERRIDE
 
void SetReferenceCount (int) override
 
 ~QmitkToolGUI () override
 

Protected Slots

void OnNewToolAssociated (mitk::Tool *)
 
void OnSliderValueChanged (int value)
 
void VisualizePaintbrushSize (int size)
 

Protected Member Functions

 QmitkPaintbrushToolGUI ()
 
 ~QmitkPaintbrushToolGUI () override
 
- 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 *)
 

Detailed Description

GUI for mitk::PaintbrushTool.

See also
mitk::PaintbrushTool

This GUI shows a slider to change the pen's size.

Last contributor: $Author$

Definition at line 33 of file QmitkPaintbrushToolGUI.h.

Constructor & Destructor Documentation

◆ QmitkPaintbrushToolGUI()

QmitkPaintbrushToolGUI::QmitkPaintbrushToolGUI ( )
protected

◆ ~QmitkPaintbrushToolGUI()

QmitkPaintbrushToolGUI::~QmitkPaintbrushToolGUI ( )
overrideprotected

Member Function Documentation

◆ mitkClassMacro()

QmitkPaintbrushToolGUI::mitkClassMacro ( QmitkPaintbrushToolGUI  ,
QmitkToolGUI   
)

◆ OnNewToolAssociated

void QmitkPaintbrushToolGUI::OnNewToolAssociated ( mitk::Tool )
protectedslot

◆ OnSizeChanged()

void QmitkPaintbrushToolGUI::OnSizeChanged ( int  current)

◆ OnSliderValueChanged

void QmitkPaintbrushToolGUI::OnSliderValueChanged ( int  value)
protectedslot

◆ VisualizePaintbrushSize

void QmitkPaintbrushToolGUI::VisualizePaintbrushSize ( int  size)
protectedslot

Member Data Documentation

◆ m_Frame

QFrame* QmitkPaintbrushToolGUI::m_Frame
protected

Definition at line 60 of file QmitkPaintbrushToolGUI.h.

◆ m_PaintbrushTool

mitk::PaintbrushTool::Pointer QmitkPaintbrushToolGUI::m_PaintbrushTool
protected

Definition at line 62 of file QmitkPaintbrushToolGUI.h.

◆ m_SizeLabel

QLabel* QmitkPaintbrushToolGUI::m_SizeLabel
protected

Definition at line 59 of file QmitkPaintbrushToolGUI.h.

◆ m_Slider

QSlider* QmitkPaintbrushToolGUI::m_Slider
protected

Definition at line 58 of file QmitkPaintbrushToolGUI.h.


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