]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Icon for rename operation added.
authorvsv <vitaly.smetannikov@opencascade.com>
Thu, 22 May 2014 06:40:56 +0000 (10:40 +0400)
committervsv <vitaly.smetannikov@opencascade.com>
Thu, 22 May 2014 06:40:56 +0000 (10:40 +0400)
src/XGUI/XGUI_ObjectsBrowser.cpp
src/XGUI/XGUI_pictures.qrc
src/XGUI/pictures/rename_edit.png [new file with mode: 0644]

index e5f8c8355a7d57fb032926ec1bb35cfe3116bb45..352fa4ba8dd1fdf9f0da2b0fdec87c83a2cd8e37 100644 (file)
@@ -150,7 +150,7 @@ XGUI_ObjectsBrowser::XGUI_ObjectsBrowser(QWidget* theParent)
   onActivePartChanged(FeaturePtr());
 
   // Create internal actions
-  QAction* aAction = new QAction(tr("Rename"), this);
+  QAction* aAction = new QAction(QIcon(":pictures/rename_edit.png"), tr("Rename"), this);
   aAction->setData("RENAME_CMD");
   connect(aAction, SIGNAL(triggered(bool)), this, SLOT(onEditItem()));
   addAction(aAction);
index ab0bcf2afc799bd6ec8b84b5c4e0857df0504547..8ae03bf231bcb5beb4553a2de7d2d42247f50015 100644 (file)
@@ -55,5 +55,6 @@
      <file>pictures/assembly.png</file>
      <file>pictures/activate.png</file>
      <file>pictures/delete.png</file>
+     <file>pictures/rename_edit.png</file>
  </qresource>
  </RCC>
diff --git a/src/XGUI/pictures/rename_edit.png b/src/XGUI/pictures/rename_edit.png
new file mode 100644 (file)
index 0000000..2ba69c3
Binary files /dev/null and b/src/XGUI/pictures/rename_edit.png differ