Some style cleanup to libglabels.

This commit is contained in:
Jim Evins
2015-08-11 17:18:49 -04:00
parent de8ec9b66a
commit 0ad6caeeca
46 changed files with 1294 additions and 380 deletions
+5 -8
View File
@@ -34,22 +34,19 @@ namespace libglabels
class MiniPreviewPixmap : public QPixmap
{
public:
MiniPreviewPixmap()
{
}
MiniPreviewPixmap();
MiniPreviewPixmap( const Template *tmplate, int width, int height )
: QPixmap( width, height )
{
draw( tmplate, width, height );
}
MiniPreviewPixmap( const Template *tmplate, int width, int height );
private:
void draw( const Template *tmplate, int width, int height );
void drawPaper( QPainter &painter, const Template *tmplate, double scale );
void drawLabelOutlines( QPainter &painter, const Template *tmplate, double scale );
void drawLabelOutline( QPainter &painter, const Frame *frame, double x0, double y0 );
};
}