SimCenterCommon
Common functionality used within different SimCenter projects
FramesectionInputWidget Class Reference

#include <FramesectionInputWidget.h>

Inheritance diagram for FramesectionInputWidget:
Collaboration diagram for FramesectionInputWidget:

Public Member Functions

 FramesectionInputWidget (SimCenterWidget *parent=0)
 
 FramesectionInputWidget (QString framesectionType, SimCenterWidget *parent=0)
 
 FramesectionInputWidget (QStringList headings, QList< int > dataTypes, QString framesectionType, SimCenterWidget *parent=0)
 
 ~FramesectionInputWidget ()
 
bool outputToJSON (QJsonObject &rvObject)
 outputToJSON method to write all objects data neeed to reconstruct object to JsonObject More...
 
bool outputToJSON (QJsonArray &rvObject)
 
bool inputFromJSON (QJsonObject &rvObject)
 inputFromJSON method to instantiate itself from a JSON object More...
 
bool inputFromJSON (QJsonArray &rvObject)
 
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 49 of file FramesectionInputWidget.h.

Constructor & Destructor Documentation

FramesectionInputWidget::FramesectionInputWidget ( SimCenterWidget parent = 0)
explicit
FramesectionInputWidget::FramesectionInputWidget ( QString  framesectionType,
SimCenterWidget parent = 0 
)
explicit

Definition at line 48 of file FramesectionInputWidget.cpp.

FramesectionInputWidget::FramesectionInputWidget ( QStringList  headings,
QList< int dataTypes,
QString  framesectionType,
SimCenterWidget parent = 0 
)
explicit

Definition at line 77 of file FramesectionInputWidget.cpp.

FramesectionInputWidget::~FramesectionInputWidget ( )

Definition at line 87 of file FramesectionInputWidget.cpp.

Member Function Documentation

void FramesectionInputWidget::clear ( void  )

Definition at line 205 of file FramesectionInputWidget.cpp.

bool FramesectionInputWidget::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 162 of file FramesectionInputWidget.cpp.

bool FramesectionInputWidget::inputFromJSON ( QJsonArray &  rvObject)

Definition at line 165 of file FramesectionInputWidget.cpp.

bool FramesectionInputWidget::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 102 of file FramesectionInputWidget.cpp.

bool FramesectionInputWidget::outputToJSON ( QJsonArray &  rvObject)

Definition at line 106 of file FramesectionInputWidget.cpp.


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