SimCenterCommon
Common functionality used within different SimCenter projects
InputWidgetSheetSIM Class Reference

#include <InputWidgetSheetSIM.h>

Inheritance diagram for InputWidgetSheetSIM:
Collaboration diagram for InputWidgetSheetSIM:

Public Slots

void selectionChangedSlot (const QItemSelection &, const QItemSelection &)
 

Signals

void connectMenuItems (SimCenterWidget *)
 
void disconnectMenuItems (SimCenterWidget *)
 
- 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

 InputWidgetSheetSIM (RandomVariablesContainer *=0, QWidget *parent=0)
 
 ~InputWidgetSheetSIM ()
 
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...
 
void clear (void)
 
const SpreadsheetWidgetgetActiveSpreadsheet ()
 
- Public Member Functions inherited from SimCenterAppWidget
 SimCenterAppWidget (QWidget *parent=0)
 
virtual ~SimCenterAppWidget ()
 
virtual bool outputAppDataToJSON (QJsonObject &jsonObject)
 outputAppDataToJSON method to write the application data to json object. More...
 
virtual bool inputAppDataFromJSON (QJsonObject &jsonObject)
 inputFromJSON method to read applications specific data from a JSON object More...
 
virtual bool copyFiles (QString &destDir)
 copyFiles method invoked to copy all files aapplication will need to run directory More...
 
virtual bool supportsLocalRun ()
 returns a boolean indicating whether or not this app can run locally More...
 
- Public Member Functions inherited from SimCenterWidget
 SimCenterWidget (QWidget *parent=0)
 
virtual ~SimCenterWidget ()
 

Additional Inherited Members

- Static Public Member Functions inherited from SimCenterAppWidget
static bool copyPath (QString sourceDir, QString destinationDir, bool overWriteDirectory)
 
static bool copyFile (QString filename, QString destinationDir)
 

Detailed Description

Definition at line 73 of file InputWidgetSheetSIM.h.

Constructor & Destructor Documentation

InputWidgetSheetSIM::InputWidgetSheetSIM ( RandomVariablesContainer theRandomVariableIW = 0,
QWidget *  parent = 0 
)
explicit

Definition at line 84 of file InputWidgetSheetSIM.cpp.

InputWidgetSheetSIM::~InputWidgetSheetSIM ( )

Definition at line 216 of file InputWidgetSheetSIM.cpp.

Member Function Documentation

void InputWidgetSheetSIM::clear ( void  )

Definition at line 527 of file InputWidgetSheetSIM.cpp.

void InputWidgetSheetSIM::connectMenuItems ( SimCenterWidget )
signal
void InputWidgetSheetSIM::disconnectMenuItems ( SimCenterWidget )
signal
const SpreadsheetWidget * InputWidgetSheetSIM::getActiveSpreadsheet ( )

Definition at line 239 of file InputWidgetSheetSIM.cpp.

bool InputWidgetSheetSIM::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 570 of file InputWidgetSheetSIM.cpp.

bool InputWidgetSheetSIM::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 330 of file InputWidgetSheetSIM.cpp.

void InputWidgetSheetSIM::selectionChangedSlot ( const QItemSelection &  ,
const QItemSelection &   
)
slot

Definition at line 244 of file InputWidgetSheetSIM.cpp.


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