Seamly2D
Code documentation
MainWindowsNoGUI Class Referenceabstract

#include <mainwindowsnogui.h>

Inheritance diagram for MainWindowsNoGUI:
Collaboration diagram for MainWindowsNoGUI:

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 &currentFormatVersion, const QString &maxFormatVersion)
 
void ToolBarStyle (QToolBar *bar)
 
virtual void exportToCSVData (const QString &fileName, const DialogExportToCSV &dialog)=0
 

Static Protected Member Functions

static QVector< VLayoutPiecepreparePiecesForLayout (const QHash< quint32, VPiece > &pieces)
 

Protected Attributes

QVector< VLayoutPiecepieceList
 
QGraphicsScene * currentScene
 
QGraphicsScene * tempSceneLayout
 currentScene pointer to current scene. More...
 
VContainerpattern
 pattern container with data (points, arcs, splines, spline paths, variables) More...
 
VPatterndoc
 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 &params) 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)
 

Detailed Description

Definition at line 70 of file mainwindowsnogui.h.

Member Enumeration Documentation

◆ PrintType

enum MainWindowsNoGUI::PrintType : char
strongprivate
Enumerator
PrintPDF 
PrintPreview 
PrintNative 

Definition at line 177 of file mainwindowsnogui.h.

Constructor & Destructor Documentation

◆ MainWindowsNoGUI()

MainWindowsNoGUI::MainWindowsNoGUI ( QWidget *  parent = nullptr)
explicit

Definition at line 114 of file mainwindowsnogui.cpp.

References InitTempLayoutScene().

◆ ~MainWindowsNoGUI()

MainWindowsNoGUI::~MainWindowsNoGUI ( )
virtual

Definition at line 147 of file mainwindowsnogui.cpp.

References pattern, and tempSceneLayout.

Member Function Documentation

◆ AAMADxfFile()

void MainWindowsNoGUI::AAMADxfFile ( const QString &  name,
int  version,
bool  binary,
const QSize &  size,
const QVector< VLayoutPiece > &  pieces 
) const
private

◆ CleanLayout()

virtual void MainWindowsNoGUI::CleanLayout ( )
protectedpure virtual

Implemented in MainWindow.

Referenced by LayoutSettings().

◆ ContinueIfLayoutStale()

int MainWindowsNoGUI::ContinueIfLayoutStale ( )
protected

Definition at line 1763 of file mainwindowsnogui.cpp.

References SCASSERT.

Referenced by MainWindow::exportLayoutAs(), LayoutPrint(), PdfTiledFile(), and PrintPreview().

◆ convertPdfToPs()

void MainWindowsNoGUI::convertPdfToPs ( const QStringList &  params) const
private

convertPdfToPs use external tool "pdftops" for converting pdf to eps or ps format.

Parameters
paramsstring 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.

References PDFTOPS, and qApp.

Referenced by exportEPS(), and exportPS().

◆ CreateScenes()

QList< QGraphicsScene * > MainWindowsNoGUI::CreateScenes ( const QList< QGraphicsItem * > &  papers,
const QList< QGraphicsItem * > &  shadows,
const QList< QList< QGraphicsItem * > > &  pieces 
)
staticprivate

Definition at line 860 of file mainwindowsnogui.cpp.

References papers, pieces, scenes, and shadows.

Referenced by exportPiecesAsFlatLayout(), and LayoutSettings().

◆ CreateShadows()

QList< QGraphicsItem * > MainWindowsNoGUI::CreateShadows ( const QList< QGraphicsItem * > &  papers)
staticprivate

Definition at line 835 of file mainwindowsnogui.cpp.

References papers, and shadows.

Referenced by exportPiecesAsFlatLayout(), and LayoutSettings().

◆ ErrorConsoleMode

void MainWindowsNoGUI::ErrorConsoleMode ( const LayoutErrors state)
privateslot

Definition at line 234 of file mainwindowsnogui.cpp.

References EmptyPaperError, NoError, PrepareLayoutError, ProcessStoped, qApp, and V_EX_DATAERR.

Referenced by LayoutSettings().

◆ ExportApparelLayout()

◆ exportBMP

void MainWindowsNoGUI::exportBMP ( const QString &  fileName,
QGraphicsScene *  scene 
) const
slot

exportBMP save layout to bmp file.

Parameters
fileNamename layout file.

