1. 06 Sep, 2020 3 commits
  2. 05 Sep, 2020 2 commits
  3. 03 Sep, 2020 1 commit
    • David Hurka's avatar
      Create GuiUtils functions createColorIcon() and createOpacityIcon() · 076e17c6
      David Hurka authored
      * createColorIcon creates a QIcon which visualizes the given colors
        using rectangles. A background icon can be provided, in that case
        only the lowest 25% of the icon will be filled by the rectangles.
      * createOpacityIcon creates a QIcon that visualizes a given opacity
        using the current foreground color and a checkerboard background.
      
      These functions are now used in place of colorIcon, colorPicerIcon,
      opacityIcon in AnnotationActionHandler. The new functions have some
      advantages: support most common icon sizes, and dark color schemes.
      076e17c6
  4. 01 Sep, 2020 1 commit
  5. 31 Aug, 2020 6 commits
  6. 30 Aug, 2020 2 commits
  7. 28 Aug, 2020 1 commit
  8. 25 Aug, 2020 1 commit
    • Simone Gaiarin's avatar
      Store the state of the builtin annotations in a new config key · 10d92fbe
      Simone Gaiarin authored
      Using the new configuration key BuiltinAnnotationTools instead of AnnotationTools, we avoid any conflicts in the configuration files due to the fact that the key AnnotationTools had a different meaning in the previous versions of Okular. In particular we avoid the critical problem that the actions in the UI do not match the actual annotation tools. The conflict may happen if the kconf_update script is not executed for some reason (e.g. okular running from flatpack).
      
      BUG: 425354
      FIXED-IN: 1.11.1
      10d92fbe
  9. 22 Aug, 2020 3 commits
  10. 21 Aug, 2020 1 commit
  11. 09 Aug, 2020 1 commit
    • David Hurka's avatar
      Port PresentationWidget to QScreen and simplify related code · 89280e82
      David Hurka authored
      * QDesktopWidget -> QScreen
      
      Simplifications:
      * After setting new screen/geometry, forget them and let resizeEvent() handle any updates.
      * Specifically, don’t connect to screen size change signals.
      * Specifically, setScreen() only sets the new widget position and then waits for resizeEvent().
      * This also means applyNewScreenSize() and repositionContent() can be collapsed into resizeEvent().
      * Replace recalcGeometry() by setScreen(defaultScreen()), where defaultScreen() only checks the configuration.
      89280e82
  12. 08 Aug, 2020 2 commits
  13. 07 Aug, 2020 7 commits
  14. 06 Aug, 2020 4 commits
  15. 05 Aug, 2020 5 commits