Medical Imaging Interaction Toolkit  2016.11.0
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 42 of file QmitkPropertyListPopup.h.

Constructor & Destructor Documentation

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

Definition at line 239 of file QmitkPropertyListPopup.cpp.

Member Function Documentation

bool QmitkPropertyListPopup::AddMaterialPopup ( )
protectedvirtual
QIcon QmitkPropertyListPopup::createColorIcon ( QColor  color)
protected

Definition at line 63 of file QmitkPropertyListPopup.cpp.

Referenced by fillPopup().

void QmitkPropertyListPopup::MaterialEditorChangesAccepted ( QmitkMaterialEditor *  ed)
protectedvirtualslot

Definition at line 346 of file QmitkPropertyListPopup.cpp.

Referenced by AddMaterialPopup().

void QmitkPropertyListPopup::onBoolPropertyClicked ( int  param)
protectedslot
void QmitkPropertyListPopup::onNameClicked ( )
protectedslot
void QmitkPropertyListPopup::popup ( const QPoint &  pos,
QAction *  action = 0 
)

Definition at line 244 of file QmitkPropertyListPopup.cpp.

References m_PopupMenu.

void QmitkPropertyListPopup::popupAboutToHide ( )
protectedvirtualslot
void QmitkPropertyListPopup::popupMenuItemHovered ( QAction *  action)
protectedslot
void QmitkPropertyListPopup::propertyListChangesDone ( )
signal
void QmitkPropertyListPopup::UpdateNodeMaterialOnPopupHiding ( bool &  changes)
protectedvirtual

Definition at line 386 of file QmitkPropertyListPopup.cpp.

References m_PropertyList.

Referenced by popupAboutToHide().

Member Data Documentation

bool QmitkPropertyListPopup::m_AcceptOnHide
protected

Definition at line 89 of file QmitkPropertyListPopup.h.

Referenced by popupAboutToHide(), and popupMenuItemHovered().

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

Definition at line 80 of file QmitkPropertyListPopup.h.

Referenced by fillPopup(), and onBoolPropertyClicked().

QAction* QmitkPropertyListPopup::m_ColorMenuAction
protected

Definition at line 85 of file QmitkPropertyListPopup.h.

Referenced by fillPopup().

bool QmitkPropertyListPopup::m_DisableBoolProperties
protected

Definition at line 93 of file QmitkPropertyListPopup.h.

Referenced by fillPopup().

QMenu* QmitkPropertyListPopup::m_InfoPopup
protected

Definition at line 81 of file QmitkPropertyListPopup.h.

Referenced by fillPopup().

QAction* QmitkPropertyListPopup::m_MaterialMenuAction
protected

Definition at line 86 of file QmitkPropertyListPopup.h.

Referenced by AddMaterialPopup(), fillPopup(), and popupMenuItemHovered().

QAction* QmitkPropertyListPopup::m_NameMenuAction
protected

Definition at line 83 of file QmitkPropertyListPopup.h.

Referenced by fillPopup().

QAction* QmitkPropertyListPopup::m_OpacityMenuAction
protected

Definition at line 87 of file QmitkPropertyListPopup.h.

Referenced by AddMaterialPopup(), fillPopup(), and popupMenuItemHovered().

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

Definition at line 91 of file QmitkPropertyListPopup.h.

Referenced by fillPopup(), and popupAboutToHide().

QMenu* QmitkPropertyListPopup::m_PopupMenu
protected
QAction* QmitkPropertyListPopup::m_VisibleMenuAction
protected

Definition at line 84 of file QmitkPropertyListPopup.h.

Referenced by fillPopup(), and onVisibleClicked().


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