Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkPropertyListPopup Class Reference

#include <QmitkPropertyListPopup.h>

Inheritance diagram for QmitkPropertyListPopup:
Collaboration diagram for QmitkPropertyListPopup:

Signals

void propertyListChangesDone ()
 

Public Member Functions

 QmitkPropertyListPopup (mitk::PropertyList *, QObject *parent=0, bool disableBoolProperties=false, bool fillMenuImmediatelty=true, const char *name=0)
 
virtual ~QmitkPropertyListPopup ()
 
void popup (const QPoint &pos, QAction *action=0)
 
void fillPopup ()
 

Protected Slots

void onNameClicked ()
 
void onVisibleClicked ()
 
void onColorClicked ()
 
void onBoolPropertyClicked (int)
 
virtual void MaterialEditorChangesAccepted (QmitkMaterialEditor *ed)
 
virtual void popupAboutToHide ()
 
void popupMenuItemHovered (QAction *action)
 

Protected Member Functions

virtual bool AddMaterialPopup ()
 
virtual void UpdateNodeMaterialOnPopupHiding (bool &changes)
 
QIcon createColorIcon (QColor color)
 

Protected Attributes

QMenu * m_PopupMenu
 
mitk::PropertyList::Pointer m_PropertyList
 
std::vector< mitk::BoolProperty::Pointerm_BoolProperties
 
QMenu * m_InfoPopup
 
QAction * m_NameMenuAction
 
QAction * m_VisibleMenuAction
 
QAction * m_ColorMenuAction
 
QAction * m_MaterialMenuAction
 
QAction * m_OpacityMenuAction
 
bool m_AcceptOnHide
 
mitk::FloatProperty::Pointer m_OriginalOpacity
 
bool m_DisableBoolProperties
 

Detailed Description

Definition at line 38 of file QmitkPropertyListPopup.h.

Constructor & Destructor Documentation

◆ QmitkPropertyListPopup()

QmitkPropertyListPopup::QmitkPropertyListPopup ( mitk::PropertyList ,
QObject *  parent = 0,
bool  disableBoolProperties = false,
bool  fillMenuImmediatelty = true,
const char *  name = 0 
)

◆ ~QmitkPropertyListPopup()

virtual QmitkPropertyListPopup::~QmitkPropertyListPopup ( )
virtual

Member Function Documentation

◆ AddMaterialPopup()

virtual bool QmitkPropertyListPopup::AddMaterialPopup ( )
protectedvirtual

◆ createColorIcon()

QIcon QmitkPropertyListPopup::createColorIcon ( QColor  color)
protected

◆ fillPopup()

void QmitkPropertyListPopup::fillPopup ( )

◆ MaterialEditorChangesAccepted

virtual void QmitkPropertyListPopup::MaterialEditorChangesAccepted ( QmitkMaterialEditor *  ed)
protectedvirtualslot

◆ onBoolPropertyClicked

void QmitkPropertyListPopup::onBoolPropertyClicked ( int  )
protectedslot

◆ onColorClicked

void QmitkPropertyListPopup::onColorClicked ( )
protectedslot

◆ onNameClicked

void QmitkPropertyListPopup::onNameClicked ( )
protectedslot

◆ onVisibleClicked

void QmitkPropertyListPopup::onVisibleClicked ( )
protectedslot

◆ popup()

void QmitkPropertyListPopup::popup ( const QPoint &  pos,
QAction *  action = 0 
)

◆ popupAboutToHide

virtual void QmitkPropertyListPopup::popupAboutToHide ( )
protectedvirtualslot

◆ popupMenuItemHovered

void QmitkPropertyListPopup::popupMenuItemHovered ( QAction *  action)
protectedslot

◆ propertyListChangesDone

void QmitkPropertyListPopup::propertyListChangesDone ( )
signal

◆ UpdateNodeMaterialOnPopupHiding()

virtual void QmitkPropertyListPopup::UpdateNodeMaterialOnPopupHiding ( bool &  changes)
protectedvirtual

Member Data Documentation

◆ m_AcceptOnHide

bool QmitkPropertyListPopup::m_AcceptOnHide
protected

Definition at line 85 of file QmitkPropertyListPopup.h.

◆ m_BoolProperties

std::vector<mitk::BoolProperty::Pointer> QmitkPropertyListPopup::m_BoolProperties
protected

Definition at line 76 of file QmitkPropertyListPopup.h.

◆ m_ColorMenuAction

QAction* QmitkPropertyListPopup::m_ColorMenuAction
protected

Definition at line 81 of file QmitkPropertyListPopup.h.

◆ m_DisableBoolProperties

bool QmitkPropertyListPopup::m_DisableBoolProperties
protected

Definition at line 89 of file QmitkPropertyListPopup.h.

◆ m_InfoPopup

QMenu* QmitkPropertyListPopup::m_InfoPopup
protected

Definition at line 77 of file QmitkPropertyListPopup.h.

◆ m_MaterialMenuAction

QAction* QmitkPropertyListPopup::m_MaterialMenuAction
protected

Definition at line 82 of file QmitkPropertyListPopup.h.

◆ m_NameMenuAction

QAction* QmitkPropertyListPopup::m_NameMenuAction
protected

Definition at line 79 of file QmitkPropertyListPopup.h.

◆ m_OpacityMenuAction

QAction* QmitkPropertyListPopup::m_OpacityMenuAction
protected

Definition at line 83 of file QmitkPropertyListPopup.h.

◆ m_OriginalOpacity

mitk::FloatProperty::Pointer QmitkPropertyListPopup::m_OriginalOpacity
protected

Definition at line 87 of file QmitkPropertyListPopup.h.

◆ m_PopupMenu

QMenu* QmitkPropertyListPopup::m_PopupMenu
protected

Definition at line 73 of file QmitkPropertyListPopup.h.

◆ m_PropertyList

mitk::PropertyList::Pointer QmitkPropertyListPopup::m_PropertyList
protected

Definition at line 75 of file QmitkPropertyListPopup.h.

◆ m_VisibleMenuAction

QAction* QmitkPropertyListPopup::m_VisibleMenuAction
protected

Definition at line 80 of file QmitkPropertyListPopup.h.


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