SimCenterCommon
Common functionality used within different SimCenter projects
SteelInputWidget Class Reference

#include <SteelInputWidget.h>

Inheritance diagram for SteelInputWidget:
Collaboration diagram for SteelInputWidget:

Public Slots

void somethingChanged (int row, int column)
 
void somethingEntered (int row, int column, int row2, int col2)
 

Public Member Functions

 SteelInputWidget (QWidget *parent=0)
 
 ~SteelInputWidget ()
 
bool outputToJSON (QJsonObject &rvObject)
 outputToJSON method to write all objects data neeed to reconstruct object to JsonObject More...
 
bool outputToJSON (QJsonArray &arrayObject)
 
bool inputFromJSON (QJsonObject &rvObject)
 inputFromJSON method to instantiate itself from a JSON object More...
 
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 47 of file SteelInputWidget.h.

Constructor & Destructor Documentation

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

Definition at line 48 of file SteelInputWidget.cpp.

SteelInputWidget::~SteelInputWidget ( )

Definition at line 79 of file SteelInputWidget.cpp.

Member Function Documentation

void SteelInputWidget::clear ( void  )

Definition at line 154 of file SteelInputWidget.cpp.

bool SteelInputWidget::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 97 of file SteelInputWidget.cpp.

bool SteelInputWidget::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 86 of file SteelInputWidget.cpp.

bool SteelInputWidget::outputToJSON ( QJsonArray &  arrayObject)

Definition at line 92 of file SteelInputWidget.cpp.

void SteelInputWidget::somethingChanged ( int  row,
int  column 
)
slot

Definition at line 170 of file SteelInputWidget.cpp.

void SteelInputWidget::somethingEntered ( int  row,
int  column,
int  row2,
int  col2 
)
slot

Definition at line 161 of file SteelInputWidget.cpp.


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