CFormHullDef Class Reference

#include <formhulldef.h>

List of all members.

Public Member Functions

 CFormHullDef (QWidget *, CHullDef *)
bool check ()
virtual void accept ()

Protected Slots

void slotAutoPlank ()
void slotCheck ()

Protected Attributes

CHullDefhulldef


Detailed Description

The hull definition dialog, where the user enters the parameters of the hull.

Definition at line 30 of file formhulldef.h.


Constructor & Destructor Documentation

CFormHullDef::CFormHullDef ( QWidget *  parent,
CHullDef hullptr 
)


Member Function Documentation

bool CFormHullDef::check (  ) 

Check all dimensions entered in order to make sure that the hull is possible and reasonable

return true IF everything is OK

create four palettes

check hull ID

check bottom data

check deck data

planking parameters

check automatic planking

return true IF everything is OK

Definition at line 118 of file formhulldef.cpp.

References CHullDef::AutoPlank, CHullDef::BaftHeight, CHullDef::BaftShape, CHullDef::BaftW, CHullDef::BBW, CHullDef::BBWPos, CHullDef::BDeadriseA, CHullDef::BfwdHeight, CHullDef::BfwdShape, CHullDef::BLWL, CHullDef::BSlopeA, CHullDef::BSweepA, CHullDef::DaftHeight, CHullDef::DfwdHeight, hulldef, CHullDef::hullID, CHullDef::LowPlankA, CHullDef::NBPlank, CHullDef::StemA, CHullDef::TopPlankA, and CHullDef::TransomA.

Referenced by accept(), slotAutoPlank(), and slotCheck().

void CFormHullDef::accept (  )  [virtual]

Saves the parameters entered by the user in the CHullDef. slot connected to OK button

Definition at line 90 of file formhulldef.cpp.

References check().

Referenced by CFormHullDef().

void CFormHullDef::slotAutoPlank (  )  [protected, slot]

slot for dealing with automatic planking

Definition at line 99 of file formhulldef.cpp.

References CHullDef::AutoPlank, check(), and hulldef.

void CFormHullDef::slotCheck (  )  [protected, slot]

slot for dealing with check button

Definition at line 109 of file formhulldef.cpp.

References check().

Referenced by CFormHullDef().


Member Data Documentation

a pointer to the hull definion

Definition at line 46 of file formhulldef.h.

Referenced by CFormHullDef(), check(), and slotAutoPlank().


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

Generated on Sun Mar 22 21:38:32 2009 for Sailcut CAD by  doxygen 1.5.6