]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
*** empty log message ***
authorvsr <vsr@opencascade.com>
Tue, 21 Aug 2007 13:38:25 +0000 (13:38 +0000)
committervsr <vsr@opencascade.com>
Tue, 21 Aug 2007 13:38:25 +0000 (13:38 +0000)
src/CAF/CAF_Application.cxx
src/CAF/Makefile.am
src/CAF/resources/CAF_images.ts [deleted file]
src/CAF/resources/redo.png [deleted file]
src/CAF/resources/undo.png [deleted file]
src/SalomeApp/SalomeApp_ListView.cxx

index e553490c012a689e0234369235278bde40c9a83b..ac268daaf4eb3b7343e9350e130fdb46e6400927 100755 (executable)
@@ -162,14 +162,14 @@ void CAF_Application::createActions()
 
   QtxListAction* editUndo = 
     new QtxListAction( tr( "TOT_APP_EDIT_UNDO" ), 
-                      resMgr->loadPixmap( "CAF", tr( "ICON_APP_EDIT_UNDO" ) ),
+                      resMgr->loadPixmap( "STD", tr( "ICON_EDIT_UNDO" ) ),
                       tr( "MEN_APP_EDIT_UNDO" ), Qt::CTRL+Qt::Key_Z, desk );
   editUndo->setStatusTip( tr( "PRP_APP_EDIT_UNDO" ) );
   registerAction( EditUndoId, editUndo );
 
   QtxListAction* editRedo =
     new QtxListAction( tr( "TOT_APP_EDIT_REDO" ), 
-                      resMgr->loadPixmap( "CAF", tr( "ICON_APP_EDIT_REDO" ) ),
+                      resMgr->loadPixmap( "STD", tr( "ICON_EDIT_REDO" ) ),
                       tr( "MEN_APP_EDIT_REDO" ), Qt::CTRL+Qt::Key_Y, desk );
   editRedo->setStatusTip( tr( "PRP_APP_EDIT_REDO" ) );
   registerAction( EditRedoId, editRedo );
index 173a32f7d3fab23d5790247de2330dbd4f971ffc..f1c06ce16e6a2c10f45d6ee366932ba05253a0dd 100755 (executable)
@@ -44,12 +44,7 @@ MOC_FILES= \
        CAF_Study_moc.cxx
 nodist_libcaf_la_SOURCES= $(MOC_FILES)
 
-dist_salomeres_DATA = \
-       resources/redo.png \
-       resources/undo.png
-
 nodist_salomeres_DATA = \
-       CAF_images.qm \
        CAF_msg_en.qm
 
 libcaf_la_CPPFLAGS=$(QT_INCLUDES) $(CAS_CPPFLAGS) -I$(srcdir)/../STD -I$(srcdir)/../SUIT -I$(srcdir)/../Qtx
diff --git a/src/CAF/resources/CAF_images.ts b/src/CAF/resources/CAF_images.ts
deleted file mode 100644 (file)
index 1435c78..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE TS><TS>
-<context>
-    <name>@default</name>
-    <message>
-        <source>ICON_APP_EDIT_REDO</source>
-        <translation>redo.png</translation>
-    </message>
-    <message>
-        <source>ICON_APP_EDIT_UNDO</source>
-        <translation>undo.png</translation>
-    </message>
-</context>
-</TS>
diff --git a/src/CAF/resources/redo.png b/src/CAF/resources/redo.png
deleted file mode 100755 (executable)
index ac72e5c..0000000
Binary files a/src/CAF/resources/redo.png and /dev/null differ
diff --git a/src/CAF/resources/undo.png b/src/CAF/resources/undo.png
deleted file mode 100755 (executable)
index 61b1977..0000000
Binary files a/src/CAF/resources/undo.png and /dev/null differ
index 2c513719db5a6247cb7c0d80d91babeaea798cdc..e0a70886b86990418bc30c6d7def5ded022bcfd4 100644 (file)
@@ -1105,7 +1105,7 @@ myCancelBtn(0)
 
     QPixmap anIcon;
     if( mgr )
-      anIcon = mgr->loadPixmap( "STD", tr( "ICON_APPLY" ), false );
+      anIcon = mgr->loadPixmap( "SalomeApp", tr( "ICON_APPLY" ), false );
 
     myApplyBtn->setIcon(anIcon);
     myApplyBtn->setEnabled(false);
@@ -1120,7 +1120,7 @@ myCancelBtn(0)
     myCancelBtn = new QToolButton(this);
     QPixmap anIcon;
     if( mgr )
-      anIcon = mgr->loadPixmap( "STD", tr( "ICON_CANCEL" ), false );
+      anIcon = mgr->loadPixmap( "SalomeApp", tr( "ICON_CANCEL" ), false );
     myCancelBtn->setIcon(anIcon);
     myCancelBtn->setEnabled(false);
     myCancelBtn->setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed));