From 4b47529dfeae397d71fcc3aae35ccb85a0ce72c8 Mon Sep 17 00:00:00 2001 From: jihye Date: Thu, 17 Nov 2016 19:47:43 +0900 Subject: screenshot: change button icons Change-Id: Idc563dc37942826441e32109b83da0f8e37c3ed7 Signed-off-by: jihye --- tizen/src/ui/menu/screenshotdialog.cpp | 15 ++++++++++++--- tizen/src/ui/resource/icons/copy_screenshot_dialog.png | Bin 3267 -> 0 bytes .../src/ui/resource/icons/refresh_screenshot_dialog.png | Bin 3917 -> 0 bytes tizen/src/ui/resource/icons/save_screenshot_dialog.png | Bin 3272 -> 0 bytes tizen/src/ui/resource/icons/ss_copy_mv.png | Bin 0 -> 1130 bytes tizen/src/ui/resource/icons/ss_copy_nor.png | Bin 0 -> 1119 bytes tizen/src/ui/resource/icons/ss_copy_sel.png | Bin 0 -> 1129 bytes tizen/src/ui/resource/icons/ss_refresh_mv.png | Bin 0 -> 1361 bytes tizen/src/ui/resource/icons/ss_refresh_nor.png | Bin 0 -> 1369 bytes tizen/src/ui/resource/icons/ss_refresh_sel.png | Bin 0 -> 1364 bytes tizen/src/ui/resource/icons/ss_save_mv.png | Bin 0 -> 1080 bytes tizen/src/ui/resource/icons/ss_save_nor.png | Bin 0 -> 1083 bytes tizen/src/ui/resource/icons/ss_save_sel.png | Bin 0 -> 1087 bytes tizen/src/ui/resource/resource.qrc | 12 +++++++++--- 14 files changed, 21 insertions(+), 6 deletions(-) delete mode 100644 tizen/src/ui/resource/icons/copy_screenshot_dialog.png delete mode 100644 tizen/src/ui/resource/icons/refresh_screenshot_dialog.png delete mode 100644 tizen/src/ui/resource/icons/save_screenshot_dialog.png create mode 100644 tizen/src/ui/resource/icons/ss_copy_mv.png create mode 100644 tizen/src/ui/resource/icons/ss_copy_nor.png create mode 100644 tizen/src/ui/resource/icons/ss_copy_sel.png create mode 100644 tizen/src/ui/resource/icons/ss_refresh_mv.png create mode 100644 tizen/src/ui/resource/icons/ss_refresh_nor.png create mode 100644 tizen/src/ui/resource/icons/ss_refresh_sel.png create mode 100644 tizen/src/ui/resource/icons/ss_save_mv.png create mode 100644 tizen/src/ui/resource/icons/ss_save_nor.png create mode 100644 tizen/src/ui/resource/icons/ss_save_sel.png diff --git a/tizen/src/ui/menu/screenshotdialog.cpp b/tizen/src/ui/menu/screenshotdialog.cpp index 42505d07ae..c57a7bb077 100644 --- a/tizen/src/ui/menu/screenshotdialog.cpp +++ b/tizen/src/ui/menu/screenshotdialog.cpp @@ -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 index a07a5f720b..0000000000 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 index e1616d9bc2..0000000000 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 index 523fe9efd3..0000000000 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 index 0000000000..cc69c96af2 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 index 0000000000..571fca7d02 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 index 0000000000..a31e6656d1 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 index 0000000000..17ac41830f 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 index 0000000000..6f68b3d1da 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 index 0000000000..1121290a65 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 index 0000000000..3170db246b 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 index 0000000000..df5774ccba 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 index 0000000000..94536db8ea Binary files /dev/null and b/tizen/src/ui/resource/icons/ss_save_sel.png differ diff --git a/tizen/src/ui/resource/resource.qrc b/tizen/src/ui/resource/resource.qrc index 2b964a362a..c5d26ec982 100644 --- a/tizen/src/ui/resource/resource.qrc +++ b/tizen/src/ui/resource/resource.qrc @@ -42,9 +42,15 @@ icons/scale.png icons/control_panel.png icons/screen_shot.png - icons/save_screenshot_dialog.png - icons/copy_screenshot_dialog.png - icons/refresh_screenshot_dialog.png + icons/ss_save_nor.png + icons/ss_copy_nor.png + icons/ss_refresh_nor.png + icons/ss_save_mv.png + icons/ss_copy_mv.png + icons/ss_refresh_mv.png + icons/ss_save_sel.png + icons/ss_copy_sel.png + icons/ss_refresh_sel.png icons/move.png -- cgit v1.2.3