Initial implementation of glabels-batch.

Note: must currently use QGuiApplication instead of QCoreApplication to
support QFont.  Unfortunately, this means that glabels-batch must run
within a windowing system.  Ideally, it would not have this requirement.
This commit is contained in:
Jim Evins
2017-10-02 23:15:43 -04:00
parent 347bf35c79
commit a31484700c
13 changed files with 449 additions and 111 deletions
-12
View File
@@ -207,12 +207,6 @@ namespace glabels
}
const MiniPreviewPixmap& Template::preview() const
{
return mPreview;
}
const QList<Frame*>& Template::frames() const
{
return mFrames;
@@ -231,12 +225,6 @@ namespace glabels
}
void Template::initPreview()
{
mPreview = MiniPreviewPixmap( this, TEMPLATE_PREVIEW_SIZE, TEMPLATE_PREVIEW_SIZE );
}
bool Template::operator==( const Template& other ) const
{
return (mBrand == other.mBrand) && (mPart == other.mPart);