Slicer
4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Special menu class that repositions itself to the cursor position when shown. More...
#include <Modules/Loadable/SubjectHierarchy/Widgets/qMRMLTransformItemDelegate.h>
Signals | |
void | closed () |
Public Member Functions | |
DelegateMenu (QWidget *parent=0) | |
Public Attributes | |
QString | SelectedTransformNodeID |
Protected Member Functions | |
virtual void | showEvent (QShowEvent *event) |
Special menu class that repositions itself to the cursor position when shown.
This is needed because after creating the editor widget, the show function is called by the delegate mechanism. However, the menu shows up in global position instead of local and need to be moved. The cursor position is a convenient place to move it to.
Definition at line 97 of file qMRMLTransformItemDelegate.h.
|
explicit |
|
signal |
|
protectedvirtual |
QString DelegateMenu::SelectedTransformNodeID |
Definition at line 102 of file qMRMLTransformItemDelegate.h.