1. 01 Oct, 2014 1 commit
    • Christoph Feck's avatar
      KUrl -> QUrl · 7fd69ea3
      Christoph Feck authored
      This is a global search/replace, the needed manual changes
      will be committed separately
      7fd69ea3
  2. 30 Aug, 2011 1 commit
  3. 25 Jun, 2011 1 commit
  4. 24 Feb, 2011 1 commit
  5. 07 Feb, 2011 1 commit
  6. 13 Apr, 2008 1 commit
    • Malcolm Hunter's avatar
      Typo fix · fe2cc356
      Malcolm Hunter authored
      svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=796522
      fe2cc356
  7. 16 Nov, 2007 1 commit
  8. 09 Oct, 2007 1 commit
    • Clarence Dang's avatar
      Remove kpBug::QWidget_SetWhatsThis(). ... · ddbafd78
      Clarence Dang authored
      Remove kpBug::QWidget_SetWhatsThis().   kdelibs/kdeui/util/kwhatsthismanager.cpp has been fixed so QWidget::setWhatsThis() now works so there is no more need for this hack.
      
      
      svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=723286
      ddbafd78
  9. 07 Oct, 2007 1 commit
    • Clarence Dang's avatar
      Extract out scrollview scrollbar size estimation into class... · 28098e42
      Clarence Dang authored
      Extract out scrollview scrollbar size estimation into class kpAbstractScrollAreaUtils and add more similar methods.
      
      Other kpColorCells changes:
      
      * -KDE3: Yes, that was fixed after Fedora Core 4 in both KDE 3.4 and 3.5
      * -warning
      
      
      svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=722467
      28098e42
  10. 02 Oct, 2007 1 commit
  11. 27 Sep, 2007 1 commit
  12. 26 Sep, 2007 1 commit
  13. 25 Sep, 2007 5 commits
    • Clarence Dang's avatar
      * Default to the invalid color (which somehow turns out as white), instead of black, · 11161dcb
      Clarence Dang authored
        when double clicking the transparent color in the kpDualColorButton
        - Add TODO to both kpDualColorButton and kpColorCells about this
          (should also remove this info from the TODO file)
      
      * Pass parent to KColorDialog
      
      svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=716750
      11161dcb
    • Clarence Dang's avatar
      SVN_SILENT comments · 7cdcc5b2
      Clarence Dang authored
      svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=716743
      7cdcc5b2
    • Clarence Dang's avatar
      SVN_SILENT typo · 914fa8c4
      Clarence Dang authored
      svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=716736
      914fa8c4
    • Clarence Dang's avatar
      * Stop slotColorChanged() deleting colors by accident! · 81beed29
      Clarence Dang authored
        This fixes the bug where drag-swapping a color and then deleting a row,
        deletes more colors than expected.
      
      * WhatsThis
        - Use kpBug::QWidget_SetWhatsThis() to make it work
        - More detailed text
      
      * slotColorDoubleClicked(): remove unneeded setModified()
      
      * Add and fix comments
      
      
      svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=716735
      81beed29
    • Clarence Dang's avatar
      kpColorCells changes, to follow up on kpColorCellsBase changes: · 6b9654e7
      Clarence Dang authored
      * Set geometry
        - setMinimumSize(), do not fix the size of the widget based on the number of rows
          or it will get too big
        - Minimum QSizePolicy both vertically and horizontally to not make its
          parent widget expand too much
      * Add vertical scrollbar
        - Leave room for the scrollbar to appear
        - Make scrollbar recalculate with widget resizes
          - Use kpColorCellsBase's new setCellsResizable() method
          - Delete resizeEvent() which prevented resize events reaching QTableWidget
            via kpColorCellsBase
      
      * Fix appendRow() and deleteLastRow() to add and delete _visual_ rows,
        independent of whether the current number of colors is divisible by
        the columnCount() [currently fixed at 11]
        - If you delete an only remaining row, the effect is to clear the
          row [see ensureHaveAtLeastOnRow()]
        - Adding only adds the invalid color, which kpColorCollection -- as of a recent
          commit -- no longer saves anyway
      
      * Set modified flag more consistently by using kpColorCellBase's new
        colorChanged() signal connected to the new slotColorChanged()
        - drag-and-drop now updates the modified flag and backing color collection
          - this supports drops to empty color cells
      
      * Remove HACK of specifying 300 columns to kpColorCellsBase in the ctor,
        since setRowCount() and setColumnCount() now work
      
      * Add WhatThis
      
      * Fix makeCellsMatchColorCollection() to support invalid colors (empty cells)
        in the new color collection (by clearing the old cells, which might not have
        been empty)
      
      * Rename static ::Palette*() methods to ::Table*() methods to be less confusing
      * Reintroduce special handling of 0 cells
      
      * Replace the hacky mouseReleaseEvent() with the new slotColorSelected()
        (using the new overload of the kpColorCellsBase::colorSelected() signal)
        - Remove fragile d->mouseButton hack
      
      * Emit rowCountChanged()
      * Emit isModifiedChanged() in setModified()
      
      * Remove dropEvent() since it did nothing
      
      * Remove paintCell() (a non-functional leftover from KolourPaint in KDE 3)
        as kpColorCellsBase now does what it did (gray out cells when disabled)
      
      * Style, TODO, comments
      
      TODO: Swapping colors around and deleting a row results in strange effects.
      
      svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=716617
      6b9654e7
  14. 23 Sep, 2007 2 commits
    • Clarence Dang's avatar
      * Rename KColorCells to kpColorCellsBase · 2fada0d6
      Clarence Dang authored
      * Change kpColorCells' superclass from KColorCells to kpColorCellsBase
      
      
      svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=715892
      2fada0d6
    • Clarence Dang's avatar
      Commit rough color palette and toolbar work: · 4ca41031
      Clarence Dang authored
      * Toolbar work: Tool Box & Color Tool Bar
        - Change from KToolBar to QDockWidget base
          - Nice side-effect: kpColorToolBar gets a QDockWidget resize grip
          - Lets us use QMainWindow::setCorner() so that Tool Box can take all the vertical space, since it can be quite tall with all its tool option widgets
          - Prevents KMainWindow from managing tool bar position so that we can force toolbars to be in a default and fixed place - this works around all the current quirks (due to the effects of QToolBar::setOrientation() no longer being virtual -- though, I actually saw an orientationChanged() signal now -- and probably other reasons):
            1. Toolbars staying on top of even non-KolourPaint windows when KolourPaint is not the foreground window
            2. Not being dockable when undocked
        - kpColorToolBar: use proper QSpacerItem instead of a fake widget (this looks better on e.g. Keramik style)
        - For component widgets, make them all do the following to avoid Qt layout oddities:
          1. setSizePolicy() themselves, rather than nobody doing it or leaving it up to the users
          2. Use setMinimumSize() instead of setFixedSize() and also don't use QSizePolicy::Fixed (don't know why this is required)
      
      * Color editing work
        - Split queryClose() into queryCloseDocument() and new queryCloseColors()
        - Start fix reloading and modified-state to work (regarding modified state, what is missing is drag-and-drop affecting it and a lot of testing)
        - kpColorCollection
          - Introduce openKDE() method to replace ctor functionality and allow error-handling
          - Add "showOverwritePrompt" argument to saveAs()
          - Rename save() to saveKDE()
        - kpColorCells
          - Add colorCollection() and saveColorCollection()
          - Tweak ::Palette{Column,Rows}()
          - When there are >= 3 rows, reduce the heights of each cell only -- not the width -- and only to 17, not to 13 (so you can fit 3 larger rows, not 4 smaller ones; height of all the cells is 52)
          - Clicking no longer takes tab focus away from main view
            Testcase: When a text box is active, clicking to change the background color
                      should not move the keyboard focus away from the text box.
      
      * kpColorPalette
        - Add buttons to resize the color palette (TODO: revert this straight away since kpColorToolBar being  QDockWidget already gives us a resize grip, that is more intuitive)
        - Make sure kpColorCells are horizontally centered inside the scrollarea
      
      * Documentation
        - Set target freeze date as Oct 21
        - Mark clearly as BETA
        - Document toolbar regressions
      
      * Style, +/- debug
      
      
      
      svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=715735
      4ca41031
  15. 11 Sep, 2007 1 commit
  16. 20 Aug, 2007 1 commit
  17. 15 Aug, 2007 1 commit
  18. 02 Aug, 2007 1 commit
  19. 25 Jul, 2007 1 commit
    • Clarence Dang's avatar
      Merge /branches/work/~dang/kdegraphics/kolourpaint/ -r651355(last merged upto):692068 · ad66ce6b
      Clarence Dang authored
      to be up-to-date, in time for feature freeze.
      
      This represents more than 3 months worth of changes that make KolourPaint a lot better.
      However, KolourPaint still needs a lot of work to just work.
      
      The merge took longer than expected as I had to fight SVN quite a bit :(
      
      I'm worried about libkolourpaint_lgpl and symbol visibility as I saw some
      KDE_EXPORT stuff.  Could someone who knows more about this please look into it?
      Thanks in advance!
      
      
      Forward ports from branches/KDE/3.5/:
      
      * Scanning fixes
      
      * Save local files atomically
      
      * Implement rudimentary global session management
      
      * Drop overly-spammed and unchangeable kolourpaint-support@lists.sourceforge.net
      
      * "File / Open Recent" fixes
      
      * CTRL+C'ing a text box also places the text in the middle-mouse-button
        clipboard, in lieu of being able to highlight the text to do this
      
      * Change minimum allowed zoom level for the grid from 600% to 400%
      
      
      Unique changes (not in branches/KDE/3.5/):
      
      * Remove individual "Thanks To".  Unfortunately, it became unrealistic to keep track of everyone so I give up.  It made me feel really bad to have an incomplete list.
      
      * Change rotate menu items to be consistent with Digikam; "Image / Rotate..." goes back to CTRL+R 
      * Add, to the print dialog, a choice between printing the image at the
        top-left of the page or at the center (this was previously a hidden
        configuration option, which is now ignored) [Bug #133481]
      
      * Add Zoom Tool
      
      * Add "Image / Drag Opaque"
      
      * kpTool::mouseReleaseEvent() finally calls draw() before endDraw().
      
        This means that a quick drag of the mouse immediately before releasing the
        mouse button is no longer ignored in tools that implement just draw()
        and not endDraw() [not sure there are such tools anymore though].
          
      * Add Tone Enhance effect (Mike Gashler)
      
      * Add "File / Properties..."
      
      * Decouple from kpMainWindow using kp*Environment facades
      
      * Massive selection code refactor
        - Support creating text selections that are only borders (contain no text
          and will not mutate document-is-modified state) i.e. you will be able to
          drag out text boxes and cancel them without affecting the document-is-modified flag.
          [this currently does not work due to lack of support from kpToolText]
      
      * Identify a number of KolourPaint/KDE3 bugs (added TODOs)
      
      * Make all selection tools work
      
      * Rename kpTempPixmap -> kpTempImage
      
      * Split kpCommandSize out of kpPixmapFX
      
      * Much other refactoring
      
      * Configurable color palette and "Colors" menu
      
      * Animate the Color Similarity Tool Bar Item, to highlight the existence
        of the feature
        - And make the configuration more accessible
          - Also add "Image / Draw With Color Similarity" to duplicate the tool
            bar item
      
      * Add support library containing LGPL code derived from elsewhere
      
      
      
      
      svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=692114
      ad66ce6b
  20. 07 Apr, 2007 2 commits
    • Clarence Dang's avatar
      Merge /branches/work/~dang/kdegraphics/kolourpaint/ -r651305(last merged... · 8c3df284
      Clarence Dang authored
      Merge /branches/work/~dang/kdegraphics/kolourpaint/ -r651305(last merged upto):651355 to be up-to-date.
      The changes are critical and fix the last 3 months worth of regressions due to KDE 4 kdelibs changes.
      If you now update kdelibs for my KColorCells fixes, KolourPaint should work as well (or as badly) as it did back then.
      
      * Make kpColorCells a reasonable size again after KColorCells API changes
      
      * Restore the Tool Box icons: Rename icons from "crystalsvg" to "hicolor" so
        that they are picked up by the new default KDE 4 theme "oxygen", which
        inherits from "hicolor".  I think this is the correct long-term solution as
        it works even when the icon theme is changed (please correct me if I'm wrong).
      
        From strace, I found that KDE isn't even looking in the "crystalsvg" folder.
      
        The "icons in koffice" thread on the koffice-devel mailinglist is informative.
      
      * Make Tool Box button size reflect icon size - corrects and clears
        'revision 649443, Mon Apr 2 17:07:04 2007 UTC'
      
      * Fight KColorCells selecting cells - now clicking a color cell does not make it turn violet.
        Remove the code in the disabled paintCells() that did that for the pre-KDE4 version of KColorCells.
      
      * Minor changes
      
      
      svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=651497
      8c3df284
    • Clarence Dang's avatar
      Merge /branches/work/~dang/kdegraphics/kolourpaint/ -r651231(branch... · 69f41a6a
      Clarence Dang authored
      Merge /branches/work/~dang/kdegraphics/kolourpaint/ -r651231(branch base):651305 to be up-to-date.  The changes were massive but non-functional:
      
      * Change to CamelCase filenames
      
      * A small amount of renaming of methods and filenames
      
      * Split kpcolortoolbar.{h,cpp}
      
      * Copyright 2007
      
      This removes the lazy <kpdocumentsaveoptions.h> and <kpdocument.h>
      forwarding headers that created trouble on case-insensitive file systems
      (MacOS X).
      
      CCMAIL: Benjamin Reed <rangerrick@befunk.com>
      
      "svn merge" seems very slow - I'm glad nobody committed in the meantime!
      
      
      svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=651306
      69f41a6a