[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Tue Feb 8 04:23:22 CET 2005
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