screenshot: change button icons
authorjihye <jihye424.kim@samsung.com>
Thu, 17 Nov 2016 10:47:43 +0000 (19:47 +0900)
committerjihye <jihye424.kim@samsung.com>
Thu, 17 Nov 2016 10:49:47 +0000 (19:49 +0900)
Change-Id: Idc563dc37942826441e32109b83da0f8e37c3ed7
Signed-off-by: jihye <jihye424.kim@samsung.com>
14 files changed:
tizen/src/ui/menu/screenshotdialog.cpp
tizen/src/ui/resource/icons/copy_screenshot_dialog.png [deleted file]
tizen/src/ui/resource/icons/refresh_screenshot_dialog.png [deleted file]
tizen/src/ui/resource/icons/save_screenshot_dialog.png [deleted file]
tizen/src/ui/resource/icons/ss_copy_mv.png [new file with mode: 0644]
tizen/src/ui/resource/icons/ss_copy_nor.png [new file with mode: 0644]
tizen/src/ui/resource/icons/ss_copy_sel.png [new file with mode: 0644]
tizen/src/ui/resource/icons/ss_refresh_mv.png [new file with mode: 0644]
tizen/src/ui/resource/icons/ss_refresh_nor.png [new file with mode: 0644]
tizen/src/ui/resource/icons/ss_refresh_sel.png [new file with mode: 0644]
tizen/src/ui/resource/icons/ss_save_mv.png [new file with mode: 0644]
tizen/src/ui/resource/icons/ss_save_nor.png [new file with mode: 0644]
tizen/src/ui/resource/icons/ss_save_sel.png [new file with mode: 0644]
tizen/src/ui/resource/resource.qrc

index 42505d0..c57a7bb 100644 (file)
@@ -78,7 +78,10 @@ void ScreenShotDialog::createItems(QGridLayout *layout)
     /* Save */
     actionSave = new QAction(SCREENSHOT_SAVE_TEXT, this);
     actionSave->setShortcuts(QKeySequence::Save);
-    actionSave->setIcon(QIcon(":/icons/save_screenshot_dialog.png"));
+    QIcon saveIcon = QIcon(":/icons/ss_save_nor.png");
+    saveIcon.addPixmap(QPixmap(":/icons/ss_save_mv.png"), QIcon::Active);
+    saveIcon.addPixmap(QPixmap(":/icons/ss_save_sel.png"), QIcon::Selected);
+    actionSave->setIcon(saveIcon);
     actionSave->setToolTip(SCREENSHOT_SAVE_TOOLTIP);
     connect(actionSave, SIGNAL(triggered()), this, SLOT(slotSave()));
     toolBar->addAction(actionSave);
@@ -86,7 +89,10 @@ void ScreenShotDialog::createItems(QGridLayout *layout)
     /* Copy */
     actionCopy = new QAction(SCREENSHOT_COPY_TEXT, this);
     actionCopy->setShortcuts(QKeySequence::Copy);
-    actionCopy->setIcon(QIcon(":/icons/copy_screenshot_dialog.png"));
+    QIcon copyIcon = QIcon(":/icons/ss_copy_nor.png");
+    copyIcon.addPixmap(QPixmap(":/icons/ss_copy_mv.png"), QIcon::Active);
+    copyIcon.addPixmap(QPixmap(":/icons/ss_copy_sel.png"), QIcon::Selected);
+    actionCopy->setIcon(copyIcon);
     actionCopy->setToolTip(SCREENSHOT_COPY_TOOLTIP);
     connect(actionCopy, SIGNAL(triggered()), this, SLOT(slotCopy()));
     toolBar->addAction(actionCopy);
@@ -94,7 +100,10 @@ void ScreenShotDialog::createItems(QGridLayout *layout)
     /* Refresh */
     actionRefresh = new QAction(SCREENSHOT_REFRESH_TEXT, this);
     actionRefresh->setShortcuts(QKeySequence::Refresh);
-    actionRefresh->setIcon(QIcon(":/icons/refresh_screenshot_dialog.png"));
+    QIcon refreshIcon = QIcon(":/icons/ss_refresh_nor.png");
+    refreshIcon.addPixmap(QPixmap(":/icons/ss_refresh_mv.png"), QIcon::Active);
+    refreshIcon.addPixmap(QPixmap(":/icons/ss_refresh_sel.png"), QIcon::Selected);
+    actionRefresh->setIcon(refreshIcon);
     actionRefresh->setToolTip(SCREENSHOT_REFRESH_TOOLTIP);
     connect(actionRefresh, SIGNAL(triggered()),
         win->getPopupMenu(), SLOT(slotRequestScreenshot()));
