Added MiniPreviewPixmap to Template.

This commit is contained in:
Jim Evins
2013-11-04 23:58:03 -05:00
parent 2843d8ccda
commit fe4595bde0
17 changed files with 263 additions and 34 deletions
+8
View File
@@ -31,6 +31,7 @@
#include "Units.h"
#include "Point.h"
#include "Frame.h"
#include "MiniPreviewPixmap.h"
namespace libglabels
@@ -91,6 +92,11 @@ namespace libglabels
void addCategory( const QString &categoryId );
void addFrame( Frame *frame );
void initPreview();
inline const MiniPreviewPixmap &preview() const { return mPreview; }
inline const QList<Frame*> &frames() const { return mFrames; }
bool operator==( const Template &other ) const;
bool hasCategory( const QString &categoryId ) const;
@@ -112,6 +118,8 @@ namespace libglabels
QStringList mCategoryIds;
QList<Frame*> mFrames;
MiniPreviewPixmap mPreview;
};
}