From 544c1b539d74424d9404eecc323dc0263800d0f9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=A9rald=20NICOLAS?= Date: Wed, 28 Oct 2020 16:48:15 +0100 Subject: [PATCH] Suppression de l'option "Delete" --- src/HOMARDGUI/CreateHypothesis.ui | 11 ++--------- src/HOMARDGUI/MonCreateHypothesis.cxx | 10 ---------- src/HOMARDGUI/MonCreateHypothesis.h | 1 - 3 files changed, 2 insertions(+), 20 deletions(-) diff --git a/src/HOMARDGUI/CreateHypothesis.ui b/src/HOMARDGUI/CreateHypothesis.ui index 53698b54..1928c238 100644 --- a/src/HOMARDGUI/CreateHypothesis.ui +++ b/src/HOMARDGUI/CreateHypothesis.ui @@ -45,8 +45,8 @@ 0 0 - 844 - 1646 + 846 + 1648 @@ -782,13 +782,6 @@ - - - - - - - diff --git a/src/HOMARDGUI/MonCreateHypothesis.cxx b/src/HOMARDGUI/MonCreateHypothesis.cxx index 6b03def0..1e30fc35 100644 --- a/src/HOMARDGUI/MonCreateHypothesis.cxx +++ b/src/HOMARDGUI/MonCreateHypothesis.cxx @@ -116,7 +116,6 @@ void MonCreateHypothesis::InitConnect() connect( CBJump, SIGNAL(stateChanged(int)), this, SLOT(SetUseField())); connect( PBZoneNew, SIGNAL(pressed()), this, SLOT(PushZoneNew())); connect( PBZoneEdit, SIGNAL(pressed()), this, SLOT(PushZoneEdit()) ); - connect( PBZoneDelete, SIGNAL(pressed()), this, SLOT(PushZoneDelete()) ); connect( CBGroupe, SIGNAL(stateChanged(int)), this, SLOT(SetFiltrage())); connect( RBFieldNo, SIGNAL(clicked()), this, SLOT(SetFieldNo())); @@ -339,15 +338,6 @@ void MonCreateHypothesis::PushZoneEdit() MonEditZone *aDlg = new MonEditZone(this, true, HOMARD::HOMARD_Gen::_duplicate(myHomardGen), _aCaseName, zoneName) ; aDlg->show(); } -// ------------------------------------------------------------------------ -void MonCreateHypothesis::PushZoneDelete() -// ------------------------------------------------------------------------ -{ - MESSAGE("Debut de MonCreateHypothesis::PushZoneDelete") - QMessageBox::warning( 0, QObject::tr("HOM_WARNING"), - QObject::tr("HOM_INACTIVE_BUTTON") ); - return; -} // ------------------------------------------------------------------------ void MonCreateHypothesis::GetAllZones() diff --git a/src/HOMARDGUI/MonCreateHypothesis.h b/src/HOMARDGUI/MonCreateHypothesis.h index 929ee30a..56a56962 100644 --- a/src/HOMARDGUI/MonCreateHypothesis.h +++ b/src/HOMARDGUI/MonCreateHypothesis.h @@ -119,7 +119,6 @@ public slots: virtual void SetUseField(); virtual void PushZoneNew(); virtual void PushZoneEdit(); - virtual void PushZoneDelete(); virtual void SetFiltrage(); virtual void SetFieldNo(); virtual void SetFieldAll(); -- 2.39.2