From: sln Date: Tue, 9 Dec 2008 12:47:24 +0000 (+0000) Subject: 0013557: field values display X-Git-Tag: Phase8_Part1_16122008~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=898910df63e73c1096fc7bff938176950b3f8ee8;p=modules%2Fvisu.git 0013557: field values display Updated in accordance with changes in fonts in GUI_SRC QtxFontEdit class and related controls in preferences has been updated in order to support custom fonts instead of system fonts only. For example VTK viewer uses only three fonts Arial, Courier and Times. As result there is no point in providing control with system fonts for VTK viewer. Also ?S? button has been added in QtxFontEdit in order to provide ?Shadow? style of VTK font. ?1underline? property of QFont is replaced with ?overline? property in order to store ?Shadow? status of font to avoid conflict simultaneous usage of ?U? and ?S? button. --- diff --git a/src/VISU_I/VISU_PointMap3d_i.cc b/src/VISU_I/VISU_PointMap3d_i.cc index 372f5447..9c316f47 100644 --- a/src/VISU_I/VISU_PointMap3d_i.cc +++ b/src/VISU_I/VISU_PointMap3d_i.cc @@ -270,7 +270,7 @@ VISU::Storable* VISU::PointMap3d_i::Create() myIsBoldTitle = f.bold(); myIsItalicTitle = f.italic(); - myIsShadowTitle = f.underline(); + myIsShadowTitle = f.overline(); } QColor aTextColor = aResourceMgr->colorValue( "VISU", "scalar_bar_title_color", QColor( 255, 255, 255 ) ); @@ -293,7 +293,7 @@ VISU::Storable* VISU::PointMap3d_i::Create() myIsBoldLabel = f.bold(); myIsItalicLabel = f.italic(); - myIsShadowLabel = f.underline(); + myIsShadowLabel = f.overline(); } QColor aLabelColor = aResourceMgr->colorValue( "VISU", "scalar_bar_label_color", QColor( 255, 255, 255 ) );