]> SALOME platform Git repositories - plugins/hexoticplugin.git/commitdiff
Salome HOME
#17960 [CEA 17952] MG-Hexa hypothesis panel: add option button not active
authoreap <eap@opencascade.com>
Fri, 8 Nov 2019 12:06:04 +0000 (15:06 +0300)
committereap <eap@opencascade.com>
Fri, 8 Nov 2019 12:06:04 +0000 (15:06 +0300)
src/GUI/HexoticPluginGUI_HypothesisCreator.cxx
src/GUI/HexoticPluginGUI_HypothesisCreator.h

index 42bedce708ee1987face763d6f76a5d5ddc3584a..9de1dc8de8dbe782b3907cccdc7b772c0fb480df 100644 (file)
@@ -306,6 +306,7 @@ QFrame* HexoticPluginGUI_HypothesisCreator::buildFrame()
   connect( mySmpWidget->pushButton_1, SIGNAL( clicked() ),          this, SLOT( onAddLocalSize() ) );
   connect( mySmpWidget->pushButton_2, SIGNAL( clicked() ),          this, SLOT( onRemoveLocalSize() ) );
   connect( aTabWidget,                SIGNAL( currentChanged(int)), this, SLOT( onTabChanged( int ) ) );
+  connect( myAdvWidget->addBtn,       SIGNAL( clicked() ),          this, SLOT( onAddOption() ) );
   return fr;
 }
 
@@ -781,3 +782,8 @@ void HexoticPluginGUI_HypothesisCreator::onTabChanged(int i)
   myVLWidget->myFacesWithLayers->ShowPreview( i == VL_TAB );
   myVLWidget->myImprintedFaces->ShowPreview( false );
 }
+
+void HexoticPluginGUI_HypothesisCreator::onAddOption()
+{
+  myAdvWidget->AddOption( NULL, true );
+}
index 884cab4b812bca70ac51bee83523c3ede3c29ad1..e68c786520b614af96dd177aa14fa63b8c75c1de 100644 (file)
@@ -122,6 +122,7 @@ protected slots:
   void             onAddLocalSize();
   void             onRemoveLocalSize();
   void             onTabChanged(int);
+  void             onAddOption();
   
 };