Bug 98821 - Report Size/Position when Moving/Resizing Plots
Summary: Report Size/Position when Moving/Resizing Plots
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-08 03:59 UTC by D. V. Wiebe
Modified: 2005-02-08 04:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description D. V. Wiebe 2005-02-08 03:59:44 UTC
Version:           1.1.0_devel (using KDE 3.3.2, compiled sources)
Compiler:          gcc version 3.3.4
OS:                Linux (i686) release 2.6.10

When laying out plots in the window, it would help in lining things up if the pixel size or position of the plot being manipulated would be displayed.
Comment 1 George Staikos 2005-02-08 04:23:34 UTC
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;