Removed C++17 nested namespace definitions. Should build on trusty again.
This commit is contained in:
@@ -27,8 +27,10 @@
|
|||||||
#include "glbarcode/Factory.h"
|
#include "glbarcode/Factory.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::barcode
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace barcode
|
||||||
|
{
|
||||||
|
|
||||||
//
|
//
|
||||||
// Static data
|
// Static data
|
||||||
@@ -525,4 +527,5 @@ namespace glabels::barcode
|
|||||||
mStyleList.append( style );
|
mStyleList.append( style );
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::barcode
|
} // namespace barcode
|
||||||
|
} //namespace glabels
|
||||||
|
|||||||
@@ -30,8 +30,10 @@
|
|||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::barcode
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace barcode
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Backends Database
|
/// Backends Database
|
||||||
@@ -89,6 +91,7 @@ namespace glabels::barcode
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,8 +34,10 @@ namespace
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::barcode
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace barcode
|
||||||
|
{
|
||||||
namespace GnuBarcode
|
namespace GnuBarcode
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -900,6 +902,7 @@ namespace glabels::barcode
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,8 +26,10 @@
|
|||||||
#include "glbarcode/Barcode1dBase.h"
|
#include "glbarcode/Barcode1dBase.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::barcode
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace barcode
|
||||||
|
{
|
||||||
namespace GnuBarcode
|
namespace GnuBarcode
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -413,6 +415,7 @@ namespace glabels::barcode
|
|||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include <qrencode.h>
|
#include <qrencode.h>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::barcode
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace barcode
|
||||||
|
{
|
||||||
namespace QrEncode
|
namespace QrEncode
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -84,6 +86,8 @@ namespace glabels::barcode
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif // HAVE_QRENCODE
|
#endif // HAVE_QRENCODE
|
||||||
|
|||||||
@@ -26,8 +26,10 @@
|
|||||||
#include "glbarcode/Barcode2dBase.h"
|
#include "glbarcode/Barcode2dBase.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::barcode
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace barcode
|
||||||
|
{
|
||||||
namespace QrEncode
|
namespace QrEncode
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -49,6 +51,7 @@ namespace glabels::barcode
|
|||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,10 @@
|
|||||||
#include "Style.h"
|
#include "Style.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::barcode
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace barcode
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Default Constructor
|
/// Default Constructor
|
||||||
@@ -201,4 +203,5 @@ namespace glabels::barcode
|
|||||||
return mId != other.mId;
|
return mId != other.mId;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::barcode
|
} // namespace barcode
|
||||||
|
} // namespace glabels
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::barcode
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace barcode
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Style Type
|
/// Style Type
|
||||||
@@ -109,6 +111,7 @@ namespace glabels::barcode
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,8 +34,10 @@ namespace
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::barcode
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace barcode
|
||||||
|
{
|
||||||
namespace Zint
|
namespace Zint
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -1199,7 +1201,9 @@ namespace glabels::barcode
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // HAVE_GNU_BARCODE
|
|
||||||
|
#endif // HAVE_ZINT
|
||||||
|
|||||||
@@ -26,8 +26,10 @@
|
|||||||
#include "glbarcode/Barcode1dBase.h"
|
#include "glbarcode/Barcode1dBase.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::barcode
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace barcode
|
||||||
|
{
|
||||||
namespace Zint
|
namespace Zint
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -923,6 +925,7 @@ namespace glabels::barcode
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -31,8 +31,10 @@
|
|||||||
#include "TextSemicolonKeys.h"
|
#include "TextSemicolonKeys.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
//
|
//
|
||||||
// Static data
|
// Static data
|
||||||
@@ -216,4 +218,5 @@ namespace glabels::merge
|
|||||||
mNameList << name;
|
mNameList << name;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::merge
|
} // namespace merge
|
||||||
|
} // namespace glabels
|
||||||
|
|||||||
@@ -27,8 +27,10 @@
|
|||||||
#include <QMap>
|
#include <QMap>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
// Forward references
|
// Forward references
|
||||||
class Merge;
|
class Merge;
|
||||||
@@ -101,6 +103,7 @@ namespace glabels::merge
|
|||||||
static QStringList mNameList;
|
static QStringList mNameList;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -23,8 +23,10 @@
|
|||||||
#include "Record.h"
|
#include "Record.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Constructor
|
/// Constructor
|
||||||
@@ -207,4 +209,5 @@ namespace glabels::merge
|
|||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::merge
|
} // namespace merge
|
||||||
|
} // namespace glabels
|
||||||
|
|||||||
@@ -28,8 +28,10 @@
|
|||||||
#include <QList>
|
#include <QList>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
// Forward references
|
// Forward references
|
||||||
class Record;
|
class Record;
|
||||||
@@ -114,6 +116,7 @@ namespace glabels::merge
|
|||||||
QList<Record*> mRecordList;
|
QList<Record*> mRecordList;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,10 @@
|
|||||||
#include "None.h"
|
#include "None.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Constructor
|
/// Constructor
|
||||||
@@ -119,4 +121,5 @@ namespace glabels::merge
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::merge
|
} // namespace merge
|
||||||
|
} // namespace glabels
|
||||||
|
|||||||
@@ -24,8 +24,10 @@
|
|||||||
#include "Merge.h"
|
#include "Merge.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// None Merge Backend
|
/// None Merge Backend
|
||||||
@@ -69,6 +71,7 @@ namespace glabels::merge
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,10 @@
|
|||||||
#include "Record.h"
|
#include "Record.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Constructor
|
/// Constructor
|
||||||
@@ -67,4 +69,5 @@ namespace glabels::merge
|
|||||||
mSelected = value;
|
mSelected = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::merge
|
} // namespace merge
|
||||||
|
} // namespace glabels
|
||||||
|
|||||||
@@ -26,8 +26,10 @@
|
|||||||
#include <QMap>
|
#include <QMap>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Merge Record
|
/// Merge Record
|
||||||
@@ -65,6 +67,7 @@ namespace glabels::merge
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Constructor
|
/// Constructor
|
||||||
@@ -413,4 +415,5 @@ namespace glabels::merge
|
|||||||
return fields;
|
return fields;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::merge
|
} // namespace merge
|
||||||
|
} // namespace glabels
|
||||||
|
|||||||
@@ -26,8 +26,10 @@
|
|||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Text Merge Backend
|
/// Text Merge Backend
|
||||||
@@ -75,6 +77,7 @@ namespace glabels::merge
|
|||||||
int mNFieldsMax;
|
int mNFieldsMax;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,10 @@
|
|||||||
#include "TextColon.h"
|
#include "TextColon.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
static const QString ID = "Text/Colon";
|
static const QString ID = "Text/Colon";
|
||||||
|
|
||||||
@@ -78,4 +80,5 @@ namespace glabels::merge
|
|||||||
return new TextColon();
|
return new TextColon();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::merge
|
} // namespace merge
|
||||||
|
} // namespace glabels
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include "Text.h"
|
#include "Text.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// TextColon Merge Backend
|
/// TextColon Merge Backend
|
||||||
@@ -59,6 +61,7 @@ namespace glabels::merge
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,10 @@
|
|||||||
#include "TextColonKeys.h"
|
#include "TextColonKeys.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
static const QString ID = "Text/Colon/Line1Keys";
|
static const QString ID = "Text/Colon/Line1Keys";
|
||||||
|
|
||||||
@@ -78,4 +80,5 @@ namespace glabels::merge
|
|||||||
return new TextColonKeys();
|
return new TextColonKeys();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::merge
|
} // namespace merge
|
||||||
|
} // namespace glabels
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include "Text.h"
|
#include "Text.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// TextColonKeys Merge Backend
|
/// TextColonKeys Merge Backend
|
||||||
@@ -59,6 +61,7 @@ namespace glabels::merge
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,10 @@
|
|||||||
#include "TextCsv.h"
|
#include "TextCsv.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
static const QString ID = "Text/Comma";
|
static const QString ID = "Text/Comma";
|
||||||
|
|
||||||
@@ -78,4 +80,5 @@ namespace glabels::merge
|
|||||||
return new TextCsv();
|
return new TextCsv();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::merge
|
} // namespace merge
|
||||||
|
} // namespace glabels
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include "Text.h"
|
#include "Text.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// TextCsv Merge Backend
|
/// TextCsv Merge Backend
|
||||||
@@ -59,6 +61,7 @@ namespace glabels::merge
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,10 @@
|
|||||||
#include "TextCsvKeys.h"
|
#include "TextCsvKeys.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
static const QString ID = "Text/Comma/Line1Keys";
|
static const QString ID = "Text/Comma/Line1Keys";
|
||||||
|
|
||||||
@@ -78,4 +80,5 @@ namespace glabels::merge
|
|||||||
return new TextCsvKeys();
|
return new TextCsvKeys();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::merge
|
} // namespace merge
|
||||||
|
} // namespace glabels
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include "Text.h"
|
#include "Text.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// TextCsvKeys Merge Backend
|
/// TextCsvKeys Merge Backend
|
||||||
@@ -59,6 +61,7 @@ namespace glabels::merge
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,10 @@
|
|||||||
#include "TextSemicolon.h"
|
#include "TextSemicolon.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
static const QString ID = "Text/Semicolon";
|
static const QString ID = "Text/Semicolon";
|
||||||
|
|
||||||
@@ -78,4 +80,5 @@ namespace glabels::merge
|
|||||||
return new TextSemicolon();
|
return new TextSemicolon();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::merge
|
} // namespace merge
|
||||||
|
} // namespace glabels
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include "Text.h"
|
#include "Text.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// TextSemicolon Merge Backend
|
/// TextSemicolon Merge Backend
|
||||||
@@ -59,6 +61,7 @@ namespace glabels::merge
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,10 @@
|
|||||||
#include "TextSemicolonKeys.h"
|
#include "TextSemicolonKeys.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
static const QString ID = "Text/Semicolon/Keys";
|
static const QString ID = "Text/Semicolon/Keys";
|
||||||
|
|
||||||
@@ -78,4 +80,5 @@ namespace glabels::merge
|
|||||||
return new TextSemicolonKeys();
|
return new TextSemicolonKeys();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::merge
|
} // namespace merge
|
||||||
|
} // namespace glabels
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include "Text.h"
|
#include "Text.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// TextSemicolonKeys Merge Backend
|
/// TextSemicolonKeys Merge Backend
|
||||||
@@ -59,6 +61,7 @@ namespace glabels::merge
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,10 @@
|
|||||||
#include "TextTsv.h"
|
#include "TextTsv.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
static const QString ID = "Text/Tab";
|
static const QString ID = "Text/Tab";
|
||||||
|
|
||||||
@@ -78,4 +80,5 @@ namespace glabels::merge
|
|||||||
return new TextTsv();
|
return new TextTsv();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::merge
|
} // namespace merge
|
||||||
|
} // namespace glabels
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include "Text.h"
|
#include "Text.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// TextTsv Merge Backend
|
/// TextTsv Merge Backend
|
||||||
@@ -59,6 +61,7 @@ namespace glabels::merge
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,10 @@
|
|||||||
#include "TextTsvKeys.h"
|
#include "TextTsvKeys.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
static const QString ID = "Text/Tab/Line1Keys";
|
static const QString ID = "Text/Tab/Line1Keys";
|
||||||
|
|
||||||
@@ -78,4 +80,5 @@ namespace glabels::merge
|
|||||||
return new TextTsvKeys();
|
return new TextTsvKeys();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::merge
|
} // namespace merge
|
||||||
|
} // namespace glabels
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include "Text.h"
|
#include "Text.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::merge
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace merge
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// TextTsvKeys Merge Backend
|
/// TextTsvKeys Merge Backend
|
||||||
@@ -59,6 +61,7 @@ namespace glabels::merge
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -21,8 +21,10 @@
|
|||||||
#include "Category.h"
|
#include "Category.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
Category::Category( const QString &id, const QString &name )
|
Category::Category( const QString &id, const QString &name )
|
||||||
: mId(id), mName(name)
|
: mId(id), mName(name)
|
||||||
@@ -42,4 +44,5 @@ namespace glabels::model
|
|||||||
return mName;
|
return mName;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -25,8 +25,10 @@
|
|||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
class Category
|
class Category
|
||||||
{
|
{
|
||||||
@@ -44,6 +46,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -23,8 +23,10 @@
|
|||||||
#include "merge/Record.h"
|
#include "merge/Record.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Default Constructor
|
/// Default Constructor
|
||||||
@@ -199,4 +201,5 @@ namespace glabels::model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -30,8 +30,10 @@
|
|||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Color Node Type
|
/// Color Node Type
|
||||||
@@ -106,6 +108,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -22,8 +22,10 @@
|
|||||||
#define model_Config_h
|
#define model_Config_h
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
namespace Config
|
namespace Config
|
||||||
{
|
{
|
||||||
@@ -31,6 +33,7 @@ namespace glabels::model
|
|||||||
const QString PROJECT_BUILD_DIR = "@glabels-qt_BINARY_DIR@";
|
const QString PROJECT_BUILD_DIR = "@glabels-qt_BINARY_DIR@";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-1
@@ -22,8 +22,10 @@
|
|||||||
#define model_Constants_h
|
#define model_Constants_h
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
const double PTS_PER_PT = 1.0;
|
const double PTS_PER_PT = 1.0;
|
||||||
const double PTS_PER_INCH = 72.0;
|
const double PTS_PER_INCH = 72.0;
|
||||||
@@ -32,6 +34,8 @@ namespace glabels::model
|
|||||||
const double PTS_PER_PICA = 12.0;
|
const double PTS_PER_PICA = 12.0;
|
||||||
|
|
||||||
const Distance EPSILON( 0.5, Units::PT );
|
const Distance EPSILON( 0.5, Units::PT );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif // model_Constants_h
|
#endif // model_Constants_h
|
||||||
|
|||||||
+5
-2
@@ -23,8 +23,10 @@
|
|||||||
#include "ModelImageObject.h"
|
#include "ModelImageObject.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
DataCache::DataCache()
|
DataCache::DataCache()
|
||||||
{
|
{
|
||||||
@@ -107,4 +109,5 @@ namespace glabels::model
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -25,8 +25,10 @@
|
|||||||
#include "Model.h"
|
#include "Model.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
class DataCache
|
class DataCache
|
||||||
{
|
{
|
||||||
@@ -52,6 +54,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -34,8 +34,10 @@
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
//
|
//
|
||||||
// Private
|
// Private
|
||||||
@@ -686,4 +688,5 @@ namespace glabels::model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -33,8 +33,10 @@
|
|||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
class Db
|
class Db
|
||||||
{
|
{
|
||||||
@@ -135,6 +137,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -24,8 +24,10 @@
|
|||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
Distance::Distance( double d, Units::Enum unitsEnum )
|
Distance::Distance( double d, Units::Enum unitsEnum )
|
||||||
{
|
{
|
||||||
@@ -204,4 +206,5 @@ namespace glabels::model
|
|||||||
return QString::number( inUnits(units) ) + units.toIdString();
|
return QString::number( inUnits(units) ) + units.toIdString();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+8
-2
@@ -29,8 +29,10 @@
|
|||||||
#include <QtMath>
|
#include <QtMath>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
class Distance
|
class Distance
|
||||||
{
|
{
|
||||||
@@ -94,6 +96,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -103,8 +106,10 @@ namespace glabels::model
|
|||||||
|
|
||||||
#include "Constants.h"
|
#include "Constants.h"
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
inline Distance::Distance() : mDPts(0)
|
inline Distance::Distance() : mDPts(0)
|
||||||
{
|
{
|
||||||
@@ -296,6 +301,7 @@ namespace glabels::model
|
|||||||
return Distance::pt( std::fmod( d1.mDPts, d2.mDPts ) );
|
return Distance::pt( std::fmod( d1.mDPts, d2.mDPts ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -25,8 +25,10 @@
|
|||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
QString FileUtil::addExtension( const QString& rawFilename, const QString& extension )
|
QString FileUtil::addExtension( const QString& rawFilename, const QString& extension )
|
||||||
{
|
{
|
||||||
@@ -84,4 +86,5 @@ namespace glabels::model
|
|||||||
return QDir("/");
|
return QDir("/");
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -26,8 +26,10 @@
|
|||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
namespace FileUtil
|
namespace FileUtil
|
||||||
{
|
{
|
||||||
@@ -40,6 +42,7 @@ namespace glabels::model
|
|||||||
QDir translationsDir();
|
QDir translationsDir();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -25,8 +25,10 @@
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
Frame::Frame( const QString& id )
|
Frame::Frame( const QString& id )
|
||||||
: mId(id), mNLabels(0), mLayoutDescription("")
|
: mId(id), mNLabels(0), mLayoutDescription("")
|
||||||
@@ -135,4 +137,5 @@ namespace glabels::model
|
|||||||
mMarkups << markup;
|
mMarkups << markup;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -33,8 +33,10 @@
|
|||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
// Forward references
|
// Forward references
|
||||||
class Markup;
|
class Markup;
|
||||||
@@ -82,6 +84,7 @@ namespace glabels::model
|
|||||||
QList<Markup*> mMarkups;
|
QList<Markup*> mMarkups;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -26,8 +26,10 @@
|
|||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
FrameCd::FrameCd( const Distance& r1,
|
FrameCd::FrameCd( const Distance& r1,
|
||||||
const Distance& r2,
|
const Distance& r2,
|
||||||
@@ -215,4 +217,5 @@ namespace glabels::model
|
|||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -25,8 +25,10 @@
|
|||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
class FrameCd : public Frame
|
class FrameCd : public Frame
|
||||||
{
|
{
|
||||||
@@ -71,6 +73,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -24,8 +24,10 @@
|
|||||||
#include "StrUtil.h"
|
#include "StrUtil.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
FrameEllipse::FrameEllipse( const Distance& w,
|
FrameEllipse::FrameEllipse( const Distance& w,
|
||||||
const Distance& h,
|
const Distance& h,
|
||||||
@@ -37,6 +39,7 @@ namespace glabels::model
|
|||||||
mClipPath.addEllipse( -mWaste.pt(), -mWaste.pt(), (mW+2*mWaste).pt(), (mH+2*mWaste).pt() );
|
mClipPath.addEllipse( -mWaste.pt(), -mWaste.pt(), (mW+2*mWaste).pt(), (mH+2*mWaste).pt() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FrameEllipse::FrameEllipse( const FrameEllipse& other )
|
FrameEllipse::FrameEllipse( const FrameEllipse& other )
|
||||||
: Frame(other), mW(other.mW), mH(other.mH), mWaste(other.mWaste), mPath(other.mPath)
|
: Frame(other), mW(other.mW), mH(other.mH), mWaste(other.mWaste), mPath(other.mPath)
|
||||||
{
|
{
|
||||||
@@ -127,4 +130,5 @@ namespace glabels::model
|
|||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
class FrameEllipse : public Frame
|
class FrameEllipse : public Frame
|
||||||
{
|
{
|
||||||
@@ -65,6 +67,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -24,8 +24,10 @@
|
|||||||
#include "StrUtil.h"
|
#include "StrUtil.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
FrameRect::FrameRect( const Distance& w,
|
FrameRect::FrameRect( const Distance& w,
|
||||||
const Distance& h,
|
const Distance& h,
|
||||||
@@ -149,4 +151,5 @@ namespace glabels::model
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -25,8 +25,10 @@
|
|||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
class FrameRect : public Frame
|
class FrameRect : public Frame
|
||||||
{
|
{
|
||||||
@@ -72,6 +74,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -24,8 +24,10 @@
|
|||||||
#include "StrUtil.h"
|
#include "StrUtil.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
FrameRound::FrameRound( const Distance& r,
|
FrameRound::FrameRound( const Distance& r,
|
||||||
const Distance& waste,
|
const Distance& waste,
|
||||||
@@ -131,4 +133,5 @@ namespace glabels::model
|
|||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -25,8 +25,10 @@
|
|||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
class FrameRound : public Frame
|
class FrameRound : public Frame
|
||||||
{
|
{
|
||||||
@@ -64,6 +66,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -26,8 +26,10 @@
|
|||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
//
|
//
|
||||||
// Private
|
// Private
|
||||||
@@ -585,4 +587,5 @@ namespace glabels::model
|
|||||||
return pathAt( scale, mOwner->w(), mOwner->h() );
|
return pathAt( scale, mOwner->w(), mOwner->h() );
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -28,8 +28,10 @@
|
|||||||
#include <QPainterPath>
|
#include <QPainterPath>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
// Forward References
|
// Forward References
|
||||||
class ModelObject;
|
class ModelObject;
|
||||||
@@ -330,6 +332,7 @@ namespace glabels::model
|
|||||||
QPainterPath path( double scale ) const override;
|
QPainterPath path( double scale ) const override;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -25,8 +25,10 @@
|
|||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
Layout::Layout( int nx,
|
Layout::Layout( int nx,
|
||||||
int ny,
|
int ny,
|
||||||
@@ -101,4 +103,5 @@ namespace glabels::model
|
|||||||
return other;
|
return other;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -25,8 +25,10 @@
|
|||||||
#include "Distance.h"
|
#include "Distance.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
class Layout
|
class Layout
|
||||||
{
|
{
|
||||||
@@ -65,6 +67,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -21,8 +21,10 @@
|
|||||||
#include "Markup.h"
|
#include "Markup.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
const QPainterPath& Markup::path() const
|
const QPainterPath& Markup::path() const
|
||||||
{
|
{
|
||||||
@@ -209,4 +211,5 @@ namespace glabels::model
|
|||||||
return mR;
|
return mR;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -27,8 +27,10 @@
|
|||||||
#include <QPainterPath>
|
#include <QPainterPath>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
class Markup
|
class Markup
|
||||||
{
|
{
|
||||||
@@ -150,6 +152,7 @@ namespace glabels::model
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -37,8 +37,10 @@
|
|||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
//
|
//
|
||||||
// Private
|
// Private
|
||||||
@@ -1441,4 +1443,5 @@ namespace glabels::model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -33,8 +33,10 @@
|
|||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
// Forward References
|
// Forward References
|
||||||
class ColorNode;
|
class ColorNode;
|
||||||
@@ -233,6 +235,7 @@ namespace glabels::model
|
|||||||
merge::Merge* mMerge;
|
merge::Merge* mMerge;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -35,8 +35,10 @@
|
|||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
//
|
//
|
||||||
// Private
|
// Private
|
||||||
@@ -528,4 +530,5 @@ namespace glabels::model
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -29,8 +29,10 @@
|
|||||||
#include "glbarcode/Barcode.h"
|
#include "glbarcode/Barcode.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Label Model Line Object
|
/// Label Model Line Object
|
||||||
@@ -160,6 +162,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -24,8 +24,10 @@
|
|||||||
#include <QPen>
|
#include <QPen>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
//
|
//
|
||||||
// Private
|
// Private
|
||||||
@@ -191,4 +193,5 @@ namespace glabels::model
|
|||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include "ModelShapeObject.h"
|
#include "ModelShapeObject.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Label Model Box Object
|
/// Label Model Box Object
|
||||||
@@ -76,6 +78,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -24,8 +24,10 @@
|
|||||||
#include <QPen>
|
#include <QPen>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
//
|
//
|
||||||
// Private
|
// Private
|
||||||
@@ -191,4 +193,5 @@ namespace glabels::model
|
|||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include "ModelShapeObject.h"
|
#include "ModelShapeObject.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Label Model Ellipse Object
|
/// Label Model Ellipse Object
|
||||||
@@ -76,6 +78,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -29,8 +29,10 @@
|
|||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Static data
|
/// Static data
|
||||||
@@ -563,4 +565,5 @@ namespace glabels::model
|
|||||||
return shadow;
|
return shadow;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -27,8 +27,10 @@
|
|||||||
#include <QSvgRenderer>
|
#include <QSvgRenderer>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Label Model Image Object
|
/// Label Model Image Object
|
||||||
@@ -155,6 +157,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -24,8 +24,10 @@
|
|||||||
#include <QPen>
|
#include <QPen>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
//
|
//
|
||||||
// Private
|
// Private
|
||||||
@@ -240,4 +242,5 @@ namespace glabels::model
|
|||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include "ModelObject.h"
|
#include "ModelObject.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Label Model Line Object
|
/// Label Model Line Object
|
||||||
@@ -109,6 +111,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -29,8 +29,10 @@
|
|||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Next Object ID
|
/// Next Object ID
|
||||||
@@ -1211,4 +1213,5 @@ namespace glabels::model
|
|||||||
// empty
|
// empty
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -37,8 +37,10 @@
|
|||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
// Forward References
|
// Forward References
|
||||||
class Region;
|
class Region;
|
||||||
@@ -430,6 +432,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -24,8 +24,10 @@
|
|||||||
#include <QPen>
|
#include <QPen>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Constructor
|
/// Constructor
|
||||||
@@ -204,4 +206,5 @@ namespace glabels::model
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -25,8 +25,10 @@
|
|||||||
#include "ModelObject.h"
|
#include "ModelObject.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Label Model Shape Object (Box or Ellipse)
|
/// Label Model Shape Object (Box or Ellipse)
|
||||||
@@ -104,6 +106,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -30,8 +30,10 @@
|
|||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
//
|
//
|
||||||
// Private
|
// Private
|
||||||
@@ -717,4 +719,5 @@ namespace glabels::model
|
|||||||
qDeleteAll( layouts );
|
qDeleteAll( layouts );
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -28,8 +28,10 @@
|
|||||||
#include <QTextLayout>
|
#include <QTextLayout>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Label Model Line Object
|
/// Label Model Line Object
|
||||||
@@ -203,6 +205,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -25,8 +25,10 @@
|
|||||||
#include <QColor>
|
#include <QColor>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
//
|
//
|
||||||
// Private
|
// Private
|
||||||
@@ -132,4 +134,5 @@ namespace glabels::model
|
|||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -26,8 +26,10 @@
|
|||||||
#include <QPainterPath>
|
#include <QPainterPath>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
// Forward references
|
// Forward references
|
||||||
class ModelObject;
|
class ModelObject;
|
||||||
@@ -73,6 +75,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -29,8 +29,10 @@
|
|||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
//
|
//
|
||||||
// Private
|
// Private
|
||||||
@@ -426,4 +428,5 @@ namespace glabels::model
|
|||||||
painter->restore();
|
painter->restore();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -33,8 +33,10 @@
|
|||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
// Forward references
|
// Forward references
|
||||||
class Model;
|
class Model;
|
||||||
@@ -123,6 +125,7 @@ namespace glabels::model
|
|||||||
QVector<Point> mOrigins;
|
QVector<Point> mOrigins;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -21,8 +21,10 @@
|
|||||||
#include "Paper.h"
|
#include "Paper.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
Paper::Paper( const QString& id,
|
Paper::Paper( const QString& id,
|
||||||
const QString& name,
|
const QString& name,
|
||||||
@@ -76,4 +78,5 @@ namespace glabels::model
|
|||||||
return mPwgSize.startsWith( "na_" );
|
return mPwgSize.startsWith( "na_" );
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -27,8 +27,10 @@
|
|||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
class Paper
|
class Paper
|
||||||
{
|
{
|
||||||
@@ -62,6 +64,7 @@ namespace glabels::model
|
|||||||
QString mPwgSize;
|
QString mPwgSize;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -21,8 +21,10 @@
|
|||||||
#include "Point.h"
|
#include "Point.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
Point::Point() : mX(Distance(0)), mY(Distance(0))
|
Point::Point() : mX(Distance(0)), mY(Distance(0))
|
||||||
{
|
{
|
||||||
@@ -61,4 +63,5 @@ namespace glabels::model
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -25,8 +25,10 @@
|
|||||||
#include "Distance.h"
|
#include "Distance.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
class Point
|
class Point
|
||||||
{
|
{
|
||||||
@@ -46,6 +48,7 @@ namespace glabels::model
|
|||||||
Distance mY;
|
Distance mY;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -22,8 +22,10 @@
|
|||||||
|
|
||||||
#include <QRegularExpression>
|
#include <QRegularExpression>
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Constructor from QString
|
/// Constructor from QString
|
||||||
@@ -146,4 +148,5 @@ namespace glabels::model
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -27,8 +27,10 @@
|
|||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Raw Text Type
|
/// Raw Text Type
|
||||||
@@ -78,6 +80,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -21,8 +21,10 @@
|
|||||||
#include "Region.h"
|
#include "Region.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Constructor
|
/// Constructor
|
||||||
@@ -131,4 +133,5 @@ namespace glabels::model
|
|||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -27,8 +27,10 @@
|
|||||||
#include <QRectF>
|
#include <QRectF>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Label Region Type
|
/// Label Region Type
|
||||||
@@ -95,6 +97,7 @@ namespace glabels::model
|
|||||||
Distance mY2;
|
Distance mY2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -25,8 +25,10 @@
|
|||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
//
|
//
|
||||||
// Static data
|
// Static data
|
||||||
@@ -258,4 +260,5 @@ namespace glabels::model
|
|||||||
emit mInstance->changed();
|
emit mInstance->changed();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -28,8 +28,10 @@
|
|||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Settings Singleton Class
|
/// Settings Singleton Class
|
||||||
@@ -91,6 +93,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -21,8 +21,10 @@
|
|||||||
#include "Size.h"
|
#include "Size.h"
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Constructor
|
/// Constructor
|
||||||
@@ -91,4 +93,5 @@ namespace glabels::model
|
|||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace glabels::model
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-1
@@ -27,8 +27,10 @@
|
|||||||
#include <QSizeF>
|
#include <QSizeF>
|
||||||
|
|
||||||
|
|
||||||
namespace glabels::model
|
namespace glabels
|
||||||
{
|
{
|
||||||
|
namespace model
|
||||||
|
{
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Size Type
|
/// Size Type
|
||||||
@@ -78,6 +80,7 @@ namespace glabels::model
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user