From: asv Date: Fri, 28 Jul 2006 10:14:12 +0000 (+0000) Subject: Added tag to the text output in RegWidget to make it look better on Windows... X-Git-Tag: LAST_STABLE_VERSION_21_09_2006_ON_3_2_0~54 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=561a2175310a54d945211c35184a904bbd07f2ed;p=modules%2Fgui.git Added tag to the text output in RegWidget to make it look better on Windows. For Unix I suppose it will be OK as well. --- diff --git a/src/TOOLSGUI/ToolsGUI_RegWidget.cxx b/src/TOOLSGUI/ToolsGUI_RegWidget.cxx index b6f3e34a5..d09dc1830 100755 --- a/src/TOOLSGUI/ToolsGUI_RegWidget.cxx +++ b/src/TOOLSGUI/ToolsGUI_RegWidget.cxx @@ -342,6 +342,8 @@ QString ToolsGUI_RegWidget::setlongText( const Registry::Infos &c_info) QString a = QString( "

" ) + tr( "Code" ) + QString( " : " ); a.append( QString( c_info.name ) ); a.append( "



" ); + a.append( "" ); // ASV: 28.07.06 : added tags to make the text font be + // fixed width (looks much better on Windows) a.append( tr( "Process Id" ) + QString( " : " ) ); a.append( BOLD( QString::number( int( c_info.pid ) ) ) ); a.append( QString( " " ) + tr( "on machine" ) + QString( " " ) ); @@ -400,6 +402,8 @@ QString ToolsGUI_RegWidget::setlongText( const Registry::Infos &c_info) a.append( BOLD( QString::number( int( c_info.difftime ) ) ) ); a.append( QString( " " ) + tr( "seconds" ) + QString( ")
" ) ); } + a.append( "
" ); // ASV: 28.07.06 : added tags to make the text font be + // fixed width (looks much better on Windows) END_OF("setlongText"); return a;