diff --git a/tizen/src/ui/resource/icons/copy_screenshot_dialog.png b/tizen/src/ui/resource/icons/copy_screenshot_dialog.png
deleted file mode 100644 (file)
index a07a5f7..0000000
Binary files a/tizen/src/ui/resource/icons/copy_screenshot_dialog.png and /dev/null differ
diff --git a/tizen/src/ui/resource/icons/refresh_screenshot_dialog.png b/tizen/src/ui/resource/icons/refresh_screenshot_dialog.png
deleted file mode 100644 (file)
index e1616d9..0000000
Binary files a/tizen/src/ui/resource/icons/refresh_screenshot_dialog.png and /dev/null differ
diff --git a/tizen/src/ui/resource/icons/save_screenshot_dialog.png b/tizen/src/ui/resource/icons/save_screenshot_dialog.png
deleted file mode 100644 (file)
index 523fe9e..0000000
Binary files a/tizen/src/ui/resource/icons/save_screenshot_dialog.png and /dev/null differ
diff --git a/tizen/src/ui/resource/icons/ss_copy_mv.png b/tizen/src/ui/resource/icons/ss_copy_mv.png
new file mode 100644 (file)
index 0000000..cc69c96
Binary files /dev/null and b/tizen/src/ui/resource/icons/ss_copy_mv.png differ
diff --git a/tizen/src/ui/resource/icons/ss_copy_nor.png b/tizen/src/ui/resource/icons/ss_copy_nor.png
new file mode 100644 (file)
index 0000000..571fca7
Binary files /dev/null and b/tizen/src/ui/resource/icons/ss_copy_nor.png differ
diff --git a/tizen/src/ui/resource/icons/ss_copy_sel.png b/tizen/src/ui/resource/icons/ss_copy_sel.png
new file mode 100644 (file)
index 0000000..a31e665
Binary files /dev/null and b/tizen/src/ui/resource/icons/ss_copy_sel.png differ
diff --git a/tizen/src/ui/resource/icons/ss_refresh_mv.png b/tizen/src/ui/resource/icons/ss_refresh_mv.png
new file mode 100644 (file)
index 0000000..17ac418
Binary files /dev/null and b/tizen/src/ui/resource/icons/ss_refresh_mv.png differ
diff --git a/tizen/src/ui/resource/icons/ss_refresh_nor.png b/tizen/src/ui/resource/icons/ss_refresh_nor.png
new file mode 100644 (file)
index 0000000..6f68b3d
Binary files /dev/null and b/tizen/src/ui/resource/icons/ss_refresh_nor.png differ
diff --git a/tizen/src/ui/resource/icons/ss_refresh_sel.png b/tizen/src/ui/resource/icons/ss_refresh_sel.png
new file mode 100644 (file)
index 0000000..1121290
Binary files /dev/null and b/tizen/src/ui/resource/icons/ss_refresh_sel.png differ
diff --git a/tizen/src/ui/resource/icons/ss_save_mv.png b/tizen/src/ui/resource/icons/ss_save_mv.png
new file mode 100644 (file)
index 0000000..3170db2
Binary files /dev/null and b/tizen/src/ui/resource/icons/ss_save_mv.png differ
diff --git a/tizen/src/ui/resource/icons/ss_save_nor.png b/tizen/src/ui/resource/icons/ss_save_nor.png
new file mode 100644 (file)
index 0000000..df5774c
Binary files /dev/null and b/tizen/src/ui/resource/icons/ss_save_nor.png differ
diff --git a/tizen/src/ui/resource/icons/ss_save_sel.png b/tizen/src/ui/resource/icons/ss_save_sel.png
new file mode 100644 (file)
index 0000000..94536db
Binary files /dev/null and b/tizen/src/ui/resource/icons/ss_save_sel.png differ
index 2b964a3..c5d26ec 100644 (file)
         <file>icons/scale.png</file>
         <file>icons/control_panel.png</file>
         <file>icons/screen_shot.png</file>
-        <file>icons/save_screenshot_dialog.png</file>
-        <file>icons/copy_screenshot_dialog.png</file>
-        <file>icons/refresh_screenshot_dialog.png</file>
+        <file>icons/ss_save_nor.png</file>
+        <file>icons/ss_copy_nor.png</file>
+        <file>icons/ss_refresh_nor.png</file>
+        <file>icons/ss_save_mv.png</file>
+        <file>icons/ss_copy_mv.png</file>
+        <file>icons/ss_refresh_mv.png</file>
+        <file>icons/ss_save_sel.png</file>
+        <file>icons/ss_copy_sel.png</file>
+        <file>icons/ss_refresh_sel.png</file>
         <file>icons/move.png</file>
     </qresource>
 </RCC>