Added MiniPreviewPixmap to Template.
This commit is contained in:
@@ -23,6 +23,9 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "Db.h"
|
||||
#include "privateConstants.h"
|
||||
|
||||
using namespace libglabels::Constants;
|
||||
|
||||
|
||||
namespace libglabels
|
||||
@@ -98,6 +101,12 @@ namespace libglabels
|
||||
}
|
||||
|
||||
|
||||
void Template::initPreview()
|
||||
{
|
||||
mPreview = MiniPreviewPixmap( this, PREVIEW_PIXMAP_SIZE, PREVIEW_PIXMAP_SIZE );
|
||||
}
|
||||
|
||||
|
||||
bool Template::operator==( const Template &other ) const
|
||||
{
|
||||
return (mBrand == other.mBrand) && (mPart == other.mPart);
|
||||
|
||||
Reference in New Issue
Block a user