]> Creatis software - clitk.git/commitdiff
Change font of matrix to typewriter type
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Mon, 13 Feb 2012 13:26:03 +0000 (14:26 +0100)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Mon, 13 Feb 2012 13:26:03 +0000 (14:26 +0100)
vv/qt_ui/vvInfoPanel.ui
vv/vvInfoPanel.cxx

index 440b53957d7dc4d43aef23e260b31fbb044d6023..17d4e8ffa21d51799a57088106f3d78b050129e4 100644 (file)
@@ -362,6 +362,12 @@ p, li { white-space: pre-wrap; }
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
+         <property name="font">
+          <font>
+           <family>Monospace</family>
+           <pointsize>8</pointsize>
+          </font>
+         </property>
          <property name="text">
           <string/>
          </property>
index e8d3ba8187718616c917a166ae14e7e5476f4654..9aa3e57f448a66a64a42b1b660a49de6174382ac 100644 (file)
@@ -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);
 }
 //------------------------------------------------------------------------------