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
-8
View File
@@ -36,9 +36,6 @@
namespace glabels
{
const int TEMPLATE_PREVIEW_SIZE = 80;
class Template
{
Q_DECLARE_TR_FUNCTIONS(Template)
@@ -87,9 +84,6 @@ namespace glabels
void addCategory( const QString& categoryId );
void addFrame( Frame* frame );
void initPreview();
const MiniPreviewPixmap& preview() const;
const QList<Frame*>& frames() const;
bool operator==( const Template& other ) const;
@@ -116,8 +110,6 @@ namespace glabels
QStringList mCategoryIds;
QList<Frame*> mFrames;
MiniPreviewPixmap mPreview;
};
}