1. 22 Jul, 2019 1 commit
  2. 13 Jul, 2019 1 commit
    • Boudewijn Rempt's avatar
      Use QFileInfo::completeBaseName instead of baseName · 14adaa3b
      Boudewijn Rempt authored
      This makes it possible for users to use dots in their filenames.
      Not that that is a good idea, everything after the first dot is
      technically an extensions, as in bla.tar.gz, but Krita doesn't
      handle any file formats where that actually happens, so we can
      be a bit less technically correct when handling filenames and
      only check the extension after the last dot.
      
      BUG:409765
      14adaa3b
  3. 10 Jul, 2019 1 commit
  4. 25 Jun, 2019 1 commit
  5. 21 Jun, 2019 1 commit
  6. 14 Jun, 2019 1 commit
    • Anna Medonosová's avatar
      Fix 'Enforce palette colors' feature · c06107d6
      Anna Medonosová authored
      Since the 'Enforce palette colors' is a feature of the internal color
      selector, this commit moves the functionality from KisPaletteView to
      KisDlgInternalColorSelector. Also, that way the color change is forced
      only once upon foreground color change, preventing cycling signals and confusing color changes
      (KisPaletteView can be used more than once with different color palettes).
      
      Removes KisPaletteView::slotFGColorResourceChanged, the function is
      obsolete: it was meant to solve bug 402072 that is now fixed in a better way.
      
      BACKPORT:krita/4.2
      BUG:408256
      CCBUG:402072
      c06107d6
  7. 12 Jun, 2019 1 commit
  8. 10 Jun, 2019 1 commit
  9. 05 Jun, 2019 1 commit
  10. 27 May, 2019 1 commit
  11. 24 May, 2019 1 commit
  12. 23 May, 2019 1 commit
  13. 21 May, 2019 1 commit
  14. 18 May, 2019 1 commit
  15. 10 May, 2019 2 commits
  16. 03 May, 2019 1 commit
    • Boudewijn Rempt's avatar
      Fix the drifting of the MDI area background color · 0174960d
      Boudewijn Rempt authored
      All the conversions between QColor and KoColor were giving us all
      kinds of rounding errors. Now we use KoColor throughout. A bit
      overkill for a gui element, but that's what the color selector
      gives us.
      
      BUG:397853
      0174960d
  17. 30 Apr, 2019 1 commit
  18. 19 Apr, 2019 1 commit
  19. 16 Apr, 2019 1 commit
  20. 09 Apr, 2019 1 commit
  21. 05 Mar, 2019 1 commit
    • Agata Cacko's avatar
      Refactor KoUnit · 9d5baac8
      Agata Cacko authored
      Summary:
      This commit fixes two problems in KoUnit:
      (1) two functions named differently while doing
      nearly exactly the same thing (ptToUnit, toUserValue)
      and the difference in the name or arguments of functions
      not showing the difference in the results,
      (2) repeated constant values in functions
      called to[Unit] (i.e. toMillimeters).
      This commit is not to cause any difference in behaviour
      (including in particular converting and rounding values)
      and contains unit tests to test that.
      
      Test Plan:
      - created unit test to test the difference in conversions
      (should not none).
      - all the places where the difference in functions naming
      caused changes in files other than [Test]KoUnit.h/.cpp
      
      Reviewers: #krita, rempt
      
      Reviewed By: #krita, rempt
      
      Subscribers: rempt
      
      Tags: #krita
      
      Differential Revision: https://phabricator.kde.org/D19537
      9d5baac8
  22. 04 Mar, 2019 1 commit
  23. 01 Mar, 2019 2 commits
  24. 27 Feb, 2019 2 commits
  25. 01 Feb, 2019 1 commit
  26. 25 Jan, 2019 1 commit
  27. 09 Jan, 2019 1 commit
  28. 07 Jan, 2019 1 commit
  29. 06 Jan, 2019 1 commit
  30. 05 Jan, 2019 1 commit
  31. 03 Jan, 2019 1 commit
  32. 22 Dec, 2018 1 commit
    • Anna Medonosová's avatar
      Palette Docker: bug 402072; color selection in the combobox · b1c8ba60
      Anna Medonosová authored
      Summary:
      This diff fixes two issues:
      
      1, bug 402072, where the user is unable to reselect a previously
      selected color from the palette after picking another color by other
      means.
      
      This is fixed by clearing currentIndex in KisPaletteView upon FG color
      change in the resource provider. That way the swatch stays selected, so
      the user knows which color they had selected before, but enables them to
      reselect the color.
      
      2, Another issue, probably originating from commit 69915f53: if the
      user selects a color in the KisPaletteComboBox, nothing happens.
      
      KisPaletteComboBox calls KisPaletteView::selectClosestColor() to select
      the clicked color in the palette. However, from said commit, the
      function is called only with specific setting on. I have added another
      slot specifically for KisPaletteComboBox, which unconditionally calls
      said function.
      
      BUG: 402072
      
      Reviewers: #krita, woltherav
      
      Reviewed By: #krita, woltherav
      
      Subscribers: woltherav
      
      Tags: #krita
      
      Differential Revision: https://phabricator.kde.org/D17728
      b1c8ba60
  33. 17 Dec, 2018 1 commit
  34. 08 Dec, 2018 1 commit
  35. 11 Nov, 2018 1 commit
    • Anna Medonosová's avatar
      Condense UI of the Specific color selector · f702304f
      Anna Medonosová authored
      Summary:
      This diff moves selection of color space into a popup, as suggested in
      bug 362952. It also changes the 'Use percentage' checkbox to a toggle
      button, to further condense the controls.
      
      The layout is now in a designer form.
      
      Adds new SVG icons for 'ratio'.
      
      BUG: 362952
      
      Reviewers: #krita, rempt
      
      Reviewed By: #krita, rempt
      
      Subscribers: rempt, scottpetrovic
      
      Tags: #krita
      
      Differential Revision: https://phabricator.kde.org/D16724
      f702304f
  36. 31 Oct, 2018 1 commit
  37. 29 Oct, 2018 1 commit
    • Eoin O'Neill's avatar
      ResourceItemChooser's filter field will now automatically · d3163185
      Eoin O'Neill authored
      receive focus when shown.
      
      For example, if you press F6 to open the brush preset chooser
      you can immediately begin typing into the search field.
      If text is already present it will start selected.
      This also applies to other preset choosers such as gradients,
      patterns and brushtips.
      d3163185