1. 23 Mar, 2019 1 commit
    • Anna Medonosová's avatar
      Remember last used dirs for shortcut import/export · 27678b4c
      Anna Medonosová authored
      Summary:
      File dialogs in KShortcutSchemesEditor use KoFileDialog instead of
      plain QFileDialog. This allows to remember last used directories for
      load/save/import/export.
      
      Load, save and import location now defaults to homedir, instead of the
      directory where Krita started.
      
      BUG:368360
      
      Reviewers: #krita, rempt
      
      Reviewed By: #krita, rempt
      
      Subscribers: rempt
      
      Tags: #krita
      
      Differential Revision: https://phabricator.kde.org/D19964
      27678b4c
  2. 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
  3. 04 Mar, 2019 1 commit
  4. 02 Mar, 2019 1 commit
    • Agata Cacko's avatar
      Fix the conversion errors in Scale to New Size dialog · 03db6907
      Agata Cacko authored
      Summary:
      SpinBoxUnitManager used a function that not only converts units,
      but also rounds them (for the View), hence the conversion errors.
      This patch changes function to the precise one.
      
      BUG:400177
      
      Test Plan:
      Checking the Scale to New Size dialog to see whether the bug doesn't reproduce.
      Checking whether it doesn't break other scale/resize/offset/crop dialogs and every other place
      where the units are being used.
      
      Reviewers: #krita, rempt
      
      Reviewed By: #krita, rempt
      
      Tags: #krita
      
      Differential Revision: https://phabricator.kde.org/D19448
      03db6907
  5. 27 Feb, 2019 1 commit
  6. 19 Feb, 2019 2 commits
  7. 23 Jan, 2019 1 commit
  8. 09 Jan, 2019 1 commit
  9. 06 Jan, 2019 1 commit
  10. 05 Jan, 2019 1 commit
  11. 18 Dec, 2018 1 commit
  12. 05 Dec, 2018 2 commits
  13. 29 Nov, 2018 1 commit
    • Boudewijn Rempt's avatar
      add a createActions method to KoToolFactoryBase · 5f91230f
      Boudewijn Rempt authored
      Actions created by a tool instance only exist if there's an open
      document, which means they cannot be configured or placed in
      toolbars. We should only have per-window actions, not per-action
      actions.
      
      Creating the actions in the toolfactory instead of the tool when
      the window is created fixes that: now the tools will retrieve
      the actions from the global action collection on activations
      and de-activation, like the freehand tool already did for increase
      and decrease brush size.
      
      Note: this commit breaks the following tools because it's not
      worth porting hidden tools in any case:
      
      * artistic text tool
      * odf text tool
      * connection tool
      
      BUG:365222
      
      CMAIL:kimageshop@kde.org
      5f91230f
  14. 10 Oct, 2018 1 commit
    • Eoin O'Neill's avatar
      Global Kinetic Scrolling Added · 49da9070
      Eoin O'Neill authored
      This patch takes the concept of Kinetic Scrolling and
      exapands it, applying it uniformly across Krita's UI.
      It also adds middle click as a kinetic scroll option
      which is set as default, to keep consistency with the
      canvas view (middle click pan.) Also added more
      configuration file settings for extra kinetic scrolling
      feel modifications.
      49da9070
  15. 07 Oct, 2018 3 commits
  16. 20 Aug, 2018 2 commits
  17. 14 Aug, 2018 1 commit
    • Dmitry Kazakov's avatar
      Make unit tests' names consistent · 46c27f94
      Dmitry Kazakov authored
      TEST_NAME parameter should state **only** the actual name
      of the test without any prefixes. NAME_PREFIX should state \
      the prefix. And, no, we cannot shortcut the thing and concatenate
      the name and the prefix in TEST_NAME, because it will break actual
      tests' binary file names.
      46c27f94
  18. 08 Aug, 2018 1 commit
  19. 05 Aug, 2018 2 commits
  20. 28 Jul, 2018 1 commit
  21. 26 Jul, 2018 3 commits
  22. 25 Jul, 2018 2 commits
  23. 18 Jul, 2018 1 commit
  24. 17 Jul, 2018 2 commits
  25. 14 Jul, 2018 1 commit
  26. 11 Jul, 2018 1 commit
  27. 08 Jul, 2018 1 commit
  28. 26 Jun, 2018 2 commits
  29. 19 Jun, 2018 1 commit
    • Pino Toscano's avatar
      Use QDialogButtonBox · 310d1a3c
      Pino Toscano authored
      ... instead of adding manually a standard Close button
      
      (cherry-picked from commit e4c3d2ddbd99e7fd0b1475eb7ec8fa4925682a15
      in kxmlgui.git)
      310d1a3c