[Uml-devel] kdesdk/umbrello/umbrello

Sebastian Stein seb.kde at hpfsc.de
Tue Aug 12 12:50:07 UTC 2003


CVS commit by sstein: 

fix bug 57887: Property changes in a diagram are not automatically applied to all widgets in the diagram. The new properties are only used for the next widget to be added to the diagram. This is the normal GUI behaviour. On the downside, now it is impossible to change properties of different widget with one action.


  M +0 -9      umlview.cpp   1.69
  M +1 -1      umlwidget.cpp   1.38


--- kdesdk/umbrello/umbrello/umlwidget.cpp  #1.37:1.38
@@ -285,5 +285,5 @@ void UMLWidget::init() {
         connect( m_pView, SIGNAL( sigRemovePopupMenu() ), this, SLOT( slotRemovePopupMenu() ) );
         connect( m_pView, SIGNAL( sigClearAllSelected() ), this, SLOT( slotClearAllSelected() ) );
-        connect( m_pView, SIGNAL(sigColorChanged(int)), this, SLOT(slotColorChanged(int)));
+//      connect( m_pView, SIGNAL(sigColorChanged(int)), this, SLOT(slotColorChanged(int)));
         if( m_pObject )
         {

--- kdesdk/umbrello/umbrello/umlview.cpp  #1.68:1.69
@@ -2982,13 +2982,4 @@ bool UMLView::showPropDialog() {
 void UMLView::setFont( QFont font ) {
         UMLViewData::setFont( font );
-        UMLWidget * pWidget = 0;
-        QObjectList * wl = queryList( "UMLWidget" );
-        QObjectListIt wit( *wl );
-        while ( ( pWidget = static_cast<UMLWidget *>( wit.current() ) )  != 0 ) {
-                ++wit;
-                pWidget -> setFont( font );
-        }
-        delete wl;
-        canvas() -> setAllChanged();
 }
 






More information about the umbrello-devel mailing list