From: mzn Date: Wed, 24 Aug 2005 12:55:42 +0000 (+0000) Subject: ?Preferences? dialog box: button ?Cancel? should be replaced by ?Close?. X-Git-Tag: T_3_0_2a1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0b43d080e01e39ef6722c101685d5b21b9a41e6a;p=modules%2Fgui.git ?Preferences? dialog box: button ?Cancel? should be replaced by ?Close?. --- diff --git a/src/SalomeApp/SalomeApp_PreferencesDlg.cxx b/src/SalomeApp/SalomeApp_PreferencesDlg.cxx index 1914fb4f7..9a225d982 100755 --- a/src/SalomeApp/SalomeApp_PreferencesDlg.cxx +++ b/src/SalomeApp/SalomeApp_PreferencesDlg.cxx @@ -12,7 +12,7 @@ Constructor. */ SalomeApp_PreferencesDlg::SalomeApp_PreferencesDlg( SalomeApp_Preferences* prefs, QWidget* parent ) -: QtxDialog( parent, 0, true, false, OK | Cancel | Apply ), +: QtxDialog( parent, 0, true, false, OK | Close | Apply ), myPrefs( prefs ) { setCaption( tr( "CAPTION" ) ); @@ -26,6 +26,8 @@ myPrefs( prefs ) setFocusProxy( myPrefs ); + setButtonPosition( Right, Close ); + setDialogFlags( AlignOnce ); connect( this, SIGNAL( dlgHelp() ), this, SLOT( onHelp() ) );