From: GiWoong Kim Date: Mon, 30 Nov 2015 04:48:17 +0000 (+0900) Subject: gui: standardize tooltip style for controller X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~143 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d8b76a3af1cd347e7db44f224fb8bf39ad61afb;p=sdk%2Femulator%2Fqemu.git gui: standardize tooltip style for controller black font, white background, black 1px border Change-Id: I4be70904a18ab48c08fd61052f218ddede94bfda Signed-off-by: GiWoong Kim --- diff --git a/tizen/src/ui/controller/dockingconview.cpp b/tizen/src/ui/controller/dockingconview.cpp index 8383c76e27..d518cb1e10 100644 --- a/tizen/src/ui/controller/dockingconview.cpp +++ b/tizen/src/ui/controller/dockingconview.cpp @@ -31,6 +31,7 @@ #include "mainwindow.h" #include "skinkeyitem.h" #include "controller/generalpurposecon.h" +#include "resource/ui_strings.h" DockingConView::DockingConView(QWidget *parent, ControllerForm *conForm, QGraphicsScene *scene) : SkinView(parent, scene) @@ -39,7 +40,8 @@ DockingConView::DockingConView(QWidget *parent, this->conViewStat = CONVIEW_RELEASED; setFocusPolicy(Qt::NoFocus); - setStyleSheet("background: transparent"); + setStyleSheet("DockingConView { background: transparent; border-style: none; }" + + QString(STYLE_TOOLTIP)); rubberPos = QPoint(-1, -1); rubberBand = new QRubberBand(QRubberBand::Rectangle, NULL); diff --git a/tizen/src/ui/controller/floatingconview.cpp b/tizen/src/ui/controller/floatingconview.cpp index 674e13519a..95aa75f948 100644 --- a/tizen/src/ui/controller/floatingconview.cpp +++ b/tizen/src/ui/controller/floatingconview.cpp @@ -31,6 +31,7 @@ #include "mainwindow.h" #include "skinkeyitem.h" #include "controller/generalpurposecon.h" +#include "resource/ui_strings.h" #define DOCKABLE_AREA_WIDTH 30 @@ -39,7 +40,8 @@ FloatingConView::FloatingConView(QWidget *parent, { this->parent = (FloatingController *)parent; - setStyleSheet("background: transparent"); + setStyleSheet("FloatingConView { background: transparent; border-style: none; }" + + QString(STYLE_TOOLTIP)); conPos = QPoint(-1, -1); rubberBand = new QRubberBand(QRubberBand::Rectangle, NULL);