mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 17:10:33 +05:00
Cancel button renamed in Close and moved to the right position
This commit is contained in:
parent
bd82c5b373
commit
c31ab40cc6
@ -43,6 +43,8 @@ SMESHGUI_Dialog::SMESHGUI_Dialog( QWidget* parent, const bool modal,
|
|||||||
typeName( pr + MESH ) = tr( "DLG_MESH" );
|
typeName( pr + MESH ) = tr( "DLG_MESH" );
|
||||||
typeName( pr + HYPOTHESIS ) = tr( "DLG_HYPO" );
|
typeName( pr + HYPOTHESIS ) = tr( "DLG_HYPO" );
|
||||||
typeName( pr + ALGORITHM ) = tr( "DLG_ALGO" );
|
typeName( pr + ALGORITHM ) = tr( "DLG_ALGO" );
|
||||||
|
if ( flags & Close )
|
||||||
|
setButtonPosition( Right, Close );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=================================================================================
|
//=================================================================================
|
||||||
|
@ -44,7 +44,7 @@ class SMESHGUI_Dialog : public SalomeApp_Dialog
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
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 ~SMESHGUI_Dialog();
|
||||||
|
|
||||||
virtual void show();
|
virtual void show();
|
||||||
|
Loading…
Reference in New Issue
Block a user