CFormRig Class Reference

#include <formrig.h>

Inheritance diagram for CFormRig:

CFormDocument

List of all members.

Public Member Functions

 CFormRig (CPrefs *myPrefs, QWidget *parent)

Protected Slots

virtual void languageChange ()
virtual void slotDef ()

Protected Member Functions

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

Protected Attributes

QAction * actionViewDef


Detailed Description

Dialog holding a rig.

Definition at line 28 of file formrig.h.


Constructor & Destructor Documentation

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

Constructs a window to display a rig.

Parameters:
myPrefs the user preferences
parent the parent widget

Definition at line 32 of file formrig.cpp.

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


Member Function Documentation

void CFormRig::setDef ( const CRigDef newdef  )  [protected]

Replaces the current sail definition.

Parameters:
newdef 

Definition at line 70 of file formrig.cpp.

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

Referenced by CFormRig(), and slotDef().

void CFormRig::setupMenuBar (  )  [protected]

Creates the menu bar

Definition at line 80 of file formrig.cpp.

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

Referenced by CFormRig().

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

Sets the strings of the subwidgets using the current language.

Definition at line 57 of file formrig.cpp.

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

Referenced by CFormRig().

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

Displays the CFormRigDef rig definition dialog.

Definition at line 92 of file formrig.cpp.

References setDef().

Referenced by setupMenuBar().


Member Data Documentation

QAction* CFormRig::actionViewDef [protected]

view hull definition

Definition at line 49 of file formrig.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