SimCenterCommon
Common functionality used within different SimCenter projects
ExistingEvent Class Reference

#include <ExistingSimCenterEvents.h>

Inheritance diagram for ExistingEvent:
Collaboration diagram for ExistingEvent:

Public Slots

void chooseFileName (void)
 

Public Member Functions

 ExistingEvent (RandomVariablesContainer *theRV, QWidget *parent=0)
 
 ~ExistingEvent ()
 
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 ()
 

Public Attributes

QRadioButton * button
 
QLineEdit * theName
 
QLineEdit * file
 
LineEditRVfactor
 

Additional Inherited Members

- 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...
 

Detailed Description

Definition at line 55 of file ExistingSimCenterEvents.h.

Constructor & Destructor Documentation

ExistingEvent::ExistingEvent ( RandomVariablesContainer theRV,
QWidget *  parent = 0 
)
explicit

Definition at line 59 of file ExistingSimCenterEvents.cpp.

ExistingEvent::~ExistingEvent ( )

Definition at line 95 of file ExistingSimCenterEvents.cpp.

Member Function Documentation

void ExistingEvent::chooseFileName ( void  )
slot

Definition at line 102 of file ExistingSimCenterEvents.cpp.

bool ExistingEvent::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 124 of file ExistingSimCenterEvents.cpp.

bool ExistingEvent::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 113 of file ExistingSimCenterEvents.cpp.

Member Data Documentation

QRadioButton* ExistingEvent::button

Definition at line 65 of file ExistingSimCenterEvents.h.

LineEditRV* ExistingEvent::factor

Definition at line 68 of file ExistingSimCenterEvents.h.

QLineEdit* ExistingEvent::file

Definition at line 67 of file ExistingSimCenterEvents.h.

QLineEdit* ExistingEvent::theName

Definition at line 66 of file ExistingSimCenterEvents.h.


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