SketcherModule Class Reference
[Aircraft Sketcher]

Aircraft Sketcher Module. More...

#include <sketcherModule.h>

List of all members.

Public Member Functions

void loadUiDataXML (QDomDocument *)
 Load data into the user interface from an xml file.
void saveUiDataXML (QDomDocument *)
 Save data from the user interface into an xml file.
void setPlotWidget (QwtPlot *plot)
 Set the plot widget.
 SketcherModule (QWidget *parent=0)
 Custom constructor.


Detailed Description

Aircraft Sketcher Module.

This class implements the code generatad from the ui_forms by the Qt user interface compiler. This class implements the GUI's for all tools in the aircraft sketchers.


Constructor & Destructor Documentation

SketcherModule::SketcherModule ( QWidget *  parent = 0  ) 

Custom constructor.

Todo:
Add semi-span calculation
Todo:
Change payout of panel inputs to match Tuzcu's method so we don't have to duplicate data in the table.

Instatiate the class with a pointer to a parent widget

Parameters:
parent pointer to parent widget

Todo:
neaten this and set labels in .trantoo

Todo:
Set _noOfPanelPoints with an xml configuration file.

Todo:
Set _unitSystem with an xml configuration file.


Member Function Documentation

void SketcherModule::loadUiDataXML ( QDomDocument *  doc  ) 

Load data into the user interface from an xml file.

Parameters:
doc pointer to the QDomDocument used to load the data

Todo:
Test for document type.

void SketcherModule::saveUiDataXML ( QDomDocument *  doc  ) 

Save data from the user interface into an xml file.

Parameters:
doc pointer to the QDomDocument used to save the data

void SketcherModule::setPlotWidget ( QwtPlot *  plot  )  [inline]

Set the plot widget.

This method is passed a pointer to a QwtPlot widget to use for plotting its results.

Parameters:
plot pointer to the plotting widget


Generated on Mon Feb 23 16:42:01 2009 for Dragon Wings by  doxygen 1.5.5