still merge fixes...
--HG-- branch : develop
This commit is contained in:
parent
53e98f562f
commit
2ec0e31c2b
|
@ -48,6 +48,7 @@
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QThread>
|
#include <QThread>
|
||||||
#include <QDateTime>
|
#include <QDateTime>
|
||||||
|
#include <QtXmlPatterns>
|
||||||
|
|
||||||
|
|
||||||
Q_LOGGING_CATEGORY(vApp, "v.application")
|
Q_LOGGING_CATEGORY(vApp, "v.application")
|
||||||
|
|
|
@ -690,6 +690,17 @@ void DialogLayoutSettings::MinimumLayoutSize()
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void DialogLayoutSettings::ReadSettings()
|
void DialogLayoutSettings::ReadSettings()
|
||||||
{
|
{
|
||||||
|
#ifdef STUPID_MARGE
|
||||||
|
InitPaperUnits();
|
||||||
|
InitLayoutUnits();
|
||||||
|
InitTemplates();
|
||||||
|
MinimumPaperSize();
|
||||||
|
MinimumLayoutSize();
|
||||||
|
|
||||||
|
SetLayoutWidth(qApp->ValentinaSettings()->GetLayoutWidth());
|
||||||
|
SetShift(qApp->ValentinaSettings()->GetLayoutShift());
|
||||||
|
#endif
|
||||||
|
|
||||||
SetLayoutWidth(qApp->Settings()->GetLayoutWidth());
|
SetLayoutWidth(qApp->Settings()->GetLayoutWidth());
|
||||||
SetShift(qApp->Settings()->GetLayoutShift());
|
SetShift(qApp->Settings()->GetLayoutShift());
|
||||||
|
|
||||||
|
|
|
@ -65,11 +65,11 @@ int main(int argc, char *argv[])
|
||||||
QCommandLineParser parser;
|
QCommandLineParser parser;
|
||||||
parser.setApplicationDescription(QCoreApplication::translate("main", "Pattern making program."));
|
parser.setApplicationDescription(QCoreApplication::translate("main", "Pattern making program."));
|
||||||
parser.addHelpOption();
|
parser.addHelpOption();
|
||||||
|
|
||||||
// Process the actual command line arguments given by the user
|
// Process the actual command line arguments given by the user
|
||||||
parser.process(app);
|
parser.process(app);
|
||||||
QStringList args = parser.positionalArguments();
|
QStringList args = parser.positionalArguments();
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
auto args = app.CommandLine()->OptInputFileNames();
|
auto args = app.CommandLine()->OptInputFileNames();
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
#include "mainwindowsnogui.h"
|
#include "mainwindowsnogui.h"
|
||||||
#include "core/vapplication.h"
|
#include "core/vapplication.h"
|
||||||
|
|
||||||
#include "../vpatterndb/vcontainer.h"
|
#include "../vpatterndb/vcontainer.h"
|
||||||
#include "../vobj/vobjpaintdevice.h"
|
#include "../vobj/vobjpaintdevice.h"
|
||||||
|
|
||||||
|
@ -40,6 +41,10 @@
|
||||||
#include "dialogs/dialoglayoutprogress.h"
|
#include "dialogs/dialoglayoutprogress.h"
|
||||||
#include "dialogs/dialoglayoutsettings.h"
|
#include "dialogs/dialoglayoutsettings.h"
|
||||||
|
|
||||||
|
#include "../vlayout/vlayoutgenerator.h"
|
||||||
|
#include "dialogs/dialoglayoutprogress.h"
|
||||||
|
#include "dialogs/dialogsavelayout.h"
|
||||||
|
#include "../vlayout/vposter.h"
|
||||||
|
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
|
|
|
@ -35,11 +35,16 @@
|
||||||
|
|
||||||
#define SceneSize 50000
|
#define SceneSize 50000
|
||||||
#define DefPointRadius 1.5//mm
|
#define DefPointRadius 1.5//mm
|
||||||
|
|
||||||
enum class NodeDetail : char { Contour, Modeling };
|
enum class NodeDetail : char { Contour, Modeling };
|
||||||
enum class SceneObject : char { Point, Line, Spline, Arc, SplinePath, Detail, Unknown };
|
enum class SceneObject : char { Point, Line, Spline, Arc, SplinePath, Detail, Unknown };
|
||||||
|
#ifdef STUPIDMERGE
|
||||||
|
enum class MeasurementsType : char { Standard, Individual, Unknown };
|
||||||
|
enum class Unit : char { Mm, Cm, Inch, Px };
|
||||||
|
#endif
|
||||||
|
|
||||||
enum class MeasurementsType : char { Standard, Individual , Unknown};
|
enum class MeasurementsType : char { Standard, Individual , Unknown};
|
||||||
enum class Unit : char { Mm = 0, Cm, Inch, Px, LAST_UNIT_DO_NOT_USE};
|
enum class Unit : char { Mm = 0, Cm, Inch, Px, LAST_UNIT_DO_NOT_USE};
|
||||||
|
|
||||||
enum class Source : char { FromGui, FromFile, FromTool };
|
enum class Source : char { FromGui, FromFile, FromTool };
|
||||||
|
|
||||||
enum class Tool : unsigned char
|
enum class Tool : unsigned char
|
||||||
|
|
Loading…
Reference in New Issue
Block a user