From f396d6f9ec3b899fca8d4056b72c7257c8c7d551 Mon Sep 17 00:00:00 2001 From: GiWoong Kim Date: Fri, 27 Nov 2015 16:35:38 +0900 Subject: menu: reduce the entry of VM Info from Detailed Info dialog combine Display Resolution item with Display Density item ex) Display: 480x800 (233 ppi) Change-Id: If96b01408040f7d5ff18b78b123bcdd8fcbe1d8e Signed-off-by: GiWoong Kim --- tizen/src/ui/menu/detailedinfodialog.cpp | 8 +++----- tizen/src/ui/resource/ui_strings.h | 3 +-- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'tizen') diff --git a/tizen/src/ui/menu/detailedinfodialog.cpp b/tizen/src/ui/menu/detailedinfodialog.cpp index c7be28adf6..41d57bb810 100644 --- a/tizen/src/ui/menu/detailedinfodialog.cpp +++ b/tizen/src/ui/menu/detailedinfodialog.cpp @@ -134,12 +134,10 @@ QTableWidget *DetailedInfoDialog::createVmInfoTable() insertTableRow(vmInfo, QString(DETAILED_INFO_RAM_SIZE), QString::number(get_ram_size() >> 20) + " MiB"); - insertTableRow(vmInfo, QString(DETAILED_INFO_DPY_RESOLUTION), + insertTableRow(vmInfo, QString(DETAILED_INFO_DISPLAY), QString::number(win->getUiInfo()->getResolution().width()) + "x" + - QString::number(win->getUiInfo()->getResolution().height())); - - insertTableRow(vmInfo, QString(DETAILED_INFO_DPY_DENSITY), - QString::number(get_display_pixel_density())); + QString::number(win->getUiInfo()->getResolution().height()) + " (" + + QString::number(get_display_pixel_density()) + " ppi)"); QString sharingPath(QString::fromLocal8Bit( get_host_directory_sharing_path())); diff --git a/tizen/src/ui/resource/ui_strings.h b/tizen/src/ui/resource/ui_strings.h index abe7f14459..fde5c69fce 100644 --- a/tizen/src/ui/resource/ui_strings.h +++ b/tizen/src/ui/resource/ui_strings.h @@ -100,8 +100,7 @@ #define DETAILED_INFO_SKIN_NAME "Skin Name" #define DETAILED_INFO_CPU "CPU Arch" #define DETAILED_INFO_RAM_SIZE "Ram Size" -#define DETAILED_INFO_DPY_RESOLUTION "Display Resolution" -#define DETAILED_INFO_DPY_DENSITY "Display Density" +#define DETAILED_INFO_DISPLAY "Display" #define DETAILED_INFO_HDS_PATH "Directory Sharing" #define DETAILED_INFO_CPU_VT "CPU Virtualization" #define DETAILED_INFO_GPU_VT "GPU Virtualization" -- cgit v1.2.3