~neon/kolourpaint/master

  • Committer: Clarence Dang
  • Date: 2005-02-02 11:06:42 UTC
  • Revision ID: git-v1:56f541734abf70dc3505663c20dccce8ca8b77f9
Add View / Zoomed Thumbnail Mode, View / Enable Thumbnail Rectangle; Refactor and document kpView

Backend:
* kpthumbnail.cpp
  - setView() now accepts null param (setWidget() doesn't support this -
    had to manually use boxLayout())
  - note TODO
* kpview.cpp
  - new header guard style
  - store all vars in d-ptr struct and remove #include's; hides impl, speeds compile
  - document API
  - split lazy kpMainWindow ptr
  - support buddyView() & buddyViewScrollView() mainly for thumbnail
  - add public origin()/setOrigin()
  - add showBuddyViewScrollViewRectangle() and friends (mainly for thumbnail
    rectangle feature)
  - rename kpView::zoom(ViewToDoc|DocToView) to
    kpView::transform(ViewToDoc|DocToView) so that name includes origin
    translation (not just zooming)
  - add zoomedDoc(Width|Height)()
  - refactor kpView:
    - add pure virtual adjustToEnvironment() impl for new view classes
    - kpView now becomes a wonderfully clean base
    - factor out "autoVariableZoom" into kpzoomedthumbnail.cpp; no more
      confusion about which class (kpView, kpViewManager, kpThumbnail) has
      what responsibility, reduce chance of stale state if changing
      e.g. autoVariableZoom
    - since kpView now abstract, ordinary zoomed main view moves to
      kpZoomedView
    - add abstract kpThumbnailView base derived from kpView (adds
      setMaskToCoverDocument() for changing origin, calls
      adjustToEnvironment() on resize, adds pure virtual caption()
      for kpThumbnail window)
      - add kpUnzoomedThumbnailView for new Unzoomed Thumbnail Mode
      - add kpZoomedThumbnailView that contains all the "autoVariableZoom"
        logic that was all over the place
  - add originChanged() signal
  - move in kpMainWindow::drawTransparentBackground() to reduce
    coincidental coupling and make it static
  - remove m_needBorder (not needed thanks to origin() and rounding down
    behaviour of zoomedDoc(Width|Height)())
  - remove unused m_docToViewMatrix
  - kpView::showGrid() checks canShowGrid()
  - update style
  - in event handlers, check for tool() before deref (just in case)
  - actually blink text cursor if thumbnail window has focus
    (needs BACKPORT)
* kpviewmanager.cpp
  - add activeView()
  - add updateViewRectangleEdges()
  - remove resizeViews() which incorrectly had business logic of view type;
    add adjustViewsToEnvironment() which calls logic in pure virtual
    kpView::adjustToEnvironment()
* kpviewscrollablecontainer.cpp
  - add contents[XY]Soon(), signal contentsMovingSoon() to work around
    braindead QScrollView::contentsMoving(int,int) signal (when this
    QScrollView signal is fired, contents[XY]() still report old values
    because QScrollView hasn't scrolled yet; there should be a
    QScrollView::contentsMoved(int,int) IMO; no, we can't just use a
    single shot timer - can take forever to fire as seen from drag scrolling)
  - add resized() signal
* add kpToolControllerIface that gives currently selected tool
  - kpToolToolBar implements
  - used by kpView's kpMainWindow ptr splitting
* kpmainwindow_view.cpp
  - add note about setUpdatesEnabled(), debug

