Added MiniPreviewPixmap to Template.
This commit is contained in:
@@ -36,10 +36,11 @@ namespace libglabels
|
||||
QString id = "0" )
|
||||
: mW(w), mH(h), mWaste(waste), Frame(id)
|
||||
{
|
||||
mPath.addEllipse( 0, 0, mW, mH );
|
||||
}
|
||||
|
||||
FrameEllipse( const FrameEllipse &other )
|
||||
: mW(other.mW), mH(other.mH), mWaste(other.mWaste), Frame(other)
|
||||
: mW(other.mW), mH(other.mH), mWaste(other.mWaste), mPath(other.mPath), Frame(other)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -53,6 +54,8 @@ namespace libglabels
|
||||
const QString &sizeDescription( Units *units );
|
||||
bool isSimilarTo( Frame *other ) const;
|
||||
|
||||
const QPainterPath &path() const { return mPath; }
|
||||
|
||||
|
||||
private:
|
||||
double mW;
|
||||
@@ -61,6 +64,8 @@ namespace libglabels
|
||||
|
||||
QString mSizeDescription;
|
||||
|
||||
QPainterPath mPath;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user