SimCenterCommon
Common functionality used within different SimCenter projects
RunLocalWidget Class Reference

#include <RunLocalWidget.h>

Inheritance diagram for RunLocalWidget:
Collaboration diagram for RunLocalWidget:

Public Slots

void onRunButtonPressed (void)
 

Signals

void runButtonPressed (QString, QString)
 
- Signals inherited from SimCenterWidget
void sendFatalMessage (QString message)
 sendFatalMessage signal to be emitted when object needs to shut program down More...
 
void sendErrorMessage (QString message)
 sendErrorMessage signal to be emitted when object needs to communicate error with user More...
 
void sendStatusMessage (QString message)
 sendStatusMessage signal to be emitted when object needs to communicate status with user More...
 

Public Member Functions

 RunLocalWidget (SimCenterWidget *, QWidget *parent=nullptr)
 
bool outputToJSON (QJsonObject &rvObject)
 outputToJSON method to write all objects data neeed to reconstruct object to JsonObject More...
 
bool inputFromJSON (QJsonObject &rvObject)
 inputFromJSON method to instantiate itself from a JSON object More...
 
- Public Member Functions inherited from SimCenterWidget
 SimCenterWidget (QWidget *parent=0)
 
virtual ~SimCenterWidget ()
 

Detailed Description

Definition at line 50 of file RunLocalWidget.h.

Constructor & Destructor Documentation

RunLocalWidget::RunLocalWidget ( SimCenterWidget theUQ,
QWidget *  parent = nullptr 
)
explicit

Definition at line 59 of file RunLocalWidget.cpp.

Member Function Documentation

bool RunLocalWidget::inputFromJSON ( QJsonObject &  jsonObject)
virtual

inputFromJSON method to instantiate itself from a JSON object

Parameters
jsonObjectthe JSON object contaiing data to instantiate the object
Returns
bool - true for success, otherwise false

Reimplemented from SimCenterWidget.

Definition at line 108 of file RunLocalWidget.cpp.

void RunLocalWidget::onRunButtonPressed ( void  )
slot

Definition at line 127 of file RunLocalWidget.cpp.

bool RunLocalWidget::outputToJSON ( QJsonObject &  jsonObject)
virtual

outputToJSON method to write all objects data neeed to reconstruct object to JsonObject

Parameters
rvObjectthe JSON object to be written to
Returns
bool - true for success, otherwise false

Reimplemented from SimCenterWidget.

Definition at line 98 of file RunLocalWidget.cpp.

void RunLocalWidget::runButtonPressed ( QString  ,
QString   
)
signal

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