[Kst] [Bug 98821] Report Size/Position when Moving/Resizing Plots

George Staikos staikos at kde.org
Tue Feb 8 04:23:38 CET 2005


------- 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=98821         
staikos kde org changed:

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



------- Additional Comments From staikos kde org  2005-02-08 04:23 -------
CVS commit by staikos: 

display (x0,y0)-(x1,y1) when moving and resizing objects to make it easier to
line things up
FEATURE: 98821


  M +5 -0      ksttoplevelview.cpp   1.90


--- kdeextragear-2/kst/kst/ksttoplevelview.cpp  #1.89:1.90
 @ -195,4 +195,5  @ void KstTopLevelView::updateFocus(const 
 
 void KstTopLevelView::setViewMode(ViewMode v) {
+  KstApp::inst()->slotUpdateDataMsg(QString::null);
   if (_mode == LayoutMode && v != LayoutMode) {
     recursively<bool>(&KstViewObject::setSelected, false);
 @ -503,4 +504,5  @ void KstTopLevelView::pressMove(const QP
       }
     }
+    KstApp::inst()->slotUpdateDataMsg(i18n("(x0,y0)-(x1,y1)", "(%1,%2)-(%3,%4)").arg(_prevBand.topLeft().x()).arg(_prevBand.topLeft().y()).arg(_prevBand.bottomRight().x()).arg(_prevBand.bottomRight().y()));
   } else {
     QRect old = _prevBand;
 @ -517,4 +519,5  @ void KstTopLevelView::pressMove(const QP
       p.end();
     }
+    KstApp::inst()->slotUpdateDataMsg(QString::null);
   }
 }
 @ -527,4 +530,6  @ void KstTopLevelView::releasePress(const
   }
 
+  KstApp::inst()->slotUpdateDataMsg(QString::null);
+
   if (_pressDirection == -1 && _pressTarget) { // menu released
     _pressTarget = 0L;


More information about the Kst mailing list