1. 06 Mar, 2019 2 commits
  2. 07 Oct, 2018 1 commit
  3. 06 Oct, 2018 1 commit
  4. 28 Aug, 2018 1 commit
    • Dmitry Kazakov's avatar
      Fix shift modifier in Curve Selection Tool · fa65d03d
      Dmitry Kazakov authored
      The modifier of the point clicked the last should define the
      selection mode. For selection tools we just disable shift+click
      "path-close" shortcut of the base path tool
      
      BUG:397932
      fa65d03d
  5. 23 Aug, 2018 1 commit
  6. 20 Feb, 2018 2 commits
  7. 22 Jun, 2017 1 commit
  8. 25 May, 2017 1 commit
  9. 08 May, 2017 1 commit
  10. 06 Mar, 2017 1 commit
    • Dmitry Kazakov's avatar
      Fix dangling connections to the shape selection · 5a23ec0d
      Dmitry Kazakov authored
      1) In Krita we have a "weird" system, where KisCanvas2 switches shape
         managers depending the currently activated shape layer/selection.
         I call it "weird" not because it is bad, but because Flake system
         was not designed for that. Quite a lot of dockers and objects
         make connections to a KoSelection, and keep these connections
         throughout the entire run of Krita. That is wrong behavior in Krita.
      
      2) To solve the issue I created a special proxy object:
      
         KoCanvasBase::selectedShapesProxy()
      
         which has the same selection signals provided by KoSelection and
         KoShapeManager, but that is guaranteed to be persistent throughout
         the entire life of KoCanvasBase.
      5a23ec0d
  11. 23 Feb, 2017 1 commit
  12. 18 Feb, 2017 1 commit
  13. 17 Feb, 2017 1 commit
    • Dmitry Kazakov's avatar
      Implement centralized painting of handles · 7a35b3b2
      Dmitry Kazakov authored
      Now every (vector) tool in Krita uses KisHandlePainterHelper to
      paint the handles. The helper supports styling, that is you
      can set any predefined object of type KisHandleStyle to get
      needed effect.
      7a35b3b2
  14. 14 Feb, 2017 2 commits
  15. 06 Feb, 2017 1 commit
    • Dmitry Kazakov's avatar
      Moved KoStrokeConfigWidget and KoFillConfigWidget to kritaui library · 5da4edf2
      Dmitry Kazakov authored
      That was a really tough decision, but it was done after the
      following tries:
      
      1) I need to embed KoFillConfigWidget into KoStrokeConfigWidget
      2) But KoFillConfigWidget depends on KisStopGradientEditor, which
         depends on:
             - KisDoubleSliderSpinBox (depends on KisPart)
             - KisColorButton (depends on a lot of stuff in KisInternalColorSelector)
      
      So as a result I just decided to move KoStrokeConfigWidget and all its
      dependees higher in the hierarchy :(
      
      I hope some time in the future we will be able to move these classes back
      into flake...
      5da4edf2
  16. 29 Nov, 2016 1 commit
    • Dmitry Kazakov's avatar
      Implement KoShape::cloneShape() · 7699443c
      Dmitry Kazakov authored
      This is a mandatory function to be able to load shapes from SVG,
      because the same shape may be instantiated from different places.
      We still need to discuss whether we need to really "share" the
      shape template, but for now I just deep-copy them (which is the
      easiest because of shape normalization problem we have).
      
      There are the following drawbacks/hacks in this patch:
      
      1) Not all the shapes have KoShape::cloneShape() implemented! Basically,
         it is defined only for group shape and all the descendants of a path
         shape (which are the only shapes used in SVG). Other shapes use the
         default implementation which simply returns null.
      
         Ideally, there should be no default implementation and all the shapes
         should define it. But, given that we are going to deprecate quite a lot
         of stuff, I'll keep them just unimplemented for now.
      
      2) The following shape properties are not yet copied during cloning:
      
         * toolDelegates
         * dependees
         * shadow
         * border
         * filterEffectStack
      
         All the properties, except of tool delegates will probably be
         deprecated soon. And for the tool delegates we need to invent
         something ingenious to handle the pointers to recover pointers
         to the *cloned* shapes.
      
      3) I cannot guarantee TextShape's work anymore. I just blindly
         refactored it to use QScopedPointer to QTextDocument instead of
         the previous raw pointers trickery and never tested it. Hope it
         still works...
      7699443c
  17. 22 Oct, 2016 1 commit
    • Boudewijn Rempt's avatar
      Clean up tool id's · 9037dac3
      Boudewijn Rempt authored
      The toolid is necessary to make sure that tools are always
      correctly sorted; there should not be two tools with the
      same id in the same section.
      9037dac3
  18. 19 Sep, 2016 1 commit
    • Boudewijn Rempt's avatar
      Forward port "ensure cosmetic pen for UI elements" · c6dcf65b
      Boudewijn Rempt authored
      This is a port of the relevant parts of:
      
      Git commit 82e58aa1bf37b7f64ef25b28b85b845b9ff33776 by Friedrich W. H. Kossebau.
      Committed on 07/09/2016 at 13:25.
      Pushed by kossebau into branch 'master'.
      
      Restore old behaviour: ensure cosmetic pen for UI elements
      
      Qt4 did default to cosmetic pens, Qt5 defaults to 1 pixel pens
      Does not make a difference in many places though, but let's be explicit now
      c6dcf65b
  19. 05 Aug, 2016 5 commits
  20. 03 Aug, 2016 1 commit
  21. 27 Jul, 2016 1 commit
  22. 21 Jul, 2016 1 commit
  23. 22 Jun, 2016 1 commit
  24. 22 Apr, 2016 2 commits
  25. 30 Jan, 2016 2 commits
  26. 07 Jan, 2016 1 commit
  27. 01 Jan, 2016 1 commit
    • Boudewijn Rempt's avatar
      Convert all relevant desktop files to json · 9acd0d55
      Boudewijn Rempt authored
      This also takes them out of the translation system, which is good,
      since none of the strings from the desktop files was ever shown in
      the gui. The plugins are now stored in kritaplugins, which is more
      unique than plain 'krita'.
      9acd0d55
  28. 26 Nov, 2015 1 commit
  29. 07 Nov, 2015 1 commit
  30. 13 Oct, 2015 1 commit
  31. 30 Sep, 2015 1 commit