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.
Signals | Public Member Functions | Protected Member Functions | Friends | List of all members
Seg3D::LayerWidget Class Reference
Inheritance diagram for Seg3D::LayerWidget:

Signals

void prep_for_drag_and_drop (bool)
 
void layer_size_signal_ (int)
 
void selection_box_changed ()
 

Public Member Functions

 LayerWidget (QFrame *parent, LayerHandle layer)
 
void show_selection_checkbox (bool hideshow)
 
void instant_hide_drop_space ()
 
void prep_for_animation (bool move_time)
 
void set_picked_up_layer_size (int size)
 
void set_selected (bool selected)
 
std::string get_layer_id () const
 
std::string get_layer_name () const
 
bool is_selected () const
 
void set_drop_group (GroupButtonMenu *target_group)
 

Protected Member Functions

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

Friends

class LayerWidgetPrivate
 

Member Function Documentation

void Seg3D::LayerWidget::contextMenuEvent ( QContextMenuEvent *  event)
protectedvirtual

CONTEXTMENUEVENT: this function is the overloaded qt function that creates and connects actions to a context event

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

DRAGENTEREVENT: this function is called when the user drags another layer over the top of this one

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

DRAGLEAVEEVENT: this function is called when the user drags another layer off of the top of this one

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

DROPEVENT: this function is called when the user drops another layer onto this one

std::string Seg3D::LayerWidget::get_layer_id ( ) const

GET_LAYER_ID: this function returns the id of the layer that the layerwidget represents

std::string Seg3D::LayerWidget::get_layer_name ( ) const

GET_LAYER_NAME: this function returns the id of the layer that the layerwidget represents

void Seg3D::LayerWidget::instant_hide_drop_space ( )

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

bool Seg3D::LayerWidget::is_selected ( ) const

IS_SELECTED: function that returns whether or not the layer is selected.

void Seg3D::LayerWidget::layer_size_signal_ ( int  )
signal

LAYER_SIZE_SIGNAL: this function lets the LayerManagerWidget know what size the picked up layer is so that it can notify the layers

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

MOUSEPRESSEVENT: this function is overloaded to enable drag and drop

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

PREP_FOR_ANIMATION: this function hides the actual widgets and substitutes them for images to make drag and drop faster

void Seg3D::LayerWidget::prep_for_drag_and_drop ( bool  )
signal

PREP_FOR_DRAG_AND_DROP: this signal tells the group that it is time to prep the layers for drag and drop

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

RESIZEEVENT: Called when the widget has been resized.

void Seg3D::LayerWidget::selection_box_changed ( )
signal

SELECTION_BOX_CHANGED: this signal tells the group that the selection box's status has been changed

void Seg3D::LayerWidget::set_drop_group ( GroupButtonMenu target_group)

SET_DROP_GROUP: this function is for keeping track of which group the drop is going to happen on

void Seg3D::LayerWidget::set_picked_up_layer_size ( int  size)

SET_PICKED_UP_LAYER_SIZE: this function sets the picked up layer size on all the layers so that the drop space widget knows how big to become when it opens

void Seg3D::LayerWidget::set_selected ( bool  selected)

SET_CHECK_SELECTED: function that sets whether all the layer checkboxes are selected or not when you press the select all button

void Seg3D::LayerWidget::show_selection_checkbox ( bool  hideshow)

SHOW_SELECTION_CHECKBOX: this function is called when the user opens a group menu so that the layer's selection checkbox can be accessed


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