CFormSail Class Reference

#include <formsail.h>

Inheritance diagram for CFormSail:

CFormDocument

List of all members.

Public Member Functions

 CFormSail (CPrefs *myPrefs, QWidget *parent)

Protected Slots

virtual void languageChange ()
virtual void slotDef ()
virtual void slotExportDXF ()
virtual void slotExportDXFSplit ()
virtual void slotExportSVG ()
virtual void slotExportTXT ()
virtual void slotExportXML ()
virtual void slotExportFlatCarlson ()
virtual void slotExportFlatDXF ()
virtual void slotExportFlatDXFSplit ()
virtual void slotExportFlatDXFBlocks ()
virtual void slotExportFlatHand ()
virtual void slotExportFlatSVG ()
virtual void slotExportFlatTXT ()
virtual void slotExportFlatXML ()
virtual void slotMould ()
virtual void slotPrintData ()
virtual void slotPrintDwg ()
virtual void slotPrintDev ()

Protected Member Functions

T_KEYPRESS void setDef (const CSailDef &newdef)
void setupMenuBar ()
void setupMainWidget ()

Protected Attributes

CPanelGroup sail
CPanelGroup flatsail
CPanelGroup dispsail
QMenu * menuPrint
QMenu * menuExport3d
QMenu * menuExportFlat
QAction * actionExport3dDXF
QAction * actionExport3dDXFSplit
QAction * actionExport3dSVG
QAction * actionExport3dTXT
QAction * actionExport3dXML
QAction * actionExportFlatCarlson
QAction * actionExportFlatHand
QAction * actionExportFlatDXF
QAction * actionExportFlatDXFSplit
QAction * actionExportFlatDXFBlocks
QAction * actionExportFlatSVG
QAction * actionExportFlatTXT
QAction * actionExportFlatXML
QAction * actionPrintData
QAction * actionPrintDev
QAction * actionPrintDwg
QAction * actionViewDef
QAction * actionViewMould
QAction * actionViewPatch


Detailed Description

Dialog holding a sail.

See also:
CFormSailDef for data input and checking, CSailWorker, CSailDef

Definition at line 31 of file formsail.h.


Constructor & Destructor Documentation

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

Constructs a window to display a sail.

Parameters:
myPrefs the user preferences
parent the parent widget

Definition at line 49 of file formsail.cpp.

References languageChange(), setDef(), setupMainWidget(), and setupMenuBar().


Member Function Documentation

void CFormSail::setDef ( const CSailDef newdef  )  [protected]

Replaces the current sail definition.

Parameters:
newdef 

Definition at line 121 of file formsail.cpp.

References dispsail, flatsail, CSailViewerTabs::panel, sail, CSailViewerTabs::setObject(), and CFormDocument::tabs.

Referenced by CFormSail(), slotDef(), and slotMould().

void CFormSail::setupMenuBar (  )  [protected]

void CFormSail::setupMainWidget (  )  [protected]

Creates the main widget

Definition at line 188 of file formsail.cpp.

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

Referenced by CFormSail().

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

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

Displays the sail CFormSailDef sail definition dialog.

Definition at line 202 of file formsail.cpp.

References setDef().

Referenced by setupMenuBar().

void CFormSail::slotExportDXF (  )  [protected, virtual, slot]

Export the 3D sail to a DXF file.

Definition at line 219 of file formsail.cpp.

References sail.

Referenced by setupMenuBar().

void CFormSail::slotExportDXFSplit (  )  [protected, virtual, slot]

Export the 3D sail to several DXF files (one per panel).

Definition at line 228 of file formsail.cpp.

References sail.

Referenced by setupMenuBar().

void CFormSail::slotExportSVG (  )  [protected, virtual, slot]

Exports the 3D sail to an SVG file.

Definition at line 237 of file formsail.cpp.

References sail.

Referenced by setupMenuBar().

void CFormSail::slotExportTXT (  )  [protected, virtual, slot]

Exports the 3D sail to a TXT file.

Definition at line 248 of file formsail.cpp.

References sail.

Referenced by setupMenuBar().

void CFormSail::slotExportXML (  )  [protected, virtual, slot]

Exports the 3D sail to an XML file.

Definition at line 257 of file formsail.cpp.

References sail.

Referenced by setupMenuBar().

void CFormSail::slotExportFlatCarlson (  )  [protected, virtual, slot]

Exports the flat sail to a Carlson plotter file

Definition at line 266 of file formsail.cpp.

References flatsail.

Referenced by setupMenuBar().

void CFormSail::slotExportFlatDXF (  )  [protected, virtual, slot]

