Seamly2D
Code documentation
commandoptions.h
Go to the documentation of this file.
1 /***************************************************************************
2  * *
3  * Copyright (C) 2017 Seamly, LLC *
4  * *
5  * https://github.com/fashionfreedom/seamly2d *
6  * *
7  ***************************************************************************
8  **
9  ** Seamly2D is free software: you can redistribute it and/or modify
10  ** it under the terms of the GNU General Public License as published by
11  ** the Free Software Foundation, either version 3 of the License, or
12  ** (at your option) any later version.
13  **
14  ** Seamly2D is distributed in the hope that it will be useful,
15  ** but WITHOUT ANY WARRANTY; without even the implied warranty of
16  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  ** GNU General Public License for more details.
18  **
19  ** You should have received a copy of the GNU General Public License
20  ** along with Seamly2D. If not, see <http://www.gnu.org/licenses/>.
21  **
22  **************************************************************************
23 
24  ************************************************************************
25  **
26  ** @file commandoptions.h
27  ** @author Roman Telezhynskyi <dismine(at)gmail.com>
28  ** @date 9 11, 2015
29  **
30  ** @brief
31  ** @copyright
32  ** This source code is part of the Valentine project, a pattern making
33  ** program, whose allow create and modeling patterns of clothing.
34  ** Copyright (C) 2015 Seamly2D project
35  ** <https://github.com/fashionfreedom/seamly2d> All Rights Reserved.
36  **
37  ** Seamly2D is free software: you can redistribute it and/or modify
38  ** it under the terms of the GNU General Public License as published by
39  ** the Free Software Foundation, either version 3 of the License, or
40  ** (at your option) any later version.
41  **
42  ** Seamly2D is distributed in the hope that it will be useful,
43  ** but WITHOUT ANY WARRANTY; without even the implied warranty of
44  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45  ** GNU General Public License for more details.
46  **
47  ** You should have received a copy of the GNU General Public License
48  ** along with Seamly2D. If not, see <http://www.gnu.org/licenses/>.
49  **
50  *************************************************************************/
51 
52 #ifndef COMMANDOPTIONS_H
53 #define COMMANDOPTIONS_H
54 
55 #include <QString>
56 
57 extern const QString LONG_OPTION_BASENAME;
58 extern const QString SINGLE_OPTION_BASENAME;
59 
60 extern const QString LONG_OPTION_DESTINATION;
61 extern const QString SINGLE_OPTION_DESTINATION;
62 
63 extern const QString LONG_OPTION_MEASUREFILE;
64 extern const QString SINGLE_OPTION_MEASUREFILE;
65 
66 extern const QString LONG_OPTION_PAGETEMPLATE;
67 extern const QString SINGLE_OPTION_PAGETEMPLATE;
68 
69 extern const QString LONG_OPTION_EXP2FORMAT;
70 extern const QString SINGLE_OPTION_EXP2FORMAT;
71 
72 extern const QString LONG_OPTION_BINARYDXF;
73 extern const QString LONG_OPTION_TEXT2PATHS;
74 extern const QString LONG_OPTION_EXPORTONLYDETAILS;
75 
76 extern const QString LONG_OPTION_ROTATE;
77 extern const QString SINGLE_OPTION_ROTATE;
78 
79 extern const QString LONG_OPTION_CROP;
80 extern const QString SINGLE_OPTION_CROP;
81 
82 extern const QString LONG_OPTION_UNITE;
83 extern const QString SINGLE_OPTION_UNITE;
84 
85 extern const QString LONG_OPTION_PAGEW;
86 extern const QString SINGLE_OPTION_PAGEW;
87 
88 extern const QString LONG_OPTION_PAGEH;
89 extern const QString SINGLE_OPTION_PAGEH;
90 
91 extern const QString LONG_OPTION_PAGEUNITS;
92 extern const QString SINGLE_OPTION_PAGEUNITS;
93 
94 extern const QString LONG_OPTION_SAVELENGTH;
95 extern const QString SINGLE_OPTION_SAVELENGTH;
96 
97 extern const QString LONG_OPTION_SHIFTLENGTH;
98 extern const QString SINGLE_OPTION_SHIFTLENGTH;
99 
100 extern const QString LONG_OPTION_SHIFTUNITS;
101 extern const QString SINGLE_OPTION_SHIFTUNITS;
102 
103 extern const QString LONG_OPTION_GAPWIDTH;
104 extern const QString SINGLE_OPTION_GAPWIDTH;
105 
106 extern const QString LONG_OPTION_GROUPPING;
107 extern const QString SINGLE_OPTION_GROUPPING;
108 
109 extern const QString LONG_OPTION_TEST;
110 extern const QString SINGLE_OPTION_TEST;
111 
112 extern const QString LONG_OPTION_GRADATIONSIZE;
113 extern const QString SINGLE_OPTION_GRADATIONSIZE;
114 
115 extern const QString LONG_OPTION_GRADATIONHEIGHT;
116 extern const QString SINGLE_OPTION_GRADATIONHEIGHT;
117 
118 extern const QString LONG_OPTION_IGNORE_MARGINS;
119 extern const QString SINGLE_OPTION_IGNORE_MARGINS;
120 
121 extern const QString LONG_OPTION_LEFT_MARGIN;
122 extern const QString SINGLE_OPTION_LEFT_MARGIN;
123 
124 extern const QString LONG_OPTION_RIGHT_MARGIN;
125 extern const QString SINGLE_OPTION_RIGHT_MARGIN;
126 
127 extern const QString LONG_OPTION_TOP_MARGIN;
128 extern const QString SINGLE_OPTION_TOP_MARGIN;
129 
130 extern const QString LONG_OPTION_BOTTOM_MARGIN;
131 extern const QString SINGLE_OPTION_BOTTOM_MARGIN;
132 
133 QStringList AllKeys();
134 
135 #endif // COMMANDOPTIONS_H
const QString SINGLE_OPTION_LEFT_MARGIN
const QString LONG_OPTION_PAGEH
const QString LONG_OPTION_EXP2FORMAT
const QString LONG_OPTION_LEFT_MARGIN
const QString LONG_OPTION_RIGHT_MARGIN
const QString SINGLE_OPTION_ROTATE
const QString SINGLE_OPTION_BASENAME
const QString SINGLE_OPTION_GAPWIDTH
const QString SINGLE_OPTION_RIGHT_MARGIN
const QString LONG_OPTION_GROUPPING
const QString SINGLE_OPTION_EXP2FORMAT
const QString LONG_OPTION_SAVELENGTH
const QString SINGLE_OPTION_CROP
const QString SINGLE_OPTION_SAVELENGTH
const QString LONG_OPTION_TEST
const QString SINGLE_OPTION_PAGEH
const QString SINGLE_OPTION_SHIFTUNITS
const QString LONG_OPTION_BINARYDXF
const QString LONG_OPTION_TOP_MARGIN
const QString SINGLE_OPTION_PAGEW
const QString SINGLE_OPTION_BOTTOM_MARGIN
const QString SINGLE_OPTION_PAGETEMPLATE
const QString LONG_OPTION_BOTTOM_MARGIN
const QString LONG_OPTION_EXPORTONLYDETAILS
const QString LONG_OPTION_BASENAME
const QString LONG_OPTION_PAGETEMPLATE
const QString SINGLE_OPTION_TOP_MARGIN
const QString LONG_OPTION_CROP
const QString LONG_OPTION_PAGEUNITS
const QString LONG_OPTION_ROTATE
QStringList AllKeys()
const QString LONG_OPTION_SHIFTUNITS
const QString LONG_OPTION_GRADATIONSIZE
const QString LONG_OPTION_GAPWIDTH
const QString LONG_OPTION_SHIFTLENGTH
const QString SINGLE_OPTION_GROUPPING
const QString SINGLE_OPTION_UNITE
const QString LONG_OPTION_UNITE
const QString SINGLE_OPTION_IGNORE_MARGINS
const QString SINGLE_OPTION_TEST
const QString SINGLE_OPTION_PAGEUNITS
const QString LONG_OPTION_GRADATIONHEIGHT
const QString SINGLE_OPTION_GRADATIONHEIGHT
const QString LONG_OPTION_MEASUREFILE
const QString SINGLE_OPTION_DESTINATION
const QString LONG_OPTION_TEXT2PATHS
const QString LONG_OPTION_IGNORE_MARGINS
const QString SINGLE_OPTION_GRADATIONSIZE
const QString LONG_OPTION_DESTINATION
const QString SINGLE_OPTION_MEASUREFILE
const QString LONG_OPTION_PAGEW
const QString SINGLE_OPTION_SHIFTLENGTH