Skip to content
Permalink
Browse files

fix font preview in labeling

  • Loading branch information
jef-n committed Jan 19, 2012
1 parent c2cb3b8 commit 32824e2be6190271c4a8ea6f3ce0f00189bc2e0a
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/app/qgslabelpreview.h
4 src/app/qgslabelpreview.h 100644 → 100755
@@ -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.
You can’t perform that action at this time.