1. 26 Mar, 2012 1 commit
    • Inge Wallin's avatar
      Rename KoShapeBorderModel.cpp -> KoShapeStrokeModel.cpp · 09e08d65
      Inge Wallin authored
      As written in the review request:
      There are 2 reasons for this change:
       1. It increases the way the name describes what it actually is
          for. There are many places in the code that looks like:
            KoShapeBorderModel *stroke = ...
          so naming it "...Stroke..." is both closer to the odf tags and
          also to the rest of the code.
       2. It reduces the confusion between KoShapeBorderModel and KoBorder
          which don't have anything to do with each other.
      REVIEW: 104405
  2. 05 Feb, 2012 1 commit
  3. 11 Oct, 2011 1 commit
    • C. Boemann's avatar
      Pass a KoShapePaintingContext down through te shape painting. · 0fd9a5d1
      C. Boemann authored
      At the moment it's an empty class but soon it will be used to pass various settings like
      showFormttingCharacters in text etc.
      The paintDecorations method has been removed. any such functionality can be done much better
      using the KoShapePaintingContext.
      REVIEW: 102809
  4. 24 Sep, 2011 1 commit
    • Thorsten Zachmann's avatar
      Cache the size of the KoShapeGroup · 6f7436f4
      Thorsten Zachmann authored
      This speeds up handling of groups with a lot of child shapes. This is especially noticable for
      page changes in stage. Before the change it could take more then 10 seconds and it is not instantly.
  5. 14 Sep, 2011 1 commit
  6. 13 Sep, 2011 1 commit
  7. 21 Aug, 2011 11 commits
  8. 24 Jul, 2011 4 commits
  9. 23 Jul, 2011 4 commits
  10. 14 Sep, 2010 1 commit
    • Adam Celarek's avatar
      o a shape group has no size, so return QSizeF(0,0) · 548b7436
      Adam Celarek authored
      - adjusted TestShapeGroupCommand. also some positions changed due to the
        due to the way, they are computed. absolutePositions of shapes are the
      - added a test for scaling a group. with group size 0,0 it doesn't fail
      o fixed a bug when ungrouping a shape
      - we have to do the same calculation as in
      - added a test for this
      o added comment in KisShapeLayer::transform, that krtia doesn't support
        inheriting transformations. currently no krita enabled shape uses
      BUG: 227512
      svn path=/trunk/koffice/; revision=1175147
  11. 07 May, 2010 1 commit
    • Thomas Zander's avatar
      API review of KoShapeContainer · 7114c121
      Thomas Zander authored
      Make the methods much more consistent both with each other
      and with other classes which follow a Qt-ish api.
      childClipped() -> isClipped()
      setClipping() -> setClipped()
      svn path=/trunk/koffice/; revision=1124024
  12. 23 Apr, 2010 1 commit
  13. 11 Mar, 2010 1 commit
    • Thomas Zander's avatar
      Fix crash when no shape is returned. · 7e636b4f
      Thomas Zander authored
      We check for shape being non-null after using it, which can't work. Lets
      check first and then use.
      svn path=/trunk/koffice/; revision=1101897
  14. 10 Jan, 2010 1 commit
  15. 11 Nov, 2009 1 commit
    • Thorsten Zachmann's avatar
      o save layers of shapes that are part of a container · a50bfb99
      Thorsten Zachmann authored
      o use layer of child shapes to find out the layer of a group shape.
        This is done as the group does not allow to save its layer in odf
      This fixes loading and saving of grouped shapes. Before the fix the
      group was always added to the default layer. Now the group is added to
      the layer it is was in when saving.
      OK to backport to 2.1? I think it is a important fix as some information
      is lost during save/load of the document.
      CCMAIL: koffice-devel@kde.org
      svn path=/trunk/koffice/; revision=1047373
  16. 10 Jun, 2009 1 commit
  17. 07 Jun, 2009 1 commit
  18. 08 Feb, 2009 1 commit
    • Jan Hambrecht's avatar
      Do not let the group shape have a border or a shadow as that · a69019b8
      Jan Hambrecht authored
      leads to bugs when adding or removing child shapes. It does
      not paint them anyway. 
      The bug happened inside the childCountChanged method where 
      the position and size is being adjusted when a child shape was 
      added or removed. It called boundingRect() which adjusted the 
      current bounding rect with the border and shadow insets.
      So each time this method was called the position and size of the group
      svn path=/trunk/koffice/; revision=922994
  19. 07 Feb, 2009 1 commit
  20. 29 Sep, 2008 1 commit
  21. 27 Sep, 2008 1 commit
  22. 24 Aug, 2008 1 commit
  23. 06 Jun, 2008 1 commit
    • Thorsten Zachmann's avatar
      o save event-listeres · 4e03f450
      Thorsten Zachmann authored
        this is merged togeter with saving of connection points which still
        needs to be done.
      svn path=/trunk/koffice/; revision=817593
  24. 29 May, 2008 1 commit