#include <formsail.h>

Definition at line 31 of file formsail.h.
| CFormSail::CFormSail | ( | CPrefs * | myPrefs, | |
| QWidget * | parent | |||
| ) |
Constructs a window to display a sail.
| myPrefs | the user preferences | |
| parent | the parent widget |
Definition at line 49 of file formsail.cpp.
References languageChange(), setDef(), setupMainWidget(), and setupMenuBar().
| void CFormSail::setDef | ( | const CSailDef & | newdef | ) | [protected] |
Replaces the current sail definition.
| 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] |
Creates the menu bar
Definition at line 133 of file formsail.cpp.
References actionExport3dDXF, actionExport3dDXFSplit, actionExport3dSVG, actionExport3dTXT, actionExport3dXML, actionExportFlatCarlson, actionExportFlatDXF, actionExportFlatDXFSplit, actionExportFlatHand, actionExportFlatSVG, actionExportFlatTXT, actionExportFlatXML, actionPrintData, actionPrintDev, actionPrintDwg, actionViewDef, actionViewMould, actionViewPatch, CFormDocument::extraFileMenus, CFormDocument::extraViewActions, menuExport3d, menuExportFlat, menuPrint, slotDef(), slotExportDXF(), slotExportDXFSplit(), slotExportFlatCarlson(), slotExportFlatDXF(), slotExportFlatDXFSplit(), slotExportFlatHand(), slotExportFlatSVG(), slotExportFlatTXT(), slotExportFlatXML(), slotExportSVG(), slotExportTXT(), slotExportXML(), slotMould(), slotPrintData(), slotPrintDev(), and slotPrintDwg().
Referenced by CFormSail().
| 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] |
Sets the strings of the subwidgets using the current language.
Definition at line 72 of file formsail.cpp.
References actionExport3dDXF, actionExport3dDXFSplit, actionExport3dSVG, actionExport3dTXT, actionExport3dXML, actionExportFlatCarlson, actionExportFlatDXF, actionExportFlatDXFSplit, actionExportFlatHand, actionExportFlatSVG, actionExportFlatTXT, actionExportFlatXML, actionPrintData, actionPrintDev, actionPrintDwg, actionViewDef, actionViewMould, actionViewPatch, CSailViewerTabs::languageChange(), menuExport3d, menuExportFlat, menuPrint, CSailViewerTabs::panel, and CFormDocument::tabs.
Referenced by CFormSail().
| 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().
CPanelGroup CFormSail::sail [protected] |
The sail
Definition at line 73 of file formsail.h.
Referenced by setDef(), slotExportDXF(), slotExportDXFSplit(), slotExportSVG(), slotExportTXT(), slotExportXML(), and slotPrintDwg().
CPanelGroup CFormSail::flatsail [protected] |
The developed sail
Definition at line 75 of file formsail.h.
Referenced by setDef(), slotExportFlatCarlson(), slotExportFlatDXFBlocks(), slotExportFlatDXFSplit(), slotExportFlatHand(), slotExportFlatTXT(), slotExportFlatXML(), and slotPrintDev().
CPanelGroup CFormSail::dispsail [protected] |
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().
QAction* CFormSail::actionExportFlatDXFSplit [protected] |
Export flat sail to DXF (one file per file)
Definition at line 104 of file formsail.h.
Referenced by languageChange(), and setupMenuBar().
QAction* CFormSail::actionExportFlatDXFBlocks [protected] |
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().
1.5.6