[Uml-devel] branches/work/soc-umbrello/umbrello
Gopala Krishna A
krishna.ggk at gmail.com
Sat Aug 30 10:15:56 UTC 2008
SVN commit 854780 by gopala:
Updated test.cpp not to use external widget size udpation
mechanism. Its handled now automatically (as described in my previous
commit 854778)
M +3 -8 test.cpp
--- branches/work/soc-umbrello/umbrello/test.cpp #854779:854780
@@ -90,22 +90,17 @@
UMLClassifier *obj = new UMLClassifier("hello");
ObjectWidget *wid = new ObjectWidget(obj);
- scene->addItem(wid);
wid->setPos(100, 100);
- updateWidgetGeometry(wid);
UMLClassifier *obj1 = new UMLClassifier("world");
ObjectWidget *wid1 = new ObjectWidget(obj1);
- scene->addItem(wid1);
wid1->setPos(200, 100);
- updateWidgetGeometry(wid1);
MessageWidget *msg = new MessageWidget(wid, wid1, Uml::sequence_message_asynchronous);
- scene->addItem(msg);
- msg->setObjectWidget(wid, Uml::A);
- wid->adjustSequentialLineEnd();
- wid->adjustSequentialLineEnd();
+ scene->addItem(wid);
+ scene->addItem(wid1);
+ scene->addItem(msg);
}
void Test::updateWidgetGeometry(NewUMLWidget *wid)
More information about the umbrello-devel
mailing list