1. 04 Jan, 2017 - 1 commit
    • Lars Schmertmann's avatar
      Use defaultSize according to svg standard in svg plugin · 4bd5d6ce
      Lars Schmertmann authored
      
      The viewBox attribute defines the svg internal coordinate system. If no
      width/height is set, the viewBox size is the right choice for defaultSize.
      Otherwise the standard prescribes that the specified height/width must be
      used.
      
      The old behavior ignored the width and height attributes, and this caused a
      lot of problems in qml. If the viewBox was very small the result was a low
      resolution image. If the viewBox was very large, loading took ages and the
      result used much more memory than needed. Both situations could be avoided
      by setting sourceSize. But when using the same image several times, the
      sourceSize must be set every time to the same value, otherwise the image
      cache would not work. It is cheaper to have the same high-quality source
      image in the cache, and scale it down when required.
      
      With the new behavior it is possible to control the default image size
      directly in the svg file at one place while it is still possible to set
      different sourceSizes if needed.
      
      Task-number: QTBUG-44863
      Change-Id: I9c2fc7c122a29ebcf288b7cbd12427e081d404d5
      Reviewed-by: default avatarAndré Klitzing <aklitzing@gmail.com>
      Reviewed-by: default avatarEdward Welbourne <edward.welbourne@qt.io>
      4bd5d6ce
  2. 12 Dec, 2016 - 1 commit
  3. 06 Dec, 2016 - 2 commits
  4. 26 Nov, 2016 - 1 commit
  5. 24 Nov, 2016 - 2 commits
  6. 11 Nov, 2016 - 2 commits
  7. 10 Nov, 2016 - 3 commits
  8. 06 Nov, 2016 - 1 commit
  9. 27 Oct, 2016 - 1 commit
  10. 21 Sep, 2016 - 1 commit
  11. 19 Sep, 2016 - 1 commit
  12. 17 Sep, 2016 - 1 commit
  13. 13 Sep, 2016 - 3 commits
  14. 09 Sep, 2016 - 1 commit
  15. 05 Sep, 2016 - 1 commit
  16. 30 Aug, 2016 - 1 commit
  17. 29 Aug, 2016 - 1 commit
  18. 19 Aug, 2016 - 1 commit
  19. 18 Aug, 2016 - 1 commit
  20. 02 Aug, 2016 - 1 commit
  21. 01 Aug, 2016 - 1 commit
  22. 28 Jul, 2016 - 1 commit
  23. 12 Jul, 2016 - 1 commit
  24. 17 Jun, 2016 - 1 commit
  25. 16 Jun, 2016 - 1 commit
  26. 08 Jun, 2016 - 1 commit
  27. 31 May, 2016 - 1 commit
    • Edward Welbourne's avatar
      QSvgAnimate{Color,Transform}: initialize all members. · 415572bb
      Edward Welbourne authored
      
      Coverity (CIDs 22640, 22316) complained that some members weren't
      initialized.  Although setters are provided for these members, we have
      no guarantee that they're called, so initialize to sensible values.
      Chose indefinite repeat (repeat count -1) rather than single-shot.
      
      In the process, discovered each class's m_to was used only in the
      constructor (my initial change removed even this use, leading to a
      compiler warning, as error, on OSX); so removed from both classes.
      
      Change-Id: Ibb88a6190f2d740f57c67c1d5ee8a7b03129c510
      Reviewed-by: default avatarEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
      415572bb
  28. 24 May, 2016 - 2 commits
  29. 19 May, 2016 - 3 commits
  30. 12 May, 2016 - 1 commit