Cancel button renamed in Close and moved to the right position

This commit is contained in:
sln 2005-08-26 12:19:44 +00:00
parent bd82c5b373
commit c31ab40cc6
2 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,8 @@ SMESHGUI_Dialog::SMESHGUI_Dialog( QWidget* parent, const bool modal,
typeName( pr + MESH ) = tr( "DLG_MESH" );
typeName( pr + HYPOTHESIS ) = tr( "DLG_HYPO" );
typeName( pr + ALGORITHM ) = tr( "DLG_ALGO" );
if ( flags & Close )
setButtonPosition( Right, Close );
}
//=================================================================================

View File

@ -44,7 +44,7 @@ class SMESHGUI_Dialog : public SalomeApp_Dialog
Q_OBJECT
public:
SMESHGUI_Dialog( QWidget* = 0, const bool = false, const bool = false, const int = OK | Cancel | Apply );
SMESHGUI_Dialog( QWidget* = 0, const bool = false, const bool = false, const int = OK | Close | Apply );
virtual ~SMESHGUI_Dialog();
virtual void show();