]> SALOME platform Git repositories - modules/homard.git/commitdiff
Salome HOME
Suppression de l'option "Delete"
authorGérald NICOLAS <gerald.nicolas@edf.fr>
Wed, 28 Oct 2020 15:48:15 +0000 (16:48 +0100)
committerGérald NICOLAS <gerald.nicolas@edf.fr>
Wed, 28 Oct 2020 15:48:15 +0000 (16:48 +0100)
src/HOMARDGUI/CreateHypothesis.ui
src/HOMARDGUI/MonCreateHypothesis.cxx
src/HOMARDGUI/MonCreateHypothesis.h

index 53698b5486795b662e1997a920cb69f03ef16498..1928c238925ff1ffa2c5f7268462f4a1a24cb799 100644 (file)
@@ -45,8 +45,8 @@
     <rect>
      <x>0</x>
      <y>0</y>
-     <width>844</width>
-     <height>1646</height>
+     <width>846</width>
+     <height>1648</height>
     </rect>
    </property>
    <property name="sizeGripEnabled" stdset="0">
              </property>
             </widget>
            </item>
-           <item>
-            <widget class="QPushButton" name="PBZoneDelete">
-             <property name="text">
-              <string/>
-             </property>
-            </widget>
-           </item>
           </layout>
          </item>
          <item>
index 6b03def0eef912411ea6d1ba133ac962688f41a0..1e30fc359288bd0d7831d819b1d612174e6f47ac 100644 (file)
@@ -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()
index 929ee30aabb425d7d3ccf0a95811bd9ecdb76ecd..56a569623c472b7bfc10e0dd45ce0b7ce221e180 100644 (file)
@@ -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();