Definition at line 969 of file mainwindowsnogui.cpp.

References qApp.

Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().

◆ ExportData()

◆ exportEPS

void MainWindowsNoGUI::exportEPS ( const QString &  name,
QGraphicsRectItem *  paper,
QGraphicsScene *  scene,
bool  ignoreMargins,
const QMarginsF &  margins 
) const
slot

exportEPS( save layout to eps file.

Parameters
fileNamename layout file.

Definition at line 1082 of file mainwindowsnogui.cpp.

References convertPdfToPs(), exportPDF(), ignoreMargins, and margins.

Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().

◆ ExportFlatLayout()

void MainWindowsNoGUI::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 
)
private

◆ exportJPG

void MainWindowsNoGUI::exportJPG ( const QString &  fileName,
QGraphicsScene *  scene 
) const
slot

exportJPG save layout to jpg file.

Parameters
fileNamename layout file.

Definition at line 952 of file mainwindowsnogui.cpp.

References qApp.

Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().

◆ exportPDF

void MainWindowsNoGUI::exportPDF ( const QString &  name,
QGraphicsRectItem *  paper,
QGraphicsScene *  scene,
bool  ignoreMargins,
const QMarginsF &  margins 
) const
slot

exportPDF save layout to pdf file.

Parameters
fileNamename 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().

◆ exportPiecesAsApparelLayout()

◆ exportPiecesAsFlatLayout()

void MainWindowsNoGUI::exportPiecesAsFlatLayout ( const ExportLayoutDialog dialog,
const QVector< VLayoutPiece > &  pieceList 
)
private

◆ exportPNG

void MainWindowsNoGUI::exportPNG ( const QString &  fileName,
QGraphicsScene *  scene 
) const
slot

exportPNG save layout to png file.

Parameters
fileNamename layout file.

Definition at line 913 of file mainwindowsnogui.cpp.

References qApp.

Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().

◆ exportPPM

void MainWindowsNoGUI::exportPPM ( const QString &  fileName,
QGraphicsScene *  scene 
) const
slot

exportPPM save layout to gif file.

Parameters
fileNamename layout file.

Definition at line 986 of file mainwindowsnogui.cpp.

References qApp.

Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().

◆ exportPS

void MainWindowsNoGUI::exportPS ( const QString &  name,
QGraphicsRectItem *  paper,
QGraphicsScene *  scene,
bool  ignoreMargins,
const QMarginsF &  margins 
) const
slot

exportPS save layout to ps file.

Parameters
fileNamename layout file.

Definition at line 1099 of file mainwindowsnogui.cpp.

References convertPdfToPs(), exportPDF(), ignoreMargins, and margins.

Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().

◆ ExportScene()

void MainWindowsNoGUI::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
private

◆ exportSVG

void MainWindowsNoGUI::exportSVG ( const QString &  name,
QGraphicsRectItem *  paper,
QGraphicsScene *  scene 
) const
slot

exportSVG save layout to svg file.

Parameters
fileNamename layout file.

Definition at line 889 of file mainwindowsnogui.cpp.

References doc, VAbstractPattern::GetDescription(), and PrintDPI.

Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().

◆ exportTIF

void MainWindowsNoGUI::exportTIF ( const QString &  fileName,
QGraphicsScene *  scene 
) const
slot

exportTIF save layout to tif file.

Parameters
fileNamename layout file.

Definition at line 930 of file mainwindowsnogui.cpp.

References qApp.

Referenced by MainWindow::exportDraftBlocksAs(), and ExportScene().

◆ FileName()

QString MainWindowsNoGUI::FileName ( ) const
protected

◆ FindQPrinterPageSize()

QPageSize MainWindowsNoGUI::FindQPrinterPageSize ( const QSizeF &  size) const
private

MainWindowsNoGUI::FindTemplate.

Parameters
sizehas to be in Mm
Returns

Definition at line 1523 of file mainwindowsnogui.cpp.

References Custom.

Referenced by SetPrinterSettings().

◆ FlatDxfFile()

QT_WARNING_PUSH void MainWindowsNoGUI::FlatDxfFile ( const QString &  name,
int  version,
bool  binary,
QGraphicsRectItem *  paper,
QGraphicsScene *  scene,
const QList< QList< QGraphicsItem * > > &  pieces 
) const
private

◆ InitTempLayoutScene()

