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.
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Seg3D::ApplicationInterface Class Reference
Inheritance diagram for Seg3D::ApplicationInterface:
Core::ConnectionHandler

Public Types

typedef QPointer< ApplicationInterfaceqpointer_type
 

Public Member Functions

 ApplicationInterface (std::string file_to_view_on_open="")
 

Static Public Member Functions

static void HandleBeginProgress (qpointer_type qpointer, Core::ActionProgressHandle handle)
 
static void HandleEndProgress (qpointer_type qpointer, Core::ActionProgressHandle handle)
 
static void HandleReportProgress (qpointer_type qpointer, Core::ActionProgressHandle handle)
 
static void HandlePreferencesManagerSave (qpointer_type qpointer, bool visible)
 
static void HandleCriticalErrorMessage (qpointer_type qpointer, int msg_type, std::string message)
 
static void SetFullScreen (qpointer_type app_interface, bool full_screen, Core::ActionSource source)
 
static void SetProjectName (qpointer_type qpointer, std::string project_name, Core::ActionSource source)
 
static void UpdateProjectConnections (qpointer_type qpointer)
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *event)
 
virtual void resizeEvent (QResizeEvent *event)
 

Member Function Documentation

void Seg3D::ApplicationInterface::closeEvent ( QCloseEvent *  event)
protectedvirtual

CLOSEEVENT: Function called when the closew button is pressed. The application needs to check whether data needs to be saved if this button is pressed.

void Seg3D::ApplicationInterface::HandleBeginProgress ( qpointer_type  qpointer,
Core::ActionProgressHandle  handle 
)
static

NOTE: These functions are static to ensure that they can serve as targets for the signal/slot mechanism. As the main interface may be closed while there are still function callbacks in the loop, these functions test for the existence of the interface before executing. HANDLEBEGINPROGRESS: Open a modal window showing progress

void Seg3D::ApplicationInterface::HandleCriticalErrorMessage ( qpointer_type  qpointer,
int  msg_type,
std::string  message 
)
static

HANDLECRITICALERROR: handles critical error signals and passes them to a function that pops up an error message

void Seg3D::ApplicationInterface::HandleEndProgress ( qpointer_type  qpointer,
Core::ActionProgressHandle  handle 
)
static

HANDLEENDPROGRESS: Close the modal window reporting on progress

void Seg3D::ApplicationInterface::HandlePreferencesManagerSave ( qpointer_type  qpointer,
bool  visible 
)
static

HANDLEPREFERENCESMANAGERSAVE: Dispatches the SavePreferences action

void Seg3D::ApplicationInterface::HandleReportProgress ( qpointer_type  qpointer,
Core::ActionProgressHandle  handle 
)
static

HANDLEREPORTPROGRESS: Report progress to the modal window

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

RESIZEEVENT: Function called when window is redrawn. This function updates widgets that depend on being displayed on top of the full window.

void Seg3D::ApplicationInterface::SetFullScreen ( qpointer_type  app_interface,
bool  full_screen,
Core::ActionSource  source 
)
static

SETFULLSCREEN: Set full screen mode of the Main Window

void Seg3D::ApplicationInterface::SetProjectName ( qpointer_type  qpointer,
std::string  project_name,
Core::ActionSource  source 
)
static

SETPROJECTNAME: handles signals that the project name needs to change

void Seg3D::ApplicationInterface::UpdateProjectConnections ( qpointer_type  qpointer)
static

UPDATEPROJECTCONNECTIONS Update the connections to the current project


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