[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Jun 16 06:41:20 CEST 2004


CVS commit by staikos: 

make the tie boxes look more like the old ones


  M +3 -2      kst2dplot.cpp   1.89


--- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.88:1.89
@@ -906,5 +906,6 @@ void Kst2DPlot::updateTieBox(QPainter& p
   QRect tr = GetTieBoxRegion();
   if (isTied()) {
-    p.fillRect(tr, Qt::black);
+    p.fillRect(tr, QColor("slate gray"));
+    p.drawRect(tr);
     if (_hasFocus) {
       QSize sz = tr.size();
@@ -912,5 +913,5 @@ void Kst2DPlot::updateTieBox(QPainter& p
       tr.setSize(sz);
       tr.moveTopLeft(tr.topLeft() + QPoint(3*tr.width()/4, 3*tr.height()/4));
-      p.fillRect(tr, backgroundColor());
+      p.fillRect(tr, Qt::black);
     }
   } else {





More information about the Kst mailing list