]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0021684: EDF 2221 : Display the arguments and the name of the operations
authoreap <eap@opencascade.com>
Tue, 16 Jul 2013 10:33:24 +0000 (10:33 +0000)
committereap <eap@opencascade.com>
Tue, 16 Jul 2013 10:33:24 +0000 (10:33 +0000)
Make creation parameters not editable

src/GEOMGUI/GEOMGUI_CreationInfoWdg.cxx

index ad8282be66dd3d438a63823c4d02bc60831c05f3..5a488aa5f4397737cc454262c5b592d025adaddb 100644 (file)
@@ -84,7 +84,7 @@ void GEOMGUI_CreationInfoWdg::addParam (const QString& name, const QString& valu
 {
   QTreeWidgetItem* item = new QTreeWidgetItem( myParamsTreeWd );
 
-  item->setFlags( item->flags() | Qt::ItemIsEditable );
+  //item->setFlags( Qt::NoItemFlags );
   item->setExpanded( true );
 
   item->setText( 0, name );
@@ -100,5 +100,5 @@ void GEOMGUI_CreationInfoWdg::clear()
 
 GEOMGUI_CreationInfoWdg::~GEOMGUI_CreationInfoWdg()
 {
-  std::cout<<"~GEOMGUI_CreationInfoWdg"<<std::endl;
+  //std::cout<<"~GEOMGUI_CreationInfoWdg"<<std::endl;
 }