1. 19 Apr, 2020 2 commits
    • Albert Astals Cid's avatar
      tweak spacing to make clang-10 happier · a4e044e6
      Albert Astals Cid authored
      The whole file is a mess, but in particular this was making a warning so
      let's fix it
      a4e044e6
    • David Hurka's avatar
      Generate presentation drawing tool icons in a custom QIconEngine, so... · ef488d33
      David Hurka authored
      Generate presentation drawing tool icons in a custom QIconEngine, so checkboxes can be sharp on hidpi
      
      The checkboxes in the drawing tool icons in the presentation toolbar were not sharp on hiDPI, this fixes it.
      
      The toolbar buttons are QActions with QIcons, and the icons were created from 25x25 pixmaps. That is usually smaller than the toolbar’s icon size, so the icons had a nice size. But at hiDPI, the icons were scaled up, so the checkmarks looked blurry.
      
      Now the icons are generated in the correct resolution on the fly, because the painting code from ColorAction::setColor() is moved to a custom QIconEngine inside ColorAction.
      ef488d33
  2. 18 Apr, 2020 1 commit
  3. 15 Apr, 2020 7 commits
  4. 12 Apr, 2020 2 commits
  5. 08 Apr, 2020 1 commit
  6. 07 Apr, 2020 1 commit
  7. 04 Apr, 2020 3 commits
  8. 02 Apr, 2020 2 commits
  9. 29 Mar, 2020 1 commit
  10. 28 Mar, 2020 7 commits
  11. 27 Mar, 2020 1 commit
  12. 26 Mar, 2020 3 commits
  13. 16 Mar, 2020 1 commit
  14. 15 Mar, 2020 4 commits
  15. 14 Mar, 2020 1 commit
  16. 12 Mar, 2020 2 commits
    • Albert Astals Cid's avatar
      Don't use QDir::separator · d1568efd
      Albert Astals Cid authored
      If we're building paths for Qt, always use /
      d1568efd
    • David Hurka's avatar
      Move Continuous option to View Mode submenu · 493ba07e
      David Hurka authored
      Summary:
      This moves the Continuous option from the View menu to the
      View Mode submenu. This makes the View Mode menu (a KActionMenu)
      more useful in the main toolbar. Additionally, “Continuous” is explained by the context “View Mode”.
      
      The primary intention was to give this View Mode a similar usage pattern like
      the Change Colors menu (D21195), if both are added to the toolbar. See my
      suggestion in Bugs 407217 and 407326.
      
      FEATURE: 407326
      
      Screenshot before:
      {F6821917}
      
      Screenshot now:
      {F6821920}
      and in the toolbar:
      {F6821921}
      
      Test Plan:
      * Look into View menu and test entries
      * Add View Mode menu to toolbar and test entries
      
      Reviewers: #okular, #vdg, aacid
      
      Spies: aacid, ngraham, okular-devel, kde-doc-english
      
      Tags: #okular, #documentation
      
      Differential Revision: https://phabricator.kde.org/D21196
      493ba07e
  17. 10 Mar, 2020 1 commit