Exports the flat sail with panels staggered as displayed to a DXF file

Definition at line 275 of file formsail.cpp.

References dispsail.

Referenced by setupMenuBar().

void CFormSail::slotExportFlatDXFSplit (  )  [protected, virtual, slot]

Export the flat sail to several DXF files (one per panel).

Definition at line 284 of file formsail.cpp.

References flatsail.

Referenced by setupMenuBar().

void CFormSail::slotExportFlatDXFBlocks (  )  [protected, virtual, slot]

Exports the flat sail with panels superimposed to a DXF file with blocks

Definition at line 293 of file formsail.cpp.

References flatsail.

void CFormSail::slotExportFlatHand (  )  [protected, virtual, slot]

Exports the flat sail to a "hand" sail file.

Definition at line 303 of file formsail.cpp.

References flatsail.

Referenced by setupMenuBar().

void CFormSail::slotExportFlatSVG (  )  [protected, virtual, slot]

Exports the flat sail to an SVG file.

Definition at line 312 of file formsail.cpp.

References dispsail.

Referenced by setupMenuBar().

void CFormSail::slotExportFlatTXT (  )  [protected, virtual, slot]

Exports the flat sail to a TXT sail file.

Definition at line 323 of file formsail.cpp.

References flatsail.

Referenced by setupMenuBar().

void CFormSail::slotExportFlatXML (  )  [protected, virtual, slot]

Exports the flat sail to an XML sail file

Definition at line 332 of file formsail.cpp.

References flatsail.

Referenced by setupMenuBar().

void CFormSail::slotMould (  )  [protected, virtual, slot]

Displays the CFormMould sail mould definition dialog.

Definition at line 341 of file formsail.cpp.

References CSailDef::mould, and setDef().

Referenced by setupMenuBar().

void CFormSail::slotPrintData (  )  [protected, virtual, slot]

Print the current sail data.

Definition at line 358 of file formsail.cpp.

Referenced by setupMenuBar().

void CFormSail::slotPrintDwg (  )  [protected, virtual, slot]

Print the current sail drawing.

Definition at line 379 of file formsail.cpp.

References sail.

Referenced by setupMenuBar().

void CFormSail::slotPrintDev (  )  [protected, virtual, slot]

Print the current developed sail drawings one panel per page with coordinates of key points for handplotting.

Definition at line 369 of file formsail.cpp.

References flatsail.

Referenced by setupMenuBar().


Member Data Documentation

The display version of the flat sail

Definition at line 77 of file formsail.h.

Referenced by setDef(), slotExportFlatDXF(), and slotExportFlatSVG().

QMenu* CFormSail::menuPrint [protected]

The Print submenu

Definition at line 81 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QMenu* CFormSail::menuExport3d [protected]

Export 3d submenu

Definition at line 83 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QMenu* CFormSail::menuExportFlat [protected]

Export flat panels submenu

Definition at line 85 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionExport3dDXF [protected]

Export 3D sail to DXF

Definition at line 88 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionExport3dDXFSplit [protected]

Export 3D sail to DXF (one file per file)

Definition at line 90 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionExport3dSVG [protected]

Export 3D sail to SVG (2D reduction)

Definition at line 92 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionExport3dTXT [protected]

Export 3D sail to text

Definition at line 94 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionExport3dXML [protected]

Export 3D sail to XML

Definition at line 96 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionExportFlatCarlson [protected]

Export flat sail to Carlson plotter format

Definition at line 98 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionExportFlatHand [protected]

Export flat sail to hand format

Definition at line 100 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionExportFlatDXF [protected]

Export flat sail to DXF

Definition at line 102 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

Export flat sail to DXF (one file per file)

Definition at line 104 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

Export flat sail to DXF blocks

Definition at line 106 of file formsail.h.

QAction* CFormSail::actionExportFlatSVG [protected]

Export flat sail to SVG

Definition at line 108 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionExportFlatTXT [protected]

Export flat sail to TXT

Definition at line 110 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionExportFlatXML [protected]

Export flat sail to XML

Definition at line 112 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionPrintData [protected]

Print sail data

Definition at line 114 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionPrintDev [protected]

Print sail development

Definition at line 116 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionPrintDwg [protected]

Print sail drawing

Definition at line 118 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionViewDef [protected]

View sail definition

Definition at line 120 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionViewMould [protected]

View sail mould

Definition at line 122 of file formsail.h.

Referenced by languageChange(), and setupMenuBar().

QAction* CFormSail::actionViewPatch [protected]

View sail definition

Definition at line 124 of file formsail.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