svn path=/trunk/kdegraphics/kolourpaint/; revision=385271
Filename Latest Rev Last Changed Committer Comment Size
..
cursors 203 20 years ago Clarence Dang cursor provider - currently only 1 cursor svn pat Diff
doc 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa Diff
interfaces 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th Diff
patches 151 20 years ago Clarence Dang an optimisation that doesn't seem to optimise *sig Diff
pics 1 20 years ago Clarence Dang KolourPaint is yet another paint program. It aims Diff
pixmapfx 1 20 years ago Clarence Dang KolourPaint is yet another paint program. It aims Diff
tests 1 20 years ago Clarence Dang KolourPaint is yet another paint program. It aims Diff
tools 1 20 years ago Clarence Dang KolourPaint is yet another paint program. It aims Diff
views 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th Diff
widgets 1 20 years ago Clarence Dang KolourPaint is yet another paint program. It aims Diff
AUTHORS 696 19 years ago Clarence Dang * Restore mouse cursor after deselecting select 1.2 KB Diff Download File
BUGS 688 19 years ago Clarence Dang text tool no antialias svn path=/trunk/kdegraphic 9.4 KB Diff Download File
ChangeLog 659 19 years ago Clarence Dang Welcome to KolourPaint 1.2. Project now completely 256 bytes Diff Download File
COPYING 180 20 years ago Clarence Dang Relicense KolourPaint under KDE's "BSD style" Lice 1.2 KB Diff Download File
kolourpaint.cpp 696 19 years ago Clarence Dang * Restore mouse cursor after deselecting select 6.9 KB Diff Download File
kolourpaint.desktop 699 19 years ago Script Kiddy CVS_SILENT made messages (.desktop file) svn path 2.7 KB Diff Download File
kolourpaintui.rc 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 2.8 KB Diff Download File
kpcolor.cpp 429 20 years ago Clarence Dang catch nonstandalone headers svn path=/trunk/kdegr 8 KB Diff Download File
kpcolor.h 397 20 years ago Clarence Dang use mutable instead of const_cast svn path=/trunk 3.5 KB Diff Download File
kpcommandhistory.cpp 603 19 years ago Clarence Dang CVS_SILENT -debug svn path=/trunk/kdegraphics/kol 21.9 KB Diff Download File
kpcommandhistory.h 525 19 years ago Clarence Dang * Go from 10 to 500 levels of undo/redo in just 1. 6.6 KB Diff Download File
kpdefs.h 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 5.1 KB Diff Download File
kpdocument.cpp 667 19 years ago Clarence Dang Update and apply patches to fix untranslatable st 37.1 KB Diff Download File
kpdocument.h 641 19 years ago Clarence Dang kpDocument::pixmapWithSelection() must render the 8.5 KB Diff Download File
kpdocumentmetainfo.cpp 561 19 years ago Clarence Dang Class for handling document meta information (DPI, 4.5 KB Diff Download File
kpdocumentmetainfo.h 561 19 years ago Clarence Dang Class for handling document meta information (DPI, 2.7 KB Diff Download File
kpdocumentsaveoptions.cpp 657 19 years ago Clarence Dang add lossy info for image/x-portable-greymap svn p 12.5 KB Diff Download File
kpdocumentsaveoptions.h 614 19 years ago Clarence Dang Last set of major fixes, I think: kpDocument: * g 4.9 KB Diff Download File
kpdocumentsaveoptionswidget.cpp 678 19 years ago Clarence Dang * When changing between colour depth and qualit 27.5 KB Diff Download File
kpdocumentsaveoptionswidget.h 678 19 years ago Clarence Dang * When changing between colour depth and qualit 5 KB Diff Download File
kpmainwindow.cpp 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 25.7 KB Diff Download File
kpmainwindow.h 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 17.8 KB Diff Download File
kpmainwindow_edit.cpp 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 25.4 KB Diff Download File
kpmainwindow_file.cpp 655 19 years ago Clarence Dang * kpmainwindow_edit.cpp: Edit/Copy to File... save 29 KB Diff Download File
kpmainwindow_image.cpp 655 19 years ago Clarence Dang * kpmainwindow_edit.cpp: Edit/Copy to File... save 13 KB Diff Download File
kpmainwindow_settings.cpp 655 19 years ago Clarence Dang * kpmainwindow_edit.cpp: Edit/Copy to File... save 5.6 KB Diff Download File
kpmainwindow_statusbar.cpp 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 11.8 KB Diff Download File
kpmainwindow_text.cpp 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 12.1 KB Diff Download File
kpmainwindow_tools.cpp 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 19.8 KB Diff Download File
kpmainwindow_view.cpp 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 28.7 KB Diff Download File
kpselection.cpp 689 19 years ago Clarence Dang * Fix crash due to text box when scaling image 32.5 KB Diff Download File
kpselection.h 616 19 years ago Clarence Dang Merge freehand resizing fixes (really the last of 7 KB Diff Download File
kpselectiondrag.cpp 633 19 years ago Clarence Dang * Load (and paste) images as losslessly as possibl 8.3 KB Diff Download File
kpselectiondrag.h 428 20 years ago Clarence Dang FIX nonstandalone header; previous commits paid of 2.4 KB Diff Download File
kpselectiontransparency.cpp 429 20 years ago Clarence Dang catch nonstandalone headers svn path=/trunk/kdegr 4.8 KB Diff Download File
kpselectiontransparency.h 340 20 years ago Clarence Dang const ==, != svn path=/trunk/kdegraphics/kolourpa 2.7 KB Diff Download File
kpsinglekeytriggersaction.cpp 606 19 years ago Clarence Dang CVS_SILENT -debug svn path=/trunk/kdegraphics/kol 4.3 KB Diff Download File
kpsinglekeytriggersaction.h 480 19 years ago Clarence Dang Associate actions with all tools and tool options. 2.7 KB Diff Download File
kptemppixmap.cpp 429 20 years ago Clarence Dang catch nonstandalone headers svn path=/trunk/kdegr 3.5 KB Diff Download File
kptemppixmap.h 298 20 years ago Clarence Dang kpViewManager::viewUnderCursor() does not require 2.7 KB Diff Download File
kptextstyle.cpp 473 19 years ago Clarence Dang Enable the Opaque/Transparent Option Widget for th 5.9 KB Diff Download File
kptextstyle.h 473 19 years ago Clarence Dang Enable the Opaque/Transparent Option Widget for th 3.4 KB Diff Download File
kpthumbnail.cpp 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 5.1 KB Diff Download File
kpthumbnail.h 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 1.9 KB Diff Download File
kpview.cpp 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 49.6 KB Diff Download File
kpview.h 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 15 KB Diff Download File
kpviewmanager.cpp 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 17.6 KB Diff Download File
kpviewmanager.h 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 6.1 KB Diff Download File
kpviewscrollablecontainer.cpp 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 36.9 KB Diff Download File
kpviewscrollablecontainer.h 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 7.3 KB Diff Download File
kpwidgetmapper.cpp 481 19 years ago Clarence Dang QWidget::map(From|To)Global() with both QPoint and 2.2 KB Diff Download File
kpwidgetmapper.h 481 19 years ago Clarence Dang QWidget::map(From|To)Global() with both QPoint and 1.7 KB Diff Download File
Makefile.am 710 19 years ago Clarence Dang Add View / Zoomed Thumbnail Mode, View / Enable Th 1.9 KB Diff Download File
NEWS 706 19 years ago Clarence Dang Temporarily revert all changes to 2005-01-15 in pr 17.9 KB Diff Download File
README 679 19 years ago Clarence Dang 1.2 -> 1.3 UNSTABLE svn path=/trunk/kdegraphics/k 3.2 KB Diff Download File
TODO 695 19 years ago Clarence Dang up-to-date as of now svn path=/trunk/kdegraphics/ 19 KB Diff Download File
VERSION 679 19 years ago Clarence Dang 1.2 -> 1.3 UNSTABLE svn path=/trunk/kdegraphics/k 13 bytes Diff Download File