[Kst] [Bug 121328] UI improvement: focus/selection indicators

Andrew Walker arwalker at sumusltd.com
Sat May 5 01:47:51 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=121328         
arwalker sumusltd com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From arwalker sumusltd com  2007-05-05 01:47 -------
SVN commit 661242 by arwalker:

BUG:121328 as per Barth's response only implement last suggestion. Use user defined colors rather than hard-coded colors for seletion and focus rects.

 M  +2 -2      kstviewobject.cpp  


--- branches/work/kst/1.5/kst/src/libkstapp/kstviewobject.cpp #661241:661242
 @ -464,8 +464,8  @
 
 
 void KstViewObject::drawSelectRect(KstPainter& p) {
-  p.setBrush(QBrush(Qt::green));
-  p.setPen(QPen(Qt::black, 0));
+  p.setBrush(QBrush(foregroundColor()));
+  p.setPen(QPen(backgroundColor(), 0));
   drawFocusRect(p);
 }


More information about the Kst mailing list