SimCenterCommon
Common functionality used within different SimCenter projects
LineEditRV Class Reference

#include <LineEditRV.h>

Inheritance diagram for LineEditRV:
Collaboration diagram for LineEditRV:

Public Slots

void on_editingFinished ()
 

Public Member Functions

 LineEditRV (RandomVariablesContainer *theRVC, QWidget *parent=0)
 
 ~LineEditRV ()
 
bool outputToJSON (QJsonObject &rvObject, QString key)
 outputToJSON method to write all objects data neeed to reconstruct object to JsonObject More...
 
bool inputFromJSON (QJsonObject &rvObject, QString key)
 inputFromJSON method to instantiate itself from a JSON object More...
 

Detailed Description

Definition at line 57 of file LineEditRV.h.

Constructor & Destructor Documentation

LineEditRV::LineEditRV ( RandomVariablesContainer theRVC,
QWidget *  parent = 0 
)
explicit

Definition at line 44 of file LineEditRV.cpp.

LineEditRV::~LineEditRV ( )

Definition at line 51 of file LineEditRV.cpp.

Member Function Documentation

bool LineEditRV::inputFromJSON ( QJsonObject &  rvObject,
QString  key 
)

inputFromJSON method to instantiate itself from a JSON object

Parameters
rvObjectthe JSON object contaiing data to instantiate the object
keythe key for the object value
Returns
bool - true for success, otherwise false

Definition at line 78 of file LineEditRV.cpp.

void LineEditRV::on_editingFinished ( )
slot

Definition at line 101 of file LineEditRV.cpp.

bool LineEditRV::outputToJSON ( QJsonObject &  rvObject,
QString  key 
)

outputToJSON method to write all objects data neeed to reconstruct object to JsonObject

Parameters
rvObjectthe JSON object to be written to
keyfor objects value
Returns
bool - true for success, otherwise false

Definition at line 63 of file LineEditRV.cpp.


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