Seamly2D
Code documentation
commandoptions.cpp File Reference
#include "commandoptions.h"
#include "def.h"
#include <QStaticStringData>
#include <QStringData>
#include <QStringDataPtr>
#include <QStringList>
Include dependency graph for commandoptions.cpp:

Go to the source code of this file.

Functions

QStringList AllKeys ()
 

Variables

const QString LONG_OPTION_BASENAME = QStringLiteral("basename")
 
const QString SINGLE_OPTION_BASENAME = QStringLiteral("b")
 
const QString LONG_OPTION_DESTINATION = QStringLiteral("destination")
 
const QString SINGLE_OPTION_DESTINATION = QStringLiteral("d")
 
const QString LONG_OPTION_MEASUREFILE = QStringLiteral("mfile")
 
const QString SINGLE_OPTION_MEASUREFILE = QStringLiteral("m")
 
const QString LONG_OPTION_PAGETEMPLATE = QStringLiteral("pageformat")
 
const QString SINGLE_OPTION_PAGETEMPLATE = QStringLiteral("p")
 
const QString LONG_OPTION_EXP2FORMAT = QStringLiteral("format")
 
const QString SINGLE_OPTION_EXP2FORMAT = QStringLiteral("f")
 
const QString LONG_OPTION_BINARYDXF = QStringLiteral("bdxf")
 
const QString LONG_OPTION_TEXT2PATHS = QStringLiteral("text2paths")
 
const QString LONG_OPTION_EXPORTONLYDETAILS = QStringLiteral("exportOnlyDetails")
 
const QString LONG_OPTION_ROTATE = QStringLiteral("rotate")
 
const QString SINGLE_OPTION_ROTATE = QStringLiteral("r")
 
const QString LONG_OPTION_CROP = QStringLiteral("crop")
 
const QString SINGLE_OPTION_CROP = QStringLiteral("c")
 
const QString LONG_OPTION_UNITE = QStringLiteral("unite")
 
const QString SINGLE_OPTION_UNITE = QStringLiteral("u")
 
const QString LONG_OPTION_PAGEW = QStringLiteral("pagew")
 
const QString SINGLE_OPTION_PAGEW = QStringLiteral("W")
 
const QString LONG_OPTION_PAGEH = QStringLiteral("pageh")
 
const QString SINGLE_OPTION_PAGEH = QStringLiteral("H")
 
const QString LONG_OPTION_PAGEUNITS = QStringLiteral("pageunits")
 
const QString SINGLE_OPTION_PAGEUNITS = QStringLiteral("U")
 
const QString LONG_OPTION_SAVELENGTH = QStringLiteral("savelen")
 
const QString SINGLE_OPTION_SAVELENGTH = QStringLiteral("S")
 
const QString LONG_OPTION_SHIFTLENGTH = QStringLiteral("shiftlen")
 
const QString SINGLE_OPTION_SHIFTLENGTH = QStringLiteral("s")
 
const QString LONG_OPTION_SHIFTUNITS = QStringLiteral("layounits")
 
const QString SINGLE_OPTION_SHIFTUNITS = QStringLiteral("l")
 
const QString LONG_OPTION_GAPWIDTH = QStringLiteral("gapwidth")
 
const QString SINGLE_OPTION_GAPWIDTH = QStringLiteral("G")
 
const QString LONG_OPTION_GROUPPING = QStringLiteral("groups")
 
const QString SINGLE_OPTION_GROUPPING = QStringLiteral("g")
 
const QString LONG_OPTION_TEST = QStringLiteral("test")
 
const QString SINGLE_OPTION_TEST = QStringLiteral("t")
 
const QString LONG_OPTION_GRADATIONSIZE = QStringLiteral("gsize")
 
const QString SINGLE_OPTION_GRADATIONSIZE = QStringLiteral("x")
 
const QString LONG_OPTION_GRADATIONHEIGHT = QStringLiteral("gheight")
 
const QString SINGLE_OPTION_GRADATIONHEIGHT = QStringLiteral("e")
 
const QString LONG_OPTION_IGNORE_MARGINS = QStringLiteral("ignoremargins")
 
const QString SINGLE_OPTION_IGNORE_MARGINS = QStringLiteral("i")
 
