47#ifndef CHARACTERWIDGET_H
48#define CHARACTERWIDGET_H
97 QChar
character()
const {
return QChar( mLastKey ); }
103 QFont
font()
const {
return mDisplayFont; }
111 void setFont(
const QFont &font );
116 void setFontSize(
double fontSize );
121 void setFontStyle(
const QString &fontStyle );
123 void updateFontMerging(
bool enable );
128 void setColumns(
int columns );
135 void setCharacter( QChar character );
142 void clearCharacter();
155 void paintEvent( QPaintEvent *event )
override;
162 int mSquareSize = 24;