void MainWindowsNoGUI::InitTempLayoutScene ( )
protected

Definition at line 793 of file mainwindowsnogui.cpp.

References tempSceneLayout.

Referenced by MainWindowsNoGUI().

◆ IsLayoutGrayscale()

bool MainWindowsNoGUI::IsLayoutGrayscale ( ) const
private

Definition at line 1483 of file mainwindowsnogui.cpp.

References papers, PreparePaper(), RestorePaper(), scenes, and widthMainLine.

Referenced by SetPrinterSettings().

◆ IsPagesFit()

bool MainWindowsNoGUI::IsPagesFit ( const QSizeF &  printPaper) const
private

Definition at line 1588 of file mainwindowsnogui.cpp.

References papers, and SCASSERT.

Referenced by PdfTiledFile().

◆ isPagesUniform()

bool MainWindowsNoGUI::isPagesUniform ( ) const
private

Definition at line 1564 of file mainwindowsnogui.cpp.

References papers, and SCASSERT.

Referenced by PrintOrigin(), and PrintPreviewOrigin().

◆ LayoutPrint()

void MainWindowsNoGUI::LayoutPrint ( )
private

◆ LayoutSettings()

◆ ObjFile()

void MainWindowsNoGUI::ObjFile ( const QString &  name,
QGraphicsRectItem *  paper,
QGraphicsScene *  scene 
) const
private

◆ PdfTiledFile()

void MainWindowsNoGUI::PdfTiledFile ( const QString &  name)
private

◆ PreparePaper()

QT_WARNING_POP void MainWindowsNoGUI::PreparePaper ( int  index) const
private

Definition at line 1202 of file mainwindowsnogui.cpp.

References papers, scenes, and shadows.

Referenced by IsLayoutGrayscale(), and PrintPages().

◆ preparePiecesForLayout()

QVector< VLayoutPiece > MainWindowsNoGUI::preparePiecesForLayout ( const QHash< quint32, VPiece > &  pieces)
staticprotected

◆ PrepareSceneList()

virtual void MainWindowsNoGUI::PrepareSceneList ( )
protectedpure virtual

Implemented in MainWindow.

Referenced by LayoutSettings().

◆ PrepareTextForDXF()

void MainWindowsNoGUI::PrepareTextForDXF ( const QString &  placeholder,
const QList< QList< QGraphicsItem * > > &  pieces 
) const
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.

Parameters
placeholderplaceholder that will be appended to each QGraphicsSimpleTextItem item's text string.

Definition at line 1238 of file mainwindowsnogui.cpp.

References pieces.

◆ PrintOrigin

void MainWindowsNoGUI::PrintOrigin ( )
slot

Definition at line 699 of file mainwindowsnogui.cpp.

References isPagesUniform(), isTiled, and LayoutPrint().

◆ PrintPages

void MainWindowsNoGUI::PrintPages ( QPrinter *  printer)
privateslot

◆ PrintPreview()

void MainWindowsNoGUI::PrintPreview ( )
private

◆ PrintPreviewOrigin

void MainWindowsNoGUI::PrintPreviewOrigin ( )
slot

Definition at line 679 of file mainwindowsnogui.cpp.

References isPagesUniform(), isTiled, and PrintPreview().

◆ PrintPreviewTiled

void MainWindowsNoGUI::PrintPreviewTiled ( )
slot

Definition at line 692 of file mainwindowsnogui.cpp.

References isTiled, and PrintPreview().

◆ PrintTiled

void MainWindowsNoGUI::PrintTiled ( )
slot

Definition at line 712 of file mainwindowsnogui.cpp.

References isTiled, and LayoutPrint().

◆ refreshGrainLines

void MainWindowsNoGUI::refreshGrainLines ( )
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.

◆ refreshLabels

void MainWindowsNoGUI::refreshLabels ( )
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().

◆ refreshSeamAllowances

void MainWindowsNoGUI::refreshSeamAllowances ( )
slot

refreshSeamAllowances call to show / hide seam allowances.

Definition at line 759 of file mainwindowsnogui.cpp.

References VContainer::DataPieces(), VAbstractPattern::getTool(), and pattern.

◆ RestorePaper()

void MainWindowsNoGUI::RestorePaper ( int  index) const
private

Definition at line 1216 of file mainwindowsnogui.cpp.

References papers, scenes, shadows, and widthMainLine.

