#include <GeneralInformationWidget.h>
 | 
| enum   | LengthUnit {  
  m, 
cm, 
mm, 
in, 
 
  ft
 
 } | 
|   | 
| enum   | ForceUnit { N, 
kN, 
lb, 
kips
 } | 
|   | 
| enum   | TimeUnit { sec, 
min, 
hr
 } | 
|   | 
| enum   | TemperatureUnit { C, 
F, 
K
 } | 
|   | 
Definition at line 51 of file GeneralInformationWidget.h.
 
  
  
      
        
          | void GeneralInformationWidget::buildingDimensionsChanged  | 
          ( | 
          double  | 
          newWidth,  | 
         
        
           | 
           | 
          double  | 
          newDepth,  | 
         
        
           | 
           | 
          double  | 
          planArea  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
signal   | 
  
 
 
  
  
      
        
          | void GeneralInformationWidget::buildingDimensionsEditingFinished  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
  
  
      
        
          | void GeneralInformationWidget::buildingLocationChanged  | 
          ( | 
          double  | 
          latitude,  | 
         
        
           | 
           | 
          double  | 
          longitude  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
signal   | 
  
 
 
      
        
          | void GeneralInformationWidget::clear  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
      
        
          | void GeneralInformationWidget::getBuildingDimensions  | 
          ( | 
          double &  | 
          newWidth,  | 
        
        
           | 
           | 
          double &  | 
          newDepth,  | 
        
        
           | 
           | 
          double &  | 
          planArea  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void GeneralInformationWidget::getBuildingLocation  | 
          ( | 
          double &  | 
          latitude,  | 
        
        
           | 
           | 
          double &  | 
          longitude  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | QString GeneralInformationWidget::getForceUnit  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | double GeneralInformationWidget::getHeight  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
      
        
          | QString GeneralInformationWidget::getLengthUnit  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | int GeneralInformationWidget::getNumFloors  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | void GeneralInformationWidget::heightEditingFinished  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
  
  
      
        
          | bool GeneralInformationWidget::inputFromJSON  | 
          ( | 
          QJsonObject &  | 
          jsonObject | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
inputFromJSON method to instantiate itself from a JSON object 
- Parameters
 - 
  
    | jsonObject | the JSON object contaiing data to instantiate the object  | 
  
   
- Returns
 - bool - true for success, otherwise false 
 
Reimplemented from SimCenterWidget.
Definition at line 267 of file GeneralInformationWidget.cpp.
 
 
      
        
          | bool GeneralInformationWidget::inputFromJSON  | 
          ( | 
          QJsonArray &  | 
          arrayObject | ) | 
           | 
        
      
 
 
  
  
      
        
          | void GeneralInformationWidget::numStoriesEditingFinished  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
  
  
      
        
          | void GeneralInformationWidget::numStoriesOrHeightChanged  | 
          ( | 
          int  | 
          numFloors,  | 
         
        
           | 
           | 
          double  | 
          height  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
signal   | 
  
 
 
  
  
      
        
          | bool GeneralInformationWidget::outputToJSON  | 
          ( | 
          QJsonObject &  | 
          jsonObject | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
outputToJSON method to write all objects data neeed to reconstruct object to JsonObject 
- Parameters
 - 
  
    | rvObject | the JSON object to be written to  | 
  
   
- Returns
 - bool - true for success, otherwise false 
 
Reimplemented from SimCenterWidget.
Definition at line 212 of file GeneralInformationWidget.cpp.
 
 
      
        
          | bool GeneralInformationWidget::outputToJSON  | 
          ( | 
          QJsonArray &  | 
          arrayObject | ) | 
           | 
        
      
 
 
  
  
      
        
          | void GeneralInformationWidget::setBuildingDimensions  | 
          ( | 
          double  | 
          newWidth,  | 
         
        
           | 
           | 
          double  | 
          newDepth,  | 
         
        
           | 
           | 
          double  | 
          planArea  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
slot   | 
  
 
 
  
  
      
        
          | void GeneralInformationWidget::setBuildingLocation  | 
          ( | 
          double  | 
          latitude,  | 
         
        
           | 
           | 
          double  | 
          longitude  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
slot   | 
  
 
 
      
        
          | void GeneralInformationWidget::setDefaultProperties  | 
          ( | 
          int  | 
          numStory,  | 
        
        
           | 
           | 
          double  | 
          height,  | 
        
        
           | 
           | 
          double  | 
          width,  | 
        
        
           | 
           | 
          double  | 
          depth,  | 
        
        
           | 
           | 
          double  | 
          latit,  | 
        
        
           | 
           | 
          double  | 
          longit  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
  
  
      
        
          | void GeneralInformationWidget::setNumStoriesAndHeight  | 
          ( | 
          int  | 
          numFloors,  | 
         
        
           | 
           | 
          double  | 
          height  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
slot   | 
  
 
 
  
  
      
        
          | void GeneralInformationWidget::unitsChanged  | 
          ( | 
          QString  | 
          lengthUnit,  | 
         
        
           | 
           | 
          QString  | 
          ForceUnit  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
signal   | 
  
 
 
The documentation for this class was generated from the following files: