Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix font preview in labeling
  • Loading branch information
jef-n committed Jan 19, 2012
1 parent c2cb3b8 commit 32824e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/qgslabelpreview.h 100644 → 100755
Expand Up @@ -12,12 +12,16 @@ class QgsLabelPreview : public QLabel

void setBuffer( double size, QColor color );

void setFont( QFont f ) { mFont = f; }
QFont font() { return mFont; }

void paintEvent( QPaintEvent* e );

private:
int mBufferSize;
QColor mBufferColor;
QColor mTextColor;
QFont mFont;
};

#endif // LABELPREVIEW_H

0 comments on commit 32824e2

Please sign in to comment.