0021684: EDF 2221 : Display the arguments and the name of the operations

Make creation parameters not editable
This commit is contained in:
eap 2013-07-16 10:33:24 +00:00
parent bf456e30c0
commit ed08a2dcc3

View File

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