|
| ApplicationInterface (std::string file_to_view_on_open="") |
|
|
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) |
|
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.
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
HANDLEENDPROGRESS: Close the modal window reporting on progress
void Seg3D::ApplicationInterface::HandlePreferencesManagerSave |
( |
qpointer_type |
qpointer, |
|
|
bool |
visible |
|
) |
| |
|
static |
HANDLEPREFERENCESMANAGERSAVE: Dispatches the SavePreferences action
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: