1. 05 Aug, 2020 1 commit
  2. 03 Mar, 2020 1 commit
  3. 25 Nov, 2019 1 commit
  4. 20 Feb, 2017 2 commits
  5. 18 Sep, 2015 1 commit
  6. 21 Aug, 2015 1 commit
  7. 10 Aug, 2014 1 commit
    • Oliver Kellogg's avatar
      (In reply to Ralf Habacker from comment #9) · 3360998e
      Oliver Kellogg authored
      > Comment on attachment 83576 [details]
      > Similar example for instantiated template class
      > Here using correct widget shape for line intersecting would solve the issue.
      Here is an implementation for corrected widget shape of template classes.
      However, apparently Widget_Utils::closestPoints() still has a bug related to
      anchoring in the NorthWest, West, and SouthWest regions; I'll look into that
      - At function calculateSize() add optional bool argument `withExtensions'
        defaulting to true.
      - At functions calculateSize(), minimumSize(), and getFontMetrics(), add
        `const' qualifier to enable use in overriding QGraphicsItem::shape().
      - In function init() add allocation of the m_pFontMetrics array elements.
        Reason: Ad hoc allocation of m_pFontMetrics element is removed from
        getFontMetrics() in order to make that method `const'.
      - In function forceUpdateFontMetrics() for-loops let loop variable count
        backwards so that m_font ends up initialized to FT_NORMAL (index 0.)
      - UMLWidget overriding function calculateSize() assumes minimumSize() body.
        If `withExtensions' arg is true then size is calculated to include
        template box; else size does not include template box.
      - Function minimumSize() now simply calls calculateSize() using default
        withExtensions argument.
      - Declare following functions `const':
        calculateTemplatesBoxSize(), calculateAsCircleSize(), minimumSize(),
        displayedMembers(), displayedAttributes(), displayedOperations().
        This is required due to their usage in overriding QGraphicsItem::shape().
      - In function paint() rename m_bodyOffsetY to bodyOffsetY.
        Reason: This is a local variable not a class member.
      - In function shape(), if calculateTemplatesBoxSize() returns non-zero then
        add the templates box rectangle to the path, and displace the main
        rectangle by a postive Y offset of templatesBoxSize.height() minus MARGIN.
      - Adjust calculateSize() override to changed signature in UMLWidget.
      - Adjust minimumSize() override to changed signature in UMLWidget.
      - In function calculateEndingPoints(), apply
          QPolygonF::translated(pWidgetA->pos()) on polyA
        and apply
          QPolygonF::translated(pWidgetB->pos()) on polyB
        to properly handle non child widgets (i.e. with absolute pos().)
      - In function updateRegionLineCount(), for calculating `pt' employ
        Widget_Utils::closestPoints() following the pattern used in
      - New function middle() returns the middle value of two axis values.
        The function handles not only relative but also absolute coordinates.
      - In function closestPoints() employ function middle() in the
        result.setLine() arguments for regions North, South, West, and East.
  8. 09 Jul, 2014 1 commit
  9. 04 Jul, 2014 1 commit
  10. 11 Sep, 2013 1 commit
  11. 26 Aug, 2013 1 commit
  12. 24 Aug, 2013 1 commit
  13. 22 Aug, 2013 2 commits
  14. 12 Aug, 2013 1 commit
  15. 11 Aug, 2013 1 commit
  16. 12 Jun, 2013 1 commit
  17. 11 Jun, 2013 1 commit
  18. 13 Oct, 2012 1 commit
  19. 02 Sep, 2012 1 commit
    • Ralf Habacker's avatar
      Ported class UMLScene and UMLView to QGraphicsScene and QGraphivsView. · 1bf8a720
      Ralf Habacker authored
      This was possible because of the reduced soc2008 and trunk difference approach
      performed in the last months by Andy Fischer an me.
      The gsoc 2008 branch still contains several fixes and enhancements which may be merged
      from now on.
      Qt4 related fixes (the most important):
      - Usage of QGraphicsItem based event handling
      - Usage of QGraphicsScene based rubberband
      - Usage of QGraphicsScene/View based item selection
      Qt4 unrelated (most important):
      - The QPainter based AssocationLine refactoring, which is required for spline based
        line style and auto layouts.
      - AssociationSpaceManager class for optimized association line drawings.
      - The TextItem/TextItemGroup classes, which refactores widgets content setup
      - Widget Color gradients, which are useful enhancements of the widget style engine
      BUG: 290952
      svn path=/trunk/KDE/kdesdk/umbrello/; revision=1314540
  20. 18 Jan, 2012 2 commits
  21. 16 Jan, 2012 1 commit
  22. 12 Jan, 2012 3 commits
  23. 08 Jan, 2012 1 commit
    • Ralf Habacker's avatar
      added feature to change widgets text color · 67e0306e
      Ralf Habacker authored
      Text colors are changeable
      - in the global ui settings (saved into umbrellorc)
      - in the diagrams color settings (inital load from global settings)
      - in the widget color settings
      The text color of a widget is saved in the xmi file using the
      attribute name 'textcolor'. If an xmi file without this attribute
      is loaded the diagrams text color setting is used as text color.
      svn path=/trunk/KDE/kdesdk/umbrello/; revision=1272518
  24. 07 Jan, 2012 1 commit
    • Ralf Habacker's avatar
      reduced differences to soc-umbrello branch by refactoring widgets constructors: · 96830820
      Ralf Habacker authored
      - set widget type and id through UMLWidget constructor
      - integrated init() into constructor when the method is very simple
      - moved m_pMenu initialisation into UMLWidget
      - refactored UMLWidget and WidgetBase constructors
      A similar patch will go into soc-umbrello branch. Afterwards the difference
      in this area are reduced to the scene parameter in widgets and a parameter
      in the UMLWidget and WidgetBase constructors.
      svn path=/trunk/KDE/kdesdk/umbrello/; revision=1272366
  25. 15 Dec, 2011 1 commit
  26. 14 Dec, 2011 4 commits
  27. 25 Jun, 2011 1 commit
  28. 29 Aug, 2010 1 commit
  29. 03 May, 2009 1 commit
  30. 27 Jan, 2009 1 commit
  31. 05 Jan, 2008 1 commit
  32. 17 Mar, 2007 1 commit