[Kst] extragear/graphics/kst/src/libkstapp
Andrew Walker
arwalker at sumusltd.com
Thu May 4 23:35:32 CEST 2006
SVN commit 537481 by arwalker:
CCBUG:124090 Update view manager when view objects created.
M +1 -0 kstgfxarrowmousehandler.cpp
M +1 -0 kstgfxellipsemousehandler.cpp
M +1 -0 kstgfxlinemousehandler.cpp
M +1 -0 kstgfxpicturemousehandler.cpp
M +1 -0 kstgfxrectanglemousehandler.cpp
M +1 -0 kstgfxtextmousehandler.cpp
--- trunk/extragear/graphics/kst/src/libkstapp/kstgfxarrowmousehandler.cpp #537480:537481
@@ -90,6 +90,7 @@
}
container->appendChild(KstViewObjectPtr(arrow));
KstApp::inst()->document()->setModified();
+ KstApp::inst()->updateViewManager(true);
view->paint(KstPainter::P_PAINT);
}
_prevBand = QRect(-1, -1, 0, 0);
--- trunk/extragear/graphics/kst/src/libkstapp/kstgfxellipsemousehandler.cpp #537480:537481
@@ -114,6 +114,7 @@
}
container->appendChild(KstViewObjectPtr(ellipse));
KstApp::inst()->document()->setModified();
+ KstApp::inst()->updateViewManager(true);
view->paint(KstPainter::P_PAINT);
}
_prevBand = QRect(-1, -1, 0, 0);
--- trunk/extragear/graphics/kst/src/libkstapp/kstgfxlinemousehandler.cpp #537480:537481
@@ -87,6 +87,7 @@
}
container->appendChild(KstViewObjectPtr(line));
KstApp::inst()->document()->setModified();
+ KstApp::inst()->updateViewManager(true);
view->paint(KstPainter::P_PAINT);
}
_prevBand = QRect(-1, -1, 0, 0);
--- trunk/extragear/graphics/kst/src/libkstapp/kstgfxpicturemousehandler.cpp #537480:537481
@@ -84,6 +84,7 @@
}
container->appendChild(KstViewObjectPtr(pic));
KstApp::inst()->document()->setModified();
+ KstApp::inst()->updateViewManager(true);
}
}
_prevBand = QRect(-1,-1, 0, 0);
--- trunk/extragear/graphics/kst/src/libkstapp/kstgfxrectanglemousehandler.cpp #537480:537481
@@ -88,6 +88,7 @@
}
container->appendChild(KstViewObjectPtr(box));
KstApp::inst()->document()->setModified();
+ KstApp::inst()->updateViewManager(true);
view->paint(KstPainter::P_PAINT);
}
_prevBand = QRect(-1, -1, 0, 0);
--- trunk/extragear/graphics/kst/src/libkstapp/kstgfxtextmousehandler.cpp #537480:537481
@@ -113,6 +113,7 @@
}
container->appendChild(KstViewObjectPtr(label));
KstApp::inst()->document()->setModified();
+ KstApp::inst()->updateViewManager(true);
}
}
_prevBand = QRect(-1, -1, 0, 0);
More information about the Kst
mailing list