Salome HOME
projects
/
modules
/
gui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e121ed
)
?Preferences? dialog box: button ?Cancel? should be replaced by ?Close?.
author
mzn
<mzn@opencascade.com>
Wed, 24 Aug 2005 12:55:42 +0000
(12:55 +0000)
committer
mzn
<mzn@opencascade.com>
Wed, 24 Aug 2005 12:55:42 +0000
(12:55 +0000)
src/SalomeApp/SalomeApp_PreferencesDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SalomeApp/SalomeApp_PreferencesDlg.cxx
b/src/SalomeApp/SalomeApp_PreferencesDlg.cxx
index 1914fb4f7baabaf8c8168f6a611c752415641d46..9a225d9826261f47ee8ba344f9ce83f1a1611112 100755
(executable)
--- 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 | C
ancel
| Apply ),
+: QtxDialog( parent, 0, true, false, OK | C
lose
| 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() ) );