PATCH: Save/Load of multiple image and layer
Toshitaka Fujioka
kimageshop@mail.kde.org
Tue, 21 Aug 2001 00:45:19 +0900
--------------Boundary-00=_JFID9X81EKUHWAB44EQU
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
On Sunday 19 August 2001 19:34, Toshitaka Fujioka wrote:
> This patch can save/load of multiple image and layer. But, this patch is
> not compatible with former file.
> Is compatibility with former file necessary ?
Hmm..... Ok, file compatibility is necessary. I remade a patch. Load old file
format. And,
add some QToolTip in layer table.
add some setModified( true ) .
add wheelEvent( QWheelEvent * ) in canvas.
Please review.
--
Toshitaka Fujioka
http://www.kde.org The K Desktop Environment Project
fujioka@kde.org
http://www.kde.gr.jp Japan KDE User's Group
toshitaka@kde.gr.jp
-- We offer the best Desktop Environment to you. (This is my goal. ;-)) --
--------------Boundary-00=_JFID9X81EKUHWAB44EQU
Content-Type: application/x-bzip2;
name="koffice-krayon-filesave-fix-20010821.diff.bz2"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="koffice-krayon-filesave-fix-20010821.diff.bz2"
QlpoOTFBWSZTWRG1Tb0AHjx/gHZ0VRF7f////+//5L///+pgI/886UVdZvmAp72hzru3dvU57bs9
O3jNgqvMAd55uUb27c97APGGvB29tudeuXp6jbL06V6dU97PRu0KRTrqc7Ny2GlVRlkWztuqwbd7
eEeBejr3t3CRJAGoxAp6T0AiZqPJlMyajQ0AAaAAAAJTIQiZJpqiepk9QNPKaGQ00NA9IANAAAGm
mgcNDRk0aNGmhkZDCAMgBkGmgAAZAyAJNJIIgU1T/BVHmqaZ6aoP1T9UaeiaepkADNQ8oNAAACJI
gSaNKbBoCYmmRpMJoptqnmqPFHlNDJkGjagNp6oFRSIAjITFHqnmkyZopmSekZpNGgGjRoBo0DQG
nCQRHY1qmMMIKqqiYuFYqlHj7pT5/31VltWaGnt+v3e2mEtq+LGVN61Yz7vu7+vMPn+vMOH/Slis
IjIoCIVmTAH/hxyFFhzgf/L+V36a1n/ObP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