CFormHull Class Reference

#include <formhull.h>

Inheritance diagram for CFormHull:

CFormDocument

List of all members.

Public Member Functions

 CFormHull (CPrefs *myPrefs, QWidget *parent)

Protected Slots

virtual void languageChange ()
virtual void slotDef ()

Protected Member Functions

T_KEYPRESS void setDef (const CHullDef &newdef)
void setupMenuBar ()

Protected Attributes

QAction * actionViewDef


Detailed Description

Dialog holding a hull.

Definition at line 28 of file formhull.h.


Constructor & Destructor Documentation

CFormHull::CFormHull ( CPrefs myPrefs,
QWidget *  parent 
)

Constructs a window to display a hull.

Parameters:
myPrefs the user preferences
parent the parent widget

Definition at line 30 of file formhull.cpp.

References languageChange(), setDef(), setupMenuBar(), and CFormDocument::tabs.


Member Function Documentation

void CFormHull::setDef ( const CHullDef newdef  )  [protected]

Replaces the current sail definition.

Parameters:
newdef 

Definition at line 68 of file formhull.cpp.

References CSailViewerTabs::setObject(), and CFormDocument::tabs.

Referenced by CFormHull(), and slotDef().

void CFormHull::setupMenuBar (  )  [protected]

Creates the menu bar

Definition at line 78 of file formhull.cpp.

References actionViewDef, CFormDocument::extraViewActions, and slotDef().

Referenced by CFormHull().

void CFormHull::languageChange (  )  [protected, virtual, slot]

Sets the strings of the subwidgets using the current language.

Definition at line 55 of file formhull.cpp.

References actionViewDef, CSailViewerTabs::languageChange(), and CFormDocument::tabs.

Referenced by CFormHull().

void CFormHull::slotDef (  )  [protected, virtual, slot]

Displays the sail CFormHullDef sail definition dialog.

Definition at line 90 of file formhull.cpp.

References setDef().

Referenced by setupMenuBar().


Member Data Documentation

QAction* CFormHull::actionViewDef [protected]

view hull definition

Definition at line 46 of file formhull.h.

Referenced by languageChange(), and setupMenuBar().


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