mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 21:20:33 +05:00
NPAL13898
This commit is contained in:
parent
264004fcf9
commit
b66fdf7ddc
@ -650,7 +650,7 @@ void SMESHGUI_MeshInfosBox::SetInfoByMesh(SMESH::SMESH_Mesh_var mesh)
|
|||||||
*/
|
*/
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
SMESHGUI_ComputeDlg::SMESHGUI_ComputeDlg(): SMESHGUI_Dialog( 0, false, true, OK/* | Help*/ )
|
SMESHGUI_ComputeDlg::SMESHGUI_ComputeDlg(): SMESHGUI_Dialog( 0, false, true, Close/* | Help*/ )
|
||||||
{
|
{
|
||||||
QVBoxLayout* aDlgLay = new QVBoxLayout (mainFrame(), 0, SPACING);
|
QVBoxLayout* aDlgLay = new QVBoxLayout (mainFrame(), 0, SPACING);
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ void SMESHGUI_Operation::startOperation()
|
|||||||
disconnect( dlg(), SIGNAL( dlgClose() ), this, SLOT( onCancel() ) );
|
disconnect( dlg(), SIGNAL( dlgClose() ), this, SLOT( onCancel() ) );
|
||||||
disconnect( dlg(), SIGNAL( dlgHelp() ), this, SLOT( onHelp() ) );
|
disconnect( dlg(), SIGNAL( dlgHelp() ), this, SLOT( onHelp() ) );
|
||||||
|
|
||||||
dlg()->setButtonText(1, "&Ok"); //rename Apply and Close to OK
|
// dlg()->setButtonText(1, "&Ok"); //rename Apply and Close to OK
|
||||||
|
|
||||||
if( dlg()->testButtonFlags( QtxDialog::OK ) )
|
if( dlg()->testButtonFlags( QtxDialog::OK ) )
|
||||||
connect( dlg(), SIGNAL( dlgOk() ), this, SLOT( onOk() ) );
|
connect( dlg(), SIGNAL( dlgOk() ), this, SLOT( onOk() ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user