From 561a2175310a54d945211c35184a904bbd07f2ed Mon Sep 17 00:00:00 2001 From: asv Date: Fri, 28 Jul 2006 10:14:12 +0000 Subject: [PATCH] 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. --- src/TOOLSGUI/ToolsGUI_RegWidget.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.39.2