Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
All Classes Namespaces Functions Variables Typedefs Enumerator Friends
Signals | Public Member Functions | Protected Member Functions | List of all members
Seg3D::LayerGroupWidget Class Reference
Inheritance diagram for Seg3D::LayerGroupWidget:

Signals

void prep_layers_for_drag_and_drop_signal_ (bool)
 
void prep_groups_for_drag_and_drop_signal_ (bool)
 
void picked_up_group_size_signal_ (int)
 
void picked_up_layer_size_signal_ (int)
 

Public Member Functions

 LayerGroupWidget (QWidget *parent, LayerGroupHandle group)
 
void prep_for_animation (bool move_time)
 
void instant_hide_drop_space ()
 
void prep_layers_for_drag_and_drop (bool move_time)
 
void set_picked_up_group_size (int group_height)
 
void handle_change ()
 
void notify_picked_up_layer_size (int layer_size)
 

Protected Member Functions

virtual void resizeEvent (QResizeEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void dropEvent (QDropEvent *event)
 
virtual void dragEnterEvent (QDragEnterEvent *event)
 
virtual void dragLeaveEvent (QDragLeaveEvent *event)
 

Member Function Documentation

void Seg3D::LayerGroupWidget::dragEnterEvent ( QDragEnterEvent *  event)
protectedvirtual

DRAGENTEREVENT: Overloaded function that is triggered when a drag even enters the group

void Seg3D::LayerGroupWidget::dragLeaveEvent ( QDragLeaveEvent *  event)
protectedvirtual

DRAGLEAVEEVENT: Overloaded function that is triggered when a drag even leaves the group

void Seg3D::LayerGroupWidget::dropEvent ( QDropEvent *  event)
protectedvirtual

DROPEVENT: Overloaded function that is triggered when a drop occurs on the group

void Seg3D::LayerGroupWidget::handle_change ( )

HANDLE_CHANGE: this function handles changes from the layer manager.

void Seg3D::LayerGroupWidget::instant_hide_drop_space ( )

INSTANT_HIDE_DROP_SPACE: this function instantly hides the drop space for when a move has been made

void Seg3D::LayerGroupWidget::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

MOUSEPRESSEVENT: Overloaded function that is triggered when a user clicks on the group

void Seg3D::LayerGroupWidget::notify_picked_up_layer_size ( int  layer_size)

NOTIFY_PICKED_UP_LAYER_SIZE: this function sets the layer size of all

void Seg3D::LayerGroupWidget::picked_up_group_size_signal_ ( int  )
signal

PICKED_UP_GROUP_SIZE_SIGNAL_: this signal is sent to the LayerManagerWidget to notify the other groups what size this group is so that the proper size slot is opened up

void Seg3D::LayerGroupWidget::picked_up_layer_size_signal_ ( int  )
signal

PICKED_UP_LAYER_SIZE_SIGNAL_: this signal is sent to the LayerManagerWidget to notify the other layers what size this layer is so that the proper size slot is opened up

void Seg3D::LayerGroupWidget::prep_for_animation ( bool  move_time)

PREP_FOR_ANIMATION: this function replaces the widget with a screenshot of the widget for speed

void Seg3D::LayerGroupWidget::prep_groups_for_drag_and_drop_signal_ ( bool  )
signal

PREP_LAYERS_FOR_DRAG_AND_DROP_SIGNAL_: this signal tells the LayerManagerWidget that it needs to tell all the groups to prepare their layers for for drag and drop.

void Seg3D::LayerGroupWidget::prep_layers_for_drag_and_drop ( bool  move_time)

PREP_LAYERS_FOR_DRAG_AND_DROP: this function tells each layer to prepare for drag and drop by replacing the actual widgets with images of themselves.

void Seg3D::LayerGroupWidget::prep_layers_for_drag_and_drop_signal_ ( bool  )
signal

PREP_GROUPS_FOR_DRAG_AND_DROP_SIGNAL_: this signal tells the LayerManagerWidget that it needs to prep all the groups for drag and drop.

void Seg3D::LayerGroupWidget::resizeEvent ( QResizeEvent *  event)
protectedvirtual

RESIZEEVENT: this is an overloaded function to keep the size of the overlay widget in sync with the size of the LayerGroupWidget

void Seg3D::LayerGroupWidget::set_picked_up_group_size ( int  group_height)

SET_PICKED_UP_GROUP_SIZE: function that sets the size of the currently picked up group


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