~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
..
brush_shapes.png 442 20 years ago Thurston Dang Improved table layout. svn path=/trunk/kdegraphic 589 bytes Diff Download File
color_box.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 2.1 KB Diff Download File
eraser_shapes.png 442 20 years ago Thurston Dang Improved table layout. svn path=/trunk/kdegraphic 478 bytes Diff Download File
fcc_std_text.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 13.8 KB Diff Download File
fcc_trans_text.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 14.4 KB Diff Download File
fill_style.png 442 20 years ago Thurston Dang Improved table layout. svn path=/trunk/kdegraphic 472 bytes Diff Download File
File image_balance.png 637 19 years ago Lauri Watts Late breaking updates from Thurston Dang svn path 42 KB Diff Download File
File image_emboss.png 637 19 years ago Lauri Watts Late breaking updates from Thurston Dang svn path 35.1 KB Diff Download File
File image_flatten.png 637 19 years ago Lauri Watts Late breaking updates from Thurston Dang svn path 33.4 KB Diff Download File
image_flip.png 637 19 years ago Lauri Watts Late breaking updates from Thurston Dang svn path 10.4 KB Diff Download File
File image_invert.png 637 19 years ago Lauri Watts Late breaking updates from Thurston Dang svn path 31.2 KB Diff Download File
File image_reduce_colors.png 637 19 years ago Lauri Watts Late breaking updates from Thurston Dang svn path 35.3 KB Diff Download File
image_resize_scale.png 637 19 years ago Lauri Watts Late breaking updates from Thurston Dang svn path 31.5 KB Diff Download File
image_rotate.png 637 19 years ago Lauri Watts Late breaking updates from Thurston Dang svn path 26.4 KB Diff Download File
image_skew.png 637 19 years ago Lauri Watts Late breaking updates from Thurston Dang svn path 21.1 KB Diff Download File
File image_soften_sharpen.png 637 19 years ago Lauri Watts Late breaking updates from Thurston Dang svn path 32.7 KB Diff Download File
index.docbook 637 19 years ago Lauri Watts Late breaking updates from Thurston Dang svn path 36.4 KB Diff Download File
line_width.png 442 20 years ago Thurston Dang Improved table layout. svn path=/trunk/kdegraphic 434 bytes Diff Download File
lines_30_45_deg.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 1.3 KB Diff Download File
lines_30_deg.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 1 KB Diff Download File
lines_45_deg.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 853 bytes Diff Download File
Makefile.am 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 30 bytes Diff Download File
File rotate_image_30.png 637 19 years ago Lauri Watts Late breaking updates from Thurston Dang svn path 1.9 KB Diff Download File
File rotate_selection_30.png 637 19 years ago Lauri Watts Late breaking updates from Thurston Dang svn path 2.8 KB Diff Download File
selections_opaque_transparent.png 442 20 years ago Thurston Dang Improved table layout. svn path=/trunk/kdegraphic 1.3 KB Diff Download File
spraycan_patterns.png 637 19 years ago Lauri Watts Late breaking updates from Thurston Dang svn path 960 bytes Diff Download File
tool_brush.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 849 bytes Diff Download File
tool_color_picker.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 653 bytes Diff Download File
tool_color_washer.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 711 bytes Diff Download File
tool_curve.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 718 bytes Diff Download File
tool_ellipse.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 698 bytes Diff Download File
tool_elliptical_selection.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 261 bytes Diff Download File
tool_eraser.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 722 bytes Diff Download File
tool_flood_fill.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 799 bytes Diff Download File
tool_free_form_selection.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 238 bytes Diff Download File
tool_line.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 624 bytes Diff Download File
tool_pen.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 581 bytes Diff Download File
tool_polygon.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 746 bytes Diff Download File
tool_polyline.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 724 bytes Diff Download File
tool_polystar.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 574 bytes Diff Download File
tool_rect_selection.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 177 bytes Diff Download File
tool_rectangle.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 349 bytes Diff Download File
tool_rectangles.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 432 bytes Diff Download File
tool_rounded_rectangle.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 503 bytes Diff Download File
tool_selections.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 260 bytes Diff Download File
tool_spraycan.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 579 bytes Diff Download File
tool_text.png 434 20 years ago Thurston Dang This is the documentation as found in the KolourPa 400 bytes Diff Download File