SimCenterCommon
Common functionality used within different SimCenter projects
ClineInputWidget Class Reference

#include <ClineInputWidget.h>

Inheritance diagram for ClineInputWidget:
Collaboration diagram for ClineInputWidget:

Public Member Functions

 ClineInputWidget (QWidget *parent=0)
 
 ~ClineInputWidget ()
 
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...
 
bool outputToJSON (QJsonArray &arrayObject)
 
bool inputFromJSON (QJsonArray &arrayObject)
 
void clear (void)
 
- Public Member Functions inherited from SimCenterTableWidget
 SimCenterTableWidget (QWidget *parent=0)
 
virtual ~SimCenterTableWidget ()
 
const SpreadsheetWidgetgetSpreadsheetWidget ()
 
- Public Member Functions inherited from SimCenterWidget
 SimCenterWidget (QWidget *parent=0)
 
virtual ~SimCenterWidget ()
 

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...
 
- Protected Attributes inherited from SimCenterTableWidget
SpreadsheetWidgettheSpreadsheet
 

Detailed Description

Definition at line 48 of file ClineInputWidget.h.

Constructor & Destructor Documentation

ClineInputWidget::ClineInputWidget ( QWidget *  parent = 0)
explicit

Definition at line 45 of file ClineInputWidget.cpp.

ClineInputWidget::~ClineInputWidget ( )

Definition at line 64 of file ClineInputWidget.cpp.

Member Function Documentation

void ClineInputWidget::clear ( void  )

Definition at line 139 of file ClineInputWidget.cpp.

bool ClineInputWidget::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 105 of file ClineInputWidget.cpp.

bool ClineInputWidget::inputFromJSON ( QJsonArray &  arrayObject)
bool ClineInputWidget::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 70 of file ClineInputWidget.cpp.

bool ClineInputWidget::outputToJSON ( QJsonArray &  arrayObject)

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