const QString LONG_OPTION_LEFT_MARGIN = QStringLiteral("lmargin")
 
const QString SINGLE_OPTION_LEFT_MARGIN = QStringLiteral("L")
 
const QString LONG_OPTION_RIGHT_MARGIN = QStringLiteral("rmargin")
 
const QString SINGLE_OPTION_RIGHT_MARGIN = QStringLiteral("R")
 
const QString LONG_OPTION_TOP_MARGIN = QStringLiteral("tmargin")
 
const QString SINGLE_OPTION_TOP_MARGIN = QStringLiteral("T")
 
const QString LONG_OPTION_BOTTOM_MARGIN = QStringLiteral("bmargin")
 
const QString SINGLE_OPTION_BOTTOM_MARGIN = QStringLiteral("B")
 

Function Documentation

◆ AllKeys()

Variable Documentation

◆ LONG_OPTION_BASENAME

const QString LONG_OPTION_BASENAME = QStringLiteral("basename")

◆ LONG_OPTION_BINARYDXF

const QString LONG_OPTION_BINARYDXF = QStringLiteral("bdxf")

◆ LONG_OPTION_BOTTOM_MARGIN

const QString LONG_OPTION_BOTTOM_MARGIN = QStringLiteral("bmargin")

◆ LONG_OPTION_CROP

const QString LONG_OPTION_CROP = QStringLiteral("crop")

◆ LONG_OPTION_DESTINATION

const QString LONG_OPTION_DESTINATION = QStringLiteral("destination")

◆ LONG_OPTION_EXP2FORMAT

const QString LONG_OPTION_EXP2FORMAT = QStringLiteral("format")

◆ LONG_OPTION_EXPORTONLYDETAILS

const QString LONG_OPTION_EXPORTONLYDETAILS = QStringLiteral("exportOnlyDetails")

Definition at line 77 of file commandoptions.cpp.

Referenced by VCommandLine::exportOnlyPieces(), and VCommandLine::InitOptions().

◆ LONG_OPTION_GAPWIDTH

const QString LONG_OPTION_GAPWIDTH = QStringLiteral("gapwidth")

◆ LONG_OPTION_GRADATIONHEIGHT

const QString LONG_OPTION_GRADATIONHEIGHT = QStringLiteral("gheight")

◆ LONG_OPTION_GRADATIONSIZE

const QString LONG_OPTION_GRADATIONSIZE = QStringLiteral("gsize")

◆ LONG_OPTION_GROUPPING

const QString LONG_OPTION_GROUPPING = QStringLiteral("groups")

Definition at line 109 of file commandoptions.cpp.

Referenced by AllKeys(), VCommandLine::InitOptions(), and VCommandLine::OptGroup().

◆ LONG_OPTION_IGNORE_MARGINS

const QString LONG_OPTION_IGNORE_MARGINS = QStringLiteral("ignoremargins")

◆ LONG_OPTION_LEFT_MARGIN

const QString LONG_OPTION_LEFT_MARGIN = QStringLiteral("lmargin")

◆ LONG_OPTION_MEASUREFILE

const QString LONG_OPTION_MEASUREFILE = QStringLiteral("mfile")

◆ LONG_OPTION_PAGEH

const QString LONG_OPTION_PAGEH = QStringLiteral("pageh")

◆ LONG_OPTION_PAGETEMPLATE

const QString LONG_OPTION_PAGETEMPLATE = QStringLiteral("pageformat")

◆ LONG_OPTION_PAGEUNITS

const QString LONG_OPTION_PAGEUNITS = QStringLiteral("pageunits")

◆ LONG_OPTION_PAGEW

const QString LONG_OPTION_PAGEW = QStringLiteral("pagew")

◆ LONG_OPTION_RIGHT_MARGIN

const QString LONG_OPTION_RIGHT_MARGIN = QStringLiteral("rmargin")

◆ LONG_OPTION_ROTATE

const QString LONG_OPTION_ROTATE = QStringLiteral("rotate")

◆ LONG_OPTION_SAVELENGTH

const QString LONG_OPTION_SAVELENGTH = QStringLiteral("savelen")

◆ LONG_OPTION_SHIFTLENGTH

