Revision 721350

Go back to digest for 7th October 2007

Features in Graphics

Clarence Dang committed changes in /trunk/KDE/kdegraphics/kolourpaint:

"More Effects" dialog work:

1. Don't resize the dialog when changing effects. It turns out you need no code to do this!

Remove bogus code that actually resized the dialog.

2. Introduce kpTransformPreviewDialog::setUpdatesEnabled() and use it to reduce the number of preview pixmap recalculations from 2 to 1 when switching effects. Also try to use it for reducing the number on kpEffectsDialog ctor construction.

3. Reduce number of preview pixmap recalculations by adding <defaultSelectedEffect> arg to kpEffectsDialog ctor, removing the need to call kpEffectsDialog::selectEffect() afterwards.

File Changes

Modified 5 files
  • /trunk/KDE/kdegraphics/kolourpaint
  •   /mainWindow/kpMainWindow_Image.cpp
  •   /dialogs/imagelib/effects/kpEffectsDialog.cpp
  •   /dialogs/imagelib/effects/kpEffectsDialog.h
  •   /dialogs/imagelib/transforms/kpTransformPreviewDialog.cpp
  •   /dialogs/imagelib/transforms/kpTransformPreviewDialog.h
5 files changed in total