diff options
author | Fanda Vacek <vacek@elektroline.cz> | 2019-02-18 20:07:20 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-19 11:26:28 +0100 |
commit | b6355b1d65edfa51c9f80ac4c8c088bf9f19b788 (patch) | |
tree | be83041544feb5811498cb8424413a8a48dd5697 /qtmips_gui/coreview/value.cpp | |
parent | 49c367d1d46cbe65de367ccb763f072399c6c05b (diff) | |
download | qtmips-b6355b1d65edfa51c9f80ac4c8c088bf9f19b788.tar.gz qtmips-b6355b1d65edfa51c9f80ac4c8c088bf9f19b788.tar.bz2 qtmips-b6355b1d65edfa51c9f80ac4c8c088bf9f19b788.zip |
variable font size
Diffstat (limited to 'qtmips_gui/coreview/value.cpp')
-rw-r--r-- | qtmips_gui/coreview/value.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_gui/coreview/value.cpp b/qtmips_gui/coreview/value.cpp index 9a3ab09..2be8bb6 100644 --- a/qtmips_gui/coreview/value.cpp +++ b/qtmips_gui/coreview/value.cpp @@ -34,6 +34,7 @@ ******************************************************************************/ #include "value.h" +#include "../fontsize.h" using namespace coreview; @@ -58,7 +59,7 @@ QRectF Value::boundingRect() const { void Value::paint(QPainter *painter, const QStyleOptionGraphicsItem *option __attribute__((unused)), QWidget *widget __attribute__((unused))){ QFont f; - f.setPointSize(7); + f.setPointSize(FontSize::SIZE7); painter->setFont(f); QRectF rect; |