SimCenterCommon
Common functionality used within different SimCenter projects
|
#include <ConcreteInputWidget.h>
Public Slots | |
void | somethingChanged (int row, int column) |
void | somethingEntered (int row, int column, int row2, int col2) |
Public Member Functions | |
ConcreteInputWidget (QWidget *parent=0) | |
~ConcreteInputWidget () | |
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 SpreadsheetWidget * | getSpreadsheetWidget () |
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 | |
SpreadsheetWidget * | theSpreadsheet |
Definition at line 47 of file ConcreteInputWidget.h.
|
explicit |
Definition at line 48 of file ConcreteInputWidget.cpp.
ConcreteInputWidget::~ConcreteInputWidget | ( | ) |
Definition at line 83 of file ConcreteInputWidget.cpp.
void ConcreteInputWidget::clear | ( | void | ) |
Definition at line 151 of file ConcreteInputWidget.cpp.
|
virtual |
inputFromJSON method to instantiate itself from a JSON object
jsonObject | the JSON object contaiing data to instantiate the object |
Reimplemented from SimCenterWidget.
Definition at line 101 of file ConcreteInputWidget.cpp.
|
virtual |
outputToJSON method to write all objects data neeed to reconstruct object to JsonObject
rvObject | the JSON object to be written to |
Reimplemented from SimCenterWidget.
Definition at line 89 of file ConcreteInputWidget.cpp.
bool ConcreteInputWidget::outputToJSON | ( | QJsonArray & | arrayObject | ) |
Definition at line 94 of file ConcreteInputWidget.cpp.
Definition at line 169 of file ConcreteInputWidget.cpp.
Definition at line 158 of file ConcreteInputWidget.cpp.