#include <mainwindowsnogui.h>
Public Slots | |
void | toolLayoutSettings (QToolButton *tButton, bool checked) |
void | PrintPreviewOrigin () |
void | PrintPreviewTiled () |
void | PrintOrigin () |
void | PrintTiled () |
void | refreshLabels () |
refreshLabels call to recalculate piece labels. For example after changing a font. More... | |
void | refreshGrainLines () |
refreshGrainLines call to recalculate piece grainlines. For example after show / hide grainlines. More... | |
void | refreshSeamAllowances () |
refreshSeamAllowances call to show / hide seam allowances. More... | |
void | exportSVG (const QString &name, QGraphicsRectItem *paper, QGraphicsScene *scene) const |
exportSVG save layout to svg file. More... | |
void | exportPNG (const QString &name, QGraphicsScene *scene) const |
exportPNG save layout to png file. More... | |
void | exportTIF (const QString &name, QGraphicsScene *scene) const |
exportTIF save layout to tif file. More... | |
void | exportJPG (const QString &name, QGraphicsScene *scene) const |
exportJPG save layout to jpg file. More... | |
void | exportBMP (const QString &name, QGraphicsScene *scene) const |
exportBMP save layout to bmp file. More... | |
void | exportPPM (const QString &name, QGraphicsScene *scene) const |
exportPPM save layout to gif file. More... | |
void | exportPDF (const QString &name, QGraphicsRectItem *paper, QGraphicsScene *scene, bool ignoreMargins, const QMarginsF &margins) const |
exportPDF save layout to pdf file. More... | |
void | exportEPS (const QString &name, QGraphicsRectItem *paper, QGraphicsScene *scene, bool ignoreMargins, const QMarginsF &margins) const |
exportEPS( save layout to eps file. More... | |
void | exportPS (const QString &name, QGraphicsRectItem *paper, QGraphicsScene *scene, bool ignoreMargins, const QMarginsF &margins) const |
exportPS save layout to ps file. More... | |
Public Slots inherited from VAbstractMainWindow | |
virtual void | ShowToolTip (const QString &toolTip)=0 |
virtual void | updateGroups ()=0 |
virtual void | zoomToSelected ()=0 |
Public Member Functions | |
MainWindowsNoGUI (QWidget *parent=nullptr) | |
virtual | ~MainWindowsNoGUI () Q_DECL_OVERRIDE |
Public Member Functions inherited from VAbstractMainWindow | |
VAbstractMainWindow (QWidget *parent=nullptr) | |
virtual | ~VAbstractMainWindow () Q_DECL_EQ_DEFAULT |
Protected Member Functions | |
void | ExportData (const QVector< VLayoutPiece > &pieceList, const ExportLayoutDialog &dialog) |
void | InitTempLayoutScene () |
virtual void | CleanLayout ()=0 |
virtual void | PrepareSceneList ()=0 |
QIcon | ScenePreview (int i) const |
bool | LayoutSettings (VLayoutGenerator &lGenerator) |
int | ContinueIfLayoutStale () |
QString | FileName () const |
void | SetSizeHeightForIndividualM () const |
Protected Member Functions inherited from VAbstractMainWindow | |
bool | ContinueFormatRewrite (const QString ¤tFormatVersion, const QString &maxFormatVersion) |
void | ToolBarStyle (QToolBar *bar) |
virtual void | exportToCSVData (const QString &fileName, const DialogExportToCSV &dialog)=0 |
Static Protected Member Functions | |
static QVector< VLayoutPiece > | preparePiecesForLayout (const QHash< quint32, VPiece > &pieces) |
Protected Attributes | |
QVector< VLayoutPiece > | pieceList |
QGraphicsScene * | currentScene |
QGraphicsScene * | tempSceneLayout |
currentScene pointer to current scene. More... | |
VContainer * | pattern |
pattern container with data (points, arcs, splines, spline paths, variables) More... | |
VPattern * | doc |
pattern container with data (points, arcs, splines, spline paths, variables) More... | |
QList< QGraphicsItem * > | papers |
doc dom document container More... | |
QList< QGraphicsItem * > | shadows |
QList< QGraphicsScene * > | scenes |
QList< QList< QGraphicsItem * > > | pieces |
QVector< QVector< VLayoutPiece > > | piecesOnLayout |
QAction * | undoAction |
QAction * | redoAction |
QAction * | actionDockWidgetToolOptions |
QAction * | actionDockWidgetGroups |
QAction * | actionDockWidgetLayouts |
QAction * | actionDockWidgetToolbox |
bool | isNoScaling |
bool | isLayoutStale |
bool | ignoreMargins |
QMarginsF | margins |
QSizeF | paperSize |
Protected Attributes inherited from VAbstractMainWindow | |
int | m_curFileFormatVersion |
QString | m_curFileFormatVersionStr |
Private Types | |
enum class | PrintType : char { PrintPDF , PrintPreview , PrintNative } |
Private Slots | |
void | PrintPages (QPrinter *printer) |
void | ErrorConsoleMode (const LayoutErrors &state) |
Private Member Functions | |
void | PdfTiledFile (const QString &name) |
void | convertPdfToPs (const QStringList ¶ms) const |
convertPdfToPs use external tool "pdftops" for converting pdf to eps or ps format. More... | |
void | ObjFile (const QString &name, QGraphicsRectItem *paper, QGraphicsScene *scene) const |
void | FlatDxfFile (const QString &name, int version, bool binary, QGraphicsRectItem *paper, QGraphicsScene *scene, const QList< QList< QGraphicsItem * > > &pieces) const |
void | AAMADxfFile (const QString &name, int version, bool binary, const QSize &size, const QVector< VLayoutPiece > &pieces) const |
void | PreparePaper (int index) const |
void | RestorePaper (int index) const |
void | PrepareTextForDXF (const QString &placeholder, const QList< QList< QGraphicsItem * > > &pieces) const |
PrepareTextForDXF prepare QGraphicsSimpleTextItem items for export to flat dxf. More... | |
void | RestoreTextAfterDXF (const QString &placeholder, const QList< QList< QGraphicsItem * > > &pieces) const |
MainWindowsNoGUI::RestoreTextAfterDXF restore QGraphicsSimpleTextItem items after export to flat dxf. More... | |
void | PrintPreview () |
void | LayoutPrint () |
void | SetPrinterSettings (QPrinter *printer, const PrintType &printType) |
bool | IsLayoutGrayscale () const |
QPageSize | FindQPrinterPageSize (const QSizeF &size) const |
MainWindowsNoGUI::FindTemplate. More... | |
bool | isPagesUniform () const |
bool | IsPagesFit (const QSizeF &printPaper) const |
void | ExportScene (const ExportLayoutDialog &dialog, const QList< QGraphicsScene * > &scenes, const QList< QGraphicsItem * > &papers, const QList< QGraphicsItem * > &shadows, const QList< QList< QGraphicsItem * > > &pieces, bool ignoreMargins, const QMarginsF &margins) const |
void | ExportApparelLayout (const ExportLayoutDialog &dialog, const QVector< VLayoutPiece > &pieces, const QString &name, const QSize &size) const |
void | exportPiecesAsApparelLayout (const ExportLayoutDialog &dialog, QVector< VLayoutPiece > pieceList) |
void | ExportFlatLayout (const ExportLayoutDialog &dialog, const QList< QGraphicsScene * > &scenes, const QList< QGraphicsItem * > &papers, const QList< QGraphicsItem * > &shadows, const QList< QList< QGraphicsItem * > > &pieces, bool ignoreMargins, const QMarginsF &margins) |
void | exportPiecesAsFlatLayout (const ExportLayoutDialog &dialog, const QVector< VLayoutPiece > &pieceList) |
Static Private Member Functions | |
static QList< QGraphicsItem * > | CreateShadows (const QList< QGraphicsItem * > &papers) |
static QList< QGraphicsScene * > | CreateScenes (const QList< QGraphicsItem * > &papers, const QList< QGraphicsItem * > &shadows, const QList< QList< QGraphicsItem * > > &pieces) |
Private Attributes | |
bool | isTiled |
bool | isAutoCrop |
bool | isUnitePages |
QString | layoutPrinterName |
Additional Inherited Members | |
Protected Slots inherited from VAbstractMainWindow | |
void | WindowsLocale () |
void | exportToCSV (QString &file) |
Definition at line 70 of file mainwindowsnogui.h.
|
strongprivate |
Enumerator | |
---|---|
PrintPDF | |
PrintPreview | |
PrintNative |
Definition at line 177 of file mainwindowsnogui.h.
|
explicit |
Definition at line 114 of file mainwindowsnogui.cpp.
References InitTempLayoutScene().
|
virtual |
Definition at line 147 of file mainwindowsnogui.cpp.
References pattern, and tempSceneLayout.
|
private |
Definition at line 1186 of file mainwindowsnogui.cpp.
References VDxfPaintDevice::ExportToAAMA(), Millimeters, pieces, PrintDPI, VDxfPaintDevice::SetBinaryFormat(), VDxfPaintDevice::setFileName(), VDxfPaintDevice::setInsunits(), VDxfPaintDevice::setResolution(), VDxfPaintDevice::setSize(), and VDxfPaintDevice::SetVersion().
Referenced by ExportApparelLayout().
|
protectedpure virtual |
Implemented in MainWindow.
Referenced by LayoutSettings().
|
protected |
Definition at line 1763 of file mainwindowsnogui.cpp.
References SCASSERT.
Referenced by MainWindow::exportLayoutAs(), LayoutPrint(), PdfTiledFile(), and PrintPreview().
|
private |
convertPdfToPs use external tool "pdftops" for converting pdf to eps or ps format.
params | string with parameter for tool. Parameters have format: "-eps input_file out_file". Use -eps when need create eps file. |
Definition at line 1117 of file mainwindowsnogui.cpp.
Referenced by exportEPS(), and exportPS().
|
staticprivate |
Definition at line 860 of file mainwindowsnogui.cpp.
References papers, pieces, scenes, and shadows.
Referenced by exportPiecesAsFlatLayout(), and LayoutSettings().
|
staticprivate |
Definition at line 835 of file mainwindowsnogui.cpp.
References papers, and shadows.
Referenced by exportPiecesAsFlatLayout(), and LayoutSettings().
|
privateslot |
Definition at line 234 of file mainwindowsnogui.cpp.
References EmptyPaperError, NoError, PrepareLayoutError, ProcessStoped, qApp, and V_EX_DATAERR.
Referenced by LayoutSettings().
|
private |
Definition at line 397 of file mainwindowsnogui.cpp.
References AAMADxfFile(), anonymous_namespace{mainwindowsnogui.cpp}::CreateLayoutPath(), DXF_AC1006_AAMA, DXF_AC1006_ASTM, DXF_AC1009_AAMA, DXF_AC1009_ASTM, DXF_AC1012_AAMA, DXF_AC1012_ASTM, DXF_AC1014_AAMA, DXF_AC1014_ASTM, DXF_AC1015_AAMA, DXF_AC1015_ASTM, DXF_AC1018_AAMA, DXF_AC1018_ASTM, DXF_AC1021_AAMA, DXF_AC1021_ASTM, DXF_AC1024_AAMA, DXF_AC1024_ASTM, DXF_AC1027_AAMA, DXF_AC1027_ASTM, ExportLayoutDialog::format(), ExportLayoutDialog::isBinaryDXFFormat(), ExportLayoutDialog::path(), pieces, qApp, and anonymous_namespace{mainwindowsnogui.cpp}::RemoveLayoutPath().
Referenced by ExportData(), and exportPiecesAsApparelLayout().
|
slot |
exportBMP save layout to bmp file.
fileName | name layout file. |
Definition at line 969 of file mainwindowsnogui.cpp.
References qApp.
Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().
|
protected |
Definition at line 255 of file mainwindowsnogui.cpp.
References DXF_AC1006_AAMA, DXF_AC1009_AAMA, DXF_AC1012_AAMA, DXF_AC1014_AAMA, DXF_AC1015_AAMA, DXF_AC1018_AAMA, DXF_AC1021_AAMA, DXF_AC1024_AAMA, DXF_AC1027_AAMA, ExportApparelLayout(), ExportFlatLayout(), ExportLayoutDialog::exportFormatSuffix(), exportPiecesAsApparelLayout(), exportPiecesAsFlatLayout(), ExportLayoutDialog::fileName(), ExportLayoutDialog::format(), ignoreMargins, Layout, margins, ExportLayoutDialog::mode(), papers, ExportLayoutDialog::path(), pieceList, pieces, piecesOnLayout, SCASSERT, scenes, and shadows.
Referenced by MainWindow::DoExport(), MainWindow::exportLayoutAs(), and MainWindow::exportPiecesAs().
|
slot |
exportEPS( save layout to eps file.
fileName | name layout file. |
Definition at line 1082 of file mainwindowsnogui.cpp.
References convertPdfToPs(), exportPDF(), ignoreMargins, and margins.
Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().
|
private |
Definition at line 304 of file mainwindowsnogui.cpp.
References anonymous_namespace{mainwindowsnogui.cpp}::CreateLayoutPath(), ExportLayoutDialog::exportFormatSuffix(), ExportScene(), ExportLayoutDialog::fileName(), ExportLayoutDialog::format(), ignoreMargins, Layout, margins, ExportLayoutDialog::mode(), papers, ExportLayoutDialog::path(), PDFTiled, PdfTiledFile(), pieces, qApp, anonymous_namespace{mainwindowsnogui.cpp}::RemoveLayoutPath(), scenes, and shadows.
Referenced by ExportData(), and exportPiecesAsFlatLayout().
|
slot |
exportJPG save layout to jpg file.
fileName | name layout file. |
Definition at line 952 of file mainwindowsnogui.cpp.
References qApp.
Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().
|
slot |
exportPDF save layout to pdf file.
fileName | name layout file. |
Definition at line 1003 of file mainwindowsnogui.cpp.
References FileName(), FromPixel(), ignoreMargins, margins, Mm, PrintDPI, and widthMainLine.
Referenced by MainWindow::exportDraftBlocksAs(), exportEPS(), exportPS(), and ExportScene().
|
private |
Definition at line 460 of file mainwindowsnogui.cpp.
References ExportApparelLayout(), ExportLayoutDialog::exportFormatSuffix(), ExportLayoutDialog::fileName(), ExportLayoutDialog::format(), ExportLayoutDialog::isTextAsPaths(), Layout, ExportLayoutDialog::mode(), ExportLayoutDialog::path(), and pieceList.
Referenced by ExportData().
|
private |
Definition at line 338 of file mainwindowsnogui.cpp.
References Cm, CreateScenes(), CreateShadows(), ExportFlatLayout(), ignoreMargins, ExportLayoutDialog::isTextAsPaths(), papers, pieceList, pieces, scenes, shadows, and ToPixel().
Referenced by ExportData().
|
slot |
exportPNG save layout to png file.
fileName | name layout file. |
Definition at line 913 of file mainwindowsnogui.cpp.
References qApp.
Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().
|
slot |
exportPPM save layout to gif file.
fileName | name layout file. |
Definition at line 986 of file mainwindowsnogui.cpp.
References qApp.
Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().
|
slot |
exportPS save layout to ps file.
fileName | name layout file. |
Definition at line 1099 of file mainwindowsnogui.cpp.
References convertPdfToPs(), exportPDF(), ignoreMargins, and margins.
Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().
|
private |
Definition at line 1604 of file mainwindowsnogui.cpp.
References BMP, DXF_AC1006_Flat, DXF_AC1009_Flat, DXF_AC1012_Flat, DXF_AC1014_Flat, DXF_AC1015_Flat, DXF_AC1018_Flat, DXF_AC1021_Flat, DXF_AC1024_Flat, DXF_AC1027_Flat, EPS, exportBMP(), exportEPS(), ExportLayoutDialog::exportFormatSuffix(), exportJPG(), exportPDF(), exportPNG(), exportPPM(), exportPS(), exportSVG(), exportTIF(), ExportLayoutDialog::fileName(), FlatDxfFile(), ExportLayoutDialog::format(), ignoreMargins, ExportLayoutDialog::isBinaryDXFFormat(), JPG, Layout, margins, ExportLayoutDialog::mode(), OBJ, ObjFile(), papers, ExportLayoutDialog::path(), PDF, pieces, PNG, PPM, PS, scenes, shadows, SVG, and TIF.
Referenced by ExportFlatLayout().
|
slot |
exportSVG save layout to svg file.
fileName | name layout file. |
Definition at line 889 of file mainwindowsnogui.cpp.
References doc, VAbstractPattern::GetDescription(), and PrintDPI.
Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().
|
slot |
exportTIF save layout to tif file.
fileName | name layout file. |
Definition at line 930 of file mainwindowsnogui.cpp.
References qApp.
Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().
|
protected |
Definition at line 1728 of file mainwindowsnogui.cpp.
References qApp.
Referenced by MainWindow::exportDraftBlocksAs(), MainWindow::exportLayoutAs(), exportPDF(), MainWindow::exportPiecesAs(), and SetPrinterSettings().
|
private |
MainWindowsNoGUI::FindTemplate.
size | has to be in Mm |
Definition at line 1523 of file mainwindowsnogui.cpp.
References Custom.
Referenced by SetPrinterSettings().
|
private |
Definition at line 1164 of file mainwindowsnogui.cpp.
References endStringPlaceholder, Millimeters, PrintDPI, VDxfPaintDevice::SetBinaryFormat(), VDxfPaintDevice::setFileName(), VDxfPaintDevice::setInsunits(), VDxfPaintDevice::setResolution(), VDxfPaintDevice::setSize(), and VDxfPaintDevice::SetVersion().
Referenced by ExportScene().
|
protected |
Definition at line 793 of file mainwindowsnogui.cpp.
References tempSceneLayout.
Referenced by MainWindowsNoGUI().
|
private |
Definition at line 1483 of file mainwindowsnogui.cpp.
References papers, PreparePaper(), RestorePaper(), scenes, and widthMainLine.
Referenced by SetPrinterSettings().
|
private |
Definition at line 1588 of file mainwindowsnogui.cpp.
References papers, and SCASSERT.
Referenced by PdfTiledFile().
|
private |
Definition at line 1564 of file mainwindowsnogui.cpp.
References papers, and SCASSERT.
Referenced by PrintOrigin(), and PrintPreviewOrigin().
|
private |
Definition at line 1330 of file mainwindowsnogui.cpp.
References ContinueIfLayoutStale(), isLayoutStale, layoutPrinterName, PreparePrinter(), PrintDPI, PrintNative, PrintPages(), and SetPrinterSettings().
Referenced by PrintOrigin(), and PrintTiled().
|
protected |
Definition at line 180 of file mainwindowsnogui.cpp.
References DialogLayoutProgress::Abort(), VLayoutGenerator::Abort(), DialogLayoutProgress::Arranged(), VLayoutGenerator::Arranged(), CleanLayout(), CreateScenes(), CreateShadows(), EmptyPaperError, DialogLayoutProgress::Error(), VLayoutGenerator::Error(), ErrorConsoleMode(), DialogLayoutProgress::Finished(), VLayoutGenerator::Finished(), VLayoutGenerator::Generate(), VLayoutGenerator::getAllPieceItems(), VLayoutGenerator::getAllPieces(), VLayoutGenerator::GetAutoCrop(), VLayoutGenerator::GetPaperHeight(), VLayoutGenerator::GetPapersItems(), VLayoutGenerator::GetPaperWidth(), VLayoutGenerator::GetPrinterFields(), ignoreMargins, isAutoCrop, VApplication::IsGUIMode(), isLayoutStale, isUnitePages, VLayoutGenerator::IsUnitePages(), VLayoutGenerator::IsUsePrinterFields(), margins, NoError, papers, paperSize, pieceList, pieces, piecesOnLayout, PrepareLayoutError, PrepareSceneList(), ProcessStoped, scenes, VLayoutGenerator::setPieces(), shadows, DialogLayoutProgress::Start(), VLayoutGenerator::Start(), and VLayoutGenerator::State().
Referenced by MainWindow::DoExport(), and toolLayoutSettings().
|
private |
Definition at line 1148 of file mainwindowsnogui.cpp.
References PrintDPI, VObjPaintDevice::setFileName(), VObjPaintDevice::setResolution(), and VObjPaintDevice::setSize().
Referenced by ExportScene().
|
private |
Definition at line 1052 of file mainwindowsnogui.cpp.
References ContinueIfLayoutStale(), isLayoutStale, IsPagesFit(), isTiled, PrintDPI, PrintPages(), PrintPDF, and SetPrinterSettings().
Referenced by ExportFlatLayout().
|
private |
Definition at line 1202 of file mainwindowsnogui.cpp.
References papers, scenes, and shadows.
Referenced by IsLayoutGrayscale(), and PrintPages().
|
staticprotected |
Definition at line 774 of file mainwindowsnogui.cpp.
References VLayoutPiece::Create(), VAbstractTool::getData(), VAbstractPattern::getTool(), pieceList, pieces, and SCASSERT.
Referenced by MainWindow::DoExport(), MainWindow::exportPiecesAs(), and MainWindow::showLayoutMode().
|
protectedpure virtual |
Implemented in MainWindow.
Referenced by LayoutSettings().
|
private |
PrepareTextForDXF prepare QGraphicsSimpleTextItem items for export to flat dxf.
Because QPaintEngine::drawTextItem doesn't pass whole string per time we mark end of each string by adding special placeholder. This method append it.
placeholder | placeholder that will be appended to each QGraphicsSimpleTextItem item's text string. |
Definition at line 1238 of file mainwindowsnogui.cpp.
References pieces.
|
slot |
Definition at line 699 of file mainwindowsnogui.cpp.
References isPagesUniform(), isTiled, and LayoutPrint().
|
privateslot |
Definition at line 522 of file mainwindowsnogui.cpp.
References VSettings::getTiledPDFOrientation(), isTiled, Landscape, Mm, papers, PreparePaper(), qApp, RestorePaper(), scenes, ToPixel(), and widthMainLine.
Referenced by LayoutPrint(), PdfTiledFile(), and PrintPreview().
|
private |
Definition at line 1298 of file mainwindowsnogui.cpp.
References ContinueIfLayoutStale(), isLayoutStale, layoutPrinterName, PreparePrinter(), PrintDPI, PrintPages(), PrintPreview, and SetPrinterSettings().
Referenced by PrintPreviewOrigin(), and PrintPreviewTiled().
|
slot |
Definition at line 679 of file mainwindowsnogui.cpp.
References isPagesUniform(), isTiled, and PrintPreview().
|
slot |
Definition at line 692 of file mainwindowsnogui.cpp.
References isTiled, and PrintPreview().
|
slot |
Definition at line 712 of file mainwindowsnogui.cpp.
References isTiled, and LayoutPrint().
|
slot |
refreshGrainLines call to recalculate piece grainlines. For example after show / hide grainlines.
Definition at line 741 of file mainwindowsnogui.cpp.
References VContainer::DataPieces(), VAbstractPattern::getTool(), and pattern.
|
slot |
refreshLabels call to recalculate piece labels. For example after changing a font.
Definition at line 722 of file mainwindowsnogui.cpp.
References VContainer::DataPieces(), VAbstractPattern::getTool(), and pattern.
Referenced by MainWindow::Preferences().
|
slot |
refreshSeamAllowances call to show / hide seam allowances.
Definition at line 759 of file mainwindowsnogui.cpp.
References VContainer::DataPieces(), VAbstractPattern::getTool(), and pattern.
|
private |
Definition at line 1216 of file mainwindowsnogui.cpp.
References papers, scenes, shadows, and widthMainLine.
Referenced by IsLayoutGrayscale(), and PrintPages().
|
private |
MainWindowsNoGUI::RestoreTextAfterDXF restore QGraphicsSimpleTextItem items after export to flat dxf.
Because QPaintEngine::drawTextItem doesn't pass whole string per time we mark end of each string by adding special placeholder. This method remove it.
placeholder | placeholder that will be removed from each QGraphicsSimpleTextItem item's text string. |
Definition at line 1271 of file mainwindowsnogui.cpp.
References pieces.
|
protected |
Definition at line 800 of file mainwindowsnogui.cpp.
References papers, scenes, and widthMainLine.
Referenced by MainWindow::PrepareSceneList().
|
private |
Definition at line 1365 of file mainwindowsnogui.cpp.
References Custom, FileName(), FindQPrinterPageSize(), FromPixel(), VSettings::GetTiledPDFMargins(), VSettings::getTiledPDFOrientation(), VSettings::getTiledPDFPaperHeight(), VSettings::getTiledPDFPaperWidth(), isAutoCrop, IsLayoutGrayscale(), isTiled, isUnitePages, Landscape, margins, Mm, papers, paperSize, PrintNative, PrintPDF, PrintPreview, Px, qApp, SCASSERT, and UnitConvertor().
Referenced by LayoutPrint(), PdfTiledFile(), and PrintPreview().
|
protected |
Definition at line 1736 of file mainwindowsnogui.cpp.
References VContainer::DataVariables(), doc, height_M, pattern, VContainer::SetHeight(), VAbstractPattern::SetPatternWasChanged(), VContainer::SetSize(), size_M, and VAbstractPattern::UpdatePatternLabel().
Referenced by MainWindow::LoadMeasurements(), and MainWindow::UpdateMeasurements().
|
slot |
Definition at line 154 of file mainwindowsnogui.cpp.
References layoutPrinterName, LayoutSettings(), SCASSERT, and DialogLayoutSettings::SelectedPrinter().
Referenced by MainWindow::handleNewLayout().
|
protected |
Definition at line 116 of file mainwindowsnogui.h.
Referenced by MainWindow::AddDocks(), and MainWindow::SetEnableWidgets().
|
protected |
Definition at line 117 of file mainwindowsnogui.h.
Referenced by MainWindow::AddDocks(), and MainWindow::SetEnableWidgets().
|
protected |
Definition at line 118 of file mainwindowsnogui.h.
Referenced by MainWindow::AddDocks().
|
protected |
Definition at line 115 of file mainwindowsnogui.h.
Referenced by MainWindow::AddDocks(), and MainWindow::SetEnableWidgets().
|
protected |
Definition at line 102 of file mainwindowsnogui.h.
Referenced by MainWindow::ClosedDialog(), MainWindow::InitScenes(), MainWindow::RestoreCurrentScene(), MainWindow::SaveCurrentScene(), MainWindow::SetToolButton(), MainWindow::showDraftMode(), MainWindow::showLayoutMode(), MainWindow::showPieceMode(), and MainWindow::zoomToPrevious().
|
protected |
pattern container with data (points, arcs, splines, spline paths, variables)
Definition at line 105 of file mainwindowsnogui.h.
Referenced by MainWindow::addDraftBlock(), MainWindow::ApplyDialog(), MainWindow::ChangedHeight(), MainWindow::changeDraftBlock(), MainWindow::ChangedSize(), MainWindow::CheckPathToMeasurements(), MainWindow::CheckRequiredMeasurements(), MainWindow::Clear(), MainWindow::ClosedDialog(), MainWindow::ClosedDialogAnchorPoint(), MainWindow::ClosedDialogInternalPath(), MainWindow::ClosedDialogWithApply(), MainWindow::ClosedEditGroupDialog(), MainWindow::ClosedInsertNodesDialog(), MainWindow::closeUnionDialog(), MainWindow::exportDraftBlocksAs(), exportSVG(), MainWindow::FullParseFile(), MainWindow::GetMeasurementFileName(), MainWindow::InitDocksContain(), MainWindow::initDraftToolBar(), MainWindow::initStatusBar(), MainWindow::LoadIndividual(), MainWindow::LoadMeasurements(), MainWindow::LoadMultisize(), MainWindow::LoadPattern(), MainWindow::PatternChangesWereSaved(), MainWindow::penChanged(), MainWindow::SaveAs(), MainWindow::SavePattern(), MainWindow::setCurrentFile(), MainWindow::SetDefaultHeight(), MainWindow::SetDefaultSize(), MainWindow::SetEnableWidgets(), SetSizeHeightForIndividualM(), MainWindow::SetToolButton(), MainWindow::ShowMeasurements(), MainWindow::SyncMeasurements(), MainWindow::UnloadMeasurements(), MainWindow::UpdateMeasurements(), MainWindow::zoomToPoint(), MainWindow::zoomToSelected(), and MainWindow::~MainWindow().
|
protected |
Definition at line 122 of file mainwindowsnogui.h.
Referenced by ExportData(), exportEPS(), ExportFlatLayout(), exportPDF(), exportPiecesAsFlatLayout(), exportPS(), ExportScene(), and LayoutSettings().
|
private |
Definition at line 147 of file mainwindowsnogui.h.
Referenced by LayoutSettings(), and SetPrinterSettings().
|
protected |
Definition at line 121 of file mainwindowsnogui.h.
Referenced by MainWindow::exportLayoutAs(), LayoutPrint(), LayoutSettings(), MainWindow::PatternChangesWereSaved(), PdfTiledFile(), and PrintPreview().
|
protected |
Definition at line 120 of file mainwindowsnogui.h.
Referenced by MainWindow::LoadPattern(), MainWindow::ProcessCMD(), and MainWindow::ShowMeasurements().
|
private |
Definition at line 146 of file mainwindowsnogui.h.
Referenced by PdfTiledFile(), PrintOrigin(), PrintPages(), PrintPreviewOrigin(), PrintPreviewTiled(), PrintTiled(), and SetPrinterSettings().
|
private |
Definition at line 148 of file mainwindowsnogui.h.
Referenced by LayoutSettings(), and SetPrinterSettings().
|
private |
Definition at line 150 of file mainwindowsnogui.h.
Referenced by LayoutPrint(), PrintPreview(), and toolLayoutSettings().
|
protected |
Definition at line 123 of file mainwindowsnogui.h.
Referenced by ExportData(), MainWindow::exportDraftBlocksAs(), exportEPS(), ExportFlatLayout(), exportPDF(), exportPS(), ExportScene(), LayoutSettings(), and SetPrinterSettings().
|
protected |
doc dom document container
Definition at line 107 of file mainwindowsnogui.h.
Referenced by MainWindow::CleanLayout(), CreateScenes(), CreateShadows(), ExportData(), ExportFlatLayout(), exportPiecesAsFlatLayout(), ExportScene(), IsLayoutGrayscale(), IsPagesFit(), isPagesUniform(), LayoutSettings(), PreparePaper(), PrintPages(), RestorePaper(), ScenePreview(), and SetPrinterSettings().
|
protected |
Definition at line 124 of file mainwindowsnogui.h.
Referenced by LayoutSettings(), and SetPrinterSettings().
|
protected |
pattern container with data (points, arcs, splines, spline paths, variables)
Definition at line 104 of file mainwindowsnogui.h.
Referenced by MainWindow::addDraftBlock(), MainWindow::ApplyDialog(), MainWindow::CheckPathToMeasurements(), MainWindow::Clear(), MainWindow::ClosedDialog(), MainWindow::ClosedDialogAnchorPoint(), MainWindow::ClosedDialogInternalPath(), MainWindow::ClosedInsertNodesDialog(), MainWindow::ClosedPiecesDialogWithApply(), MainWindow::DoExport(), MainWindow::draftPointNamesList(), MainWindow::exportPiecesAs(), MainWindow::exportToCSVData(), MainWindow::handlePieceMenu(), MainWindow::InitDocksContain(), MainWindow::LoadMeasurements(), MainWindow::LoadPattern(), MainWindow::New(), MainWindow::OpenMeasurementFile(), refreshGrainLines(), refreshLabels(), refreshSeamAllowances(), MainWindow::setEnableTools(), MainWindow::SetHeight(), MainWindow::SetSize(), SetSizeHeightForIndividualM(), MainWindow::SetToolButton(), MainWindow::showLayoutMode(), MainWindow::showPieceMode(), MainWindow::UpdateMeasurements(), MainWindow::zoomFirstShow(), MainWindow::zoomToPoint(), and ~MainWindowsNoGUI().
|
protected |
Definition at line 100 of file mainwindowsnogui.h.
Referenced by MainWindow::Clear(), MainWindow::DoExport(), ExportData(), MainWindow::exportPiecesAs(), exportPiecesAsApparelLayout(), exportPiecesAsFlatLayout(), LayoutSettings(), preparePiecesForLayout(), and MainWindow::showLayoutMode().
Definition at line 110 of file mainwindowsnogui.h.
Referenced by AAMADxfFile(), CreateScenes(), MainWindow::DoExport(), ExportApparelLayout(), ExportData(), ExportFlatLayout(), exportPiecesAsFlatLayout(), ExportScene(), LayoutSettings(), preparePiecesForLayout(), PrepareTextForDXF(), RestoreTextAfterDXF(), and MainWindow::showLayoutMode().
|
protected |
Definition at line 111 of file mainwindowsnogui.h.
Referenced by ExportData(), and LayoutSettings().
|
protected |
Definition at line 114 of file mainwindowsnogui.h.
Referenced by MainWindow::changeEvent(), MainWindow::CreateMenus(), and MainWindow::SetEnableWidgets().
|
protected |
Definition at line 109 of file mainwindowsnogui.h.
Referenced by MainWindow::CleanLayout(), CreateScenes(), MainWindow::DoExport(), ExportData(), ExportFlatLayout(), MainWindow::exportLayoutAs(), exportPiecesAsFlatLayout(), ExportScene(), IsLayoutGrayscale(), LayoutSettings(), PreparePaper(), MainWindow::PrepareSceneList(), PrintPages(), RestorePaper(), ScenePreview(), MainWindow::SetLayoutModeActions(), MainWindow::showLayoutMode(), and MainWindow::showLayoutPages().
|
protected |
Definition at line 108 of file mainwindowsnogui.h.
Referenced by MainWindow::CleanLayout(), CreateScenes(), CreateShadows(), ExportData(), ExportFlatLayout(), exportPiecesAsFlatLayout(), ExportScene(), LayoutSettings(), PreparePaper(), and RestorePaper().
|
protected |
currentScene pointer to current scene.
Definition at line 103 of file mainwindowsnogui.h.
Referenced by InitTempLayoutScene(), MainWindow::showLayoutMode(), MainWindow::showLayoutPages(), and ~MainWindowsNoGUI().
|
protected |
Definition at line 113 of file mainwindowsnogui.h.
Referenced by MainWindow::changeEvent(), MainWindow::CreateMenus(), and MainWindow::SetEnableWidgets().