const QString LONG_OPTION_SHIFTLENGTH = QStringLiteral("shiftlen")

◆ LONG_OPTION_SHIFTUNITS

const QString LONG_OPTION_SHIFTUNITS = QStringLiteral("layounits")

◆ LONG_OPTION_TEST

const QString LONG_OPTION_TEST = QStringLiteral("test")

◆ LONG_OPTION_TEXT2PATHS

const QString LONG_OPTION_TEXT2PATHS = QStringLiteral("text2paths")

Definition at line 76 of file commandoptions.cpp.

Referenced by VCommandLine::InitOptions(), and VCommandLine::isTextAsPaths().

◆ LONG_OPTION_TOP_MARGIN

const QString LONG_OPTION_TOP_MARGIN = QStringLiteral("tmargin")

◆ LONG_OPTION_UNITE

const QString LONG_OPTION_UNITE = QStringLiteral("unite")

◆ SINGLE_OPTION_BASENAME

const QString SINGLE_OPTION_BASENAME = QStringLiteral("b")

Definition at line 61 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_BOTTOM_MARGIN

const QString SINGLE_OPTION_BOTTOM_MARGIN = QStringLiteral("B")

Definition at line 134 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_CROP

const QString SINGLE_OPTION_CROP = QStringLiteral("c")

Definition at line 83 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_DESTINATION

const QString SINGLE_OPTION_DESTINATION = QStringLiteral("d")

Definition at line 64 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_EXP2FORMAT

const QString SINGLE_OPTION_EXP2FORMAT = QStringLiteral("f")

Definition at line 73 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_GAPWIDTH

const QString SINGLE_OPTION_GAPWIDTH = QStringLiteral("G")

Definition at line 107 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_GRADATIONHEIGHT

const QString SINGLE_OPTION_GRADATIONHEIGHT = QStringLiteral("e")

Definition at line 119 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_GRADATIONSIZE

const QString SINGLE_OPTION_GRADATIONSIZE = QStringLiteral("x")

Definition at line 116 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_GROUPPING

const QString SINGLE_OPTION_GROUPPING = QStringLiteral("g")

Definition at line 110 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_IGNORE_MARGINS

const QString SINGLE_OPTION_IGNORE_MARGINS = QStringLiteral("i")

Definition at line 122 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_LEFT_MARGIN

const QString SINGLE_OPTION_LEFT_MARGIN = QStringLiteral("L")

Definition at line 125 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_MEASUREFILE

const QString SINGLE_OPTION_MEASUREFILE = QStringLiteral("m")

Definition at line 67 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_PAGEH

const QString SINGLE_OPTION_PAGEH = QStringLiteral("H")

Definition at line 92 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_PAGETEMPLATE

const QString SINGLE_OPTION_PAGETEMPLATE = QStringLiteral("p")

Definition at line 70 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_PAGEUNITS

const QString SINGLE_OPTION_PAGEUNITS = QStringLiteral("U")

Definition at line 95 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_PAGEW

const QString SINGLE_OPTION_PAGEW = QStringLiteral("W")

Definition at line 89 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_RIGHT_MARGIN

const QString SINGLE_OPTION_RIGHT_MARGIN = QStringLiteral("R")

Definition at line 128 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_ROTATE

const QString SINGLE_OPTION_ROTATE = QStringLiteral("r")

Definition at line 80 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_SAVELENGTH

const QString SINGLE_OPTION_SAVELENGTH = QStringLiteral("S")

Definition at line 98 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_SHIFTLENGTH

const QString SINGLE_OPTION_SHIFTLENGTH = QStringLiteral("s")

Definition at line 101 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_SHIFTUNITS

const QString SINGLE_OPTION_SHIFTUNITS = QStringLiteral("l")

Definition at line 104 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_TEST

const QString SINGLE_OPTION_TEST = QStringLiteral("t")

Definition at line 113 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_TOP_MARGIN

const QString SINGLE_OPTION_TOP_MARGIN = QStringLiteral("T")

Definition at line 131 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().

◆ SINGLE_OPTION_UNITE

const QString SINGLE_OPTION_UNITE = QStringLiteral("u")

Definition at line 86 of file commandoptions.cpp.

Referenced by AllKeys(), and VCommandLine::InitOptions().