gui: standardize tooltip style for controller
authorGiWoong Kim <giwoong.kim@samsung.com>
Mon, 30 Nov 2015 04:48:17 +0000 (13:48 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Tue, 1 Dec 2015 08:04:50 +0000 (17:04 +0900)
black font, white background, black 1px border

Change-Id: I4be70904a18ab48c08fd61052f218ddede94bfda
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
tizen/src/ui/controller/dockingconview.cpp
tizen/src/ui/controller/floatingconview.cpp

index 8383c76e2778b1f66889182d2194122f90d1245d..d518cb1e10a54470f76783949346d5099f8ff6a8 100644 (file)
@@ -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);
index 674e13519a24ebb5faacbd02daaf33405ce7bcf4..95aa75f9485addabd6305e6e2ba77248b07cefe8 100644 (file)
@@ -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);