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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user