diff options
author | jihye <jihye424.kim@samsung.com> | 2016-11-17 19:47:43 +0900 |
---|---|---|
committer | jihye <jihye424.kim@samsung.com> | 2016-11-17 19:49:47 +0900 |
commit | 4b47529dfeae397d71fcc3aae35ccb85a0ce72c8 (patch) | |
tree | 4e04abb46b3b7b508f96525a8e018d36309f04d5 /tizen | |
parent | dbeeac9197ffe6eab5bc889006e9dd3d3965251e (diff) | |
download | qemu-4b47529dfeae397d71fcc3aae35ccb85a0ce72c8.tar.gz qemu-4b47529dfeae397d71fcc3aae35ccb85a0ce72c8.tar.bz2 qemu-4b47529dfeae397d71fcc3aae35ccb85a0ce72c8.zip |
screenshot: change button icons
Change-Id: Idc563dc37942826441e32109b83da0f8e37c3ed7
Signed-off-by: jihye <jihye424.kim@samsung.com>
Diffstat (limited to 'tizen')
-rw-r--r-- | tizen/src/ui/menu/screenshotdialog.cpp | 15 | ||||
-rw-r--r-- | tizen/src/ui/resource/icons/copy_screenshot_dialog.png | bin | 3267 -> 0 bytes | |||
-rw-r--r-- | tizen/src/ui/resource/icons/refresh_screenshot_dialog.png | bin | 3917 -> 0 bytes | |||
-rw-r--r-- | tizen/src/ui/resource/icons/save_screenshot_dialog.png | bin | 3272 -> 0 bytes | |||
-rw-r--r-- | tizen/src/ui/resource/icons/ss_copy_mv.png | bin | 0 -> 1130 bytes | |||
-rw-r--r-- | tizen/src/ui/resource/icons/ss_copy_nor.png | bin | 0 -> 1119 bytes | |||
-rw-r--r-- | tizen/src/ui/resource/icons/ss_copy_sel.png | bin | 0 -> 1129 bytes | |||
-rw-r--r-- | tizen/src/ui/resource/icons/ss_refresh_mv.png | bin | 0 -> 1361 bytes | |||
-rw-r--r-- | tizen/src/ui/resource/icons/ss_refresh_nor.png | bin | 0 -> 1369 bytes | |||
-rw-r--r-- | tizen/src/ui/resource/icons/ss_refresh_sel.png | bin | 0 -> 1364 bytes | |||
-rw-r--r-- | tizen/src/ui/resource/icons/ss_save_mv.png | bin | 0 -> 1080 bytes | |||
-rw-r--r-- | tizen/src/ui/resource/icons/ss_save_nor.png | bin | 0 -> 1083 bytes | |||
-rw-r--r-- | tizen/src/ui/resource/icons/ss_save_sel.png | bin | 0 -> 1087 bytes | |||
-rw-r--r-- | tizen/src/ui/resource/resource.qrc | 12 |
14 files changed, 21 insertions, 6 deletions
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 Binary files differdeleted file mode 100644 index a07a5f720b..0000000000 --- a/tizen/src/ui/resource/icons/copy_screenshot_dialog.png +++ /dev/null diff --git a/tizen/src/ui/resource/icons/refresh_screenshot_dialog.png b/tizen/src/ui/resource/icons/refresh_screenshot_dialog.png Binary files differdeleted file mode 100644 index e1616d9bc2..0000000000 --- a/tizen/src/ui/resource/icons/refresh_screenshot_dialog.png +++ /dev/null diff --git a/tizen/src/ui/resource/icons/save_screenshot_dialog.png b/tizen/src/ui/resource/icons/save_screenshot_dialog.png Binary files differdeleted file mode 100644 index 523fe9efd3..0000000000 --- a/tizen/src/ui/resource/icons/save_screenshot_dialog.png +++ /dev/null diff --git a/tizen/src/ui/resource/icons/ss_copy_mv.png b/tizen/src/ui/resource/icons/ss_copy_mv.png Binary files differnew file mode 100644 index 0000000000..cc69c96af2 --- /dev/null +++ b/tizen/src/ui/resource/icons/ss_copy_mv.png diff --git a/tizen/src/ui/resource/icons/ss_copy_nor.png b/tizen/src/ui/resource/icons/ss_copy_nor.png Binary files differnew file mode 100644 index 0000000000..571fca7d02 --- /dev/null +++ b/tizen/src/ui/resource/icons/ss_copy_nor.png diff --git a/tizen/src/ui/resource/icons/ss_copy_sel.png b/tizen/src/ui/resource/icons/ss_copy_sel.png Binary files differnew file mode 100644 index 0000000000..a31e6656d1 --- /dev/null +++ b/tizen/src/ui/resource/icons/ss_copy_sel.png diff --git a/tizen/src/ui/resource/icons/ss_refresh_mv.png b/tizen/src/ui/resource/icons/ss_refresh_mv.png Binary files differnew file mode 100644 index 0000000000..17ac41830f --- /dev/null +++ b/tizen/src/ui/resource/icons/ss_refresh_mv.png diff --git a/tizen/src/ui/resource/icons/ss_refresh_nor.png b/tizen/src/ui/resource/icons/ss_refresh_nor.png Binary files differnew file mode 100644 index 0000000000..6f68b3d1da --- /dev/null +++ b/tizen/src/ui/resource/icons/ss_refresh_nor.png diff --git a/tizen/src/ui/resource/icons/ss_refresh_sel.png b/tizen/src/ui/resource/icons/ss_refresh_sel.png Binary files differnew file mode 100644 index 0000000000..1121290a65 --- /dev/null +++ b/tizen/src/ui/resource/icons/ss_refresh_sel.png diff --git a/tizen/src/ui/resource/icons/ss_save_mv.png b/tizen/src/ui/resource/icons/ss_save_mv.png Binary files differnew file mode 100644 index 0000000000..3170db246b --- /dev/null +++ b/tizen/src/ui/resource/icons/ss_save_mv.png diff --git a/tizen/src/ui/resource/icons/ss_save_nor.png b/tizen/src/ui/resource/icons/ss_save_nor.png Binary files differnew file mode 100644 index 0000000000..df5774ccba --- /dev/null +++ b/tizen/src/ui/resource/icons/ss_save_nor.png diff --git a/tizen/src/ui/resource/icons/ss_save_sel.png b/tizen/src/ui/resource/icons/ss_save_sel.png Binary files differnew file mode 100644 index 0000000000..94536db8ea --- /dev/null +++ b/tizen/src/ui/resource/icons/ss_save_sel.png 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 @@ <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> |