Referenced by IsLayoutGrayscale(), and PrintPages().

◆ RestoreTextAfterDXF()

void MainWindowsNoGUI::RestoreTextAfterDXF ( const QString &  placeholder,
const QList< QList< QGraphicsItem * > > &  pieces 
) const
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.

Parameters
placeholderplaceholder that will be removed from each QGraphicsSimpleTextItem item's text string.

Definition at line 1271 of file mainwindowsnogui.cpp.

References pieces.

◆ ScenePreview()

QIcon MainWindowsNoGUI::ScenePreview ( int  i) const
protected

Definition at line 800 of file mainwindowsnogui.cpp.

References papers, scenes, and widthMainLine.

Referenced by MainWindow::PrepareSceneList().

◆ SetPrinterSettings()

◆ SetSizeHeightForIndividualM()

◆ toolLayoutSettings

void MainWindowsNoGUI::toolLayoutSettings ( QToolButton *  tButton,
bool  checked 
)
slot

Member Data Documentation

◆ actionDockWidgetGroups

QAction* MainWindowsNoGUI::actionDockWidgetGroups
protected

Definition at line 116 of file mainwindowsnogui.h.

Referenced by MainWindow::AddDocks(), and MainWindow::SetEnableWidgets().

◆ actionDockWidgetLayouts

QAction* MainWindowsNoGUI::actionDockWidgetLayouts
protected

Definition at line 117 of file mainwindowsnogui.h.

Referenced by MainWindow::AddDocks(), and MainWindow::SetEnableWidgets().

◆ actionDockWidgetToolbox

QAction* MainWindowsNoGUI::actionDockWidgetToolbox
protected

Definition at line 118 of file mainwindowsnogui.h.

Referenced by MainWindow::AddDocks().

◆ actionDockWidgetToolOptions

QAction* MainWindowsNoGUI::actionDockWidgetToolOptions
protected

Definition at line 115 of file mainwindowsnogui.h.

Referenced by MainWindow::AddDocks(), and MainWindow::SetEnableWidgets().

◆ currentScene

◆ doc

VPattern* MainWindowsNoGUI::doc
protected

◆ ignoreMargins

bool MainWindowsNoGUI::ignoreMargins
protected

◆ isAutoCrop

bool MainWindowsNoGUI::isAutoCrop
private

Definition at line 147 of file mainwindowsnogui.h.

Referenced by LayoutSettings(), and SetPrinterSettings().

◆ isLayoutStale

bool MainWindowsNoGUI::isLayoutStale
protected

◆ isNoScaling

bool MainWindowsNoGUI::isNoScaling
protected

◆ isTiled

bool MainWindowsNoGUI::isTiled
private

◆ isUnitePages

bool MainWindowsNoGUI::isUnitePages
private

Definition at line 148 of file mainwindowsnogui.h.

Referenced by LayoutSettings(), and SetPrinterSettings().

◆ layoutPrinterName

QString MainWindowsNoGUI::layoutPrinterName
private

Definition at line 150 of file mainwindowsnogui.h.

Referenced by LayoutPrint(), PrintPreview(), and toolLayoutSettings().

◆ margins

QMarginsF MainWindowsNoGUI::margins
protected

◆ papers

◆ paperSize

QSizeF MainWindowsNoGUI::paperSize
protected

Definition at line 124 of file mainwindowsnogui.h.

Referenced by LayoutSettings(), and SetPrinterSettings().

◆ pattern

◆ pieceList

◆ pieces

◆ piecesOnLayout

QVector<QVector<VLayoutPiece> > MainWindowsNoGUI::piecesOnLayout
protected

Definition at line 111 of file mainwindowsnogui.h.

Referenced by ExportData(), and LayoutSettings().

◆ redoAction

QAction* MainWindowsNoGUI::redoAction
protected

◆ scenes

◆ shadows

◆ tempSceneLayout

QGraphicsScene* MainWindowsNoGUI::tempSceneLayout
protected

currentScene pointer to current scene.

Definition at line 103 of file mainwindowsnogui.h.

Referenced by InitTempLayoutScene(), MainWindow::showLayoutMode(), MainWindow::showLayoutPages(), and ~MainWindowsNoGUI().

◆ undoAction

QAction* MainWindowsNoGUI::undoAction
protected

The documentation for this class was generated from the following files: