Slicer  4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Signals | Public Member Functions | Public Attributes | Protected Member Functions
DelegateMenu Class Reference

Special menu class that repositions itself to the cursor position when shown. More...

#include <Modules/Loadable/SubjectHierarchy/Widgets/qMRMLTransformItemDelegate.h>

Inheritance diagram for DelegateMenu:
Inheritance graph
[legend]
Collaboration diagram for DelegateMenu:
Collaboration graph
[legend]

Signals

void closed ()
 

Public Member Functions

 DelegateMenu (QWidget *parent=0)
 

Public Attributes

QString SelectedTransformNodeID
 

Protected Member Functions

virtual void showEvent (QShowEvent *event)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ DelegateMenu()

DelegateMenu::DelegateMenu ( QWidget *  parent = 0)
explicit

Member Function Documentation

◆ closed

void DelegateMenu::closed ( )
signal

◆ showEvent()

virtual void DelegateMenu::showEvent ( QShowEvent *  event)
protectedvirtual

Member Data Documentation

◆ SelectedTransformNodeID

QString DelegateMenu::SelectedTransformNodeID

Definition at line 102 of file qMRMLTransformItemDelegate.h.


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