1. 14 Feb, 2012 1 commit
  2. 07 Feb, 2012 2 commits
    • Halla Rempt's avatar
      Clean up #includes: use the same style for Qt everywhere · 7748f748
      Halla Rempt authored
       #include <QDialog> instead of #include <qdialog.h>
    • Halla Rempt's avatar
      Change <QtGui/QDialog> style includes to <QDialog> · 02025cd8
      Halla Rempt authored
      This is already a tiny part of preparation for Qt5, where QtGui is split
      into QtGui and QtWidgets. If we use explicit module names in our includes,
      we are liable to churn like this.
      Since KDE applications always have all Qt modules in the include path
      anyway, direct includes always work (both in Qt4 and Qt5), and since we
      already used direct includes in thousands of places, this change makes
      our code more consistent, too.
  3. 06 Feb, 2012 2 commits
  4. 05 Feb, 2012 1 commit
  5. 02 Feb, 2012 3 commits
  6. 01 Feb, 2012 1 commit
  7. 30 Jan, 2012 2 commits
  8. 29 Jan, 2012 1 commit
  9. 20 Jan, 2012 1 commit
  10. 18 Jan, 2012 1 commit
  11. 17 Jan, 2012 1 commit
  12. 13 Jan, 2012 3 commits
    • C. Boemann's avatar
    • C. Boemann's avatar
    • C. Boemann's avatar
      Implement tripleclicking · 94834280
      C. Boemann authored
      To do so I had to reroute doubleclicking into toolproxy mousepress
      However for applications there are no change, except tools can now
      reimplement mouseTripleClickEvent to be notified of a triple click
      4 or more clicks are interpreted as (repeated) tripleclick. That
      is until the doubleclicktimeout period has elapsed since the first
      The behaviour is smooth and as expected. I've also change texttool
      take advantage of it and actiually select the paragraph on third
      click and not as before where doubliclcking alternated between
      selecting word and line
      This patch also fixes a bug where doublclickig a word selects the
      space after (it's a matter of taste and windows always selects the
      space. but it seems most people like to only select the word.
      BUG: 291124
  13. 09 Jan, 2012 1 commit
  14. 08 Jan, 2012 1 commit
  15. 06 Jan, 2012 1 commit
    • Thorsten Zachmann's avatar
      Fix deletion of anchored object. · 226298f0
      Thorsten Zachmann authored
      When deleting the shape that is part of a KoTextAnchor we also need to delete the
      KoTextAnchor from the document, so that it works correctly. This adds a new method
      to KoShapeBasedDocumentBase that makes it possible to attach commands that needs to
      be done after a shape has been deleted.
  16. 05 Jan, 2012 1 commit
  17. 02 Jan, 2012 1 commit
    • Thorsten Zachmann's avatar
      Fix whitespace handling in xml loading · f7883c7b
      Thorsten Zachmann authored
      This changes the xml loading to no longer strip whitespace. This fixes one of the
      problems attached to the bug report where there is a text node with only a space
      e.g. <text:line-break/> <text:s/>2 space.
      This change uncovered some problems where white space was not handled properly:
      anchors and line-breaks in filters, frame element loading in libs.
      It also fixes saving of line-break to use the correct tag instead of the QChar::LineSperator as char.
      Also whitespace handling after tabs, bookmark-ref and when variables are used have been fixed.
      REVIEW: 103568
      BUG: 290091
  18. 31 Dec, 2011 1 commit
    • Thorsten Zachmann's avatar
      Make sure tools are added · 6e01d234
      Thorsten Zachmann authored
      When adding a defered tool make sure the registry is loaded. Otherwise the tools
      will not loaded as tools is no longer empty. This happens when a TableShape is created
      during shape loading.
  19. 17 Dec, 2011 2 commits
  20. 15 Dec, 2011 1 commit
  21. 14 Dec, 2011 1 commit
  22. 12 Dec, 2011 4 commits
  23. 11 Dec, 2011 1 commit
    • Thorsten Zachmann's avatar
      Don't create invalid xml on saving · 37e15774
      Thorsten Zachmann authored
      288697 - Unavail shape generates invalid xml on saving
      The problem was that a unknown namespace is used in the document. This resulted
      in a :tag="value" which is invalid odf.
      In case such a namespace is detected a new shortcut for the namespace is used and
      the namespace is added as attribute to the tag.
  24. 08 Dec, 2011 3 commits
  25. 05 Dec, 2011 1 commit
  26. 04 Dec, 2011 1 commit
    • C. Boemann's avatar
      Improve layout of option widgets. · eb28a313
      C. Boemann authored
       Previously the option widgets would be spread out over the modebox or
       tool options docker.
       Before we couldn't just fix the height because then the tool option docker
       tabbed with other dockers would limit the other tabs height.
      Solution is adding a QWidget named SpecialSpacer that basically acts as any
      other spacer but we can now detect if it is present and act accordingly.
      As an option widget designer you should add such a SpecialSpacer at the bottom
      of your optionwidget. Unless the widget itself can make use of expanding height
      in which case you shouldn't add the SpecialSpacer.
  27. 03 Dec, 2011 1 commit