From: Simon Rit Date: Mon, 13 Feb 2012 13:26:03 +0000 (+0100) Subject: Change font of matrix to typewriter type X-Git-Tag: v1.3.0~98^2~6 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;ds=sidebyside;h=2d3e3c8a30523b08b10e29af21f6002f28883404;p=clitk.git Change font of matrix to typewriter type --- diff --git a/vv/qt_ui/vvInfoPanel.ui b/vv/qt_ui/vvInfoPanel.ui index 440b539..17d4e8f 100644 --- a/vv/qt_ui/vvInfoPanel.ui +++ b/vv/qt_ui/vvInfoPanel.ui @@ -362,6 +362,12 @@ p, li { white-space: pre-wrap; } 0 + + + Monospace + 8 + + diff --git a/vv/vvInfoPanel.cxx b/vv/vvInfoPanel.cxx index e8d3ba8..9aa3e57 100644 --- a/vv/vvInfoPanel.cxx +++ b/vv/vvInfoPanel.cxx @@ -29,6 +29,9 @@ vvInfoPanel::vvInfoPanel(QWidget * parent):QWidget(parent) #if CLITK_MEMORY_INFO==0 memoryUsageLabel->hide(); #endif + QFont font = transformationLabel->font(); + font.setStyleHint(QFont::TypeWriter); + transformationLabel->setFont(font); } //------------------------------------------------------------------------------