47 #ifndef CHARACTERWIDGET_H 48 #define CHARACTERWIDGET_H 68 QSize sizeHint()
const override;
74 void updateFont(
const QFont &font );
75 void updateSize(
double fontSize );
76 void updateStyle(
const QString &fontStyle );
77 void updateFontMerging(
bool enable );
78 void updateColumns(
int cols );
79 void setCharacter(
const QChar& character );
82 void characterSelected(
const QChar &character );
85 void mouseMoveEvent( QMouseEvent *event )
override;
86 void mousePressEvent( QMouseEvent *event )
override;
87 void paintEvent( QPaintEvent *event )
override;