Workspace 6.21.5
Signals | Public Member Functions | List of all members
StandAloneWindow Class Reference

#include <Workspace/Application/standalonewindow.h>

Inherits QMainWindow.

Signals

void updateAborted ()
 
void updateFinished ()
 
void updateStarted ()
 

Public Member Functions

 StandAloneWindow ()
 
 ~StandAloneWindow () override
 
template<typename T >
bool assignInput (const QString &globalName, const T &val)
 
DataExecution::InputScalargetGlobalNamedInput (const QString &globalName)
 
DataExecution::WorkspacegetWorkspace ()
 
bool load (const QString &workspace, const QString &gui)
 

Constructor & Destructor Documentation

◆ StandAloneWindow()

The name of the window is set to the application name as provided by QCoreApplication::applicationName() at the time this constructor is called. The window will have its Qt::WA_DeleteOnClose attribute already set.

◆ ~StandAloneWindow()

~StandAloneWindow ( )
override

Member Function Documentation

◆ assignInput()

bool assignInput ( const QString &  globalName,
const T &  val 
)
inline

◆ getGlobalNamedInput()

InputScalar * getGlobalNamedInput ( const QString &  globalName)
Parameters
globalNameThe global name of the input to find.
Returns
A pointer to the scalar input with the specified globalName or a null pointer if no such input could be found.
See also
getWorkspace()

◆ getWorkspace()

Workspace & getWorkspace ( )
Returns
The workspace used internally by the standalone window. This is provided so that clients can manipulate the workspace, typically after load() has been called. A common use would be to modify workspace inputs based on command-line arguments.
See also
getGlobalNamedInput()

◆ load()

bool load ( const QString &  workspace,
const QString &  gui 
)
Parameters
workspaceThe name of the workspace file to load. It can be anything that QFile understands and will often be a resource path such as :/workspace.xml.
guiThe name of the .ui display file to load. It can be anything that QFile understands and will often be a resource path such as :/gui.ui.

◆ updateAborted

void updateAborted ( )
signal

◆ updateFinished

void updateFinished ( )
signal

◆ updateStarted

void updateStarted ( )
signal