summaryrefslogtreecommitdiff
path: root/tizen/src/ui/menu
diff options
context:
space:
mode:
authorjihye <jihye424.kim@samsung.com>2016-11-17 19:47:43 +0900
committerjihye <jihye424.kim@samsung.com>2016-11-17 19:49:47 +0900
commit4b47529dfeae397d71fcc3aae35ccb85a0ce72c8 (patch)
tree4e04abb46b3b7b508f96525a8e018d36309f04d5 /tizen/src/ui/menu
parentdbeeac9197ffe6eab5bc889006e9dd3d3965251e (diff)
downloadqemu-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/src/ui/menu')
-rw-r--r--tizen/src/ui/menu/screenshotdialog.cpp15
1 files changed, 12 insertions, 3 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()));