Added KDE3 version of ksquirrel photo manager

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ksquirrel@1094446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 16 years ago
commit 6afd9d8ddd

@ -0,0 +1 @@
Dmitry Baryshev aka Krasu <ksquirrel.iv@gmail.com>

@ -0,0 +1,11 @@
* KSuirrel is under GNU GENERAL PUBLIC LICENSE (see LICENSE)
* KSquirrel statically links against fmt_filters. See fmt_filters_README for more.
* some functions in SQ_GLWidget (see source code for more) are based on
original code by (C) Guillaume Chazarain <guichaz@yahoo.fr> in his great GLiv
project (under GPL).
* "broken" pixmap was taken from the "Nuvola" icon theme for KDE.
* SQ_CategoryMenuBrowser is based on PanelBrowserMenu by (C) Matthias Elter
from kde-3.2.3. See ksquirrel/sidebar/sq_categorybrowsermenu.h for more.
* documenation for KSquirrel is under GFDL, see LICENSE.GFDL
* some files in admin/ are under LGPL, see LICENSE.LGPL
* SQ_GLU namespace is under LGPL, see LICENSE.LGPL

@ -0,0 +1,555 @@
ksquirrel-0.8.0 and ksquirrel-libs-0.8.0
****************************************
* new runtime options:
--nodirectorybasket
--noimagebasket
--nocategories
--nomountview
* added Konqueror intergation module
* added printing feature in image window
* added codec manager, which will allow to
enable/disable image codecs (requires root password)
* fixed licensing issues in source code
* fixed MIME types in .desktop files
* time counting in image window is more fair
ksquirrel-libs:
* added EPS, PSP
* bugfix in PNM decoder on P3 PNMs
* bugfix in CAMERA codec, when KSquirrel couldn't open raw fotos
ksquirrel-0.7.5
****************
* more bugfixes in tabs
* more improvements in selection rectangle in image window
* selection rectangle is now drawn by OpenGL
* saving to clipboard now doesn't mix red and blue channels
* other small bugfixes
* added translations: Turkish, Polish, Italian, British, Ukranian, Czech
ksquirrel-0.7.4 (bugfix release)
********************************
* filtering and color balance in image window doesn't loose rotation angle
* saving in image window doesn't loose rotation angle (flipping is still lost)
* prevent autoresizing when tab count is 1
* external tools for non-local URLs now work
(but not all programs accepts URLs, GQview for example)
* external tools in image window now don't depend on navigator
* navigator now has focus at startup
* slider is changed when switching between tabs
ksquirrel-0.7.3 and ksquirrel-libs-0.7.3
*****************************************
* command line arguments now work better
* improvements in preview window
* cusomizable double click in image window
* select a region in image window and press Y to crop image
* added tabs in image window (off by default) with Opera-like navigation
* 100% zoom now doesn't use linear interpolation
(image is displayed "as is")
* added service menu for Dolphin
* added German translation
ksquirrel-libs:
* added DDS
* JPEG2000 decoder is much faster now
ksquirrel-0.7.2
****************
* lazy thumbnail generation now can generate additional rows
* improvements in treeview
* F10 to repeat last operation with selected files (copy/move/link)
* it is highly recommended that you won't have FAM running,
see http://oss.sgi.com/bugzilla/show_bug.cgi?id=158 for more
* Added folder basket
ksquirrel-libs:
* SVG codec now uses rsvg-convert
* fixed segfault in GIF codec (in rare cases)
* added DICOM (requires medcon)
* added APNG (see http://wiki.mozilla.org/APNG_Specification, http://en.wikipedia.org/wiki/APNG)
ksquirrel-0.7.1try5
*********************
* lazy thumbnail generation (like in DigiKam)
* single click to highlight file, double click
to open
* drag operation now can show number of dragged files
and first two thumbnails
* fixed problems with file naming in converter and image window
ksquirrel-0.7.1try4
*********************
* thumbnail loader now uses EXIF thumbnails if present
* thumbnail rotation using exif
* small fixes in thumbnail loader
* small fixes thumbnail cache master
ksquirrel-0.7.1try3
********************
* context menu in folder tree
* folder tree now accepts drops
* previous directory now selected during navigating
* current page in sidebar is now saved
* "Show hidden files" is also saved
* Sorting order is also saved :)
ksquirrel-0.7.1 and ksquirrel-libs-0.7.1
******************************************
ksquirrel:
* context menu in file manager now have proper content (it worked in KDE 3.3, but in 3.5 it didn't)
* kio-slaves support (including smb:/, tar:/ etc.)
* archive extractor now uses kio-slaves (see previous). In general, it supports
zip, ar, tar.gz, tar.bz2, iso, rar, 7zip. To add support of rar and 7zip please install
kio_rar and kio_p7zip (search http://kde-apps.org)
* thumbnail creation on non-local filesystems (for ex. smb:/ or tar:/)
* statusbar improvements
* hotkeys in image window now don't depend on current keyboard layout
* history combobox now shows mime types
* bugfixes in slideshow
* new thumbnails' cache directory. Please remove old thumbnails from ~/.ksquirrel/thumbnails
* image rotation using EXIF in thumbnail loader and image viewer
* KIPI plugins now could be loaded on demand
* F2 to rename files
* thumbnail loader now corresponds thumbnail spec from freedesktop.org
* other small bugfixes
ksquirrel-libs:
* added XFIG (transfig package is required)
* added Degas PI3
* TTF codec is designed for freetype 2.2.1 (it should work at least in Debian Etch)
* CAMERA codec now uses dcraw v8.77 without modifications, which doesn't violate dcraw license
* bugfixes in scripts
ksquirrel-0.7.0try5
*********************
* navigator is now hidden when running with file argument
ksquirrel-0.7.0try4
*********************
* fixed file selection when passing filename through command line
ksquirrel-0.7.0try3
*********************
* animated widget in toolbar now can be disabled (Options->Main)
* splash screen security improvements
ksquirrel-0.7.0try2
*********************
* file path via command line parameter now works, e.g.
# ksquirrel /home/me/1.png
* new autoconf test for OpenGL
* small fix in image window toolbar (in 'Selection' popup menu)
* fixed toolbar height in image window
ksquirrel-0.7.0 and ksquirrel-libs-0.7.0
********************************************
ksquirrel:
* filtering using selection is now available in image window
* fixed flicker of thumbnail loading progressbar
* fixed segfault on directory execution with "Return" button
* RAR archives are now supported ("unrar" program is required)
* fixed -l option
* fixed crashing when no image plugins were found
ksquirrel-0.7.0-pre2 and ksquirrel-libs-0.7.0-pre2
********************************************
This is last preview release.
ksquirrel:
* multiple directory view: Shift+click to recursively toggle current
item and all subitems; Ctrl+click to recursively set current
item and all subitems on; Alt+click to recursively set current
item and all subitems off
* GQView mode removed till better times
* added preview widget
* new slideshow
* bugfixes in slideshow mechanism
* bugfix in mouse clicking (in list view and icon view)
* current image now can be filtered (filetring using current selection will be available in 0.7.0)
ksquirrel-libs:
* added IFF, MAC, PICT, PI1, XIM, UTAH, LEAF, NEO (via NetPBM package)
* small fix in configure.ac
ksquirrel-0.7.0-pre1 and ksquirrel-libs-0.7.0-pre1
********************************************
ksquirrel:
* added KIPI support
* multiple directory view
* automatic image fit in image window
* some codecs now have options (DjVu, SVG, CAMERA...). Visit Plugins information dialog.
* edit tools removed. use KIPI instead :) Convertion tool is still available
* current image can be placed to clipboard
* current images can be "saved as..."
* bugfixes in "GQView" mode
* mount view now can mount/unmount
* thumbnail loading now ~15% faster
* improvements in interface switching
* sidebar: added image basket
* sidebar: removed file actions (use context menu in navigator)
* new DCOP parameters, see README
* bugfixes
ksquirrel-libs:
* fixed segfault on GIF and some other libraries on some systems
* CAMERA codec now uses dcraw 8.61
* added settings support to CAMERA, SVG
* added DjVu (just single page via settings).
* added AutoCAD DXF (+settings)
* added GIMP XCF (+settings)
* small fixes in configure script
* configure output now more informatible
ksquirrel-0.6.3 and ksquirrel-libs-0.6.3
********************************************
ksquirrel:
* interface improvements, now KSquirrel can look like GQview
* small fix in reloading libraries from disk
* added categories
ksquirrel-0.6.2 and ksquirrel-libs-0.6.2
********************************************
ksquirrel and ksquirrel-libs now should correspond Debian policy.
ksquirrel-libs:
* some changes in API
ksquirrel:
* fixed segfault if the file format is not supported
* new option: "Don't show tooltips when the main window is inactive"
* "L" key ("Ignore, if the image is less than window") in image window now works
* added Russian handbook
* single-page images now eat less memory
ksquirrel-0.6.1: bugfix release, minor changes
*****************************************************
ksquirrel:
* updated .desktop files. MIME types inserted.
* "Nice" zoom now default zoom type
* "OpenGL information" moved to separate dialog
* "./configure.gnu --disable-ksmall" to disable ksquirrel-small in compile time
* small fix in rotate dialog, pixmap now erased correctly
ksquirrel-libs:
* some codecs are disabled as buggy (use --enable-devel to enable them)
* ksquirrel-libs now installs development library and header files. Now ksquirel-libs
must be installed BEFORE KSquirrel.
* updated documentation
ksquirrel-0.6.0-final and ksquirrel-libs-0.6.0-final
************************************************************
ksquirrel:
* small fix in animating mechanism
* fixed F1/F4 bug in image window (only in pre9)
* fixed small memory leak
* closing image window now stops slideshow (if running)
* fixed flicker in image window in fullscreen state with hidden toolbar
* help widget now saves current page
* fixes in help widget
* If the image is broken, "broken" image will appear (like in GQview)
* image window: right click = context menu, middle click = toggle fullscreen,
left click = start drag, left click+SHIFT = select zoom area
* small fix in maximum/minimum zoom
* improved Xinerama support (I hope)
* small improvements in file manager
* added new options:
- show images progressively
- hide toolbar in fullscreen
- ability to choose number of image pages to be loaded (in edit tools too)
* added sidebar with
- file/image actions
- file tree
- view of currently mounted partitions
* small memory optimizations in file manager
* changing thumbnails' size now a little bit faster
* fixed small bug in DCOP connection, which could cause strange behaviour of file manager
* menu layout changes
* small fix in version checker
* small fix in setting background image in image window
* new toolbar in image window
* fixes in external tools
* saving geometry now works properly
* CTRL+T to recreate selected thumbnails + bugfixes
* code cleanups, comments
ksquirrel-libs:
* SVG: added ".svgz" extension
* MNG: small fix in data types
* KOALA: small fix in bitdepth (bitdepth was always '0')
ksquirrel-0.6.0-pre9 and ksquirrel-libs 0.6.0-pre9
************************************************************
ksquirrel:
* small fixes in manual pages
* library loader now doesn't check +x permissions
* --enable-final for configure now works
* ksquirrel-small: bugfixes
* filter tool: added red-eye removal
* filter tool: small fix in pixmap updating
* edit tools: improvements in preview image
* edit tools: small fix with alpha channel for preview image
* experimental "Nice zoom" ('N' to toggle)
* new toolbar in image window
* improvements in loading mechanism, now KSquirrel will store only ONE frame in video memory. Is doesn't depend on whether image is animated or not
* ksquirrel-small now doesn't share settings with KSquirrel, but some settings (like zoom limit, background color etc. are still shared (and read-only))
* fixed small memory leak
* code cleanups
ksquirrel-libs:
* XCUR: fixed segfault
* PNM: small fix (on pgm images)
* SGI: small improvements
* CAMERA: new file extensions added
* added font support (ttf, pfa, pfb...)
* added MNG, JNG (reading)
* added PXR (reading)
* added JBIG (slow, reading))
* code cleanups
* no more static libraries. Now SVG, GIF, OPENEXR, WMF and JPEG2000 are optional.
[from 0.6.0-pre8 u1 + new ones]
* new options for configure script:
--disable-gif
--disable-camera
--disable-wmf
--disable-svg
--disable-openexr
--disable-jpeg2000
--disable-mng
--disable-ttf
ksquirrel-0.6.0-pre8 and ksquirrel-libs 0.6.0-pre7
************************************************************
ksquirrel:
* edit tools: fixed bug in writing images
* edit tools: preview image now works
* edit tools: new writing options
* filter tool: added 20 filters
* resize tool: removed all previous resize methods, added new ones: Box, Triangle, Bell, B-Spline, Lanczos3, Mitchell
* some interface changes in filter tool
* code cleanups
* source code now hardly commented
* added man page
* added new binary: ksquirrel-small. It is "light" version of KSquirrel - without filemanager, External tools, Filters,
Edit tools etc. It takes only one command line argument - path to file. For example:
[localhost@krasu]$ ksquirrel-small /mnt/c/images/cat.png
ksquirrel-libs:
* internal changes
ksquirrel-0.6.0-pre7 and ksquirrel-libs-0.6.0-pre6
************************************************************
ksquirrel:
* fixed segfault when printing multipaged images
* fixed small bug in "Recreate selected thumbnails" action in thumbnail view
* fixed wrong header naming in "External tools" menu
* fixed small bug in print tool, in "Alignment" frame
* fixed bug with size() of version checker
* fixed compile problems on some Qt versions, which don't support STL (like Slackware's one)
* added filter tool (only "Negative" and "swap RGB" are currently supported, new filters coming soon)
* added slideshow and advanced slideshow (Ctrl+S, Ctrl+Alt+S)
* added mc-like file selection with '+' and '-'
* added "Select All" and "Deselect" actions in menu
* added some new options
* added unique application support (KSquirrel now can have only one running instance)
* print tool: "Custom fill" now works
* print tool: added transparency support
* now you needn't delete old config file - KSquirrel will do it for you
* edit tools now look like simple wizards (hope TiamaT will draw new squirrels soon...)
* libraries information was moved from Options to "Plugins information" dialog
* some menu layout changes
* code cleanups
ksquirrel-libs:
* some changes in API
* added MTV Ray-Tracer (reading, writing)
* added AVS X (reading, writing)
* added PNM (writing)
* LIF: many bugfixes
* SVG: removed useless "-lfontconfig" dependency, which could create compile problems on some systems (like Slackware)
* PNG: fixed autoconf problems on some systems (like Slackware)
ksquirrel-0.6.0-pre6 and ksquirrel-libs-0.6.0-pre5
************************************************************
ksquirrel:
* resize tool now works (four resize methods: nearest, bilinear, tiles, hyper)
* colorize tool now works
* rotate tool now works (has some small bugs in algorithm)
* print tool now partially works (only "One image per one page")
ksquirrel-libs:
* added JPEG2000 (reading)
* added OpenEXR (reading)
* added Quake2 WAL texture (reading)
* added HalfLife model (reading)
* added KOALA (reading)
* added HDR (reading)
* added LIF (reading)
* added SCT (reading)
* CUT decoder now not-alpha
ksquirrel-0.6.0-pre5
************************************************************
ksquirrel:
* added DCOP interface, which was removed in early 0.2.8 :) Check README for list of parameters
* new version checker (old one removed)
ksquirrel-0.6.0-pre4
************************************************************
ksquirrel:
* new autoconf test for GL library. old one could fail on some systems.
* image window: some changes in toolbar and context menu.
ksquirrel-0.6.0-pre3
************************************************************
ksquirrel:
* small fix in tootips for thumbnails
* small fix in toolbar in image window
* some changes in main toolbar
* resize, rotate, colorize and print tools are available in preview mode
(will read, but won't write images)
* added thumbnail cache manipulator
ksquirrel-libs:
* some changes in API. pre2 and pre3 are not compatible.
* added SVG (reading, requires libxml2, freetype)
* TGA: small fix (in v0.7.1 flipping was ON by default, in v0.7.2 flipping is determined by image header)
* XPM: small fix in decoding mechanism
* new mime icons
ksquirrel-0.6.0-pre2
************************************************************
* please, remove old config file ~/.kde/share/config/ksquirrelrc and old libraries before installation
* some changes in thumbnail view
ksquirrel-libs:
* changed library path /usr/lib/squirrel =>/usr/lib/ksquirrel-libs
* fully migrated to C++ (stdc++)
* added WMF (reading)
* added SUN Icon (reading)
* added WBMP (reading)
* added TIFF (writing)
* added photos from different cameras (CRW, ...)
* added some examples (QT, QT+OpenGL)
ksquirrel-0.6.0-pre1
************************************************************
* moved back to Right Click = mouse selection, Middle Click = context menu
* added file actions in Navigator - Copy, Paste, Cut, etc.
* added -t option: find all supported images and create thumbnails. For example
# ksquirrel -t /home/ckult/images/
* "External Tools" now based on .desktop files
* fixed crashing when command line is not empty
* improved Drag'n'Drop support
* image converter now available (select files and press Ctrl+K), but not all libraries support write functions
ksquirrel-libs:
* added interface for write functions
* added write features for PNG, JPEG, BMP
* PNG: fixed problems with interlaced images, fixed memory leak
* XPM: fixed problems with multiline comments
* ICO: added support of bit depth 24 and 32
* PSD: fixed problems with RGB images, that have 3 channels instead of 4
* GIF: added comments support (comment extensions)
* PNM: fixed problems with Windows-like line breaks (\r\n)
ksquirrel-0.5.0(final)
******************************************************************
* added nice tickmarks around the image (press K to toggle)
* Middle click (or 'M') for context menu
* F5 to recreate selected thumbnails
* fixed little repainting problem
* fixed startup problem, if /usr/lib/squirrel doesn't exist.
* fixed problem with making image window built-in/separate
* fixed small problem with decoding corrupted files
ksquirrel-libs:
* GIF decoder is much better now (fixed problems with transparency)
* added X cursors
* added PSD(RGB,CMYK,Grayscale,Indexed)
* added FLI Animation
* added thumbnail generator for FLI, GIF
* small fixes in PNM, BMP libraries
ksquirrel-0.5.0-preview4
******************************************************************
critical/important:
* fixed crushing on item execution (SIGALRM signal, or "Alarm clock")
* fixed awful lines (http://ksquirrel.sf.net/IMG/errors.png)
* support of multipaged images (GIF, ICO, etc.)
* Now my e-mail is ksquirrel at tut.by
* moved back to PNG thumbnails. Please, rm -rf ~/.ksquirrel/thumbnails/
ksquirrel-libs:
* GIF (beta, including animated)
* interlaced PNG's
* fixed random crushing on some PNGs
* about 15 formats are done
other:
* some interface improvements
* improvements in 'Image Properties'
* new 'fullscreen' method (KDE-related)
* "Quick Browser" now can be moved and resized
* other small fixes
>>> Remember that ksquirrel-libs-0.5.0-pre3 and pre4 ARE NOT compatible!
ksquirrel-0.5.0-preview3 for KDE 3.2 and JPEG library for preview3
******************************************************************
Please be patient - preview3 contains only one library, anyway, it's just a preview.
>> critical or important:
* fixed wrong displaying of huge images (more than 2048x2048); now doesn't depend on GL_MAX_TEXTURE_SIZE =)
* fixed crashing on thumbnail view
* fixed awful memory leak, shame on myself !! =)
* moved to JPEG thumbnails (remove old ones from ~/.ksquirrel/thumbnails !)
* detecting images by content (like Trolltech's QImage)
* removed "Look like ..." - useless stuff
* please check README for new keyboard shortcuts.
>> other:
* now "make -f Makefile.dist" to recreate configure and other scripts
* configure was generated with autoconf 2.59, Makefiles - with automake 1.8.5
* fixed wrong url selection in treeview
* fixed wrong gridX value selection in SQ_FileThumbView
* fixed wrong filter selection on startup
* added library's filters support
* added pending thumbnails (sand-glass)
* added extended thumbnails
* added configurable zoom limit
* added tooltips with thumbnail info
* double click in Navigator opens current url in default browser
* image displaying is now faster
* determining archives by MIME, not by extension (._zip wasn't been handled :-(( )
* some changes in 'Options' dialog
* removed GL_LINEAR filter due to new displaying alghoritm
* other small fixes.

@ -0,0 +1,275 @@
# Doxyfile 1.4.1-KDevelop
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = ksquirrel.kdevelop
PROJECT_NUMBER =
OUTPUT_DIRECTORY =
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
USE_WINDOWS_ENCODING = NO
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = YES
ABBREVIATE_BRIEF = "The $name class" \
"The $name widget" \
"The $name file" \
is \
provides \
specifies \
contains \
represents \
a \
an \
the
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = YES
STRIP_FROM_PATH = /home/ckult/MyProjects/kdev3/debug/src/
STRIP_FROM_INC_PATH =
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = NO
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = NO
INHERIT_DOCS = YES
DISTRIBUTE_GROUP_DOC = NO
TAB_SIZE = 8
ALIASES =
OPTIMIZE_OUTPUT_FOR_C = NO
OPTIMIZE_OUTPUT_JAVA = NO
SUBGROUPING = YES
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
EXTRACT_ALL = NO
EXTRACT_PRIVATE = NO
EXTRACT_STATIC = NO
EXTRACT_LOCAL_CLASSES = YES
EXTRACT_LOCAL_METHODS = NO
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
HIDE_FRIEND_COMPOUNDS = NO
HIDE_IN_BODY_DOCS = NO
INTERNAL_DOCS = NO
CASE_SENSE_NAMES = YES
HIDE_SCOPE_NAMES = NO
SHOW_INCLUDE_FILES = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
SORT_BRIEF_DOCS = NO
SORT_BY_SCOPE_NAME = NO
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
SHOW_USED_FILES = YES
SHOW_DIRECTORIES = YES
FILE_VERSION_FILTER =
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES
WARN_NO_PARAMDOC = NO
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = /home/krasu/MyProjects/ksquirrel
FILE_PATTERNS = *.c \
*.cc \
*.cxx \
*.cpp \
*.c++ \
*.java \
*.ii \
*.ixx \
*.ipp \
*.i++ \
*.inl \
*.h \
*.hh \
*.hxx \
*.hpp \
*.h++ \
*.idl \
*.odl \
*.cs \
*.php \
*.php3 \
*.inc \
*.m \
*.mm \
*.dox \
*.C \
*.CC \
*.C++ \
*.II \
*.I++ \
*.H \
*.HH \
*.H++ \
*.CS \
*.PHP \
*.PHP3 \
*.M \
*.MM \
*.C \
*.H \
*.tlh \
*.diff \
*.patch \
*.moc \
*.xpm \
*.dox
RECURSIVE = yes
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS = *
EXAMPLE_RECURSIVE = NO
IMAGE_PATH =
INPUT_FILTER =
FILTER_PATTERNS =
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = NO
INLINE_SOURCES = NO
STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
VERBATIM_HEADERS = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = NO
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
CHM_FILE =
HHC_LOCATION =
GENERATE_CHI = NO
BINARY_TOC = NO
TOC_EXPAND = NO
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = NO
TREEVIEW_WIDTH = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = YES
LATEX_OUTPUT = latex
LATEX_CMD_NAME = latex
MAKEINDEX_CMD_NAME = makeindex
COMPACT_LATEX = NO
PAPER_TYPE = a4wide
EXTRA_PACKAGES =
LATEX_HEADER =
PDF_HYPERLINKS = NO
USE_PDFLATEX = NO
LATEX_BATCHMODE = NO
LATEX_HIDE_INDICES = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = NO
RTF_OUTPUT = rtf
COMPACT_RTF = NO
RTF_HYPERLINKS = NO
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = yes
XML_OUTPUT = xml
XML_SCHEMA =
XML_DTD =
XML_PROGRAMLISTING = YES
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# configuration options related to the Perl module output
#---------------------------------------------------------------------------
GENERATE_PERLMOD = NO
PERLMOD_LATEX = NO
PERLMOD_PRETTY = YES
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::additions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE = ksquirrel.tag
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = YES
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = NO
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
GROUP_GRAPHS = YES
UML_LOOK = NO
TEMPLATE_RELATIONS = NO
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
CALL_GRAPH = NO
GRAPHICAL_HIERARCHY = YES
DIRECTORY_GRAPH = YES
DOT_IMAGE_FORMAT = png
DOT_PATH =
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1024
MAX_DOT_GRAPH_DEPTH = 1000
DOT_TRANSPARENT = NO
DOT_MULTI_TARGETS = NO
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::additions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = NO

@ -0,0 +1,47 @@
To compile KSquirrel from sources you need to install kde-devel package.
It will install all needed header files. In Mandriva or same systems
you should also install kdebase-devel package.
In Debian do
# apt-get install kde-devel
Then follow the installation instructions:
1. First install 'ksquirrel-libs' package:
a) from sources
# tar jxfv ksquirrel-libs-0.8.0.tar.bz2
# cd ksquirrel-libs-0.8.0/
* # su -c './required-etch'
# ./configure.gnu
# make
# su -c 'make install'
b) from binary packages
RPM # rpm -ihv ksquirrel-libs-0.8.0.rpm
TGZ # installpkg ksquirrel-libs-0.8.0.tgz
DEB # dpkg -i ksquirrel-libs-0.8.0.deb
2. Now install KSquirrel:
a) from sources
# tar jxfv ksquirrel-0.8.0.tar.bz2
# cd ksquirrel-0.8.0/
* # su -c './required-etch'
# ./configure.gnu
# make
# su -c 'make install'
* For Debian Etch and Ubuntu Feisty only.
This will install all required packages with aptitude.
b) from binary packages
RPM # rpm -ihv ksquirrel-0.8.0.rpm
TGZ # installpkg ksquirrel-0.8.0.tgz
DEB # dpkg -i ksquirrel-0.8.0.deb
------------------------------------------------------------
Note: You can pass all regular 'configure' options to configure.gnu.
Note: You needn't specify --prefix, it's already done in configure.gnu.

@ -0,0 +1,340 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

@ -0,0 +1,397 @@
GNU Free Documentation License
Version 1.2, November 2002
Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
0. PREAMBLE
The purpose of this License is to make a manual, textbook, or other
functional and useful document "free" in the sense of freedom: to
assure everyone the effective freedom to copy and redistribute it,
with or without modifying it, either commercially or noncommercially.
Secondarily, this License preserves for the author and publisher a way
to get credit for their work, while not being considered responsible
for modifications made by others.
This License is a kind of "copyleft", which means that derivative
works of the document must themselves be free in the same sense. It
complements the GNU General Public License, which is a copyleft
license designed for free software.
We have designed this License in order to use it for manuals for free
software, because free software needs free documentation: a free
program should come with manuals providing the same freedoms that the
software does. But this License is not limited to software manuals;
it can be used for any textual work, regardless of subject matter or
whether it is published as a printed book. We recommend this License
principally for works whose purpose is instruction or reference.
1. APPLICABILITY AND DEFINITIONS
This License applies to any manual or other work, in any medium, that
contains a notice placed by the copyright holder saying it can be
distributed under the terms of this License. Such a notice grants a
world-wide, royalty-free license, unlimited in duration, to use that
work under the conditions stated herein. The "Document", below,
refers to any such manual or work. Any member of the public is a
licensee, and is addressed as "you". You accept the license if you
copy, modify or distribute the work in a way requiring permission
under copyright law.
A "Modified Version" of the Document means any work containing the
Document or a portion of it, either copied verbatim, or with
modifications and/or translated into another language.
A "Secondary Section" is a named appendix or a front-matter section of
the Document that deals exclusively with the relationship of the
publishers or authors of the Document to the Document's overall subject
(or to related matters) and contains nothing that could fall directly
within that overall subject. (Thus, if the Document is in part a
textbook of mathematics, a Secondary Section may not explain any
mathematics.) The relationship could be a matter of historical
connection with the subject or with related matters, or of legal,
commercial, philosophical, ethical or political position regarding
them.
The "Invariant Sections" are certain Secondary Sections whose titles
are designated, as being those of Invariant Sections, in the notice
that says that the Document is released under this License. If a
section does not fit the above definition of Secondary then it is not
allowed to be designated as Invariant. The Document may contain zero
Invariant Sections. If the Document does not identify any Invariant
Sections then there are none.
The "Cover Texts" are certain short passages of text that are listed,
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
the Document is released under this License. A Front-Cover Text may
be at most 5 words, and a Back-Cover Text may be at most 25 words.
A "Transparent" copy of the Document means a machine-readable copy,
represented in a format whose specification is available to the
general public, that is suitable for revising the document
straightforwardly with generic text editors or (for images composed of
pixels) generic paint programs or (for drawings) some widely available
drawing editor, and that is suitable for input to text formatters or
for automatic translation to a variety of formats suitable for input
to text formatters. A copy made in an otherwise Transparent file
format whose markup, or absence of markup, has been arranged to thwart
or discourage subsequent modification by readers is not Transparent.
An image format is not Transparent if used for any substantial amount
of text. A copy that is not "Transparent" is called "Opaque".
Examples of suitable formats for Transparent copies include plain
ASCII without markup, Texinfo input format, LaTeX input format, SGML
or XML using a publicly available DTD, and standard-conforming simple
HTML, PostScript or PDF designed for human modification. Examples of
transparent image formats include PNG, XCF and JPG. Opaque formats
include proprietary formats that can be read and edited only by
proprietary word processors, SGML or XML for which the DTD and/or
processing tools are not generally available, and the
machine-generated HTML, PostScript or PDF produced by some word
processors for output purposes only.
The "Title Page" means, for a printed book, the title page itself,
plus such following pages as are needed to hold, legibly, the material
this License requires to appear in the title page. For works in
formats which do not have any title page as such, "Title Page" means
the text near the most prominent appearance of the work's title,
preceding the beginning of the body of the text.
A section "Entitled XYZ" means a named subunit of the Document whose
title either is precisely XYZ or contains XYZ in parentheses following
text that translates XYZ in another language. (Here XYZ stands for a
specific section name mentioned below, such as "Acknowledgements",
"Dedications", "Endorsements", or "History".) To "Preserve the Title"
of such a section when you modify the Document means that it remains a
section "Entitled XYZ" according to this definition.
The Document may include Warranty Disclaimers next to the notice which
states that this License applies to the Document. These Warranty
Disclaimers are considered to be included by reference in this
License, but only as regards disclaiming warranties: any other
implication that these Warranty Disclaimers may have is void and has
no effect on the meaning of this License.
2. VERBATIM COPYING
You may copy and distribute the Document in any medium, either
commercially or noncommercially, provided that this License, the
copyright notices, and the license notice saying this License applies
to the Document are reproduced in all copies, and that you add no other
conditions whatsoever to those of this License. You may not use
technical measures to obstruct or control the reading or further
copying of the copies you make or distribute. However, you may accept
compensation in exchange for copies. If you distribute a large enough
number of copies you must also follow the conditions in section 3.
You may also lend copies, under the same conditions stated above, and
you may publicly display copies.
3. COPYING IN QUANTITY
If you publish printed copies (or copies in media that commonly have
printed covers) of the Document, numbering more than 100, and the
Document's license notice requires Cover Texts, you must enclose the
copies in covers that carry, clearly and legibly, all these Cover
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
the back cover. Both covers must also clearly and legibly identify
you as the publisher of these copies. The front cover must present
the full title with all words of the title equally prominent and
visible. You may add other material on the covers in addition.
Copying with changes limited to the covers, as long as they preserve
the title of the Document and satisfy these conditions, can be treated
as verbatim copying in other respects.
If the required texts for either cover are too voluminous to fit
legibly, you should put the first ones listed (as many as fit
reasonably) on the actual cover, and continue the rest onto adjacent
pages.
If you publish or distribute Opaque copies of the Document numbering
more than 100, you must either include a machine-readable Transparent
copy along with each Opaque copy, or state in or with each Opaque copy
a computer-network location from which the general network-using
public has access to download using public-standard network protocols
a complete Transparent copy of the Document, free of added material.
If you use the latter option, you must take reasonably prudent steps,
when you begin distribution of Opaque copies in quantity, to ensure
that this Transparent copy will remain thus accessible at the stated
location until at least one year after the last time you distribute an
Opaque copy (directly or through your agents or retailers) of that
edition to the public.
It is requested, but not required, that you contact the authors of the
Document well before redistributing any large number of copies, to give
them a chance to provide you with an updated version of the Document.
4. MODIFICATIONS
You may copy and distribute a Modified Version of the Document under
the conditions of sections 2 and 3 above, provided that you release
the Modified Version under precisely this License, with the Modified
Version filling the role of the Document, thus licensing distribution
and modification of the Modified Version to whoever possesses a copy
of it. In addition, you must do these things in the Modified Version:
A. Use in the Title Page (and on the covers, if any) a title distinct
from that of the Document, and from those of previous versions
(which should, if there were any, be listed in the History section
of the Document). You may use the same title as a previous version
if the original publisher of that version gives permission.
B. List on the Title Page, as authors, one or more persons or entities
responsible for authorship of the modifications in the Modified
Version, together with at least five of the principal authors of the
Document (all of its principal authors, if it has fewer than five),
unless they release you from this requirement.
C. State on the Title page the name of the publisher of the
Modified Version, as the publisher.
D. Preserve all the copyright notices of the Document.
E. Add an appropriate copyright notice for your modifications
adjacent to the other copyright notices.
F. Include, immediately after the copyright notices, a license notice
giving the public permission to use the Modified Version under the
terms of this License, in the form shown in the Addendum below.
G. Preserve in that license notice the full lists of Invariant Sections
and required Cover Texts given in the Document's license notice.
H. Include an unaltered copy of this License.
I. Preserve the section Entitled "History", Preserve its Title, and add
to it an item stating at least the title, year, new authors, and
publisher of the Modified Version as given on the Title Page. If
there is no section Entitled "History" in the Document, create one
stating the title, year, authors, and publisher of the Document as
given on its Title Page, then add an item describing the Modified
Version as stated in the previous sentence.
J. Preserve the network location, if any, given in the Document for
public access to a Transparent copy of the Document, and likewise
the network locations given in the Document for previous versions
it was based on. These may be placed in the "History" section.
You may omit a network location for a work that was published at
least four years before the Document itself, or if the original
publisher of the version it refers to gives permission.
K. For any section Entitled "Acknowledgements" or "Dedications",
Preserve the Title of the section, and preserve in the section all
the substance and tone of each of the contributor acknowledgements
and/or dedications given therein.
L. Preserve all the Invariant Sections of the Document,
unaltered in their text and in their titles. Section numbers
or the equivalent are not considered part of the section titles.
M. Delete any section Entitled "Endorsements". Such a section
may not be included in the Modified Version.
N. Do not retitle any existing section to be Entitled "Endorsements"
or to conflict in title with any Invariant Section.
O. Preserve any Warranty Disclaimers.
If the Modified Version includes new front-matter sections or
appendices that qualify as Secondary Sections and contain no material
copied from the Document, you may at your option designate some or all
of these sections as invariant. To do this, add their titles to the
list of Invariant Sections in the Modified Version's license notice.
These titles must be distinct from any other section titles.
You may add a section Entitled "Endorsements", provided it contains
nothing but endorsements of your Modified Version by various
parties--for example, statements of peer review or that the text has
been approved by an organization as the authoritative definition of a
standard.
You may add a passage of up to five words as a Front-Cover Text, and a
passage of up to 25 words as a Back-Cover Text, to the end of the list
of Cover Texts in the Modified Version. Only one passage of
Front-Cover Text and one of Back-Cover Text may be added by (or
through arrangements made by) any one entity. If the Document already
includes a cover text for the same cover, previously added by you or
by arrangement made by the same entity you are acting on behalf of,
you may not add another; but you may replace the old one, on explicit
permission from the previous publisher that added the old one.
The author(s) and publisher(s) of the Document do not by this License
give permission to use their names for publicity for or to assert or
imply endorsement of any Modified Version.
5. COMBINING DOCUMENTS
You may combine the Document with other documents released under this
License, under the terms defined in section 4 above for modified
versions, provided that you include in the combination all of the
Invariant Sections of all of the original documents, unmodified, and
list them all as Invariant Sections of your combined work in its
license notice, and that you preserve all their Warranty Disclaimers.
The combined work need only contain one copy of this License, and
multiple identical Invariant Sections may be replaced with a single
copy. If there are multiple Invariant Sections with the same name but
different contents, make the title of each such section unique by
adding at the end of it, in parentheses, the name of the original
author or publisher of that section if known, or else a unique number.
Make the same adjustment to the section titles in the list of
Invariant Sections in the license notice of the combined work.
In the combination, you must combine any sections Entitled "History"
in the various original documents, forming one section Entitled
"History"; likewise combine any sections Entitled "Acknowledgements",
and any sections Entitled "Dedications". You must delete all sections
Entitled "Endorsements".
6. COLLECTIONS OF DOCUMENTS
You may make a collection consisting of the Document and other documents
released under this License, and replace the individual copies of this
License in the various documents with a single copy that is included in
the collection, provided that you follow the rules of this License for
verbatim copying of each of the documents in all other respects.
You may extract a single document from such a collection, and distribute
it individually under this License, provided you insert a copy of this
License into the extracted document, and follow this License in all
other respects regarding verbatim copying of that document.
7. AGGREGATION WITH INDEPENDENT WORKS
A compilation of the Document or its derivatives with other separate
and independent documents or works, in or on a volume of a storage or
distribution medium, is called an "aggregate" if the copyright
resulting from the compilation is not used to limit the legal rights
of the compilation's users beyond what the individual works permit.
When the Document is included in an aggregate, this License does not
apply to the other works in the aggregate which are not themselves
derivative works of the Document.
If the Cover Text requirement of section 3 is applicable to these
copies of the Document, then if the Document is less than one half of
the entire aggregate, the Document's Cover Texts may be placed on
covers that bracket the Document within the aggregate, or the
electronic equivalent of covers if the Document is in electronic form.
Otherwise they must appear on printed covers that bracket the whole
aggregate.
8. TRANSLATION
Translation is considered a kind of modification, so you may
distribute translations of the Document under the terms of section 4.
Replacing Invariant Sections with translations requires special
permission from their copyright holders, but you may include
translations of some or all Invariant Sections in addition to the
original versions of these Invariant Sections. You may include a
translation of this License, and all the license notices in the
Document, and any Warranty Disclaimers, provided that you also include
the original English version of this License and the original versions
of those notices and disclaimers. In case of a disagreement between
the translation and the original version of this License or a notice
or disclaimer, the original version will prevail.
If a section in the Document is Entitled "Acknowledgements",
"Dedications", or "History", the requirement (section 4) to Preserve
its Title (section 1) will typically require changing the actual
title.
9. TERMINATION
You may not copy, modify, sublicense, or distribute the Document except
as expressly provided for under this License. Any other attempt to
copy, modify, sublicense or distribute the Document is void, and will
automatically terminate your rights under this License. However,
parties who have received copies, or rights, from you under this
License will not have their licenses terminated so long as such
parties remain in full compliance.
10. FUTURE REVISIONS OF THIS LICENSE
The Free Software Foundation may publish new, revised versions
of the GNU Free Documentation License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns. See
http://www.gnu.org/copyleft/.
Each version of the License is given a distinguishing version number.
If the Document specifies that a particular numbered version of this
License "or any later version" applies to it, you have the option of
following the terms and conditions either of that specified version or
of any later version that has been published (not as a draft) by the
Free Software Foundation. If the Document does not specify a version
number of this License, you may choose any version ever published (not
as a draft) by the Free Software Foundation.
ADDENDUM: How to use this License for your documents
To use this License in a document you have written, include a copy of
the License in the document and put the following copyright and
license notices just after the title page:
Copyright (c) YEAR YOUR NAME.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU
Free Documentation License".
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
replace the "with...Texts." line with this:
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
If you have Invariant Sections without Cover Texts, or some other
combination of the three, merge those two alternatives to suit the
situation.
If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of
free software license, such as the GNU General Public License,
to permit their use in free software.

@ -0,0 +1,481 @@
GNU LIBRARY GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the library GPL. It is
numbered 2 because it goes with version 2 of the ordinary GPL.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Library General Public License, applies to some
specially designated Free Software Foundation software, and to any
other libraries whose authors decide to use it. You can use it for
your libraries, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if
you distribute copies of the library, or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link a program with the library, you must provide
complete object files to the recipients so that they can relink them
with the library, after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
Our method of protecting your rights has two steps: (1) copyright
the library, and (2) offer you this license which gives you legal
permission to copy, distribute and/or modify the library.
Also, for each distributor's protection, we want to make certain
that everyone understands that there is no warranty for this free
library. If the library is modified by someone else and passed on, we
want its recipients to know that what they have is not the original
version, so that any problems introduced by others will not reflect on
the original authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that companies distributing free
software will individually obtain patent licenses, thus in effect
transforming the program into proprietary software. To prevent this,
we have made it clear that any patent must be licensed for everyone's
free use or not licensed at all.
Most GNU software, including some libraries, is covered by the ordinary
GNU General Public License, which was designed for utility programs. This
license, the GNU Library General Public License, applies to certain
designated libraries. This license is quite different from the ordinary
one; be sure to read it in full, and don't assume that anything in it is
the same as in the ordinary license.
The reason we have a separate public license for some libraries is that
they blur the distinction we usually make between modifying or adding to a
program and simply using it. Linking a program with a library, without
changing the library, is in some sense simply using the library, and is
analogous to running a utility program or application program. However, in
a textual and legal sense, the linked executable is a combined work, a
derivative of the original library, and the ordinary General Public License
treats it as such.
Because of this blurred distinction, using the ordinary General
Public License for libraries did not effectively promote software
sharing, because most developers did not use the libraries. We
concluded that weaker conditions might promote sharing better.
However, unrestricted linking of non-free programs would deprive the
users of those programs of all benefit from the free status of the
libraries themselves. This Library General Public License is intended to
permit developers of non-free programs to use free libraries, while
preserving your freedom as a user of such programs to change the free
libraries that are incorporated in them. (We have not seen how to achieve
this as regards changes in header files, but we have achieved it as regards
changes in the actual functions of the Library.) The hope is that this
will lead to faster development of free libraries.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, while the latter only
works together with the library.
Note that it is possible for a library to be covered by the ordinary
General Public License rather than by this special one.
GNU LIBRARY GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library which
contains a notice placed by the copyright holder or other authorized
party saying it may be distributed under the terms of this Library
General Public License (also called "this License"). Each licensee is
addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also compile or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
c) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
d) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the source code distributed need not include anything that is normally
distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Library General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!

@ -0,0 +1,34 @@
####### kdevelop will overwrite this part!!! (begin)##########
SUBDIRS = ksquirrel po pics
EXTRA_DIST = ksquirrel.kdevprj admin AUTHORS COPYING ChangeLog INSTALL README TODO ksquirrel.lsm
####### kdevelop will overwrite this part!!! (end)############
SUBDIRS += doc
EXTRA_DIST += fmt_filters_README required-etch LICENSE.GFDL LICENSE.LGPL
# not a GNU package. You can remove this line, if
# have all needed files, that a GNU package needs
AUTOMAKE_OPTIONS = foreign
$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
$(top_srcdir)/subdirs:
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
package-messages:
$(MAKE) -f admin/Makefile.common package-messages
$(MAKE) -C po merge
dist-hook:
cd $(top_distdir) && perl admin/am_edit -padmin
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs

@ -0,0 +1,14 @@
all:
@echo "This Makefile is only for the CVS repository"
@echo "This will be deleted before making the distribution"
@echo ""
@if test ! -d admin; then \
echo "Please recheckout this module!" ;\
echo "for cvs: use checkout once and after that update again" ;\
echo "for cvsup: checkout kde-common from cvsup and" ;\
echo " link kde-common/admin to ./admin" ;\
exit 1 ;\
fi
$(MAKE) -f admin/Makefile.common cvs
.SILENT:

157
README

@ -0,0 +1,157 @@
KSquirrel is a new image viewer for KDE, simple and convenient in usage.
While all others use another's decoders, in KSquirrel image decoding is based on own decoders
(ksquirrel-libs) which format is very simple. If support of certain format FMT is necessary
for you, you can write the decoder for KSquirrel, compile and copy it in /usr/lib/ksquirrel-libs.
At desire you can use ksquirrel-libs in other image viewer. Since 0.6.0 ksquireel-libs has
documentation and simple examples.
Due to usage OpenGL show and a manipulation the image is characterized by extreme speed :).
Also in the program customized filters, external programs, tree, thumbnails,
extended thumbnails with the information on the image, flexible options, KIPI support,
archives support are available.
Here is some history :)
In November 2003, testing long time other programs on my collection of images,
I've found an awful thing - any of programs could not show ALL images.
There was no support 32-bit BMP, TGA, animated GIF, PSD, etc. Any of them does not use the
most advanced libraries for decoding images, and use either imlib, or QImage::load().
Having become dissapointed, I've decided to write the image viewer with the flexible
architecture. Birthday for KSquirrel - on December 10, 2003.
KSquirrel is the first viewer for KDE widely supporting such a quantity of image formats,
including Photoshop PSD, X cursors, animated GIF, FLI Animation, WMF, SVG, TTF, APNG, MNG ...
The detailed information, format of libraries with examples and screenshots you can find
visiting page http://ksquirrel.sourceforge.net/
***********************************************************************************
Notes
-----
* OpenGL drivers are required to run KSquirrel successfully
* To let KSquirrel unpack RAR archives please install kio_rar
* To let KSquirrel unpack 7Z archives please install kio_p7zip
***********************************************************************************
Copyrights
----------
see COPYING
***********************************************************************************
Keyboard shortcuts
------------------
Image window understands many hotkeys. You can invoke help window with either pressing
"/" in image window, or selecting "Hotkeys" from context menu.
***********************************************************************************
Slideshow
---------
Use the following keys in slideshow:
* Return, Escape = stop slideshow
* Pause, Space = pause/unpause slideshow
* Page Up = previous image
* Page Down = next image
* M = enable/disable onscreen messages
***********************************************************************************
DCOP interface
--------------
Since 0.6.0-pre5 you can use DCOP interface to manipulate KSquirrel. Just run
# dcop ksquirrel ksquirrel control <param>
Here is a list of avaliable parameters:
----------------------------------------------------------------------------
Parameter Action Comments
----------------------------------------------------------------------------
image_animation_toggle toggle animation wrapper for A
image_delete delete image wrapper for Delete
image_first first image wrapper for Home
image_last last image wrapper for End
image_next next image wrapper for PageDown
image_previous previous image wrapper for PageUp
image_information image information wrapper for I
image_page_first first page wrapper for F1
image_page_last last page wrapper for F4
image_page_next next page wrapper for F3
image_page_previous previous page wrapper for F2
image_reset reset wrapper for R
image_window_close close image window wrapper for X
image_window_fullscreen toggle fullscreen mode wrapper for F
image_window_help help wrapper for /
image_window_quickbrowser toggle quickbrowser wrapper for Q
zoom_1 zoom 100% wrapper for 1
zoom_2 zoom 200% wrapper for 2
zoom_3 zoom 300% wrapper for 3
zoom_4 zoom 400% wrapper for 4
zoom_5 zoom 500% wrapper for 5
zoom_6 zoom 600% wrapper for 6
zoom_7 zoom 700% wrapper for 7
zoom_8 zoom 800% wrapper for 8
zoom_9 zoom 900% wrapper for 9
zoom_10 zoom 1000% wrapper for 0
zoom_minus zoom minus wrapper for -
zoom_plus zoom plus wrapper for +
New parameters since 0.6.0-pre8:
--------------------------------
- load specified image/directory
# dcop ksquirrel ksquirrel load <path_to_file_or_directory>
- activate window
# dcop ksquirrel ksquirrel activate
----------------------------------------------------------------------------
New parameters since 0.7.0:
--------------------------------
- go to the next file in file manager
# dcop ksquirrel ksquirrel navigator next
- go to the previous file in file manager
# dcop ksquirrel ksquirrel navigator previous
- execute current file in file manager (as if user pressed Enter)
# dcop ksquirrel ksquirrel navigator execute
- activate image window
# dcop ksquirrel ksquirrel activate_image_window
----------------------------------------------------------------------------
Examples
--------
* let's zoom currently loaded image:
[me@localhost /]$ dcop ksquirrel ksquirrel control zoom_plus
* let's load next image in current directory:
[me@localhost /]$ dcop ksquirrel ksquirrel control image_next
***********************************************************************************
Since 0.6.0-pre1 KSquirrel has edit tools:
- convert tool
Since 0.6.0-pre7 KSquirrel has additional edit tools:
- filter tool with many filters
***********************************************************************************
See ChangeLog for more

File diff suppressed because it is too large Load Diff

1055
aclocal.m4 vendored

File diff suppressed because it is too large Load Diff

@ -0,0 +1,13 @@
#!/bin/sh
vers=`cat B/DEBIAN/control | grep Version | sed s/'Version: '//`
make install DESTDIR=`pwd`/B &&
strip B/usr/bin/ksquirrel &&
strip B/usr/bin/ksquirrel-libs-configurator-real &&
strip B/usr/lib/kde3/libksquirrelpart.so &&
dpkg-deb -b B ksquirrel_${vers}_i386.deb &&
rm -rf B/usr &&
echo
ls -l ksquirrel_${vers}_i386.deb
echo

1561
config.guess vendored

File diff suppressed because it is too large Load Diff

@ -0,0 +1,267 @@
/* config.h.in. Generated from configure.in by autoheader. */
/* Define to 1 if you have the <Carbon/Carbon.h> header file. */
#undef HAVE_CARBON_CARBON_H
/* Define if you have the CoreAudio API */
#undef HAVE_COREAUDIO
/* Define to 1 if you have the <crt_externs.h> header file. */
#undef HAVE_CRT_EXTERNS_H
/* Defines if your system has the crypt function */
#undef HAVE_CRYPT
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the <ksquirrel-libs/fileio.h> header file. */
#undef HAVE_KSQUIRREL_LIBS_FILEIO_H
/* Define if you have libjpeg */
#undef HAVE_LIBJPEG
/* Define if you have libpng */
#undef HAVE_LIBPNG
/* Define if you have a working libpthread (will enable threaded code) */
#undef HAVE_LIBPTHREAD
/* Define if you have libz */
#undef HAVE_LIBZ
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define if your system needs _NSGetEnviron to set up the environment */
#undef HAVE_NSGETENVIRON
/* Define to 1 if the assembler supports AltiVec instructions. */
#undef HAVE_PPC_ALTIVEC
/* Define if you have res_init */
#undef HAVE_RES_INIT
/* Define if you have the res_init prototype */
#undef HAVE_RES_INIT_PROTO
/* Define if you have a STL implementation by SGI */
#undef HAVE_SGI_STL
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define if you have strlcat */
#undef HAVE_STRLCAT
/* Define if you have the strlcat prototype */
#undef HAVE_STRLCAT_PROTO
/* Define if you have strlcpy */
#undef HAVE_STRLCPY
/* Define if you have the strlcpy prototype */
#undef HAVE_STRLCPY_PROTO
/* Define to 1 if you have the <sys/bitypes.h> header file. */
#undef HAVE_SYS_BITYPES_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* utime.h support */
#undef HAVE_UTIME_H
/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF
/* Define to 1 if the assembler supports 3DNOW instructions. */
#undef HAVE_X86_3DNOW
/* Define to 1 if the assembler supports MMX instructions. */
#undef HAVE_X86_MMX
/* Define to 1 if the assembler supports SSE instructions. */
#undef HAVE_X86_SSE
/* Define to 1 if the assembler supports SSE2 instructions. */
#undef HAVE_X86_SSE2
/* Suffix for lib directories */
#undef KDELIBSUFF
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* The size of `char *', as computed by sizeof. */
#undef SIZEOF_CHAR_P
/* The size of `int', as computed by sizeof. */
#undef SIZEOF_INT
/* The size of `long', as computed by sizeof. */
#undef SIZEOF_LONG
/* The size of `short', as computed by sizeof. */
#undef SIZEOF_SHORT
/* The size of `size_t', as computed by sizeof. */
#undef SIZEOF_SIZE_T
/* The size of `unsigned long', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_LONG
/* If we have libkexif installed */
#undef SQ_HAVE_KEXIF
/* If we have libkipi installed */
#undef SQ_HAVE_KIPI
/* kregexpeditorinterface.h support */
#undef SQ_HAVE_KREGEXP
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION
/* Defined if compiling without arts */
#undef WITHOUT_ARTS
/*
* jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
* headers and I'm too lazy to write a configure test as long as only
* unixware is related
*/
#ifdef _UNIXWARE
#define HAVE_BOOLEAN
#endif
/*
* AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
* that defines bzero.
*/
#if defined(_AIX)
#include <strings.h>
#endif
#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
# include <sys/time.h>
# include <crt_externs.h>
# define environ (*_NSGetEnviron())
#endif
#if !defined(HAVE_RES_INIT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
int res_init(void);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_STRLCAT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
unsigned long strlcat(char*, const char*, unsigned long);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_STRLCPY_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
unsigned long strlcpy(char*, const char*, unsigned long);
#ifdef __cplusplus
}
#endif
#endif
/*
* On HP-UX, the declaration of vsnprintf() is needed every time !
*/
#if !defined(HAVE_VSNPRINTF) || defined(hpux)
#if __STDC__
#include <stdarg.h>
#include <stdlib.h>
#else
#include <varargs.h>
#endif
#ifdef __cplusplus
extern "C"
#endif
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
#ifdef __cplusplus
extern "C"
#endif
int snprintf(char *str, size_t n, char const *fmt, ...);
#endif
#if defined(__SVR4) && !defined(__svr4__)
#define __svr4__ 1
#endif
/* type to use in place of socklen_t if not defined */
#undef kde_socklen_t
/* type to use in place of socklen_t if not defined (deprecated, use
kde_socklen_t) */
#undef ksize_t

@ -0,0 +1,401 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/opt/kde3 --mandir=${prefix}/share/man --infodir=${prefix}/share/info CFLAGS=-g -O2 LDFLAGS=-Wl,-z,defs --disable-rpath
## --------- ##
## Platform. ##
## --------- ##
hostname = argus4
uname -m = x86_64
uname -r = 2.6.31-16-generic
uname -s = Linux
uname -v = #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /opt/kde3/bin
PATH: /opt/kde3/games
PATH: /opt/kde3/bin
PATH: /home/eldarion/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2189: checking build system type
configure:2207: result: x86_64-pc-linux-gnu
configure:2229: checking host system type
configure:2244: result: x86_64-pc-linux-gnu
configure:2266: checking target system type
configure:2281: result: x86_64-pc-linux-gnu
configure:2343: checking for a BSD-compatible install
configure:2399: result: /usr/bin/install -c
configure:2414: checking for -p flag to install
configure:2427: result: yes
configure:2438: checking whether build environment is sane
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -O2'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-g -O2'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=set
ac_cv_env_FFLAGS_value='-g -O2'
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-z,defs
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-linux-gnu
ac_cv_env_ksquirrellibs_CFLAGS_set=
ac_cv_env_ksquirrellibs_CFLAGS_value=
ac_cv_env_ksquirrellibs_LIBS_set=
ac_cv_env_ksquirrellibs_LIBS_value=
ac_cv_env_libkexif_CFLAGS_set=
ac_cv_env_libkexif_CFLAGS_value=
ac_cv_env_libkexif_LIBS_set=
ac_cv_env_libkexif_LIBS_value=
ac_cv_env_libkipi_CFLAGS_set=
ac_cv_env_libkipi_CFLAGS_value=
ac_cv_env_libkipi_LIBS_set=
ac_cv_env_libkipi_LIBS_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_target=x86_64-pc-linux-gnu
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR=''
AR=''
ARTSCCONFIG=''
AUTOCONF=''
AUTODIRS=''
AUTOHEADER=''
AUTOMAKE=''
AWK=''
CC=''
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS='-g -O2'
CONF_FILES=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-g -O2'
CYGPATH_W=''
DCOPIDL2CPP=''
DCOPIDL=''
DCOPIDLNG=''
DCOP_DEPENDENCIES=''
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_PERMISSIVE_FLAG=''
EXEEXT=''
F77=''
FFLAGS='-g -O2'
FRAMEWORK_COREAUDIO=''
GMSGFMT=''
GREP=''
HAVE_GCC_VISIBILITY=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM=''
KCFG_DEPENDENCIES=''
KCONFIG_COMPILER=''
KDECONFIG=''
KDE_CHECK_PLUGIN=''
KDE_EXTRA_RPATH=''
KDE_INCLUDES=''
KDE_LDFLAGS=''
KDE_MT_LDFLAGS=''
KDE_MT_LIBS=''
KDE_NO_UNDEFINED=''
KDE_PLUGIN=''
KDE_RPATH=''
KDE_USE_CLOSURE_FALSE=''
KDE_USE_CLOSURE_TRUE=''
KDE_USE_FINAL_FALSE=''
KDE_USE_FINAL_TRUE=''
KDE_USE_FPIE=''
KDE_USE_NMCHECK_FALSE=''
KDE_USE_NMCHECK_TRUE=''
KDE_USE_PIE=''
KDE_XSL_STYLESHEET=''
KSQUIRREL_ASM_DEFS=''
LDFLAGS='-Wl,-z,defs'
LDFLAGS_AS_NEEDED=''
LDFLAGS_NEW_DTAGS=''
LIBCOMPAT=''
LIBCRYPT=''
LIBDL=''
LIBJPEG=''
LIBOBJS=''
LIBPNG=''
LIBPTHREAD=''
LIBRESOLV=''
LIBS=''
LIBSM=''
LIBSOCKET=''
LIBTOOL=''
LIBUCB=''
LIBUTIL=''
LIBZ=''
LIB_KAB=''
LIB_KABC=''
LIB_KDECORE=''
LIB_KDED=''
LIB_KDEPIM=''
LIB_KDEPRINT=''
LIB_KDEUI=''
LIB_KDNSSD=''
LIB_KFILE=''
LIB_KFM=''
LIB_KHTML=''
LIB_KIMPROXY=''
LIB_KIO=''
LIB_KJS=''
LIB_KNEWSTUFF=''
LIB_KPARTS=''
LIB_KSPELL=''
LIB_KSYCOCA=''
LIB_KUNITTEST=''
LIB_KUTILS=''
LIB_POLL=''
LIB_QPE=''
LIB_QT=''
LIB_SMB=''
LIB_X11=''
LIB_XEXT=''
LIB_XRENDER=''
LN_S=''
LTLIBOBJS=''
MAKEINFO=''
MAKEKDEWIDGETS=''
MCOPIDL=''
MEINPROC=''
MOC=''
MSGFMT=''
NOOPT_CFLAGS=''
NOOPT_CXXFLAGS=''
OBJEXT=''
PACKAGE=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL=''
PKG_CONFIG=''
QTE_NORTTI=''
QT_INCLUDES=''
QT_LDFLAGS=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
SQ_HAVE_KEXIF_FALSE=''
SQ_HAVE_KEXIF_TRUE=''
SQ_HAVE_KIPI_FALSE=''
SQ_HAVE_KIPI_TRUE=''
SQ_HAVE_KLCONF_FALSE=''
SQ_HAVE_KLCONF_TRUE=''
SQ_HAVE_KPART_FALSE=''
SQ_HAVE_KPART_TRUE=''
STRIP=''
TOPSUBDIRS=''
UIC=''
UIC_TR=''
USER_INCLUDES=''
USER_LDFLAGS=''
USE_EXCEPTIONS=''
USE_RTTI=''
USE_THREADS=''
VERSION=''
WOVERLOADED_VIRTUAL=''
XGETTEXT=''
XMKMF=''
XMLLINT=''
X_EXTRA_LIBS=''
X_INCLUDES=''
X_LDFLAGS=''
X_PRE_LIBS=''
X_RPATH=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
all_includes=''
all_libraries=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot=''
am__quote=''
am__tar=''
am__untar=''
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias='x86_64-linux-gnu'
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
include_ARTS_FALSE=''
include_ARTS_TRUE=''
include_x11_FALSE=''
include_x11_TRUE=''
includedir='${prefix}/include'
infodir='${prefix}/share/info'
install_sh=''
kde_appsdir=''
kde_bindir=''
kde_confdir=''
kde_datadir=''
kde_htmldir=''
kde_icondir=''
kde_includes=''
kde_kcfgdir=''
kde_libraries=''
kde_libs_htmldir=''
kde_libs_prefix=''
kde_locale=''
kde_mimedir=''
kde_moduledir=''
kde_qtver=''
kde_servicesdir=''
kde_servicetypesdir=''
kde_sounddir=''
kde_styledir=''
kde_templatesdir=''
kde_wallpaperdir=''
kde_widgetdir=''
kdeinitdir=''
ksquirrellibs_CFLAGS=''
ksquirrellibs_LIBS=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libkexif_CFLAGS=''
libkexif_LIBS=''
libkipi_CFLAGS=''
libkipi_LIBS=''
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${prefix}/share/man'
mkdir_p=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt/kde3'
program_transform_name='s,x,x,'
psdir='${docdir}'
qt_includes=''
qt_libraries=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-pc-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='pc'
unsermake_enable_pch_FALSE=''
unsermake_enable_pch_TRUE=''
x_includes='NONE'
x_libraries='NONE'
xdg_appsdir=''
xdg_directorydir=''
xdg_menudir=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
configure: caught signal 2
configure: exit 1

1686
config.sub vendored

File diff suppressed because it is too large Load Diff

@ -0,0 +1,3 @@
./admin/configure.in.min
configure.in.in
configure.in.bot

@ -0,0 +1,7 @@
#!/bin/sh
par="--without-arts"
echo "*** Doing configure $* $par ..."
./configure $* $par

@ -0,0 +1,346 @@
dnl =======================================================
dnl FILE: ./admin/configure.in.min
dnl =======================================================
dnl This file is part of the KDE libraries/packages
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
dnl This file is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Library General Public
dnl License as published by the Free Software Foundation; either
dnl version 2 of the License, or (at your option) any later version.
dnl This library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl Library General Public License for more details.
dnl You should have received a copy of the GNU Library General Public License
dnl along with this library; see the file COPYING.LIB. If not, write to
dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
dnl Boston, MA 02110-1301, USA.
# Original Author was Kalle@kde.org
# I lifted it in some mater. (Stephan Kulow)
# I used much code from Janos Farkas
dnl Process this file with autoconf to produce a configure script.
AC_INIT(acinclude.m4) dnl a source file from your sub dir
dnl This is so we can use kde-common
AC_CONFIG_AUX_DIR(admin)
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
unset CDPATH
dnl Checking host/target/build systems, for make, install etc.
AC_CANONICAL_SYSTEM
dnl Perform program name transformation
AC_ARG_PROGRAM
dnl Automake doc recommends to do this only here. (Janos)
AM_INIT_AUTOMAKE(ksquirrel, 0.8.0) dnl searches for some needed programs
KDE_SET_PREFIX
dnl generate the config header
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
dnl Checks for programs.
AC_CHECK_COMPILERS
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
KDE_PROG_LIBTOOL
dnl for NLS support. Call them in this order!
dnl WITH_NLS is for the po files
AM_KDE_WITH_NLS
KDE_USE_QT(3.3)
AC_PATH_KDE
dnl =======================================================
dnl FILE: configure.in.in
dnl =======================================================
#MIN_CONFIG(3.3)
dnl PACKAGE set before
sq_kipi="yes"
AC_ARG_ENABLE(kipi,
[AS_HELP_STRING([--disable-kipi], [don't search for KIPI plugins [default=no]])],
[ case "${enableval}" in
yes) sq_kipi="yes" ;;
no) sq_kipi="no" ;;
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
esac]
)
sq_kexif="yes"
AC_ARG_ENABLE(kexif,
[AS_HELP_STRING([--disable-kexif], [don't search for KEXIF [default=no]])],
[ case "${enableval}" in
yes) sq_kexif="yes" ;;
no) sq_kexif="no" ;;
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
esac]
)
have_kpart="yes"
AC_ARG_ENABLE(kpart,
[AS_HELP_STRING([--disable-kpart], [don't compile Konqueror integration (KPart object) [default=no]])],
[ case "${enableval}" in
yes) ;;
no) have_kpart="no" ;;
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
esac]
)
AM_CONDITIONAL(SQ_HAVE_KPART, test x$have_kpart = xyes)
have_klconf="yes"
AC_ARG_ENABLE(ksquirrel-libs-configurator,
[AS_HELP_STRING([--disable-ksquirrel-libs-configurator], [don't compile ksquirrel-libs configurator [default=no]])],
[ case "${enableval}" in
yes) ;;
no) have_klconf="no" ;;
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
esac]
)
AM_CONDITIONAL(SQ_HAVE_KLCONF, test x$have_klconf = xyes)
# utime.h
AC_CHECK_HEADER([utime.h], AC_DEFINE([HAVE_UTIME_H], [], [utime.h support]), [])
PKG_CHECK_MODULES([ksquirrellibs], ksquirrellibs, [
__cppflags=$CPPFLAGS
CXXFLAGS="$ksquirrellibs_CFLAGS $CXXFLAGS"
CPPFLAGS="$ksquirrellibs_CFLAGS $CPPFLAGS"
AC_SUBST(ksquirrellibs_LIBS)
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CHECK_HEADERS([ksquirrel-libs/fileio.h], [],
[AC_MSG_ERROR([Ksquirrel-libs development files are not installed. Please install them first.])])
# restore language & CPPFLAGS
CPPFLAGS=${__cppflags}
AC_LANG_RESTORE
],
[AC_MSG_ERROR([Ksquirrel-libs development file (.pc) is not installed. Please install ksquirrel-libs first.])]
)
KDE_CHECK_HEADER(konq_operations.h, [], AC_MSG_ERROR("Header file konq_operations.h is missing. Please install libkonq-devel package."))
KDE_CHECK_HEADER(kregexpeditorinterface.h, [AC_DEFINE([SQ_HAVE_KREGEXP], [], [kregexpeditorinterface.h support])], [])
# Checks for OpenGL.
KDE_CHECK_HEADER([GL/gl.h], [], AC_MSG_ERROR("ksquirrel needs OpenGL (GL/gl.h, ...) and GLU (GL/glu.h) headers to be installed."))
AC_CHECK_LIB([GL], [glBegin], [LDFLAGS="-lGL $LDFLAGS"], [ogl="no"])
if test "x$ogl" = "xno"; then
AC_MSG_NOTICE([Maybe libGL requires libpthread...])
unset ac_cv_lib_GL_glBegin
AC_CHECK_LIB([GL], [glBegin], [LDFLAGS="-lpthread -lGL $LDFLAGS"], AC_MSG_ERROR([Cannot use -lGL]), [-lpthread])
fi
AM_PROG_AS
# MMX test duped from kdelibs/kdefx - it should be probably moved to admin/
dnl -----------------------------------------------------
dnl IA32 checks
dnl -----------------------------------------------------
ksquirrel_asm_defs=
case $host_cpu in
i*86 )
AC_MSG_CHECKING(for assembler support for IA32 extensions)
dnl MMX check
AC_TRY_COMPILE(, [ __asm__("pxor %mm0, %mm0") ],
[
echo $ECHO_N "MMX yes$ECHO_C"
AC_DEFINE_UNQUOTED(HAVE_X86_MMX, 1, [Define to 1 if the assembler supports MMX instructions.])
ksquirrel_asm_defs="$ksquirrel_asm_defs -DHAVE_X86_MMX"
], [ echo $ECHO_N "MMX no$ECHO_C" ])
dnl SSE check
AC_TRY_COMPILE(,[ __asm__("xorps %xmm0, %xmm0") ],
[
echo $ECHO_N ", SSE yes$ECHO_C"
AC_DEFINE_UNQUOTED(HAVE_X86_SSE, 1, [Define to 1 if the assembler supports SSE instructions.])
ksquirrel_asm_defs="$ksquirrel_asm_defs -DHAVE_X86_SSE"
], [ echo $ECHO_N ", SSE no$ECHO_C" ])
dnl SSE2 check
AC_TRY_COMPILE(, [ __asm__("xorpd %xmm0, %xmm0") ],
[
echo $ECHO_N ", SSE2 yes$ECHO_C"
AC_DEFINE_UNQUOTED(HAVE_X86_SSE2, 1, [Define to 1 if the assembler supports SSE2 instructions.])
ksquirrel_asm_defs="$ksquirrel_asm_defs -DHAVE_X86_SSE2"
], [ echo $ECHO_N ", SSE2 no$ECHO_C" ])
dnl 3DNOW check
AC_TRY_COMPILE(, [ __asm__("femms") ],
[
echo $ECHO_N ", 3DNOW yes$ECHO_C"
AC_DEFINE_UNQUOTED(HAVE_X86_3DNOW, 1, [Define to 1 if the assembler supports 3DNOW instructions.])
ksquirrel_asm_defs="$ksquirrel_asm_defs -DHAVE_X86_3DNOW"
], [ echo $ECHO_N ", 3DNOW no$ECHO_C" ])
echo
;;
powerpc )
AC_MSG_CHECKING(for assembler support for AltiVec instructions)
dnl AltiVec check
AC_TRY_COMPILE(, [ __asm__("mtspr 256, %0\n\t" "vand %%v0, %%v0, %%v0" : : "r"(-1) ) ],
[
echo $ECHO_N " yes$ECHO_C"
AC_DEFINE_UNQUOTED(HAVE_PPC_ALTIVEC, 1, [Define to 1 if the assembler supports AltiVec instructions.])
ksquirrel_asm_defs="$ksquirrel_asm_defs -DHAVE_PPC_ALTIVEC"
], [ echo $ECHO_N ", AltiVec no$ECHO_C" ])
echo
;;
esac
KSQUIRREL_ASM_DEFS="$ksquirrel_asm_defs"
AC_SUBST(KSQUIRREL_ASM_DEFS)
#
# KIPI
#
have_kipi=no
if test x$sq_kipi = xyes; then
PKG_CHECK_MODULES([libkipi], libkipi, [
_cxxflags=$CXXFLAGS
_ldflags=$LDFLAGS
CXXFLAGS="$libkipi_CFLAGS $CXXFLAGS"
LDFLAGS="$LDFLAGS $libkipi_LIBS"
KDE_CHECK_HEADER(libkipi/interface.h, have_kipi=yes, have_kipi=no)
if test "$have_kipi" = "yes"; then
AC_DEFINE(SQ_HAVE_KIPI, [], [If we have libkipi installed])
else
AC_WARN([Can't find KIPI headers, KSquirrel won't be compiled with KIPI support])
fi
CXXFLAGS=$_cxxflags
LDFLAGS=$_ldflags
],
[AC_WARN([KIPI development file (.pc) was not found. KIPI support will be disabled.])]
)
fi
#
# KEXIF
#
have_kexif=no
if test x$sq_kexif = xyes; then
PKG_CHECK_MODULES([libkexif], libkexif, [
_cxxflags=$CXXFLAGS
_ldflags=$LDFLAGS
CXXFLAGS="$libkexif_CFLAGS $CXXFLAGS"
LDFLAGS="$LDFLAGS $libkexif_LIBS"
KDE_CHECK_HEADER(libkexif/kexifdata.h, have_kexif=yes, have_kexif=no)
if test "$have_kexif" = "yes"; then
AC_DEFINE(SQ_HAVE_KEXIF, [], [If we have libkexif installed])
else
AC_WARN([Can't find KEXIF headers, KSquirrel won't be compiled with KEXIF support])
fi
CXXFLAGS=$_cxxflags
LDFLAGS=$_ldflags
],
[AC_WARN([KEXIF development file (.pc) was not found. KEXIF support will be disabled.])]
)
fi
AM_CONDITIONAL(SQ_HAVE_KIPI, test x$have_kipi = xyes)
AM_CONDITIONAL(SQ_HAVE_KEXIF, test x$have_kexif = xyes)
KDE_CREATE_SUBDIRSLIST
AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ doc/Makefile ])
AC_CONFIG_FILES([ doc/ru/Makefile ])
AC_CONFIG_FILES([ ksquirrel/Makefile ])
AC_CONFIG_FILES([ ksquirrel/imageedit/Makefile ])
AC_CONFIG_FILES([ ksquirrel/ksquirrel-libs-configurator/Makefile ])
AC_CONFIG_FILES([ ksquirrel/ksquirrelpart/Makefile ])
AC_CONFIG_FILES([ ksquirrel/mime/Makefile ])
AC_CONFIG_FILES([ ksquirrel/sidebar/Makefile ])
AC_CONFIG_FILES([ pics/Makefile ])
AC_CONFIG_FILES([ pics/imageedit/Makefile ])
AC_CONFIG_FILES([ pics/menu/Makefile ])
AC_CONFIG_FILES([ pics/toolbar/Makefile ])
AC_CONFIG_FILES([ po/Makefile ])
AC_OUTPUT
echo
echo "Results:"
echo "--------"
echo
echo "Version: ${VERSION}"
echo "KPart object: $have_kpart"
echo "ksquirrel-libs configurator: $have_klconf"
echo
echo "C compiler: ${CC}"
echo "C++ compiler: ${CXX}"
echo "CXXFLAGS: ${CXXFLAGS}"
echo
echo "Prefix: ${prefix}"
echo "KDE prefix: ${kde_libs_prefix}"
echo
echo "KIPI support: ${have_kipi}"
echo "KEXIF support: ${have_kexif}"
echo "ASM flags: ${KSQUIRREL_ASM_DEFS}"
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
# And if so, warn when they don't match
if test "$kde_libs_prefix" != "$given_prefix"; then
# And if kde doesn't know about the prefix yet
echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
if test $? -ne 0; then
echo ""
echo "Warning: you chose to install this package in $given_prefix,"
echo "but KDE was found in $kde_libs_prefix."
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
echo "Then restart KDE."
echo ""
fi
fi
fi
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
echo ""
echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
echo "was not included. Therefore, GCC symbol visibility support remains disabled."
echo ""
echo "For better performance, consider including the Qt visibility supporting patch"
echo "located at:"
echo ""
echo "http://bugs.kde.org/show_bug.cgi?id=109386"
echo ""
echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
echo "everything will continue to work just fine without it."
echo ""
fi
if test "$all_tests" = "bad"; then
if test ! "$cache_file" = "/dev/null"; then
echo ""
echo "Please remove the file $cache_file after changing your setup"
echo "so that configure will find the changes next time."
echo ""
fi
else
echo ""
echo "Good - your configure finished. Start make now"
echo ""
fi

@ -0,0 +1,18 @@
echo
echo "Results:"
echo "--------"
echo
echo "Version: ${VERSION}"
echo "KPart object: $have_kpart"
echo "ksquirrel-libs configurator: $have_klconf"
echo
echo "C compiler: ${CC}"
echo "C++ compiler: ${CXX}"
echo "CXXFLAGS: ${CXXFLAGS}"
echo
echo "Prefix: ${prefix}"
echo "KDE prefix: ${kde_libs_prefix}"
echo
echo "KIPI support: ${have_kipi}"
echo "KEXIF support: ${have_kexif}"
echo "ASM flags: ${KSQUIRREL_ASM_DEFS}"

@ -0,0 +1,202 @@
#MIN_CONFIG(3.3)
AM_INIT_AUTOMAKE(ksquirrel,0.8.0)
sq_kipi="yes"
AC_ARG_ENABLE(kipi,
[AS_HELP_STRING([--disable-kipi], [don't search for KIPI plugins [default=no]])],
[ case "${enableval}" in
yes) sq_kipi="yes" ;;
no) sq_kipi="no" ;;
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
esac]
)
sq_kexif="yes"
AC_ARG_ENABLE(kexif,
[AS_HELP_STRING([--disable-kexif], [don't search for KEXIF [default=no]])],
[ case "${enableval}" in
yes) sq_kexif="yes" ;;
no) sq_kexif="no" ;;
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
esac]
)
have_kpart="yes"
AC_ARG_ENABLE(kpart,
[AS_HELP_STRING([--disable-kpart], [don't compile Konqueror integration (KPart object) [default=no]])],
[ case "${enableval}" in
yes) ;;
no) have_kpart="no" ;;
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
esac]
)
AM_CONDITIONAL(SQ_HAVE_KPART, test x$have_kpart = xyes)
have_klconf="yes"
AC_ARG_ENABLE(ksquirrel-libs-configurator,
[AS_HELP_STRING([--disable-ksquirrel-libs-configurator], [don't compile ksquirrel-libs configurator [default=no]])],
[ case "${enableval}" in
yes) ;;
no) have_klconf="no" ;;
*) AC_MSG_ERROR([bad value ${enableval} for this parameter]) ;;
esac]
)
AM_CONDITIONAL(SQ_HAVE_KLCONF, test x$have_klconf = xyes)
# utime.h
AC_CHECK_HEADER([utime.h], AC_DEFINE([HAVE_UTIME_H], [], [utime.h support]), [])
PKG_CHECK_MODULES([ksquirrellibs], ksquirrellibs, [
__cppflags=$CPPFLAGS
CXXFLAGS="$ksquirrellibs_CFLAGS $CXXFLAGS"
CPPFLAGS="$ksquirrellibs_CFLAGS $CPPFLAGS"
AC_SUBST(ksquirrellibs_LIBS)
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CHECK_HEADERS([ksquirrel-libs/fileio.h], [],
[AC_MSG_ERROR([Ksquirrel-libs development files are not installed. Please install them first.])])
# restore language & CPPFLAGS
CPPFLAGS=${__cppflags}
AC_LANG_RESTORE
],
[AC_MSG_ERROR([Ksquirrel-libs development file (.pc) is not installed. Please install ksquirrel-libs first.])]
)
KDE_CHECK_HEADER(konq_operations.h, [], AC_MSG_ERROR("Header file konq_operations.h is missing. Please install libkonq-devel package."))
KDE_CHECK_HEADER(kregexpeditorinterface.h, [AC_DEFINE([SQ_HAVE_KREGEXP], [], [kregexpeditorinterface.h support])], [])
# Checks for OpenGL.
KDE_CHECK_HEADER([GL/gl.h], [], AC_MSG_ERROR("ksquirrel needs OpenGL (GL/gl.h, ...) and GLU (GL/glu.h) headers to be installed."))
AC_CHECK_LIB([GL], [glBegin], [LDFLAGS="-lGL $LDFLAGS"], [ogl="no"])
if test "x$ogl" = "xno"; then
AC_MSG_NOTICE([Maybe libGL requires libpthread...])
unset ac_cv_lib_GL_glBegin
AC_CHECK_LIB([GL], [glBegin], [LDFLAGS="-lpthread -lGL $LDFLAGS"], AC_MSG_ERROR([Cannot use -lGL]), [-lpthread])
fi
AM_PROG_AS
# MMX test duped from kdelibs/kdefx - it should be probably moved to admin/
dnl -----------------------------------------------------
dnl IA32 checks
dnl -----------------------------------------------------
ksquirrel_asm_defs=
case $host_cpu in
i*86 )
AC_MSG_CHECKING(for assembler support for IA32 extensions)
dnl MMX check
AC_TRY_COMPILE(, [ __asm__("pxor %mm0, %mm0") ],
[
echo $ECHO_N "MMX yes$ECHO_C"
AC_DEFINE_UNQUOTED(HAVE_X86_MMX, 1, [Define to 1 if the assembler supports MMX instructions.])
ksquirrel_asm_defs="$ksquirrel_asm_defs -DHAVE_X86_MMX"
], [ echo $ECHO_N "MMX no$ECHO_C" ])
dnl SSE check
AC_TRY_COMPILE(,[ __asm__("xorps %xmm0, %xmm0") ],
[
echo $ECHO_N ", SSE yes$ECHO_C"
AC_DEFINE_UNQUOTED(HAVE_X86_SSE, 1, [Define to 1 if the assembler supports SSE instructions.])
ksquirrel_asm_defs="$ksquirrel_asm_defs -DHAVE_X86_SSE"
], [ echo $ECHO_N ", SSE no$ECHO_C" ])
dnl SSE2 check
AC_TRY_COMPILE(, [ __asm__("xorpd %xmm0, %xmm0") ],
[
echo $ECHO_N ", SSE2 yes$ECHO_C"
AC_DEFINE_UNQUOTED(HAVE_X86_SSE2, 1, [Define to 1 if the assembler supports SSE2 instructions.])
ksquirrel_asm_defs="$ksquirrel_asm_defs -DHAVE_X86_SSE2"
], [ echo $ECHO_N ", SSE2 no$ECHO_C" ])
dnl 3DNOW check
AC_TRY_COMPILE(, [ __asm__("femms") ],
[
echo $ECHO_N ", 3DNOW yes$ECHO_C"
AC_DEFINE_UNQUOTED(HAVE_X86_3DNOW, 1, [Define to 1 if the assembler supports 3DNOW instructions.])
ksquirrel_asm_defs="$ksquirrel_asm_defs -DHAVE_X86_3DNOW"
], [ echo $ECHO_N ", 3DNOW no$ECHO_C" ])
echo
;;
powerpc )
AC_MSG_CHECKING(for assembler support for AltiVec instructions)
dnl AltiVec check
AC_TRY_COMPILE(, [ __asm__("mtspr 256, %0\n\t" "vand %%v0, %%v0, %%v0" : : "r"(-1) ) ],
[
echo $ECHO_N " yes$ECHO_C"
AC_DEFINE_UNQUOTED(HAVE_PPC_ALTIVEC, 1, [Define to 1 if the assembler supports AltiVec instructions.])
ksquirrel_asm_defs="$ksquirrel_asm_defs -DHAVE_PPC_ALTIVEC"
], [ echo $ECHO_N ", AltiVec no$ECHO_C" ])
echo
;;
esac
KSQUIRREL_ASM_DEFS="$ksquirrel_asm_defs"
AC_SUBST(KSQUIRREL_ASM_DEFS)
#
# KIPI
#
have_kipi=no
if test x$sq_kipi = xyes; then
PKG_CHECK_MODULES([libkipi], libkipi, [
_cxxflags=$CXXFLAGS
_ldflags=$LDFLAGS
CXXFLAGS="$libkipi_CFLAGS $CXXFLAGS"
LDFLAGS="$LDFLAGS $libkipi_LIBS"
KDE_CHECK_HEADER(libkipi/interface.h, have_kipi=yes, have_kipi=no)
if test "$have_kipi" = "yes"; then
AC_DEFINE(SQ_HAVE_KIPI, [], [If we have libkipi installed])
else
AC_WARN([Can't find KIPI headers, KSquirrel won't be compiled with KIPI support])
fi
CXXFLAGS=$_cxxflags
LDFLAGS=$_ldflags
],
[AC_WARN([KIPI development file (.pc) was not found. KIPI support will be disabled.])]
)
fi
#
# KEXIF
#
have_kexif=no
if test x$sq_kexif = xyes; then
PKG_CHECK_MODULES([libkexif], libkexif, [
_cxxflags=$CXXFLAGS
_ldflags=$LDFLAGS
CXXFLAGS="$libkexif_CFLAGS $CXXFLAGS"
LDFLAGS="$LDFLAGS $libkexif_LIBS"
KDE_CHECK_HEADER(libkexif/kexifdata.h, have_kexif=yes, have_kexif=no)
if test "$have_kexif" = "yes"; then
AC_DEFINE(SQ_HAVE_KEXIF, [], [If we have libkexif installed])
else
AC_WARN([Can't find KEXIF headers, KSquirrel won't be compiled with KEXIF support])
fi
CXXFLAGS=$_cxxflags
LDFLAGS=$_ldflags
],
[AC_WARN([KEXIF development file (.pc) was not found. KEXIF support will be disabled.])]
)
fi
AM_CONDITIONAL(SQ_HAVE_KIPI, test x$have_kipi = xyes)
AM_CONDITIONAL(SQ_HAVE_KEXIF, test x$have_kexif = xyes)

@ -0,0 +1,9 @@
Package: ksquirrel-libs
Priority: extra
Section: checkinstall
Installed-Size: 3236
Maintainer: ksquirrel@mail.ru
Architecture: i386
Version: 0.7.3-1etch
Depends: liblcms1, libjpeg62, libopenexr2c2a, libmng1, libpng12-0, transfig, netpbm, djvulibre-bin, libfreetype6, libjasper-1.701-1, libtiff4, libungif4g, libwmf0.2-7, librsvg2-bin, medcon, zlib1g
Description: Set of image codecs for KSquirrel

@ -0,0 +1 @@
KSquirrel image viewer for KDE

@ -0,0 +1,7 @@
####### kdevelop will overwrite this part!!! (begin)##########
####### kdevelop will overwrite this part!!! (end)############
SUBDIRS = ru
man_MANS = ksquirrel.1

@ -0,0 +1,68 @@
.TH KSQUIRREL 1 "September 2005" "K Desktop Environment" "Image viewer for KDE"
.SH NAME
KSquirrel \- An image viewer for KDE with dynamic format support
.SH SYNOPSIS
.B ksquirrel
[\fIoptions\fR] [\fIfile\fR]
.SH DESCRIPTION
KSquirrel is an image viewer for KDE with disk navigator, file tree, thumbnails, extended thumbnails, dynamic format support, DCOP interface and KIPI plugins support.
.PP
Image loading is based on external codecs \- ksquirrel\-libs. It supports dozens of various image formats, including SVG, WMF, JPEG2000, APNG and PSD.
.SH OPTIONS
.SS Arguments:
.TP
.B file
An initial image file or folder.
.SS KSquirrel options:
.TP
.B \-l
Show found image codecs and exit.
.TP
.B \-d
Print available DCOP parameters.
.TP
.B \--nodirectorybasket
Don't create directory basket
.TP
.B \--noimagebasket
Don't create image basket
.TP
.B \--nocategories
Don't create categories
.TP
.B \--nomountview
Don't create mount view
.SS Generic options:
.TP
.B \-\-help
Show help about options.
.TP
.B \-\-help\-qt
Show Qt specific options.
.TP
.B \-\-help\-kde
Show KDE specific options.
.TP
.B \-\-help\-all
Show all options.
.TP
.B \-\-author
Show author information.
.TP
.B \-v\fR, \fB\-\-version
Show version information.
.TP
.B \-\-license
Show license information.
.TP
.B \-\-
End of options.
.SH "SEE ALSO"
The KSquirrel homepage can be found at \fIhttp://ksquirrel.sourceforge.net\fR.
.SH BUGS
To report a bug, please send a e\-mail to \fIksquirrel.iv@gmail.com\fR.
.SH AUTHOR
KSquirrel and ksquirrel-libs were written by Dmitry Baryshev <ksquirrel.iv@gmail.com>.
.PP
This manual page was written by Dmitry Baryshev <ksquirrel.iv@gmail.com>.

@ -0,0 +1,2 @@
KDE_LANG = ru
KDE_DOCS = ksquirrel

@ -0,0 +1,30 @@
<chapter id="license">
<chapterinfo>
<authorgroup>
<author>&Dmitry.Baryshev;</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>
<date>2007-03-10</date>
<releaseinfo>0.3</releaseinfo>
</chapterinfo>
<title>Лицензия, авторские права и благодарности</title>
<para>
&kappname; и &klibname; разработаны и сопровождаются &copy; 2003-2007 Барышевым Дмитрием Алексеевичем. Русская версия данного документа создана &copy; 2006 Барышевым Дмитрием Алексеевичем. Вы можете связаться со мной по электронному адресу <email>ksquirrel.iv@gmail.com</email>.
</para>
<segmentedlist>
<segtitle>Лицензирование &kappname;</segtitle>
<segtitle>Лицензирование &klibname;</segtitle>
<segtitle>Лицензирование этого документа</segtitle>
<seglistitem>
<seg>&underGPL;</seg>
<seg>GNU LIBRARY GENERAL PUBLIC LICENSE v.2</seg>
<seg>&underFDL;</seg>
</seglistitem>
</segmentedlist>
</chapter>

@ -0,0 +1,26 @@
<chapter id="imagewindow">
<chapterinfo>
<authorgroup>
<author>&Dmitry.Baryshev;</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>
<date>2007-03-10</date>
<releaseinfo>0.3</releaseinfo>
</chapterinfo>
<title>Окно просмотра изображения</title>
<sect1 id="imagewindow-general">
<title>Общее описание</title>
<para>В окне просмотра изображения вы можете видеть открытую в данный момент картинку. Данное окно имеет панель инструментов с необходимыми Вам действиями для управления картинкой - масштабирование, поворот, сдвиг, и окном непосредственно - перейти в полноэкранный режим и др. Также в окне просмотра изображения имеется строка статуса, в которой отображается некоторая полезная информация, как то: размеры изображения, фактор масштабирования, имя файла и др. По правой кнопке мыши Вы можете вызвать контекстное меню.</para>
<para>
В окне просмотра изображения действует множество сочетаний клавиш. Чтобы просмотреть, какие клавиши какие функции выполняют, достаточно выбрать <quote>Горячие клавиши</quote> из контекстного меню. Можно лишь упомянуть, что задействованы многие общепринятые сочетания, такие как <keycap>PageUp</keycap>, <keycap>PageDown</keycap>, <keycap>+/-</keycap>, <keycap>Space</keycap>, <keycap>BackSpace</keycap>.
</para>
</sect1>
</chapter>

@ -0,0 +1,4 @@
<html><head><title>Глава 4. Окно просмотра изображения</title><link rel="stylesheet" href="help:/common/kde-default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.67.2"><meta name="keywords" content="KDE, image, viewer, picture"><link rel="start" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="up" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="prev" href="interface-menu.html" title="Меню"><link rel="next" href="running.html" title="Глава 5. Запуск KSquirrel из командной строки"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.13 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div style="background-image: url(help:/common/top-middle.png); width: 100%; height: 131px;"><div style="position: absolute; right: 0px;"><img src="help:/common/top-right-konqueror.png" style="margin: 0px" alt=""></div><div style="position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444">Окно просмотра изображения</div></div><div style="margin-top: 20px; background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="interface-menu.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="running.html">След.</a></div><div class="navCenter"> </div></div><div class="chapter" lang="ru"><div class="titlepage"><div><div><h2 class="title"><a name="imagewindow"></a>Глава 4. Окно просмотра изображения</h2></div><div><div class="authorgroup"><p class="author"><span class="firstname">Дмитрий</span> <span class="othername">Алексеевич</span> <span class="surname">Барышев</span> </p></div></div><div>Издание <span class="releaseinfo">0.3 (<span class="date">2007-03-10</span>)</span></div></div></div><div class="sect1" lang="ru"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="imagewindow-general"></a>Общее описание</h2></div></div></div><p>В окне просмотра изображения вы можете видеть открытую в данный момент картинку. Данное окно имеет панель инструментов с необходимыми Вам действиями для управления картинкой - масштабирование, поворот, сдвиг, и окном непосредственно - перейти в полноэкранный режим и др. Также в окне просмотра изображения имеется строка статуса, в которой отображается некоторая полезная информация, как то: размеры изображения, фактор масштабирования, имя файла и др. По правой кнопке мыши Вы можете вызвать контекстное меню.</p><p>
В окне просмотра изображения действует множество сочетаний клавиш. Чтобы просмотреть, какие клавиши какие функции выполняют, достаточно выбрать «<span class="quote">Горячие клавиши</span>» из контекстного меню. Можно лишь упомянуть, что задействованы многие общепринятые сочетания, такие как <span><strong class="keycap">PageUp</strong></span>, <span><strong class="keycap">PageDown</strong></span>, <span><strong class="keycap">+/-</strong></span>, <span><strong class="keycap">Space</strong></span>, <span><strong class="keycap">BackSpace</strong></span>.
</p></div></div><div style="background-color: #white; color: black; margin-top: 20px; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="interface-menu.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="running.html">След.</a></div><div align="center"><a accesskey="h" href="index.html">Начало</a></div></div><div style="background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div class="navLeft">Меню </div><div class="navRight"> Запуск KSquirrel из командной строки</div><div class="navCenter"><a accesskey="u" href="index.html">Уровень выше</a></div></div><br><br><div class="bannerBottom" style="background-image: url(help:/common/bottom-middle.png); background-repeat: x-repeat; width: 100%; height: 100px; bottom:0px;"><div class="BannerBottomRight"><img src="help:/common/bottom-right.png" style="margin: 0px" alt=""></div><div class="bannerBottomLeft"><img src="help:/common/bottom-left.png" style="margin: 0px;" alt=""></div><div id="comments" style="position:relative; top: 5px; left: 1em; height:85px; width: 50%; color: #cfe1f6"><p>Would you like to make a comment or contribute an update to this page?<br>
Send feedback to the <a href="mailto:kde-docs@kdemail.net" style="background:transparent; color:#cfe1f6; text-decoration: underline;">KDE Docs Team</a></p></div></div></body></html>

@ -0,0 +1,138 @@
<?xml version="1.0"?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN"
"dtd/kdex.dtd" [
<!ENTITY kappname "KSquirrel">
<!ENTITY klibname "ksquirrel-libs">
<!ENTITY Dmitry.Baryshev "<firstname>Дмитрий</firstname> <othername>Алексеевич</othername> <surname>Барышев</surname>">
<!ENTITY Dmitry.Baryshev.mail "<email>ksquirrel.iv@gmail.com</email>">
<!ENTITY intro SYSTEM "intro.docbook">
<!ENTITY internals SYSTEM "internals.docbook">
<!ENTITY interface SYSTEM "interface.docbook">
<!ENTITY imagewindow SYSTEM "imagewindow.docbook">
<!ENTITY install SYSTEM "install.docbook">
<!ENTITY running SYSTEM "running.docbook">
<!ENTITY credits SYSTEM "credits.docbook">
<!ENTITY % addindex "IGNORE">
<!ENTITY % Russian "INCLUDE">
]>
<book lang="&language;">
<title>&kappname; Руководство Пользователя</title>
<bookinfo>
<authorgroup>
<author>
<firstname>Дмитрий</firstname><surname>Барышев</surname><othername>Алексеевич</othername>
<affiliation><address><email>ksquirrel.iv@gmail.com</email></address></affiliation>
</author>
</authorgroup>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
<copyright>
<year>2003-2007</year>
<holder>&Dmitry.Baryshev;</holder>
</copyright>
<legalnotice>&FDLNotice;</legalnotice>
<date>2007-03-10</date>
<releaseinfo>0.3.0</releaseinfo>
<abstract>
<para>&kappname; это просмотрщик изображений для KDE реализующий OpenGL и поддерживающий модули KIPI.</para>
</abstract>
<keywordset>
<keyword>KDE</keyword>
<keyword>image</keyword>
<keyword>viewer</keyword>
<keyword>picture</keyword>
</keywordset>
</bookinfo>
&intro;
&internals;
&interface;
&imagewindow;
&running;
&credits;
<appendix id="installation">
<title>Инсталляция</title>
<sect1 id="install-source">
<title>Установка из исходников</title>
<para>
&kappname; из исходников устанавливается как обычно, за исключением некоторых моментов. Для успешной компиляции &kappname; Вам необходимо установить пакет kde-devel, и в системах типа Mandriva дополнительно kdebase-devel. Рассмотрим все шаги инсталляции подробнее.
</para>
<sect2 id="install-source-ksquirrel-libs">
<title>Установка &klibname;</title>
<para>
Сперва необходимо установить &klibname;.
<orderedlist>
<listitem><para>tar jxfv <filename><replaceable>ksquirrel-libs-0.7.0.tar.bz2</replaceable></filename></para></listitem>
<listitem><para>./configure.gnu</para></listitem>
<listitem><para>make</para></listitem>
<listitem><para>su -c <quote>make install</quote></para></listitem>
</orderedlist>
</para>
<para>
Пояснения.
<itemizedlist>
<listitem><para>
configure.gnu это просто обёртка вокруг configure - это обычный shell-скрипт, который вызывает configure с установленным префиксом.
Вместо configure.gnu Вы можете спокойно использовать
<command>./configure --prefix=/usr</command>
</para></listitem>
</itemizedlist>
</para>
</sect2>
<sect2 id="install-source-ksquirrel">
<title>Установка &kappname;</title>
<para>
Теперь установим &kappname;
<orderedlist>
<listitem><para>tar jxfv <filename><replaceable>ksquirrel-0.7.0.tar.bz2</replaceable></filename></para></listitem>
<listitem><para>./configure.gnu</para></listitem>
<listitem><para>make</para></listitem>
<listitem><para>su -c <quote>make install</quote></para></listitem>
</orderedlist>
</para>
<para>
Пояснения.
<itemizedlist>
<listitem><para>
configure.gnu это просто обёртка вокруг configure - это обычный shell-скрипт, который вызывает configure с установленным префиксом и отключённой поддержкой arts.
Вместо configure.gnu Вы можете спокойно использовать
<command>./configure --prefix="`kde-config --prefix`" --without-arts</command>
</para></listitem>
</itemizedlist>
</para>
</sect2>
</sect1>
<sect1 id="install-binary">
<title>Установка из бинарных пакетов</title>
<para>
Чтобы установить &kappname; и &klibname; из бинарных пакетов, вы должны сперва проверить, нет ли их на предложенных Вам дисках Вашего дистрибутива. Если они нашлись, установите их стандартными средствами Вашего дистрибутива (например, apt-get в Debian, или urpmi в Mandriva). Если на дисках их не оказалось, попробуйте поискать в онлайн репозитариях Вашего дистрибутива, а также в <ulink url="http://google.com">http://google.com</ulink> и <ulink url="http://ksquirrel.sourceforge.net/download.php">http://ksquirrel.sourceforge.net/download.php</ulink>.
</para>
</sect1>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</appendix>
</book>

@ -0,0 +1,6 @@
<html><head><title>KSquirrel Руководство Пользователя</title><link rel="stylesheet" href="help:/common/kde-default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.67.2"><meta name="description" content="KSquirrel это просмотрщик изображений для KDE реализующий OpenGL и поддерживающий модули KIPI."><meta name="keywords" content="KDE, image, viewer, picture"><link rel="start" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="next" href="intro.html" title="Глава 1. Вступление"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.13 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div style="background-image: url(help:/common/top-middle.png); width: 100%; height: 131px;"><div style="position: absolute; right: 0px;"><img src="help:/common/top-right-konqueror.png" style="margin: 0px" alt=""></div><div style="position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444">KSquirrel Руководство Пользователя</div></div><div style="margin-top: 20px; background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="intro.html">След.</a></div><div class="navCenter"> </div></div><div class="book" lang="ru"><div class="titlepage"><div><div><h1 class="title"><a name="id2422667"></a>KSquirrel Руководство Пользователя</h1></div><div><div class="authorgroup"><p class="author"><span class="firstname">Дмитрий</span> <span class="othername">Алексеевич</span> <span class="surname">Барышев</span> <code class="email">&lt;ksquirrel.iv@gmail.com&gt;</code></p></div></div><div>Издание <span class="releaseinfo">0.3.0 (<span class="date">2007-03-10</span>)</span></div><div><p class="copyright">Copyright © 2003-2007 <span class="firstname">Дмитрий<br></span> <span class="othername">Алексеевич<br></span> <span class="surname">Барышев<br></span></p></div><div><div class="legalnotice"><a name="id2550527"></a><p>Разрешается копировать, распространять и/или изменять этот
документ на условиях лицензии GNU для свободной документации,
версии 1.1 или более поздней, опубликованной Фондом Free Software
Foundation; без неизменямых разделов, без текста на первой странице,
без текста на последней странице. Копия лицензии находится здесь <a href="license.html#gnu-fdl">the section entitled "GNU Free Documentation License"</a>.</p></div></div><div><div><div class="abstract"><p>KSquirrel это просмотрщик изображений для KDE реализующий OpenGL и поддерживающий модули KIPI.</p></div></div></div></div><hr></div><div class="toc"><p><b>Содержание</b></p><dl><dt><span class="chapter"><a href="intro.html">1. Вступление</a></span></dt><dd><dl><dt><span class="sect1"><a href="intro.html#intro-whatis-ksquirrel">Что такое KSquirrel</a></span></dt></dl></dd><dt><span class="chapter"><a href="internals.html">2. Отличие KSquirrel от других просмотрщиков. Свои библиотеки.</a></span></dt><dd><dl><dt><span class="sect1"><a href="internals.html#internals-opengl">Использование OpenGL.</a></span></dt><dt><span class="sect1"><a href="internals-libs.html">Свои библиотеки</a></span></dt><dd><dl><dt><span class="sect2"><a href="internals-libs.html#internals-specific">Работа KSquirrel с библиотеками</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="interface.html">3. Интерфейс</a></span></dt><dd><dl><dt><span class="sect1"><a href="interface.html#interface-navigator">Навигатор</a></span></dt><dt><span class="sect1"><a href="interface-sidebar.html">Боковая панель</a></span></dt><dt><span class="sect1"><a href="interface-menu.html">Меню</a></span></dt></dl></dd><dt><span class="chapter"><a href="imagewindow.html">4. Окно просмотра изображения</a></span></dt><dd><dl><dt><span class="sect1"><a href="imagewindow.html#imagewindow-general">Общее описание</a></span></dt></dl></dd><dt><span class="chapter"><a href="running.html">5. Запуск KSquirrel из командной строки</a></span></dt><dd><dl><dt><span class="sect1"><a href="running.html#running-arguments">Аргументы командной строки для KSquirrel и ksquirrel-libs</a></span></dt><dd><dl><dt><span class="sect2"><a href="running.html#running-arguments-ksquirrel">Аргументы командной строки для KSquirrel</a></span></dt><dt><span class="sect2"><a href="running.html#running-examples">Примеры</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="license.html">6. Лицензия, авторские права и благодарности</a></span></dt><dt><span class="appendix"><a href="installation.html">A. Инсталляция</a></span></dt><dd><dl><dt><span class="sect1"><a href="installation.html#install-source">Установка из исходников</a></span></dt><dd><dl><dt><span class="sect2"><a href="installation.html#install-source-ksquirrel-libs">Установка ksquirrel-libs</a></span></dt><dt><span class="sect2"><a href="installation.html#install-source-ksquirrel">Установка KSquirrel</a></span></dt></dl></dd><dt><span class="sect1"><a href="install-binary.html">Установка из бинарных пакетов</a></span></dt></dl></dd></dl></div></div><div style="background-color: #white; color: black; margin-top: 20px; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="intro.html">След.</a></div><div align="center"> </div></div><div style="background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div class="navLeft"> </div><div class="navRight"> Вступление</div><div class="navCenter"> </div></div><br><br><div class="bannerBottom" style="background-image: url(help:/common/bottom-middle.png); background-repeat: x-repeat; width: 100%; height: 100px; bottom:0px;"><div class="BannerBottomRight"><img src="help:/common/bottom-right.png" style="margin: 0px" alt=""></div><div class="bannerBottomLeft"><img src="help:/common/bottom-left.png" style="margin: 0px;" alt=""></div><div id="comments" style="position:relative; top: 5px; left: 1em; height:85px; width: 50%; color: #cfe1f6"><p>Would you like to make a comment or contribute an update to this page?<br>
Send feedback to the <a href="mailto:kde-docs@kdemail.net" style="background:transparent; color:#cfe1f6; text-decoration: underline;">KDE Docs Team</a></p></div></div></body></html>

@ -0,0 +1,4 @@
<html><head><title>Установка из бинарных пакетов</title><link rel="stylesheet" href="help:/common/kde-default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.67.2"><meta name="keywords" content="KDE, image, viewer, picture"><link rel="start" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="up" href="installation.html" title="Приложение A. Инсталляция"><link rel="prev" href="installation.html" title="Приложение A. Инсталляция"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.13 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div style="background-image: url(help:/common/top-middle.png); width: 100%; height: 131px;"><div style="position: absolute; right: 0px;"><img src="help:/common/top-right-konqueror.png" style="margin: 0px" alt=""></div><div style="position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444">Установка из бинарных пакетов</div></div><div style="margin-top: 20px; background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="installation.html">Пред.</a></div><div style="position: absolute; right: 20px;"></div><div class="navCenter">Инсталляция</div></div><div class="sect1" lang="ru"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="install-binary"></a>Установка из бинарных пакетов</h2></div></div></div><p>
Чтобы установить KSquirrel и ksquirrel-libs из бинарных пакетов, вы должны сперва проверить, нет ли их на предложенных Вам дисках Вашего дистрибутива. Если они нашлись, установите их стандартными средствами Вашего дистрибутива (например, apt-get в Debian, или urpmi в Mandriva). Если на дисках их не оказалось, попробуйте поискать в онлайн репозитариях Вашего дистрибутива, а также в <a href="http://google.com" target="_top">http://google.com</a> и <a href="http://ksquirrel.sourceforge.net/download.php" target="_top">http://ksquirrel.sourceforge.net/download.php</a>.
</p></div><div style="background-color: #white; color: black; margin-top: 20px; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="installation.html">Пред.</a></div><div style="position: absolute; right: 20px;"></div><div align="center"><a accesskey="h" href="index.html">Начало</a></div></div><div style="background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div class="navLeft">Инсталляция </div><div class="navRight"> </div><div class="navCenter"><a accesskey="u" href="installation.html">Уровень выше</a></div></div><br><br><div class="bannerBottom" style="background-image: url(help:/common/bottom-middle.png); background-repeat: x-repeat; width: 100%; height: 100px; bottom:0px;"><div class="BannerBottomRight"><img src="help:/common/bottom-right.png" style="margin: 0px" alt=""></div><div class="bannerBottomLeft"><img src="help:/common/bottom-left.png" style="margin: 0px;" alt=""></div><div id="comments" style="position:relative; top: 5px; left: 1em; height:85px; width: 50%; color: #cfe1f6"><p>Would you like to make a comment or contribute an update to this page?<br>
Send feedback to the <a href="mailto:kde-docs@kdemail.net" style="background:transparent; color:#cfe1f6; text-decoration: underline;">KDE Docs Team</a></p></div></div></body></html>

@ -0,0 +1,32 @@
<html><head><title>Приложение A. Инсталляция</title><link rel="stylesheet" href="help:/common/kde-default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.67.2"><meta name="keywords" content="KDE, image, viewer, picture"><link rel="start" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="up" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="prev" href="license.html" title="Глава 6. Лицензия, авторские права и благодарности"><link rel="next" href="install-binary.html" title="Установка из бинарных пакетов"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.13 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div style="background-image: url(help:/common/top-middle.png); width: 100%; height: 131px;"><div style="position: absolute; right: 0px;"><img src="help:/common/top-right-konqueror.png" style="margin: 0px" alt=""></div><div style="position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444">Инсталляция</div></div><div style="margin-top: 20px; background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="license.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="install-binary.html">След.</a></div><div class="navCenter"> </div></div><div class="appendix" lang="ru"><div class="titlepage"><div><div><h2 class="title"><a name="installation"></a>Приложение A. Инсталляция</h2></div></div></div><div class="toc"><p><b>Содержание</b></p><dl><dt><span class="sect1"><a href="installation.html#install-source">Установка из исходников</a></span></dt><dd><dl><dt><span class="sect2"><a href="installation.html#install-source-ksquirrel-libs">Установка ksquirrel-libs</a></span></dt><dt><span class="sect2"><a href="installation.html#install-source-ksquirrel">Установка KSquirrel</a></span></dt></dl></dd><dt><span class="sect1"><a href="install-binary.html">Установка из бинарных пакетов</a></span></dt></dl></div><div class="sect1" lang="ru"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="install-source"></a>Установка из исходников</h2></div></div></div><p>
KSquirrel из исходников устанавливается как обычно, за исключением некоторых моментов. Для успешной компиляции KSquirrel Вам необходимо установить пакет kde-devel, и в системах типа Mandriva дополнительно kdebase-devel. Рассмотрим все шаги инсталляции подробнее.
</p><div class="sect2" lang="ru"><div class="titlepage"><div><div><h3 class="title"><a name="install-source-ksquirrel-libs"></a>Установка ksquirrel-libs</h3></div></div></div><p>
Сперва необходимо установить ksquirrel-libs.
<div class="orderedlist"><ol type="1"><li><p>tar jxfv <code class="filename"><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="replaceable"><em class="replaceable"><code>ksquirrel-libs-0.7.0.tar.bz2</code></em></span></code></p></li><li><p>./configure.gnu</p></li><li><p>make</p></li><li><p>su -c «<span class="quote">make install</span>»</p></li></ol></div>
</p><p>
Пояснения.
<div class="itemizedlist"><ul type="disc"><li><p>
configure.gnu это просто обёртка вокруг configure - это обычный shell-скрипт, который вызывает configure с установленным префиксом.
Вместо configure.gnu Вы можете спокойно использовать
<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span><strong class="command">./configure --prefix=/usr</strong></span></span>
</p></li></ul></div>
</p></div><div class="sect2" lang="ru"><div class="titlepage"><div><div><h3 class="title"><a name="install-source-ksquirrel"></a>Установка KSquirrel</h3></div></div></div><p>
Теперь установим KSquirrel
<div class="orderedlist"><ol type="1"><li><p>tar jxfv <code class="filename"><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="replaceable"><em class="replaceable"><code>ksquirrel-0.7.0.tar.bz2</code></em></span></code></p></li><li><p>./configure.gnu</p></li><li><p>make</p></li><li><p>su -c «<span class="quote">make install</span>»</p></li></ol></div>
</p><p>
Пояснения.
<div class="itemizedlist"><ul type="disc"><li><p>
configure.gnu это просто обёртка вокруг configure - это обычный shell-скрипт, который вызывает configure с установленным префиксом и отключённой поддержкой arts.
Вместо configure.gnu Вы можете спокойно использовать
<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span><strong class="command">./configure --prefix="`kde-config --prefix`" --without-arts</strong></span></span>
</p></li></ul></div>
</p></div></div></div><div style="background-color: #white; color: black; margin-top: 20px; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="license.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="install-binary.html">След.</a></div><div align="center"><a accesskey="h" href="index.html">Начало</a></div></div><div style="background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div class="navLeft">Лицензия, авторские права и благодарности </div><div class="navRight"> Установка из бинарных пакетов</div><div class="navCenter"><a accesskey="u" href="index.html">Уровень выше</a></div></div><br><br><div class="bannerBottom" style="background-image: url(help:/common/bottom-middle.png); background-repeat: x-repeat; width: 100%; height: 100px; bottom:0px;"><div class="BannerBottomRight"><img src="help:/common/bottom-right.png" style="margin: 0px" alt=""></div><div class="bannerBottomLeft"><img src="help:/common/bottom-left.png" style="margin: 0px;" alt=""></div><div id="comments" style="position:relative; top: 5px; left: 1em; height:85px; width: 50%; color: #cfe1f6"><p>Would you like to make a comment or contribute an update to this page?<br>
Send feedback to the <a href="mailto:kde-docs@kdemail.net" style="background:transparent; color:#cfe1f6; text-decoration: underline;">KDE Docs Team</a></p></div></div></body></html>

@ -0,0 +1,4 @@
<html><head><title>Меню</title><link rel="stylesheet" href="help:/common/kde-default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.67.2"><meta name="keywords" content="KDE, image, viewer, picture"><link rel="start" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="up" href="interface.html" title="Глава 3. Интерфейс"><link rel="prev" href="interface-sidebar.html" title="Боковая панель"><link rel="next" href="imagewindow.html" title="Глава 4. Окно просмотра изображения"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.13 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div style="background-image: url(help:/common/top-middle.png); width: 100%; height: 131px;"><div style="position: absolute; right: 0px;"><img src="help:/common/top-right-konqueror.png" style="margin: 0px" alt=""></div><div style="position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444">Меню</div></div><div style="margin-top: 20px; background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="interface-sidebar.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="imagewindow.html">След.</a></div><div class="navCenter">Интерфейс</div></div><div class="sect1" lang="ru"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="interface-menu"></a>Меню</h2></div></div></div><p>
Как и почти во всех графических программах, в KSquirrel имеется меню команд. В нём доступны все действия, касающиеся KSquirrel: открытие файла, переход в режим просмотра слайдов, выход из программы, просмотр списка найденных кодеков и др.
</p></div><div style="background-color: #white; color: black; margin-top: 20px; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="interface-sidebar.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="imagewindow.html">След.</a></div><div align="center"><a accesskey="h" href="index.html">Начало</a></div></div><div style="background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div class="navLeft">Боковая панель </div><div class="navRight"> Окно просмотра изображения</div><div class="navCenter"><a accesskey="u" href="interface.html">Уровень выше</a></div></div><br><br><div class="bannerBottom" style="background-image: url(help:/common/bottom-middle.png); background-repeat: x-repeat; width: 100%; height: 100px; bottom:0px;"><div class="BannerBottomRight"><img src="help:/common/bottom-right.png" style="margin: 0px" alt=""></div><div class="bannerBottomLeft"><img src="help:/common/bottom-left.png" style="margin: 0px;" alt=""></div><div id="comments" style="position:relative; top: 5px; left: 1em; height:85px; width: 50%; color: #cfe1f6"><p>Would you like to make a comment or contribute an update to this page?<br>
Send feedback to the <a href="mailto:kde-docs@kdemail.net" style="background:transparent; color:#cfe1f6; text-decoration: underline;">KDE Docs Team</a></p></div></div></body></html>

@ -0,0 +1,15 @@
<html><head><title>Боковая панель</title><link rel="stylesheet" href="help:/common/kde-default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.67.2"><meta name="keywords" content="KDE, image, viewer, picture"><link rel="start" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="up" href="interface.html" title="Глава 3. Интерфейс"><link rel="prev" href="interface.html" title="Глава 3. Интерфейс"><link rel="next" href="interface-menu.html" title="Меню"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.13 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div style="background-image: url(help:/common/top-middle.png); width: 100%; height: 131px;"><div style="position: absolute; right: 0px;"><img src="help:/common/top-right-konqueror.png" style="margin: 0px" alt=""></div><div style="position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444">Боковая панель</div></div><div style="margin-top: 20px; background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="interface.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="interface-menu.html">След.</a></div><div class="navCenter">Интерфейс</div></div><div class="sect1" lang="ru"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="interface-sidebar"></a>Боковая панель</h2></div></div></div><p>
В KSquirrel имеется боковая панель наподобие той, что Вы видели в <span class="application">Konqueror</span>. Листая страницы с помощью мыши Вы можете переключаться на файловое дерево, список подключённых дисковых разделов, панель категорий и корзину изображений.
<div class="orderedlist"><ol type="1"><li><p>Файловое дерево позволяет просматривать каталоги на диске в виде иерархического дерева. Обычно файловое дерево используется для быстрой навигации по каталогам. Также имеется возможность просматривать количество файлов и подкаталогов в каждом каталоге, выбирать несколько каталогов для просмотра в навигаторе. Файловое дерево представлено на скриншоте.
<div class="screenshot"><div xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="mediaobject"><hr><img src="sidebar.png" alt="Боковая панель"><hr></div></div>
</p></li><li><p>Вид подключённых дисковых разделов позволяет просмотреть подключенные на данный момент (смонтированные) дисковые разделы. При клике на значок устройства навигатор переходит на заданный раздел. Если устройство не смонтировано, как например CD-ROM, KSquirrel сначала попытается смонтировать данное устройство и затем перейти на него в навигаторе.
<div class="screenshot"><div xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="mediaobject"><hr><img src="sidebar_mounts.png" alt="Боковая панель: точки монтирования"><hr></div></div>
</p></li><li><p>Панель категорий содержит ссылки на файлы, разбитые по категориям. Чтобы добавить новые ссылки в категории, используйте контекстное меню в навигаторе.
<div class="screenshot"><div xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="mediaobject"><hr><img src="sidebar_categories.png" alt="Боковая панель: категории"><hr></div></div>
</p></li><li><p>Корзина изображений содержит ссылки на изображения, хранящиеся на жёстком диске. Эти ссылки могут быть использованы в модулях KIPI для редактирования реальных изображений.
<div class="screenshot"><div xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="mediaobject"><hr><img src="sidebar_basket.png" alt="Боковая панель: корзина"><hr></div></div>
</p></li></ol></div>
</p></div><div style="background-color: #white; color: black; margin-top: 20px; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="interface.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="interface-menu.html">След.</a></div><div align="center"><a accesskey="h" href="index.html">Начало</a></div></div><div style="background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div class="navLeft">Интерфейс </div><div class="navRight"> Меню</div><div class="navCenter"><a accesskey="u" href="interface.html">Уровень выше</a></div></div><br><br><div class="bannerBottom" style="background-image: url(help:/common/bottom-middle.png); background-repeat: x-repeat; width: 100%; height: 100px; bottom:0px;"><div class="BannerBottomRight"><img src="help:/common/bottom-right.png" style="margin: 0px" alt=""></div><div class="bannerBottomLeft"><img src="help:/common/bottom-left.png" style="margin: 0px;" alt=""></div><div id="comments" style="position:relative; top: 5px; left: 1em; height:85px; width: 50%; color: #cfe1f6"><p>Would you like to make a comment or contribute an update to this page?<br>
Send feedback to the <a href="mailto:kde-docs@kdemail.net" style="background:transparent; color:#cfe1f6; text-decoration: underline;">KDE Docs Team</a></p></div></div></body></html>

@ -0,0 +1,109 @@
<chapter id="interface">
<chapterinfo>
<authorgroup>
<author>&Dmitry.Baryshev;</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>
<date>2007-03-10</date>
<releaseinfo>0.3</releaseinfo>
</chapterinfo>
<title>Интерфейс</title>
<sect1 id="interface-navigator">
<title>Навигатор</title>
<para>
&kappname; имеет простой файловый менеджер, который позволяет просматривать каталоги и файлы на Вашем жёстком диске.
Этот файловый менеджер, который мы называем <quote>навигатором</quote>, может представлять файлы и каталоги несколькими способами: в виде списка, иконок, детального просмотра и просмотра эскизов.
<screenshot>
<screeninfo>Эскизы</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="view_thumbnails.png" format="PNG" />
</imageobject>
<textobject><phrase>Эскизы</phrase></textobject>
</mediaobject>
</screenshot>
В навигаторе также имеется возможность просматривать содержимое архивов .tar.gz, .tar.bz2, .zip, .rar (если установлен kio_rar), .7z (если установлен kio_p7zip), ходить по сети с помощью smb://, ftp:// и других протоколов, поддерживаемых kio-slaves.
</para>
</sect1>
<sect1 id="interface-sidebar">
<title>Боковая панель</title>
<para>
В &kappname; имеется боковая панель наподобие той, что Вы видели в &konqueror;. Листая страницы с помощью мыши Вы можете переключаться на файловое дерево, список подключённых дисковых разделов, панель категорий и корзину изображений.
<orderedlist>
<listitem><para>Файловое дерево позволяет просматривать каталоги на диске в виде иерархического дерева. Обычно файловое дерево используется для быстрой навигации по каталогам. Также имеется возможность просматривать количество файлов и подкаталогов в каждом каталоге, выбирать несколько каталогов для просмотра в навигаторе. Файловое дерево представлено на скриншоте.
<screenshot>
<screeninfo>Боковая панель</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="sidebar.png" format="PNG" />
</imageobject>
<textobject><phrase>Боковая панель</phrase></textobject>
</mediaobject>
</screenshot>
</para></listitem>
<listitem><para>Вид подключённых дисковых разделов позволяет просмотреть подключенные на данный момент (смонтированные) дисковые разделы. При клике на значок устройства навигатор переходит на заданный раздел. Если устройство не смонтировано, как например CD-ROM, KSquirrel сначала попытается смонтировать данное устройство и затем перейти на него в навигаторе.
<screenshot>
<screeninfo>Боковая панель: точки монтирования</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="sidebar_mounts.png" format="PNG" />
</imageobject>
<textobject><phrase>Боковая панель: точки монтирования</phrase></textobject>
</mediaobject>
</screenshot>
</para></listitem>
<listitem><para>Панель категорий содержит ссылки на файлы, разбитые по категориям. Чтобы добавить новые ссылки в категории, используйте контекстное меню в навигаторе.
<screenshot>
<screeninfo>Боковая панель: категории</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="sidebar_categories.png" format="PNG" />
</imageobject>
<textobject><phrase>Боковая панель: категории</phrase></textobject>
</mediaobject>
</screenshot>
</para></listitem>
<listitem><para>Корзина изображений содержит ссылки на изображения, хранящиеся на жёстком диске. Эти ссылки могут быть использованы в модулях KIPI для редактирования реальных изображений.
<screenshot>
<screeninfo>Боковая панель: корзина</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="sidebar_basket.png" format="PNG" />
</imageobject>
<textobject><phrase>Боковая панель: корзина</phrase></textobject>
</mediaobject>
</screenshot>
</para></listitem>
</orderedlist>
</para>
</sect1>
<sect1 id="interface-menu">
<title>Меню</title>
<para>
Как и почти во всех графических программах, в &kappname; имеется меню команд. В нём доступны все действия, касающиеся &kappname;: открытие файла, переход в режим просмотра слайдов, выход из программы, просмотр списка найденных кодеков и др.
</para>
</sect1>
</chapter>

@ -0,0 +1,10 @@
<html><head><title>Глава 3. Интерфейс</title><link rel="stylesheet" href="help:/common/kde-default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.67.2"><meta name="keywords" content="KDE, image, viewer, picture"><link rel="start" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="up" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="prev" href="internals-libs.html" title="Свои библиотеки"><link rel="next" href="interface-sidebar.html" title="Боковая панель"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.13 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div style="background-image: url(help:/common/top-middle.png); width: 100%; height: 131px;"><div style="position: absolute; right: 0px;"><img src="help:/common/top-right-konqueror.png" style="margin: 0px" alt=""></div><div style="position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444">Интерфейс</div></div><div style="margin-top: 20px; background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="internals-libs.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="interface-sidebar.html">След.</a></div><div class="navCenter"> </div></div><div class="chapter" lang="ru"><div class="titlepage"><div><div><h2 class="title"><a name="interface"></a>Глава 3. Интерфейс</h2></div><div><div class="authorgroup"><p class="author"><span class="firstname">Дмитрий</span> <span class="othername">Алексеевич</span> <span class="surname">Барышев</span> </p></div></div><div>Издание <span class="releaseinfo">0.3 (<span class="date">2007-03-10</span>)</span></div></div></div><div class="sect1" lang="ru"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="interface-navigator"></a>Навигатор</h2></div></div></div><p>
KSquirrel имеет простой файловый менеджер, который позволяет просматривать каталоги и файлы на Вашем жёстком диске.
Этот файловый менеджер, который мы называем «<span class="quote">навигатором</span>», может представлять файлы и каталоги несколькими способами: в виде списка, иконок, детального просмотра и просмотра эскизов.
<div class="screenshot"><div xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="mediaobject"><hr><img src="view_thumbnails.png" alt="Эскизы"><hr></div></div>
В навигаторе также имеется возможность просматривать содержимое архивов .tar.gz, .tar.bz2, .zip, .rar (если установлен kio_rar), .7z (если установлен kio_p7zip), ходить по сети с помощью smb://, ftp:// и других протоколов, поддерживаемых kio-slaves.
</p></div></div><div style="background-color: #white; color: black; margin-top: 20px; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="internals-libs.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="interface-sidebar.html">След.</a></div><div align="center"><a accesskey="h" href="index.html">Начало</a></div></div><div style="background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div class="navLeft">Свои библиотеки </div><div class="navRight"> Боковая панель</div><div class="navCenter"><a accesskey="u" href="index.html">Уровень выше</a></div></div><br><br><div class="bannerBottom" style="background-image: url(help:/common/bottom-middle.png); background-repeat: x-repeat; width: 100%; height: 100px; bottom:0px;"><div class="BannerBottomRight"><img src="help:/common/bottom-right.png" style="margin: 0px" alt=""></div><div class="bannerBottomLeft"><img src="help:/common/bottom-left.png" style="margin: 0px;" alt=""></div><div id="comments" style="position:relative; top: 5px; left: 1em; height:85px; width: 50%; color: #cfe1f6"><p>Would you like to make a comment or contribute an update to this page?<br>
Send feedback to the <a href="mailto:kde-docs@kdemail.net" style="background:transparent; color:#cfe1f6; text-decoration: underline;">KDE Docs Team</a></p></div></div></body></html>

@ -0,0 +1,12 @@
<html><head><title>Свои библиотеки</title><link rel="stylesheet" href="help:/common/kde-default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.67.2"><meta name="keywords" content="KDE, image, viewer, picture"><link rel="start" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="up" href="internals.html" title="Глава 2. Отличие KSquirrel от других просмотрщиков. Свои библиотеки."><link rel="prev" href="internals.html" title="Глава 2. Отличие KSquirrel от других просмотрщиков. Свои библиотеки."><link rel="next" href="interface.html" title="Глава 3. Интерфейс"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.13 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div style="background-image: url(help:/common/top-middle.png); width: 100%; height: 131px;"><div style="position: absolute; right: 0px;"><img src="help:/common/top-right-konqueror.png" style="margin: 0px" alt=""></div><div style="position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444">Свои библиотеки</div></div><div style="margin-top: 20px; background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="internals.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="interface.html">След.</a></div><div class="navCenter">Отличие KSquirrel от других просмотрщиков. Свои библиотеки.</div></div><div class="sect1" lang="ru"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="internals-libs"></a>Свои библиотеки</h2></div></div></div><p>Почти во всех программах просмотра изображений для декодирования используются сторонние библиотеки. Примером могут служить такие библиотеки как imlib (Image Magic) и Qt. На первый взгляд, преимущества такого способа очевидны - это перекладывание головной боли по декодированию изображений на другие библиотеки, вообще абстрагируясь от низкого уровня работы с изображениями, альфа каналами, битовыми масками, RLE кодированием и прочего. Но у этого способа есть несколько очевидных недостатков. К ним причисляется, во-первых, частичное отсутствие расширяемости набора кодеков изображений. Во-вторых, это зависимость кодеков от больших (а иногда очень больших) библиотек, типа Qt. В-третьих, отсутствие поддержки анимаций, типа GIF, FLI или MNG. В-четвёртых, отсутствие возможности декодирования отдельных строк.</p><p>
Исходя из всех этих недостатков, было решено отказаться от помощи сторонних библиотек и разработать собственные библиотеки, которые могли бы не зависеть от других библиотек, кроме стандартных и требуемых самими кодеками (такие, как libsvg, libmng и др.), загружаться динамически, быть полностью расширяемыми, поддерживать декодирование строк и анимацию. Эти библиотеки получили название «<span class="quote">ksquirrel-libs</span>».
</p><p>
На момент написания данной документации ksquirrel-libs поддерживал 51 формат изображений, включая <span class="acronym">PNG</span>, <span class="acronym">JPEG</span>, <span class="acronym">Photoshop PSD</span>, <span class="acronym">AutoCAD DXF</span>, <span class="acronym">WMF</span>, <span class="acronym">SVG</span>, <span class="acronym">MNG</span> и <span class="acronym">GIF</span>. Имеются также кодеки для поддержки файлов шрифтов <span class="acronym">TTF</span>, анимаций <span class="acronym">FLI</span> и X-овых курсоров.
</p><p>
ksquirrel-libs поддерживает также текстовые поля (комментарии и др.), сохраняемые в некоторых типах изображений. Например, PNG и GIF кодеки способны читать комментарии из данных типов файлов.
</p><div class="sect2" lang="ru"><div class="titlepage"><div><div><h3 class="title"><a name="internals-specific"></a>Работа KSquirrel с библиотеками</h3></div></div></div><p>
Благодаря вышеуказанным свойствам библиотек ksquirrel-libs, KSquirrel приобретает следущие особенности:
<div class="orderedlist"><ol type="1"><li><p>KSquirrel практически не знает, какой кодек будет использован для декодирования изображения - это определяется динамически.</p></li><li><p>KSquirrel практически не знает, сколько страниц в декодируемом изображении и является ли оно анимацией - это определяется динамически.</p></li><li><p>Благодаря поддержке декодирования отдельных строк, KSquirrel показывает изображения прогрессивно, т.е. по мере декодирования.</p></li></ol></div>
</p><p>Когда KSquirrel загрузил все найденные библиотеки (используя Qt класс QLibrary), появляется возможность отображать любые поддерживанмые типы изображений (как статичных, так и анимированных). Когда пользователь выбирает изображение в навигаторе, KSquirrel по MIME типу либо расширению файла определяет, поддерживается ли данный формат изображения. Если данный формат поддерживается, то, используя найденную библиотеку, KSquirrel приступает к декодированию изображения и отображению его в окне просмотра.</p><p>Информацию о всех найденных кодеках можно просмотеть в диалоге «<span class="quote">Информация о плагинах</span>», как показано на скриншоте.</p><div class="screenshot"><div xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="mediaobject"><hr><img src="plugins_info.png" alt="Информация по найденным кодекам"><hr></div></div><p>Подсказка: слева от имени кодека может отображаться значёк настроек, как показано на рисунке для кодека GIMP XCF. Это означает, что данный кодек может быть настроен для работы с различными параметрами. Например, для кодека GIMP XCF можно настроить цвет фона для прозрачных изображений.</p></div></div><div style="background-color: #white; color: black; margin-top: 20px; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="internals.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="interface.html">След.</a></div><div align="center"><a accesskey="h" href="index.html">Начало</a></div></div><div style="background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div class="navLeft">Отличие KSquirrel от других просмотрщиков. Свои библиотеки. </div><div class="navRight"> Интерфейс</div><div class="navCenter"><a accesskey="u" href="internals.html">Уровень выше</a></div></div><br><br><div class="bannerBottom" style="background-image: url(help:/common/bottom-middle.png); background-repeat: x-repeat; width: 100%; height: 100px; bottom:0px;"><div class="BannerBottomRight"><img src="help:/common/bottom-right.png" style="margin: 0px" alt=""></div><div class="bannerBottomLeft"><img src="help:/common/bottom-left.png" style="margin: 0px;" alt=""></div><div id="comments" style="position:relative; top: 5px; left: 1em; height:85px; width: 50%; color: #cfe1f6"><p>Would you like to make a comment or contribute an update to this page?<br>
Send feedback to the <a href="mailto:kde-docs@kdemail.net" style="background:transparent; color:#cfe1f6; text-decoration: underline;">KDE Docs Team</a></p></div></div></body></html>

@ -0,0 +1,71 @@
<chapter id="internals">
<chapterinfo>
<authorgroup>
<author>&Dmitry.Baryshev;</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>
<date>2007-03-10</date>
<releaseinfo>0.3</releaseinfo>
</chapterinfo>
<title>Отличие &kappname; от других просмотрщиков. Свои библиотеки.</title>
<sect1 id="internals-opengl">
<title>Использование OpenGL.</title>
<para>На данный момент имеется возможность использовать несколько различных способов отображения изображений. В качестве движков можно использовать OpenGL, MIT-SHM, Qt, gdk-pixbuf с MMX оптимизацией. Главное их отличие друг от друга - это скорость. Например, отображение изображений с помощью средств Qt будет работать очень медленно (даже в случае наличия собственной MMX оптимизации), или же gdk-pixbuf для GTK приложений будет работать приемлимо для среднего размера изображений.</para>
<para>Использование OpenGL в качестве движка просмотра изображений имеет свои преимущества и недостатки. В качестве преимущества можно упомянуть большую скорость манипулирования изображением (увеличение, уменьшение, повороты, сдвиги...), недоступную другим способам отображения. В противовес этому, как недостаток можно упомянуть наоборот очень низкую скорость манипулирования изображением, которое полностью не помещается в видеопамять Вашей видеокарты. Например, с большой вероятностью изображение 9600x9600 не поместится в видеопамять видеокарты среднего класса, как моей GF MX440, и масштабирование в окне просмотра будет работать крайне медленно. Таким образом, &kappname; отлично подходит для просмотра <quote>домашних</quote> изображений - иллюстраций стандартных размеров, сканированных листов A4, фотографий с цифрового фотоаппарата и т.п., но будет работать с затруднениями с огромными изображениями.</para>
</sect1>
<sect1 id="internals-libs">
<title>Свои библиотеки</title>
<para>Почти во всех программах просмотра изображений для декодирования используются сторонние библиотеки. Примером могут служить такие библиотеки как imlib (Image Magic) и Qt. На первый взгляд, преимущества такого способа очевидны - это перекладывание головной боли по декодированию изображений на другие библиотеки, вообще абстрагируясь от низкого уровня работы с изображениями, альфа каналами, битовыми масками, RLE кодированием и прочего. Но у этого способа есть несколько очевидных недостатков. К ним причисляется, во-первых, частичное отсутствие расширяемости набора кодеков изображений. Во-вторых, это зависимость кодеков от больших (а иногда очень больших) библиотек, типа Qt. В-третьих, отсутствие поддержки анимаций, типа GIF, FLI или MNG. В-четвёртых, отсутствие возможности декодирования отдельных строк.</para>
<para>
Исходя из всех этих недостатков, было решено отказаться от помощи сторонних библиотек и разработать собственные библиотеки, которые могли бы не зависеть от других библиотек, кроме стандартных и требуемых самими кодеками (такие, как libsvg, libmng и др.), загружаться динамически, быть полностью расширяемыми, поддерживать декодирование строк и анимацию. Эти библиотеки получили название <quote>&klibname;</quote>.
</para>
<para>
На момент написания данной документации &klibname; поддерживал 51 формат изображений, включая <acronym>PNG</acronym>, <acronym>JPEG</acronym>, <acronym>Photoshop PSD</acronym>, <acronym>AutoCAD DXF</acronym>, <acronym>WMF</acronym>, <acronym>SVG</acronym>, <acronym>MNG</acronym> и <acronym>GIF</acronym>. Имеются также кодеки для поддержки файлов шрифтов <acronym>TTF</acronym>, анимаций <acronym>FLI</acronym> и X-овых курсоров.
</para>
<para>
&klibname; поддерживает также текстовые поля (комментарии и др.), сохраняемые в некоторых типах изображений. Например, PNG и GIF кодеки способны читать комментарии из данных типов файлов.
</para>
<sect2 id="internals-specific">
<title>Работа &kappname; с библиотеками</title>
<para>
Благодаря вышеуказанным свойствам библиотек &klibname;, &kappname; приобретает следущие особенности:
<orderedlist>
<listitem><para>&kappname; практически не знает, какой кодек будет использован для декодирования изображения - это определяется динамически.</para></listitem>
<listitem><para>&kappname; практически не знает, сколько страниц в декодируемом изображении и является ли оно анимацией - это определяется динамически.</para></listitem>
<listitem><para>Благодаря поддержке декодирования отдельных строк, &kappname; показывает изображения прогрессивно, т.е. по мере декодирования.</para></listitem>
</orderedlist>
</para>
<para>Когда &kappname; загрузил все найденные библиотеки (используя Qt класс QLibrary), появляется возможность отображать любые поддерживанмые типы изображений (как статичных, так и анимированных). Когда пользователь выбирает изображение в навигаторе, &kappname; по MIME типу либо расширению файла определяет, поддерживается ли данный формат изображения. Если данный формат поддерживается, то, используя найденную библиотеку, &kappname; приступает к декодированию изображения и отображению его в окне просмотра.</para>
<para>Информацию о всех найденных кодеках можно просмотеть в диалоге <quote>Информация о плагинах</quote>, как показано на скриншоте.</para>
<screenshot>
<screeninfo>Информация по найденным кодекам</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="plugins_info.png" format="PNG" />
</imageobject>
<textobject><phrase>Информация по найденным кодекам</phrase></textobject>
</mediaobject>
</screenshot>
<para>Подсказка: слева от имени кодека может отображаться значёк настроек, как показано на рисунке для кодека GIMP XCF. Это означает, что данный кодек может быть настроен для работы с различными параметрами. Например, для кодека GIMP XCF можно настроить цвет фона для прозрачных изображений.</para>
</sect2>
</sect1>
</chapter>

File diff suppressed because one or more lines are too long

@ -0,0 +1,39 @@
<chapter id="intro">
<chapterinfo>
<authorgroup>
<author>&Dmitry.Baryshev;</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>
<date>2007-03-10</date>
<releaseinfo>0.3</releaseinfo>
</chapterinfo>
<title>Вступление</title>
<sect1 id="intro-whatis-ksquirrel">
<title>Что такое &kappname;</title>
<para>
&kappname; это просмотрщик изображений для KDE реализующий OpenGL и динамическую поддержу форматов изображений.
</para>
<para>
&kappname; имеет простой файловый менеджер, который позволяет просматривать каталоги и файлы на Вашем жёстком диске.
</para>
<para>
Поддержка модулей KIPI обеспечивает дополнильную функциональность.
</para>
<para>
Боковая панель с несколькими вкладками добавляет возможности навигации по диску и управления изображениями.
</para>
<para>Загрузка изображений осуществляется набором собственных кодеков, которые мы называем <quote>&klibname;</quote>.
&kappname; сможет отобразить все изображения, которые поддерживаются данным набором кодеков.</para>
</sect1>
</chapter>

@ -0,0 +1,11 @@
<html><head><title>Глава 1. Вступление</title><link rel="stylesheet" href="help:/common/kde-default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.67.2"><meta name="keywords" content="KDE, image, viewer, picture"><link rel="start" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="up" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="prev" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="next" href="internals.html" title="Глава 2. Отличие KSquirrel от других просмотрщиков. Свои библиотеки."><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.13 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div style="background-image: url(help:/common/top-middle.png); width: 100%; height: 131px;"><div style="position: absolute; right: 0px;"><img src="help:/common/top-right-konqueror.png" style="margin: 0px" alt=""></div><div style="position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444">Вступление</div></div><div style="margin-top: 20px; background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="index.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="internals.html">След.</a></div><div class="navCenter"> </div></div><div class="chapter" lang="ru"><div class="titlepage"><div><div><h2 class="title"><a name="intro"></a>Глава 1. Вступление</h2></div><div><div class="authorgroup"><p class="author"><span class="firstname">Дмитрий</span> <span class="othername">Алексеевич</span> <span class="surname">Барышев</span> </p></div></div><div>Издание <span class="releaseinfo">0.3 (<span class="date">2007-03-10</span>)</span></div></div></div><div class="sect1" lang="ru"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="intro-whatis-ksquirrel"></a>Что такое KSquirrel</h2></div></div></div><p>
KSquirrel это просмотрщик изображений для KDE реализующий OpenGL и динамическую поддержу форматов изображений.
</p><p>
KSquirrel имеет простой файловый менеджер, который позволяет просматривать каталоги и файлы на Вашем жёстком диске.
</p><p>
Поддержка модулей KIPI обеспечивает дополнильную функциональность.
</p><p>
Боковая панель с несколькими вкладками добавляет возможности навигации по диску и управления изображениями.
</p><p>Загрузка изображений осуществляется набором собственных кодеков, которые мы называем «<span class="quote">ksquirrel-libs</span>».
KSquirrel сможет отобразить все изображения, которые поддерживаются данным набором кодеков.</p></div></div><div style="background-color: #white; color: black; margin-top: 20px; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="index.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="internals.html">След.</a></div><div align="center"><a accesskey="h" href="index.html">Начало</a></div></div><div style="background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div class="navLeft">KSquirrel Руководство Пользователя </div><div class="navRight"> Отличие KSquirrel от других просмотрщиков. Свои библиотеки.</div><div class="navCenter"><a accesskey="u" href="index.html">Уровень выше</a></div></div><br><br><div class="bannerBottom" style="background-image: url(help:/common/bottom-middle.png); background-repeat: x-repeat; width: 100%; height: 100px; bottom:0px;"><div class="BannerBottomRight"><img src="help:/common/bottom-right.png" style="margin: 0px" alt=""></div><div class="bannerBottomLeft"><img src="help:/common/bottom-left.png" style="margin: 0px;" alt=""></div><div id="comments" style="position:relative; top: 5px; left: 1em; height:85px; width: 50%; color: #cfe1f6"><p>Would you like to make a comment or contribute an update to this page?<br>
Send feedback to the <a href="mailto:kde-docs@kdemail.net" style="background:transparent; color:#cfe1f6; text-decoration: underline;">KDE Docs Team</a></p></div></div></body></html>

@ -0,0 +1,7 @@
<html><head><title>Глава 6. Лицензия, авторские права и благодарности</title><link rel="stylesheet" href="help:/common/kde-default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.67.2"><meta name="keywords" content="KDE, image, viewer, picture"><link rel="start" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="up" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="prev" href="running.html" title="Глава 5. Запуск KSquirrel из командной строки"><link rel="next" href="installation.html" title="Приложение A. Инсталляция"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.13 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div style="background-image: url(help:/common/top-middle.png); width: 100%; height: 131px;"><div style="position: absolute; right: 0px;"><img src="help:/common/top-right-konqueror.png" style="margin: 0px" alt=""></div><div style="position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444">Лицензия, авторские права и благодарности</div></div><div style="margin-top: 20px; background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="running.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="installation.html">След.</a></div><div class="navCenter"> </div></div><div class="chapter" lang="ru"><div class="titlepage"><div><div><h2 class="title"><a name="license"></a>Глава 6. Лицензия, авторские права и благодарности</h2></div><div><div class="authorgroup"><p class="author"><span class="firstname">Дмитрий</span> <span class="othername">Алексеевич</span> <span class="surname">Барышев</span> </p></div></div><div>Издание <span class="releaseinfo">0.3 (<span class="date">2007-03-10</span>)</span></div></div></div><p>
KSquirrel и ksquirrel-libs разработаны и сопровождаются (c) 2003-2007 Барышевым Дмитрием Алексеевичем. Русская версия данного документа создана (c) 2006 Барышевым Дмитрием Алексеевичем. Вы можете связаться со мной по электронному адресу <code class="email">(ksquirrel.iv AT gmail.com)</code>.
</p><div class="segmentedlist"><div class="seglistitem"><div class="seg"><strong><span class="segtitle">Лицензирование KSquirrel: </span></strong><p>Программа распространяется на условиях лицензии <a href="common/gpl-translated.html" target="_top">GNU General Public License</a>.</p>
</div><div class="seg"><strong><span class="segtitle">Лицензирование ksquirrel-libs: </span></strong>GNU LIBRARY GENERAL PUBLIC LICENSE v.2</div><div class="seg"><strong><span class="segtitle">Лицензирование этого документа: </span></strong><p><a name="gnu-fdl"></a>
Этот документ распространяется на условиях <a href="common/fdl-license.html" target="_top">GNU Free Documentation
License</a>.</p></div></div></div></div><div style="background-color: #white; color: black; margin-top: 20px; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="running.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="installation.html">След.</a></div><div align="center"><a accesskey="h" href="index.html">Начало</a></div></div><div style="background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div class="navLeft">Запуск KSquirrel из командной строки </div><div class="navRight"> Инсталляция</div><div class="navCenter"><a accesskey="u" href="index.html">Уровень выше</a></div></div><br><br><div class="bannerBottom" style="background-image: url(help:/common/bottom-middle.png); background-repeat: x-repeat; width: 100%; height: 100px; bottom:0px;"><div class="BannerBottomRight"><img src="help:/common/bottom-right.png" style="margin: 0px" alt=""></div><div class="bannerBottomLeft"><img src="help:/common/bottom-left.png" style="margin: 0px;" alt=""></div><div id="comments" style="position:relative; top: 5px; left: 1em; height:85px; width: 50%; color: #cfe1f6"><p>Would you like to make a comment or contribute an update to this page?<br>
Send feedback to the <a href="mailto:kde-docs@kdemail.net" style="background:transparent; color:#cfe1f6; text-decoration: underline;">KDE Docs Team</a></p></div></div></body></html>

Binary file not shown.

@ -0,0 +1,95 @@
<chapter id="running">
<chapterinfo>
<authorgroup>
<author>&Dmitry.Baryshev;</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>
<date>2007-03-10</date>
<releaseinfo>0.3</releaseinfo>
</chapterinfo>
<title>Запуск &kappname; из командной строки</title>
<sect1 id="running-arguments">
<title>Аргументы командной строки для &kappname; и &klibname;</title>
<sect2 id="running-arguments-ksquirrel">
<title>Аргументы командной строки для &kappname;</title>
<para>
Команда запуска &kappname; из командной строки выглядит так:
</para>
<cmdsynopsis>
<command>ksquirrel</command>
<group choice="opt"><option>-d</option></group>
<group choice="opt"><option>-l</option></group>
<group choice="opt"><option>--nodirectorybasket</option></group>
<group choice="opt"><option>--noimagebasket</option></group>
<group choice="opt"><option>--nocategories</option></group>
<group choice="opt"><option>--nomountview</option></group>
<arg><replaceable>файл</replaceable></arg>
</cmdsynopsis>
<para>
Параметр <command>-d</command> заставляет &kappname; отобразить в консоли доступные параметры DCOP.
</para>
<para>
Параметр <command>-l</command> указывает &kappname; вывести на экран список найденных кодеков и выйти. Этот параметр чисто информационный.
</para>
<para>
<command>--nodirectorybasket</command> не создавать корзину папок.
</para>
<para>
<command>--noimagebasket</command> не создавать корзину изображений.
</para>
<para>
<command>--nocategories</command> не создавать категории.
</para>
<para>
<command>--nomountview</command> не создавать просмотр точек монтирования.
</para>
<para>
Параметр <filename><replaceable>файл</replaceable></filename> заставляет &kappname; открыть указанный файл при запуске.
</para>
</sect2>
<sect2 id="running-examples">
<title>Примеры</title>
<itemizedlist>
<listitem><para>
Открыть при запуске изображение <filename><replaceable>/home/me/images/foto00054.jpg</replaceable></filename>
<cmdsynopsis>
<command>$ ksquirrel /home/me/images/foto00054.jpg</command>
</cmdsynopsis>
</para></listitem>
<listitem><para>
Отобразить при запуске доступные параметры DCOP
<cmdsynopsis>
<command>$ ksquirrel -d</command>
</cmdsynopsis>
</para></listitem>
</itemizedlist>
</sect2>
</sect1>
</chapter>

@ -0,0 +1,28 @@
<html><head><title>Глава 5. Запуск KSquirrel из командной строки</title><link rel="stylesheet" href="help:/common/kde-default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.67.2"><meta name="keywords" content="KDE, image, viewer, picture"><link rel="start" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="up" href="index.html" title="KSquirrel Руководство Пользователя"><link rel="prev" href="imagewindow.html" title="Глава 4. Окно просмотра изображения"><link rel="next" href="license.html" title="Глава 6. Лицензия, авторские права и благодарности"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="GENERATOR" content="KDE XSL Stylesheet V1.13 using libxslt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div style="background-image: url(help:/common/top-middle.png); width: 100%; height: 131px;"><div style="position: absolute; right: 0px;"><img src="help:/common/top-right-konqueror.png" style="margin: 0px" alt=""></div><div style="position: absolute; top: 25px; right: 100px; text-align: right; font-size: xx-large; font-weight: bold; text-shadow: #fff 0px 0px 5px; color: #444">Запуск KSquirrel из командной строки</div></div><div style="margin-top: 20px; background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="imagewindow.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="license.html">След.</a></div><div class="navCenter"> </div></div><div class="chapter" lang="ru"><div class="titlepage"><div><div><h2 class="title"><a name="running"></a>Глава 5. Запуск KSquirrel из командной строки</h2></div><div><div class="authorgroup"><p class="author"><span class="firstname">Дмитрий</span> <span class="othername">Алексеевич</span> <span class="surname">Барышев</span> </p></div></div><div>Издание <span class="releaseinfo">0.3 (<span class="date">2007-03-10</span>)</span></div></div></div><div class="sect1" lang="ru"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="running-arguments"></a>Аргументы командной строки для KSquirrel и ksquirrel-libs</h2></div></div></div><div class="sect2" lang="ru"><div class="titlepage"><div><div><h3 class="title"><a name="running-arguments-ksquirrel"></a>Аргументы командной строки для KSquirrel</h3></div></div></div><p>
Команда запуска KSquirrel из командной строки выглядит так:
</p><div class="cmdsynopsis"><p><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span><strong class="command">ksquirrel</strong></span></span> [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-d</code></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">-l</code></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">--nodirectorybasket</code></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">--noimagebasket</code></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">--nocategories</code></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="option"><code class="option">--nomountview</code></span>] [<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="replaceable"><em class="replaceable"><code>файл</code></em></span>]</p></div><p>
Параметр <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span><strong class="command">-d</strong></span></span> заставляет KSquirrel отобразить в консоли доступные параметры DCOP.
</p><p>
Параметр <span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span><strong class="command">-l</strong></span></span> указывает KSquirrel вывести на экран список найденных кодеков и выйти. Этот параметр чисто информационный.
</p><p>
<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span><strong class="command">--nodirectorybasket</strong></span></span> не создавать корзину папок.
</p><p>
<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span><strong class="command">--noimagebasket</strong></span></span> не создавать корзину изображений.
</p><p>
<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span><strong class="command">--nocategories</strong></span></span> не создавать категории.
</p><p>
<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span><strong class="command">--nomountview</strong></span></span> не создавать просмотр точек монтирования.
</p><p>
Параметр <code class="filename"><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="replaceable"><em class="replaceable"><code>файл</code></em></span></code> заставляет KSquirrel открыть указанный файл при запуске.
</p></div><div class="sect2" lang="ru"><div class="titlepage"><div><div><h3 class="title"><a name="running-examples"></a>Примеры</h3></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>
Открыть при запуске изображение <code class="filename"><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="replaceable"><em class="replaceable"><code>/home/me/images/foto00054.jpg</code></em></span></code>
<div class="cmdsynopsis"><p><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span><strong class="command">$ ksquirrel /home/me/images/foto00054.jpg</strong></span></span></p></div>
</p></li><li><p>
Отобразить при запуске доступные параметры DCOP
<div class="cmdsynopsis"><p><span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="command"><span><strong class="command">$ ksquirrel -d</strong></span></span></p></div>
</p></li></ul></div></div></div></div><div style="background-color: #white; color: black; margin-top: 20px; margin-left: 20px; margin-right: 20px;"><div style="position: absolute; left: 20px;"><a accesskey="p" href="imagewindow.html">Пред.</a></div><div style="position: absolute; right: 20px;"><a accesskey="n" href="license.html">След.</a></div><div align="center"><a accesskey="h" href="index.html">Начало</a></div></div><div style="background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><div class="navLeft">Окно просмотра изображения </div><div class="navRight"> Лицензия, авторские права и благодарности</div><div class="navCenter"><a accesskey="u" href="index.html">Уровень выше</a></div></div><br><br><div class="bannerBottom" style="background-image: url(help:/common/bottom-middle.png); background-repeat: x-repeat; width: 100%; height: 100px; bottom:0px;"><div class="BannerBottomRight"><img src="help:/common/bottom-right.png" style="margin: 0px" alt=""></div><div class="bannerBottomLeft"><img src="help:/common/bottom-left.png" style="margin: 0px;" alt=""></div><div id="comments" style="position:relative; top: 5px; left: 1em; height:85px; width: 50%; color: #cfe1f6"><p>Would you like to make a comment or contribute an update to this page?<br>
Send feedback to the <a href="mailto:kde-docs@kdemail.net" style="background:transparent; color:#cfe1f6; text-decoration: underline;">KDE Docs Team</a></p></div></div></body></html>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -0,0 +1,168 @@
* fmt_filters is a regular C++ namespace.
* it is a set of image filters, written on pure C++.
* it is intended to create platform-independed filters, which can be used anywhere -
in KDE, GNOME, ... apps.
* these source files are distributed with ksquirrel from http://ksquirrel.sf.net.
* you can find the latest version of fmt_filters at http://ksquirrel.sf.net/subprojects.php.
* fmt_filters work with 32-bit image data.
* to use it in your project, simply add fmt_filters sources to your project.
* fmt_filters is distributed under the terms of LGPL. See COPYING for details.
* at this time fmt_filters supports the following filters:
- colorize
- brightness
- contrast
- gamma
- negative
- swap RGB values
- blend
- fade
- togray
- desaturate
- threshold
- solarize
- spread
- swirl
- noise
- flatten
- wave
- shade
- equalize
- blur
- despeckle
- implode
- edge
- emboss
- sharpen
- oil
- redeye
-------------------------------------------------------------------
Copyrights:
* redeye
--------
Red-eye removal was taken from "redeye" plugin for GIMP
/* redeye.c: redeye remover plugin code
*
* Copyright (C) 2004 Robert Merkel <robert.merkel@benambra.org> (the "Author").
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Except as contained in this notice, the name of the Author of the
* Software shall not be used in advertising or otherwise to promote the
* sale, use or other dealings in this Software without prior written
* authorization from the Author.
1;3B */
* most image processing filters ported from KImageEffect (KDE project, http://kde.org)
--------------------------------------------------------------------------------------
/* This file is part of the KDE libraries
Copyright (C) 1998, 1999, 2001, 2002 Daniel M. Duley <mosfet@kde.org>
(C) 1998, 1999 Christian Tibirna <ctibirna@total.net>
(C) 1998, 1999 Dirk A. Mueller <mueller@kde.org>
(C) 1999 Geert Jansen <g.t.jansen@stud.tue.nl>
(C) 2000 Josef Weidendorfer <weidendo@in.tum.de>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
//
// ===================================================================
// Effects originally ported from ImageMagick for PixiePlus, plus a few
// new ones. (mosfet 05/26/2003)
// ===================================================================
//
/*
Portions of this software are based on ImageMagick. Such portions are clearly
marked as being ported from ImageMagick. ImageMagick is copyrighted under the
following conditions:
Copyright (C) 2003 ImageMagick Studio, a non-profit organization dedicated to
making software imaging solutions freely available.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files ("ImageMagick"), to deal
in ImageMagick without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of ImageMagick, and to permit persons to whom the ImageMagick is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of ImageMagick.
The software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall
ImageMagick Studio be liable for any claim, damages or other liability,
whether in an action of contract, tort or otherwise, arising from, out of or
in connection with ImageMagick or the use or other dealings in ImageMagick.
Except as contained in this notice, the name of the ImageMagick Studio shall
not be used in advertising or otherwise to promote the sale, use or other
dealings in ImageMagick without prior written authorization from the
ImageMagick Studio.
*/
-------------------------------------------------------------------
Qt example:
-----------
QImage im;
im.load("sample.png");
im = im.convertDepth(32);
fmt_filters::image img(sample.bits(), sample.width(), sample.height());
fmt_filters::implode(img, 50, fmt_filters::white);
QPixmap p;
p.convertFromImage(im);
pixmapLabel->setPixmap(p);

File diff suppressed because it is too large Load Diff

@ -0,0 +1,17 @@
<?xml version = '1.0' encoding = 'UTF-8'?>
<!DOCTYPE KDevPrjSession>
<KDevPrjSession>
<LastCompileConfig>(Default)</LastCompileConfig>
<Mainframe MaximizeMode="1" />
<DocsAndViews NumberOfDocuments="3" >
<Doc0 CursorPosLine="1130" Type="KWriteDoc" NumberOfViews="1" CursorPosCol="19" FileName="/home/ckult/MyProjects/ksquirrel-0.8.0/ksquirrel/ksquirrel.cpp" >
<View0 Top="0" Width="1002" Attach="1" Height="615" Left="0" Focus="0" Type="KWriteView" MinMaxMode="0" />
</Doc0>
<Doc1 CursorPosLine="1777" Type="KWriteDoc" NumberOfViews="1" CursorPosCol="54" FileName="/home/ckult/MyProjects/ksquirrel-0.8.0/ksquirrel/sq_glwidget_stuff.cpp" >
<View0 Top="0" Width="96" Attach="1" Height="26" Left="0" Focus="0" Type="KWriteView" MinMaxMode="0" />
</Doc1>
<Doc2 CursorPosLine="269" Type="KWriteDoc" NumberOfViews="1" CursorPosCol="23" FileName="/home/ckult/MyProjects/ksquirrel-0.8.0/ksquirrel/sq_glwidget.h" >
<View0 Top="0" Width="1002" Attach="1" Height="615" Left="0" Focus="1" Type="KWriteView" MinMaxMode="0" />
</Doc2>
</DocsAndViews>
</KDevPrjSession>

@ -0,0 +1,14 @@
Begin4
Title: KSquirrel
Version: 0.7.3
Entered-date: Dec 10, 2003
Description: Image viewer for KDE
Keywords:
Author: Baryshev Dmitry <ksquirrel@mail.ru>
Maintained-by: Baryshev Dmitry <ksquirrel@mail.ru>
Primary-site:
Home-page: http://ksquirrel.sf.net
Original-site: http://ksquirrel.sf.net
Platforms: Linux and other Unices
Copying-policy: GNU General Public License
End

@ -0,0 +1,102 @@
####### kdevelop will overwrite this part!!! (begin)##########
bin_PROGRAMS = ksquirrel
## INCLUDES were found outside kdevelop specific part
ksquirrel_SOURCES = sq_slideshowwidget.cpp sq_slideshow.ui sq_slideshowlisting.ui fmt_filters.cpp sq_glwidget_stuff.cpp sq_tabopendialog.ui sq_dragprovider.cpp sq_utils_scale.cpp sq_utils.cpp sq_thumbnailsunused.cpp sq_dirthumbs.cpp sq_downloader.cpp sq_glselectionpainter.cpp sq_glwidget.cpp sq_glparts.cpp sq_codecsettings.cpp sq_filedialog.cpp sq_codecsettingsskeleton.ui sq_kipimanager.cpp sq_kipiinterface.cpp sq_progressbox.cpp sq_thumbnailloadjob.cpp sq_splashscreen.cpp sq_popupmenu.cpp sq_glinfo.ui sq_glwidget_helpers.cpp sq_imageloader.cpp sq_pluginsinfo.ui sq_iconloader.cpp sq_selectdeselectgroup.ui sq_thumbnailcachemaster.ui sq_errorstring.cpp sq_navigatordropmenu.cpp sq_fileiconviewbase.cpp sq_helpwidget.ui sq_glview.cpp sq_viewcache.ui sq_filethumbviewitem.cpp sq_progress.cpp sq_thumbnailsize.cpp sq_pixmapcache.cpp sq_filethumbview.cpp sq_dir.cpp sq_iconlistbox.cpp sq_iconlistitem.cpp sq_widgetstack.cpp sq_options.ui sq_libraryhandler.cpp sq_imageproperties.ui sq_hloptions.cpp sq_glu.cpp sq_filters.ui sq_fileiconview.cpp sq_filedetailview.cpp sq_externaltools.ui sq_externaltool.cpp sq_diroperator.cpp sq_config.cpp sq_bookmarkowner.cpp sq_archivehandler.cpp ksquirrel.cpp main.cpp
ksquirrel_LDADD = ./sidebar/libsidebar.a ./imageedit/libimageedit.a $(KDE_LDFLAGS) $(QT_LDFLAGS) $(LIB_KDEPRINT) $(LIB_KUTILS) $(LIB_KIO) $(ksquirrellibs_LIBS) -lkonq -lqui $(LIB_KFILE) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) $(LIBSOCKET)
SUBDIRS = sidebar imageedit mime
EXTRA_DIST = main.cpp ksquirrel.cpp ksquirrel.h hi32-app-ksquirrel.png hi16-app-ksquirrel.png sq_archivehandler.cpp sq_archivehandler.h sq_bookmarkowner.cpp sq_bookmarkowner.h sq_config.cpp sq_config.h sq_diroperator.cpp sq_diroperator.h sq_externaltool.cpp sq_externaltool.h sq_externaltools.ui sq_filedetailview.cpp sq_filedetailview.h sq_fileiconview.cpp sq_fileiconview.h sq_filters.ui sq_glu.cpp sq_glu.h sq_hloptions.cpp sq_hloptions.h sq_imageproperties.ui sq_libraryhandler.cpp sq_libraryhandler.h sq_options.ui sq_widgetstack.cpp sq_widgetstack.h sq_iconlistitem.cpp sq_iconlistitem.h sq_iconlistbox.cpp sq_iconlistbox.h sq_dir.cpp sq_dir.h sq_filethumbview.cpp sq_filethumbview.h sq_pixmapcache.cpp sq_pixmapcache.h sq_thumbnailsize.cpp sq_thumbnailsize.h sq_progress.cpp sq_progress.h sq_thumbnailinfo.h sq_filethumbviewitem.cpp sq_filethumbviewitem.h sq_viewcache.ui sq_glview.cpp sq_glview.h sq_helpwidget.ui sq_fileiconviewbase.cpp sq_fileiconviewbase.h sq_navigatordropmenu.cpp sq_navigatordropmenu.h sq_errorstring.cpp sq_errorstring.h fmt_filters.h sq_thumbnailcachemaster.ui sq_glwidget_helpers.h sq_library.h sq_selectdeselectgroup.ui sq_iconloader.cpp sq_iconloader.h sq_pluginsinfo.ui sq_iconloader_pixmaps.h sq_imageloader.cpp sq_imageloader.h sq_glwidget_helpers.cpp file_broken.xpm sq_glinfo.ui sq_popupmenu.cpp sq_popupmenu.h sq_splashscreen.cpp sq_splashscreen.h sq_thumbnailloadjob.cpp sq_thumbnailloadjob.h sq_progressbox.cpp sq_progressbox.h sq_kipiinterface.cpp sq_kipiinterface.h sq_kipimanager.cpp sq_kipimanager.h sq_codecsettingsskeleton.ui sq_codecsettingsskeleton.ui.h sq_filedialog.cpp sq_filedialog.h sq_codecsettings.cpp sq_codecsettings.h sq_glparts.cpp sq_glparts.h sq_glwidget.cpp sq_glwidget.h sq_slideshowwidget.h sq_glselectionpainter.cpp sq_glselectionpainter.h sq_downloader.cpp sq_downloader.h sq_dirthumbs.cpp sq_dirthumbs.h sq_thumbnailsunused.cpp sq_thumbnailsunused.h sq_slideshowlisting.ui.h sq_utils.cpp sq_utils.h konqksquirrel-dir.desktop sq_utils_asm_scale.S sq_utils_scale.cpp sq_dragprovider.cpp sq_dragprovider.h sq_tabopendialog.ui sq_glwidget_stuff.cpp dolphksquirrel-dir.desktop fmt_filters.cpp sq_slideshowlisting.ui sq_slideshow.ui sq_slideshowwidget.cpp
install-data-local:
$(mkinstalldirs) $(kde_icondir)/hicolor/32x32/apps/
$(INSTALL_DATA) $(srcdir)/hi32-app-ksquirrel.png $(kde_icondir)/hicolor/32x32/apps/ksquirrel.png
$(mkinstalldirs) $(kde_icondir)/hicolor/16x16/apps/
$(INSTALL_DATA) $(srcdir)/hi16-app-ksquirrel.png $(kde_icondir)/hicolor/16x16/apps/ksquirrel.png
$(mkinstalldirs) $(kde_datadir)/konqueror/servicemenus/
$(INSTALL_DATA) $(srcdir)/konqksquirrel-dir.desktop $(kde_datadir)/konqueror/servicemenus/konqksquirrel-dir.desktop
$(mkinstalldirs) $(kde_datadir)/dolphin/servicemenus/
$(INSTALL_DATA) $(srcdir)/dolphksquirrel-dir.desktop $(kde_datadir)/dolphin/servicemenus/dolphksquirrel-dir.desktop
uninstall-local:
-rm -f $(kde_icondir)/hicolor/32x32/apps/ksquirrel.png
-rm -f $(kde_icondir)/hicolor/16x16/apps/ksquirrel.png
-rm -f $(kde_datadir)/konqueror/servicemenus/konqksquirrel-dir.desktop
-rm -f $(kde_datadir)/dolphin/servicemenus/dolphksquirrel-dir.desktop
####### kdevelop will overwrite this part!!! (end)############
xdg_apps_DATA = ksquirrel.desktop
# do we have KPart enabled ?
if SQ_HAVE_KPART
SUBDIRS += ksquirrelpart
endif
if SQ_HAVE_KLCONF
SUBDIRS += ksquirrel-libs-configurator
endif
METASOURCES = AUTO
ksquirrel_SOURCES += sq_utils_asm_scale.S
AM_CCASFLAGS = -I$(srcdir) $(KSQUIRREL_ASM_DEFS)
INCLUDES = $(all_includes) -I$(srcdir) -I$(top_srcdir)/ksquirrel/sidebar -I$(top_srcdir)/ksquirrel/imageedit
# ksquirrelpart
# These paths are KDE specific. Use them:
# kde_appsdir Where your application's menu entry (.desktop) should go to.
# kde_icondir Where your icon should go to - better use KDE_ICON.
# kde_sounddir Where your sounds should go to.
# kde_htmldir Where your docs should go to. (contains lang subdirs)
# kde_datadir Where you install application data. (Use a subdir)
# kde_locale Where translation files should go to. (contains lang subdirs)
# kde_cgidir Where cgi-bin executables should go to.
# kde_confdir Where config files should go to (system-wide ones with default values).
# kde_mimedir Where mimetypes .desktop files should go to.
# kde_servicesdir Where services .desktop files should go to.
# kde_servicetypesdir Where servicetypes .desktop files should go to.
# kde_toolbardir Where general toolbar icons should go to (deprecated, use KDE_ICON).
# kde_wallpaperdir Where general wallpapers should go to.
# kde_templatesdir Where templates for the "New" menu (Konqueror/KDesktop) should go to.
# kde_bindir Where executables should go to. Use bin_PROGRAMS or bin_SCRIPTS.
# kde_libdir Where shared libraries should go to. Use lib_LTLIBRARIES.
# kde_moduledir Where modules (e.g. parts) should go to. Use kde_module_LTLIBRARIES.
# kde_styledir Where Qt/KDE widget styles should go to (new in KDE 3).
# kde_designerdir Where Qt Designer plugins should go to (new in KDE 3).
AM_CXXFLAGS =
AM_LDFLAGS =
if SQ_HAVE_KIPI
AM_CXXFLAGS += $(libkipi_CFLAGS)
AM_LDFLAGS += $(libkipi_LIBS)
endif
if SQ_HAVE_KEXIF
AM_CXXFLAGS += $(libkexif_CFLAGS)
AM_LDFLAGS += $(libkexif_LIBS)
endif
# Uncomment the following two lines if you add a ui.rc file for your application to make use of
# KDE?s XML GUI builing
#rcdir = $(kde_datadir)/ksquirrel
#rc_DATA = ksquirrelui.rc
#WARNING: if you use a ui.rc file above, use:
# messages: rc.cpp
# instead of
# messages:
messages:
LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
if test -n "$$LIST"; then \
$(XGETTEXT) $$LIST -o $(podir)/ksquirrel.pot; \
fi

@ -0,0 +1,14 @@
[Desktop Entry]
ServiceTypes=inode/directory
Actions=KSquirrel;
Encoding=UTF-8
Type=Application
[Desktop Action KSquirrel]
Type=Application
Icon=ksquirrel
Exec=ksquirrel %u
Name=Browse with KSquirrel
Name[ru]=Просмотреть в KSquirrel
Name[de]=Mit KSquirrel durchsehen

@ -0,0 +1,831 @@
/* XPM */
static const char * file_broken_xpm[] = {
"64 64 764 2",
" c None",
". c #A5A9AA",
"+ c #A4A8A9",
"@ c #A3A7A8",
"# c #A2A6A7",
"$ c #A1A5A6",
"% c #A0A4A5",
"& c #9FA3A4",
"* c #9EA2A3",
"= c #9DA1A2",
"- c #9CA0A1",
"; c #9B9FA0",
"> c #9A9E9F",
", c #999D9E",
"' c #989C9D",
") c #979B9C",
"! c #969A9B",
"~ c #95999A",
"{ c #949899",
"] c #939798",
"^ c #929697",
"/ c #919596",
"( c #909495",
"_ c #8F9394",
": c #8E9293",
"< c #8D9192",
"[ c #8C9091",
"} c #8B8F90",
"| c #8A8E8F",
"1 c #898D8E",
"2 c #888C8D",
"3 c #878B8C",
"4 c #A6AAAB",
"5 c #ACB7BF",
"6 c #B3C4D4",
"7 c #B2C3D3",
"8 c #B1C2D2",
"9 c #B0C1D1",
"0 c #AFC0D0",
"a c #AEBFCF",
"b c #ADBECE",
"c c #ACBDCD",
"d c #ABBCCC",
"e c #AABBCB",
"f c #A9BACA",
"g c #A8B9C9",
"h c #A7B8C8",
"i c #A6B7C7",
"j c #A5B6C6",
"k c #A4B5C5",
"l c #95A0A8",
"m c #868A8B",
"n c #B0BECA",
"o c #C2E0FF",
"p c #D1E7FF",
"q c #D0E7FF",
"r c #CFE7FF",
"s c #CFE6FF",
"t c #9CAAB6",
"u c #828687",
"v c #C0DCF9",
"w c #E4F1FF",
"x c #FFFFFF",
"y c #FEFFFF",
"z c #FEFEFF",
"A c #FDFEFF",
"B c #FCFEFF",
"C c #FBFDFF",
"D c #FAFDFF",
"E c #FAFCFF",
"F c #F9FCFF",
"G c #F8FCFF",
"H c #F8FBFF",
"I c #F7FBFF",
"J c #F6FAFF",
"K c #F5FAFF",
"L c #DEEEFF",
"M c #BEDAF7",
"N c #85898A",
"O c #E8F3FF",
"P c #EFF7FF",
"Q c #F4FAFF",
"R c #E7F3FF",
"S c #F3F9FF",
"T c #E6F2FF",
"U c #F2F8FF",
"V c #E5F2FF",
"W c #F1F8FF",
"X c #FAEFEF",
"Y c #EAAFAF",
"Z c #EFCECF",
"` c #EECDCF",
" . c #CA3434",
".. c #C21616",
"+. c #E59F9F",
"@. c #BD1C1C",
"#. c #BC1C1C",
"$. c #EDCDCF",
"%. c #F0F8FF",
"&. c #FBEFEF",
"*. c #CB3434",
"=. c #DE3939",
"-. c #F64747",
";. c #C61A1A",
">. c #BE1C1C",
",. c #E83D3D",
"'. c #E73C3C",
"). c #BC1B1B",
"!. c #ECCDCF",
"~. c #F0F7FF",
"{. c #E3F1FF",
"]. c #CC3434",
"^. c #DF3939",
"/. c #FF6969",
"(. c #FF7A7A",
"_. c #F0CECF",
":. c #BF1C1C",
"<. c #FB6363",
"[. c #FB6161",
"}. c #E73737",
"|. c #BC1A1A",
"1. c #EBCCCF",
"2. c #CD3434",
"3. c #FFA3A3",
"4. c #FF8080",
"5. c #C01C1C",
"6. c #FB9E9E",
"7. c #FB9D9D",
"8. c #FB5E5E",
"9. c #E73333",
"0. c #BC1919",
"a. c #EBCBCF",
"b. c #E0EFFF",
"c. c #B5D9FF",
"d. c #CE3434",
"e. c #E03939",
"f. c #FF6868",
"g. c #FFA1A1",
"h. c #FE7F7F",
"i. c #F54747",
"j. c #E59E9F",
"k. c #C11C1C",
"l. c #E93D3D",
"m. c #FB6362",
"n. c #FB9C9C",
"o. c #FB9B9B",
"p. c #FB9A9A",
"q. c #FA9999",
"r. c #FA5A59",
"s. c #E62F2F",
"t. c #BC1819",
"u. c #EACBCF",
"v. c #EBF5FF",
"w. c #E5F1FF",
"x. c #99CCFF",
"y. c #CF3434",
"z. c #E13939",
"A. c #FE6665",
"B. c #FE9C9B",
"C. c #FE7C7A",
"D. c #DC7F7F",
"E. c #C21C1C",
"F. c #FC6160",
"G. c #FB9796",
"H. c #FB9695",
"I. c #FB9594",
"J. c #FB9493",
"K. c #FA9392",
"L. c #FA9291",
"M. c #F94242",
"N. c #E62B2B",
"O. c #BC1818",
"P. c #E9CBCF",
"Q. c #EDF6FF",
"R. c #E9F4FF",
"S. c #E2F0FF",
"T. c #D03434",
"U. c #E23939",
"V. c #FE6463",
"W. c #FE9794",
"X. c #FD7876",
"Y. c #F44646",
"Z. c #C82222",
"`. c #EA3D3D",
" + c #FC5F5D",
".+ c #FD928F",
"++ c #FD918E",
"@+ c #FD908D",
"#+ c #FC8F8C",
"$+ c #FC8E8B",
"%+ c #FC8D8A",
"&+ c #FB8683",
"*+ c #F93434",
"=+ c #F82C2C",
"-+ c #E52727",
";+ c #BC1717",
">+ c #E8CBCF",
",+ c #E1F0FF",
"'+ c #D13434",
")+ c #FE6260",
"!+ c #FE918D",
"~+ c #FD7370",
"{+ c #FC5D5B",
"]+ c #FD8D88",
"^+ c #FD8C87",
"/+ c #FD8A86",
"(+ c #FC8985",
"_+ c #FC8884",
":+ c #FC8783",
"<+ c #FC8682",
"[+ c #FA6462",
"}+ c #F82A2A",
"|+ c #F82727",
"1+ c #E52323",
"2+ c #BC1616",
"3+ c #E7CACF",
"4+ c #EFF6FF",
"5+ c #E6F3FF",
"6+ c #CEE6FF",
"7+ c #D23434",
"8+ c #E33939",
"9+ c #FE5C5A",
"0+ c #FE8C87",
"a+ c #FE8C86",
"b+ c #FD8B85",
"c+ c #FD8984",
"d+ c #FC7672",
"e+ c #FD8782",
"f+ c #FD8681",
"g+ c #FD8580",
"h+ c #FC847F",
"i+ c #FC837E",
"j+ c #FC827D",
"k+ c #FC817B",
"l+ c #FC807A",
"m+ c #F83636",
"n+ c #F72525",
"o+ c #F72323",
"p+ c #E41F1F",
"q+ c #BA1313",
"r+ c #EAD9DF",
"s+ c #EBF4FF",
"t+ c #CDE6FF",
"u+ c #DC5F5F",
"v+ c #D92C2C",
"w+ c #FC4B4A",
"x+ c #FE7B76",
"y+ c #FE8780",
"z+ c #FD8780",
"A+ c #FD8680",
"B+ c #FD857F",
"C+ c #FD847D",
"D+ c #FC837C",
"E+ c #FC827B",
"F+ c #FC817A",
"G+ c #FC8079",
"H+ c #FC7F78",
"I+ c #FC7E77",
"J+ c #FB7D76",
"K+ c #FB7C75",
"L+ c #FB7A74",
"M+ c #F95C58",
"N+ c #F62121",
"O+ c #D71919",
"P+ c #C13031",
"Q+ c #EBE7EF",
"R+ c #DFEFFF",
"S+ c #FC4A4A",
"T+ c #FE7770",
"U+ c #FD8179",
"V+ c #FD8078",
"W+ c #FD7F77",
"X+ c #FC7E76",
"Y+ c #FC7D75",
"Z+ c #FC7C74",
"`+ c #FC7A72",
" @ c #FC7971",
".@ c #FC7870",
"+@ c #FB776F",
"@@ c #FB766E",
"#@ c #FB756D",
"$@ c #FA6F68",
"%@ c #F82E2E",
"&@ c #C23031",
"*@ c #EAE7EF",
"=@ c #CCE5FF",
"-@ c #FC4A49",
";@ c #FD726B",
">@ c #FD7C73",
",@ c #FD7A71",
"'@ c #FD7970",
")@ c #FC786F",
"!@ c #FC776E",
"~@ c #FC766D",
"{@ c #FC756C",
"]@ c #FC746B",
"^@ c #FC736A",
"/@ c #FB7269",
"(@ c #FB7168",
"_@ c #FB7066",
":@ c #FB6E65",
"<@ c #F83F3C",
"[@ c #D81919",
"}@ c #C33031",
"|@ c #E8E6EF",
"1@ c #DDEEFF",
"2@ c #CBE5FF",
"3@ c #FB4A49",
"4@ c #FC6E65",
"5@ c #FC776C",
"6@ c #FC766C",
"7@ c #FC756B",
"8@ c #FC746A",
"9@ c #FC7369",
"0@ c #FC7267",
"a@ c #FC7166",
"b@ c #FC7065",
"c@ c #FB6F64",
"d@ c #FB6E63",
"e@ c #FB6D62",
"f@ c #FB6B61",
"g@ c #FB6A60",
"h@ c #FA695F",
"i@ c #F94944",
"j@ c #D91919",
"k@ c #C43031",
"l@ c #DCEDFF",
"m@ c #CBE4FF",
"n@ c #FA4949",
"o@ c #FC6960",
"p@ c #FC7064",
"q@ c #FC6F63",
"r@ c #FC6E62",
"s@ c #FC6D61",
"t@ c #FC6C60",
"u@ c #FC6A5F",
"v@ c #FB695D",
"w@ c #FB685C",
"x@ c #FB675B",
"y@ c #FB665A",
"z@ c #FB6559",
"A@ c #FA6458",
"B@ c #F94641",
"C@ c #C53031",
"D@ c #E7E5EF",
"E@ c #DBEDFF",
"F@ c #CAE4FF",
"G@ c #DB5F5F",
"H@ c #D82C2C",
"I@ c #FA4646",
"J@ c #FC6258",
"K@ c #FC685B",
"L@ c #FC675A",
"M@ c #FC6659",
"N@ c #FC6558",
"O@ c #FB6457",
"P@ c #FB6356",
"Q@ c #FB6255",
"R@ c #FB6154",
"S@ c #FB6053",
"T@ c #FA5B4F",
"U@ c #F83A36",
"V@ c #DA1919",
"W@ c #C52F31",
"X@ c #C9E4FF",
"Y@ c #F3CECF",
"Z@ c #CB0C0C",
"`@ c #F04242",
" # c #FB4F48",
".# c #FB6253",
"+# c #FB6152",
"@# c #FB6051",
"## c #FB5E50",
"$# c #FB5D4F",
"%# c #FA5C4E",
"&# c #FA5B4D",
"*# c #FA5A4C",
"=# c #F94B41",
"-# c #F11F1F",
";# c #C70C0C",
"># c #D5898F",
",# c #DAECFF",
"'# c #CF1C1C",
")# c #ED3D3D",
"!# c #FB4B45",
"~# c #FB5C4D",
"{# c #FB5B4C",
"]# c #FB5A4B",
"^# c #FB594A",
"/# c #FB5849",
"(# c #FA5748",
"_# c #FA5646",
":# c #F95244",
"<# c #F83834",
"[# c #F72A2A",
"}# c #F61F1F",
"|# c #F31D1D",
"1# c #E91A1A",
"2# c #C50909",
"3# c #D7989F",
"4# c #D9ECFF",
"5# c #C8E3FF",
"6# c #D01C1C",
"7# c #EE3D3D",
"8# c #FB4943",
"9# c #FB5948",
"0# c #FB5847",
"a# c #FB5746",
"b# c #FB5545",
"c# c #FA5444",
"d# c #FA5343",
"e# c #F95242",
"f# c #F8463B",
"g# c #F62E2D",
"h# c #F52A2A",
"i# c #F52727",
"j# c #F52525",
"k# c #F52323",
"l# c #F51F1F",
"m# c #F11D1D",
"n# c #EF1A1A",
"o# c #EF1818",
"p# c #E91616",
"q# c #C50707",
"r# c #D6979F",
"s# c #D8EBFF",
"t# c #F4CECF",
"u# c #D11C1C",
"v# c #FA5545",
"w# c #F95343",
"x# c #F85041",
"y# c #F53934",
"z# c #F32C2C",
"A# c #F12A2A",
"B# c #F12727",
"C# c #F12525",
"D# c #F12323",
"E# c #F22121",
"F# c #EE1D1D",
"G# c #EE1A1A",
"H# c #EE1616",
"I# c #ED1414",
"J# c #E71212",
"K# c #C50606",
"L# c #D5979F",
"M# c #D7EBFF",
"N# c #C7E3FF",
"O# c #D31C1C",
"P# c #EF3D3D",
"Q# c #F95444",
"R# c #F85343",
"S# c #F6493D",
"T# c #F2302F",
"U# c #F02C2C",
"V# c #EF2A2A",
"W# c #EE2727",
"X# c #EE2525",
"Y# c #ED2323",
"Z# c #EE2121",
"`# c #EB1F1F",
" $ c #E91D1D",
".$ c #EA1A1A",
"+$ c #EB1818",
"@$ c #EC1616",
"#$ c #ED1212",
"$$ c #ED0F0F",
"%$ c #E70D0D",
"&$ c #C50404",
"*$ c #D4969F",
"=$ c #D6EAFF",
"-$ c #C6E2FF",
";$ c #D41C1C",
">$ c #F4433A",
",$ c #F02E2E",
"'$ c #EE2C2C",
")$ c #EC2A2A",
"!$ c #EB2727",
"~$ c #EB2525",
"{$ c #EA2323",
"]$ c #E92121",
"^$ c #E51F1F",
"/$ c #E51D1D",
"($ c #E51A1A",
"_$ c #E71818",
":$ c #E71616",
"<$ c #E91414",
"[$ c #EA1212",
"}$ c #EC0F0F",
"|$ c #EC0D0D",
"1$ c #EB0B0B",
"2$ c #E50909",
"3$ c #C50202",
"4$ c #D3969F",
"5$ c #D5EAFF",
"6$ c #EEF6FF",
"7$ c #FAEEEF",
"8$ c #D31414",
"9$ c #EB3D3D",
"0$ c #FB4843",
"a$ c #F75343",
"b$ c #F23D37",
"c$ c #EF2E2E",
"d$ c #EC2C2C",
"e$ c #EA2A2A",
"f$ c #E92727",
"g$ c #E82525",
"h$ c #E62323",
"i$ c #E32121",
"j$ c #E11F1F",
"k$ c #E11D1D",
"l$ c #E11A1A",
"m$ c #E21818",
"n$ c #E31616",
"o$ c #E41414",
"p$ c #E61212",
"q$ c #E70F0F",
"r$ c #E90D0D",
"s$ c #EA0909",
"t$ c #EA0707",
"u$ c #E30404",
"v$ c #C00000",
"w$ c #D8C2CF",
"x$ c #C5E2FF",
"y$ c #EB9E9F",
"z$ c #D71818",
"A$ c #F53F3E",
"B$ c #FB5245",
"C$ c #EE2E2E",
"D$ c #EB2C2C",
"E$ c #E92A2A",
"F$ c #E72727",
"G$ c #E52525",
"H$ c #E22323",
"I$ c #DE2121",
"J$ c #DD1F1F",
"K$ c #DD1D1D",
"L$ c #DD1A1A",
"M$ c #DD1818",
"N$ c #DE1616",
"O$ c #DF1414",
"P$ c #E11212",
"Q$ c #E20F0F",
"R$ c #E40D0D",
"S$ c #E60B0B",
"T$ c #E80909",
"U$ c #E80404",
"V$ c #CE0202",
"W$ c #C9595F",
"X$ c #D4E9FF",
"Y$ c #C4E1FF",
"Z$ c #EA9E9F",
"`$ c #D71616",
" % c #F53B3A",
".% c #FA4F42",
"+% c #F3433A",
"@% c #E82A2A",
"#% c #E62727",
"$% c #E22525",
"%% c #DD2323",
"&% c #DB2121",
"*% c #CE1D1D",
"=% c #D71D1D",
"-% c #D81A1A",
";% c #D91818",
">% c #D91616",
",% c #DB1414",
"'% c #DC1212",
")% c #DE0F0F",
"!% c #DF0D0D",
"~% c #E20B0B",
"{% c #E40909",
"]% c #E60707",
"^% c #E70404",
"/% c #CF0202",
"(% c #CA595F",
"_% c #D3E9FF",
":% c #EDF5FF",
"<% c #EA9D9F",
"[% c #D71414",
"}% c #F33735",
"|% c #F84D40",
"1% c #F64E3F",
"2% c #E42727",
"3% c #DE2525",
"4% c #DB2323",
"5% c #D92121",
"6% c #CA1919",
"7% c #C91111",
"8% c #C61010",
"9% c #D31818",
"0% c #D51616",
"a% c #D61414",
"b% c #D71212",
"c% c #D90F0F",
"d% c #DB0D0D",
"e% c #DD0B0B",
"f% c #DF0909",
"g% c #E10707",
"h% c #E20404",
"i% c #CB595F",
"j% c #D2E8FF",
"k% c #C3E1FF",
"l% c #ECF5FF",
"m% c #E99D9F",
"n% c #D61313",
"o% c #EE3231",
"p% c #F13230",
"q% c #E62A2A",
"r% c #E22727",
"s% c #D82121",
"t% c #C91919",
"u% c #CF2F31",
"v% c #E7E4EF",
"w% c #D45B5F",
"x% c #C40E0E",
"y% c #D01414",
"z% c #D21212",
"A% c #D40F0F",
"B% c #D60D0D",
"C% c #D80B0B",
"D% c #DA0909",
"E% c #DC0707",
"F% c #DE0404",
"G% c #CC0202",
"H% c #CC595F",
"I% c #D1E8FF",
"J% c #C2E1FF",
"K% c #F7FAFF",
"L% c #E79C9F",
"M% c #D41111",
"N% c #E72C2C",
"O% c #E32727",
"P% c #DF2525",
"Q% c #D35B5F",
"R% c #C30B0B",
"S% c #CE0F0F",
"T% c #D10D0D",
"U% c #D30B0B",
"V% c #D50909",
"W% c #D80707",
"X% c #D90404",
"Y% c #CA0202",
"Z% c #CD595F",
"`% c #ADD6FF",
" & c #F4F9FF",
".& c #E49A9F",
"+& c #D20F0F",
"@& c #E12727",
"#& c #E12525",
"$& c #CB1919",
"%& c #D12F31",
"&& c #D25A5F",
"*& c #C20808",
"=& c #CD0B0B",
"-& c #D10909",
";& c #D30707",
">& c #D50404",
",& c #C80202",
"'& c #CE595F",
")& c #C1E0FF",
"!& c #DEEFFF",
"~& c #F2F9FF",
"{& c #E39A9F",
"]& c #D00E0E",
"^& c #CD1919",
"/& c #D22F31",
"(& c #C30505",
"_& c #CE0707",
":& c #D00404",
"<& c #C60202",
"[& c #C0DFFF",
"}& c #EEF7FF",
"|& c #E2999F",
"1& c #CF0C0C",
"2& c #CF1919",
"3& c #D32F31",
"4& c #D15A5F",
"5& c #C40303",
"6& c #CF595F",
"7& c #ECF6FF",
"8& c #E1999F",
"9& c #D52D2F",
"0& c #D1595F",
"a& c #D0595F",
"b& c #BFDFFF",
"c& c #EAF4FF",
"d& c #BFDEFF",
"e& c #BEDEFF",
"f& c #CAE5FF",
"g& c #BDDEFF",
"h& c #BCDDFF",
"i& c #BBDDFF",
"j& c #BADCFF",
"k& c #B9DCFF",
"l& c #C4E2FF",
"m& c #B8DBFF",
"n& c #889299",
"o& c #99C9F9",
"p& c #B0D7FF",
"q& c #97C7F7",
"r& c #A1B6CA",
"s& c #ACD5FF",
"t& c #ABD5FF",
"u& c #AAD5FF",
"v& c #AAD4FF",
"w& c #A9D4FF",
"x& c #A8D4FF",
"y& c #A8D3FF",
"z& c #A7D3FF",
"A& c #A6D2FF",
"B& c #A5D2FF",
"C& c #A4D2FF",
"D& c #A4D1FF",
"E& c #A3D1FF",
"F& c #8DA2B6",
"G& c #A2B2BF",
"H& c #9DBEDF",
"I& c #9BC3E9",
"J& c #9BC2E9",
"K& c #9BC2E8",
"L& c #9AC2E8",
"M& c #9AC1E8",
"N& c #9AC1E7",
"O& c #99C1E7",
"P& c #99C0E7",
"Q& c #99C0E6",
"R& c #98C0E6",
"S& c #98BFE6",
"T& c #98BFE5",
"U& c #97BFE5",
"V& c #97BEE5",
"W& c #97BEE4",
"X& c #96BEE4",
"Y& c #96BDE4",
"Z& c #96BDE3",
"`& c #95BDE3",
" * c #95BCE3",
".* c #95BCE2",
"+* c #94BCE2",
"@* c #90ABC5",
"#* c #8B9BA8",
"$* c #848889",
"%* c #999C9D",
"&* c #96999A",
"** c #959899",
"=* c #949798",
"-* c #939697",
";* c #929596",
">* c #909394",
",* c #8E9292",
"'* c #8D9091",
")* c #8B8E8F",
"!* c #888B8C",
"~* c #878A8B",
"{* c #868A8A",
"]* c #858889",
"^* c #848788",
"/* c #838787",
"(* c #818586",
"_* c #818485",
":* c #808485",
"<* c #7F8384",
"[* c #7F8383",
"}* c #787C7D",
" ",
" ",
" ",
" . + + @ # # $ % % & & * = = - ; ; > , , ' ) ) ! ! ~ { { ] ^ ^ / ( ( _ : : < < [ } } | 1 1 2 3 3 ",
" 4 5 6 6 7 7 7 8 8 8 9 9 9 0 0 0 a a a b b b c c c c d d d e e e f f f g g g h h h i i i j j j k l m ",
" 4 n o p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p q q q q q q q q r r s s s s s o t u ",
" 4 v w x x x x x x x x x x x x x x x x x x x x x x x x x x x y z z A A B C C D D E F G H I I I J K L M N ",
" 4 o I x x x x x x x x x x x x x x x x x x x x x x x x x x y z z A A B C C D D E F G H I I I J K K O o N ",
" 4 o P x x x x x x x x x x x x x x x x x x x x x x x x x y z z A A B C C D D E F G H I I I J K K Q R o N ",
" 4 o P x x x x x x x x x x x x x x x x x x x x x x x x y z z A A B C C D D E F G H I I I J K K Q Q R o N ",
" 4 o P x x x x x x x x x x x x x x x x x x x x x x x y z z A A B C C D D E F G H I I I J K K Q Q S T o N ",
" 4 o P x x x x x x x x x x x x x x x x x x x x x x y z z A A B C C D D E F G H I I I J K K Q Q S S T o N ",
" 4 o P x x x x x x x x x x x x x x x x x x x x x y z z A A B C C D D E F G H I I I J K K Q Q S S U T o N ",
" 4 o P x x x x x x x x x x x x x x x x x x x x y z z A A B C C D D E F G H I I I J K K Q Q S S U U V o N ",
" 4 o P x x x x x x x x x x x x x x x x x x x y z z A A B C C D D E F G H I I I J K K Q Q S S U U W V o N ",
" 4 o P x x x x x x x x x x X Y x x x x x x y z z A A Z ` C D D E F G H I I I J K K Q Q S S U U W W V o N ",
" 4 o P x x x x x x x x x X ...+.x x x x y z z A A Z @.#.$.D E F G H I I I J K K Q Q S S U U W W %.w o N ",
" 4 o P x x x x x x x x &.*.=.-.;.+.x x y z z A A Z >.,.'.).!.F G H I I I J K K Q Q S S U U W W %.~.{.o N ",
" 4 o P x x x x x x x &.].^./.(.-.;.+.y z z A A _.:.,.<.[.}.|.1.H I I I J K K Q Q S S U U W W %.~.P {.o N ",
" 4 o P x x x x x x &.2.^./.3.3.4.-.;.+.z A A _.5.,.<.6.7.8.9.0.a.I I J K K Q Q S S U U W W %.~.P P b.c.N ",
" 4 o P x x x x x &.d.e.f.g.g.g.g.h.i.;.j.A _.k.l.m.n.o.p.q.r.s.t.u.J K K Q Q S S U U W W %.P v.O w.q x.N ",
" 4 o P x x x x &.y.z.A.B.B.B.B.B.B.C.i.;.D.E.l.F.G.H.I.J.K.L.M.N.O.P.K Q Q S S U U W W Q.R.V w {.S.r x.N ",
" 4 o P x x x &.T.U.V.W.W.W.W.W.W.W.W.X.Y.Z.`. +.+++@+#+$+%+&+*+=+-+;+>+Q S S U U W Q.O T V w {.S.,+r x.N ",
" 4 o P x x &.'+U.)+!+!+!+!+!+!+!+!+!+!+~+M.{+]+^+/+(+_+:+<+[+=+}+|+1+2+3+S U U 4+O 5+T V w {.S.,+,+6+x.N ",
" 4 o P x &.7+8+9+0+0+0+0+0+0+0+0+0+a+b+c+d+e+f+g+h+i+j+k+l+m+}+|+n+o+p+q+r+~.s+R 5+T V w {.S.,+,+b.t+x.N ",
" 4 o P x x u+v+w+x+y+y+z+z+z+z+z+A+B+C+D+E+F+G+H+I+J+K+L+M+}+|+n+o+N+O+P+Q+R.R 5+T V w {.S.,+,+b.R+t+x.N ",
" 4 o P x x x u+v+S+T+U+U+U+U+U+U+V+W+X+Y+Z+`+ @.@+@@@#@$@%@|+n+o+N+O+&@*@O R 5+T V w {.S.,+,+b.R+L =@x.N ",
" 4 o P x x x x u+v+-@;@>@>@>@>@,@'@)@!@~@{@]@^@/@(@_@:@<@|+n+o+N+[@}@|@O R 5+T V w {.S.,+,+b.R+L 1@2@x.N ",
" 4 o P x x x x x u+v+3@4@5@6@7@8@9@0@a@b@c@d@e@f@g@h@i@|+n+o+N+j@k@|@O R 5+T V w {.S.,+,+b.R+L 1@l@m@x.N ",
" 4 o P x x x x y z u+v+n@o@p@q@r@s@t@u@v@w@x@y@z@A@B@|+n+o+N+j@C@D@O R 5+T V w {.S.,+,+b.R+L 1@l@E@F@x.N ",
" 4 o P x x x y z z A G@H@I@J@K@L@M@N@O@P@Q@R@S@T@U@|+n+o+N+V@W@D@O R 5+T V w {.S.,+,+b.R+L 1@l@E@E@X@x.N ",
" 4 o P x x y z z A A Y@Z@`@ #.#+#@###$#%#&#*#=#=+|+n+o+N+-#;#>#O R 5+T V w {.S.,+,+b.R+L 1@l@E@E@,#X@x.N ",
" 4 o P x y z z A A Y@'#)#!#~#{#]#^#/#(#_#:#<#[#|+n+o+N+}#|#1#2#3#5+T V w {.S.,+,+b.R+L 1@l@E@E@,#4#5#x.N ",
" 4 o P y z z A A Y@6#7#8#9#0#a#b#c#d#e#f#g#h#i#j#k#N+l#m#n#o#p#q#r#V w {.S.,+,+b.R+L 1@l@E@E@,#4#s#5#x.N ",
" 4 o P z z A A t#u#7#8#9#0#a#v#c#w#x#y#z#A#B#C#D#E#-#F#G#o#H#I#J#K#L#{.S.,+,+b.R+L 1@l@E@E@,#4#s#M#N#x.N ",
" 4 o 4+z A A t#O#P#8#9#0#a#v#Q#R#S#T#U#V#W#X#Y#Z#`# $.$+$@$I##$$$%$&$*$,+,+b.R+L 1@l@E@E@,#4#s#M#=$-$x.N ",
" 4 o 4+A A t#;$P#8#9#0#a#v#Q#R#>$,$'$)$!$~${$]$^$/$($_$:$<$[$}$|$1$2$3$4$b.R+L 1@l@E@E@,#4#s#M#=$5$-$x.N ",
" 4 o 6$A 7$8$9$0$9#0#a#v#Q#a$b$c$d$e$f$g$h$i$j$k$l$m$n$o$p$q$r$1$s$t$u$v$w$L 1@l@E@E@,#4#s#M#=$5$5$x$x.N ",
" 4 o 6$B C y$z$A$B$a#v#Q#a$b$C$D$E$F$G$H$I$J$K$L$M$N$O$P$Q$R$S$T$t$U$V$W$L 1@l@E@E@,#4#s#M#=$5$5$X$Y$x.N ",
" 4 o 6$C C D Z$`$ %.%Q#R#+%C$D$@%#%$%%%&%*%=%-%;%>%,%'%)%!%~%{%]%^%/%(%L 1@l@E@E@,#4#s#M#=$5$5$X$_%Y$x.N ",
" 4 o :%C D D E <%[%}%|%1%c$D$@%2%3%4%5%6%7%8%9%0%a%b%c%d%e%f%g%h%V$i%L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%k%x.N ",
" 4 o l%D D E F G m%n%o%p%d$q%r%3%4%s%t%u%v%w%x%y%z%A%B%C%D%E%F%G%H%L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%J%x.N ",
" 4 o l%D E F G H K%L%M%N%q%O%P%4%s%6%u%v%O R Q%R%S%T%U%V%W%X%Y%Z%L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q o x.N ",
" 4 `%V H I J &S U W .&+&@&#&%%5%$&%&v%O R 5+T &&*&=&-&;&>&,&'&L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r )&x.N ",
" 4 x.!&K Q S ~&U W ~.P {&]&4%&%^&/&v%O R 5+T V w &&(&_&:&<&'&L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r r [&x.N ",
" 4 x.L Q S ~&U W ~.P }&Q.|&1&2&3&v%O R 5+T V w {.S.4&5&3$6&L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r r 6+[&x.N ",
" 4 x.1@S ~&U W ~.P }&Q.7&l%8&9&v%O R 5+T V w {.S.,+,+0&a&L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r r 6+t+b&x.N ",
" 4 x.l@~&U W ~.P }&Q.7&l%v.c&R.O R 5+T V w {.S.,+,+b.R+L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r r 6+t+=@d&x.N ",
" 4 x.l@U W ~.P }&Q.7&l%v.c&R.O R 5+T V w {.S.,+,+b.R+L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r r 6+t+=@2@e&x.N ",
" 4 x.E@W ~.P }&Q.7&l%v.c&R.O R 5+T V w {.S.,+,+b.R+L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r r 6+t+=@2@f&g&x.N ",
" 4 x.E@~.P }&Q.7&l%v.c&R.O R 5+T V w {.S.,+,+b.R+L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r r 6+t+=@2@f&X@g&x.N ",
" 4 x.,#P }&Q.7&l%v.c&R.O R 5+T V w {.S.,+,+b.R+L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r r 6+t+=@2@f&X@X@h&x.N ",
" 4 x.4#}&Q.7&l%v.c&R.O R 5+T V w {.S.,+,+b.R+L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r r 6+t+=@2@f&X@X@5#i&x.N ",
" 4 x.4#Q.7&l%v.c&R.O R 5+T V w {.S.,+,+b.R+L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r r 6+t+=@2@f&X@X@5#N#i&x.N ",
" 4 x.s#7&l%v.c&R.O R 5+T V w {.S.,+,+b.R+L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r r 6+t+=@2@f&X@X@5#N#-$j&x.N ",
" 4 x.M#l%v.c&R.O R 5+T V w {.S.,+,+b.R+L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r r 6+t+=@2@f&X@X@5#N#-$x$k&x.N ",
" 4 x.M#v.c&R.O R 5+T V w {.S.,+,+b.R+L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r r 6+t+=@2@f&X@X@5#N#-$x$l&k&x.N ",
" 4 x.=$c&R.O R 5+T V w {.S.,+,+b.R+L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r r 6+t+=@2@f&X@X@5#N#-$x$l&k%m&x.n& ",
" 4 o&-$R.O R 5+T V w {.S.,+,+b.R+L 1@l@E@E@,#4#s#M#=$5$5$X$_%j%I%q r r 6+t+=@2@f&X@X@5#N#-$x$l&k%J%p&q&N ",
" 4 r&x.`%s&s&s&s&t&t&t&t&t&u&v&v&v&v&w&w&w&w&x&y&y&y&y&z&z&z&z&z&A&A&A&A&B&B&B&B&B&C&D&D&D&D&E&E&E&x.F&u ",
" 4 G&H&I&J&J&J&K&L&L&M&M&M&N&N&O&P&P&P&Q&Q&R&S&S&S&S&T&U&U&V&V&V&W&X&X&Y&Y&Y&Z&Z&`& * * *.*.*+*@*#*$* ",
" . > , %*' ) ) ! &*~ **=*] -*^ ;*/ ( >*_ : ,*< '*[ } )*| 1 1 2 !*3 ~*{*N ]*$*^*/*u u (*_*:*<*[*}* ",
" ",
" "};

File diff suppressed because it is too large Load Diff

@ -0,0 +1,302 @@
/*
* Copyright (c) 2005 Dmitry Baryshev <ksquirrel.iv@gmail.com>
*/
/*
* All methods (except redeye) in this namespace are ported from KDE 3.2.3.
* All of them are copyrighted by their authors. See fmt_filters_README for more.
*/
/* This file is part of the KDE libraries
Copyright (C) 1998, 1999, 2001, 2002 Daniel M. Duley <mosfet@kde.org>
(C) 1998, 1999 Christian Tibirna <ctibirna@total.net>
(C) 1998, 1999 Dirk A. Mueller <mueller@kde.org>
(C) 1999 Geert Jansen <g.t.jansen@stud.tue.nl>
(C) 2000 Josef Weidendorfer <weidendo@in.tum.de>
(C) 2004 Zack Rusin <zack@kde.org>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
//
// ===================================================================
// Effects originally ported from ImageMagick for PixiePlus, plus a few
// new ones. (mosfet 05/26/2003)
// ===================================================================
//
/*
Portions of this software are based on ImageMagick. Such portions are clearly
marked as being ported from ImageMagick. ImageMagick is copyrighted under the
following conditions:
Copyright (C) 2003 ImageMagick Studio, a non-profit organization dedicated to
making software imaging solutions freely available.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files ("ImageMagick"), to deal
in ImageMagick without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of ImageMagick, and to permit persons to whom the ImageMagick is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of ImageMagick.
The software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall
ImageMagick Studio be liable for any claim, damages or other liability,
whether in an action of contract, tort or otherwise, arising from, out of or
in connection with ImageMagick or the use or other dealings in ImageMagick.
Except as contained in this notice, the name of the ImageMagick Studio shall
not be used in advertising or otherwise to promote the sale, use or other
dealings in ImageMagick without prior written authorization from the
ImageMagick Studio.
*/
#ifndef FMT_FILTERS_H
#define FMT_FILTERS_H
//////////////////////////////////////////
// //
// Pass the image through some filter //
// //
//////////////////////////////////////////
namespace fmt_filters
{
typedef char s8;
typedef unsigned char u8;
typedef short s16;
typedef unsigned short u16;
typedef int s32;
typedef unsigned int u32;
struct image
{
image() : data(0), w(0), h(0), rw(0), rh(0)
{}
image(unsigned char *d, int _w, int _h) : data(d), w(_w), h(_h), rw(_w), rh(_h)
{}
image(unsigned char *d, int _w, int _h, int _rw, int _rh) : data(d), w(_w), h(_h), rw(_rw), rh(_rh)
{}
unsigned char *data;
int w;
int h;
int rw;
int rh;
};
struct rgb
{
rgb() : r(0), g(0), b(0)
{}
rgb(int _r, int _g, int _b) : r(_r), g(_g), b(_b)
{}
unsigned char r;
unsigned char g;
unsigned char b;
};
struct rgba
{
rgba(int r1, int g1, int b1, int a1) : r(r1), g(g1), b(b1), a(a1)
{}
rgba() : r(0), g(0), b(0), a(0)
{}
unsigned char r;
unsigned char g;
unsigned char b;
unsigned char a;
};
enum NoiseType
{
UniformNoise = 0, // Uniform distribution
GaussianNoise, // Gaussian distribution
MultiplicativeGaussianNoise, // Multiplicative Gaussian distribution
ImpulseNoise, // Impulse distribution
LaplacianNoise, // Laplacian distribution
PoissonNoise // Poisson distribution
};
bool checkImage(const image &im);
// colorize the image, which is w x h, left alpha channel unchanged.
//
// it just adds to each pixel in the image
// aproproriate value.
void colorize(const image &im, int red, int green, int blue);
// change brightness of the image
void brightness(const image &im, int bn);
// change gamma
// gamma should be 0.0 <= L <= 6.0
//
// it is no problem to set L to 8.0 or 9.0, but the resulting
// image won't have much difference from 6.0
void gamma(const image &im, double L);
// change contrast with Photoshop-like method
// contrast should be -255 <= contrast <= 255
void contrast(const image &im, int contrast);
enum swapRGBtype { GBR = 0, BRG = 1 };
// negative
void negative(const image &im);
// swap RGB values
void swapRGB(const image &im, int type);
//
// All the following filters are ported from KDE's
// KImageEffect. See kdelibs/kdefx/kimageeffect.cpp
// for more.
//
// blend
// opacity = [0.0; 1.0]
void blend(const image &im, const rgb &rgb, float opacity);
// val = [0.0; 1.0]
void fade(const image &im, const rgb &rgb, float val);
void gray(const image &im);
// desat = [0.0; 1.0]
void desaturate(const image &im, float desat);
// threshold = [0; 255]
void threshold(const image &im, unsigned int threshold);
// factor = [0.0; 50.0]
void solarize(const image &im, double factor);
// amount = [1; 10]
void spread(const image &im, unsigned int amount);
// degrees = [-720.0; 720.0]
void swirl(const image &im, double degrees, const rgba &background);
void noise(const image &im, NoiseType noise_type);
void flatten(const image &im, const rgb &ca, const rgb &cb);
// azimuth = [0.0; 90.0], elevation = [0.0; 90.0]
void shade(const image &im, bool color, double azimuth, double elevation);
void equalize(const image &im);
// radius = [0.01; 90.0], sigma = [0.01; 50.0]
void blur(const image &im, double radius, double sigma);
void despeckle(const image &im);
// factor = [0; 100]
void implode(const image &im, double factor, const rgba &background);
// radius = [0.01; 30.0]
void edge(image &im, double radius);
// radius = [0.01; 99.9], sigma = [0.01; 99.9]
void emboss(image &im, double radius, double sigma);
// radius = [0.01; 99.9], sigma = [0.01; 30.0]
void sharpen(image &im, double radius, double sigma);
// radius = [1.0; 5.0]
void oil(const image &im, double radius);
/*
* Red-eye removal was taken from "redeye" plugin for GIMP
*/
/* redeye.c: redeye remover plugin code
*
* Copyright (C) 2004 Robert Merkel <robert.merkel@benambra.org> (the "Author").
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Except as contained in this notice, the name of the Author of the
* Software shall not be used in advertising or otherwise to promote the
* sale, use or other dealings in this Software without prior written
* authorization from the Author.
1;3B */
// red-eye removal.
// th = [0; 255]
void redeye(const image &im, const int w, const int h,
const int x, const int y,
int th);
// Do we need some color definitions ?
static const rgba white = rgba(255, 255, 255, 255);
static const rgba black = rgba(0, 0, 0, 255);
static const rgba red = rgba(255, 0, 0, 255);
static const rgba green = rgba(0, 255, 0, 255);
static const rgba blue = rgba(0, 0, 255, 255);
static const rgba cyan = rgba(0, 255, 255, 255);
static const rgba magenta = rgba(255, 0, 255, 255);
static const rgba yellow = rgba(255, 255, 0, 255);
static const rgba mediumgray = rgba(128, 128, 128, 255);
static const rgba lightgray = rgba(160, 160, 164, 255);
static const rgba normalgray = rgba(192, 192, 192, 255);
static const rgba darkred = rgba(128, 0, 0, 255);
static const rgba darkgreen = rgba(0, 128, 0, 255);
static const rgba darkblue = rgba(0, 0, 128, 255);
static const rgba darkcyan = rgba(0, 128, 128, 255);
static const rgba darkmagenta = rgba(128, 0, 128, 255);
static const rgba darkyellow = rgba(128, 128, 0, 255);
}
#endif

Binary file not shown.

Binary file not shown.

@ -0,0 +1,15 @@
####### kdevelop will overwrite this part!!! (begin)##########
noinst_LIBRARIES = libimageedit.a
## INCLUDES were found outside kdevelop specific part
libimageedit_a_METASOURCES = AUTO
libimageedit_a_SOURCES = sq_writeoption.ui sq_label.cpp sq_imagefilter.ui sq_imageeditoptions.ui sq_imageconvert.ui sq_imagebcg.ui sq_converter.cpp sq_bcglabel.cpp
EXTRA_DIST = sq_bcglabel.h sq_converter.h sq_imagebcg.ui.h sq_imageconvert.ui.h sq_imageedit.h sq_imageeditoptions.ui.h sq_imagefilter.ui.h sq_label.h sq_bcglabel.cpp sq_converter.cpp sq_imagebcg.ui sq_imageconvert.ui sq_imageeditoptions.ui sq_imagefilter.ui sq_label.cpp sq_writeoption.ui
####### kdevelop will overwrite this part!!! (end)############
INCLUDES = $(all_includes) -I$(srcdir) -I$(top_srcdir)/ksquirrel

@ -0,0 +1,28 @@
/***************************************************************************
sq_bcglabel.cpp - description
-------------------
begin : ??? May 4 2005
copyright : (C) 2005 by Baryshev Dmitry
email : ksquirrel.iv@gmail.com
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "sq_bcglabel.h"
SQ_BCGLabel::SQ_BCGLabel(QWidget *parent, const char *name, WFlags f) : QLabel(parent, name, f | Qt::WNoAutoErase)
{
setScaledContents(false);
setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
}
SQ_BCGLabel::~SQ_BCGLabel()
{}

@ -0,0 +1,34 @@
/***************************************************************************
sq_bcglabel.h - description
-------------------
begin : ??? May 4 2005
copyright : (C) 2005 by Baryshev Dmitry
email : ksquirrel.iv@gmail.com
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef SQ_BCGLABEL_H
#define SQ_BCGLABEL_H
#include <qlabel.h>
/**
*@author Baryshev Dmitry
*/
class SQ_BCGLabel : public QLabel
{
public:
SQ_BCGLabel(QWidget *parent, const char *name = 0, WFlags f = 0);
~SQ_BCGLabel();
};
#endif

@ -0,0 +1,444 @@
/***************************************************************************
sq_converter.cpp - description
-------------------
begin : ??? Mar 3 2005
copyright : (C) 2005 by Baryshev Dmitry
email : ksquirrel.iv@gmail.com
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <qapplication.h>
#include <qfile.h>
#include <kmessagebox.h>
#include <kstringhandler.h>
#include <kstandarddirs.h>
#include <ktempfile.h>
#include <klocale.h>
#include "ksquirrel.h"
#include "sq_converter.h"
#include "sq_widgetstack.h"
#include "sq_diroperator.h"
#include "sq_libraryhandler.h"
#include "sq_config.h"
#include "sq_errorstring.h"
#include "sq_imageloader.h"
#include "sq_imageconvert.h"
SQ_Converter * SQ_Converter::m_sing = 0;
SQ_Converter::SQ_Converter(QObject *parent) : QObject(parent)
{
m_sing = this;
err_internal = i18n("internal error") + '\n';
err_failed = i18n("failed") + '\n';
special_action = i18n("Converting");
image = 0;
}
SQ_Converter::~SQ_Converter()
{
if(image) free(image);
}
void SQ_Converter::slotStartEdit()
{
files.clear();
KFileItemList *items = (KFileItemList *)SQ_WidgetStack::instance()->selectedItems();
if(!items || !items->count())
{
KMessageBox::information(KSquirrel::app(), i18n("Select files to edit"));
return;
}
else if(!items->first()->url().isLocalFile())
{
KMessageBox::information(KSquirrel::app(), i18n("Converter cannot work with remote files.\nSorry"));
return;
}
KFileItem *i = items->first();
for(;i;i = items->next())
{
if(i->isFile())
files.append(i->url().path());
}
startEditPrivate();
}
QString SQ_Converter::adjustFileName(const QString &globalprefix, const QString &name1, int replace, QString putto, bool paged, int page)
{
QFileInfo ff(name1);
QString name = ff.dirPath() + '/' + (replace == 0 ? globalprefix : (replace == 2 ? QString::null : globalprefix)) + ff.fileName();
ff = QFileInfo(name);
QString result, inner, filter = lw->filter;
QString ext = ff.extension(false);
QString prefix, suffix, name2 = name;
QString spage = QString::fromLatin1("page_%1.").arg((QString::fromLatin1("%1").arg(page)).rightJustify(3, '0'));
if(!putto.isEmpty())
{
if(QFile::exists(putto))
name2 = putto + '/' + ff.fileName();
}
prefix = name2;
prefix.truncate(name2.length() - ext.length());
suffix = (SQ_LibraryHandler::instance()->knownExtension(QString::fromLatin1("*.") + ext))
? QString(lw->codec->extension(32)) : ext;
if(replace == 0 || replace == 2)
result = (!paged) ? (prefix + inner + suffix) : (prefix + spage + inner + suffix);
else
{
result = (!paged) ? (prefix + inner + suffix) : (prefix + spage + inner + suffix);
if(QFile::exists(result))
{
inner = QString::fromLatin1("1.");
result = (!paged) ? (prefix + inner + suffix) : (prefix + spage + inner + suffix);
}
}
return result;
}
void SQ_Converter::errorjmp(jmp_buf jmp, const int code)
{
error_code = code;
longjmp(jmp, 1);
}
void SQ_Converter::decodingCycle()
{
int i, j;
QString name;
jmp_buf jmp;
RGBA *scan;
int errors, gerrors = 0, current;
QString putto;
int replace = imageopt.where_to_put;
bool brk;
SQ_Config::instance()->setGroup("Edit tools");
int allpages = SQ_Config::instance()->readNumEntry("load_pages", 0);
int pages_num = SQ_Config::instance()->readNumEntry("load_pages_number", 1);
if(pages_num < 1) pages_num = 1;
altw = SQ_LibraryHandler::instance()->libraryByName(SQ_Config::instance()->readEntry("altlibrary", "Portable Network Graphics"));
multi = SQ_Config::instance()->readBoolEntry("multi", true);
tempfile = new KTempFile;
tempfile->setAutoDelete(true);
if(tempfile->status())
{
KMessageBox::error(KSquirrel::app(), i18n("Temporary file creation failed"));
return;
}
tempfile->close();
QStringList::iterator last_it = files.fromLast();
QStringList::iterator itEnd = files.end();
convert->startConvertion(files.count());
putto = imageopt.putto;
for(QStringList::iterator it = files.begin();it != itEnd;++it)
{
currentFile = *it;
last = (it == last_it);
QFileInfo ff(*it);
emit convertText(special_action + ' ' + KStringHandler::rsqueeze(ff.fileName()) + "... ", false);
if((lr = SQ_LibraryHandler::instance()->libraryForFile(*it)))
{
lw = SQ_LibraryHandler::instance()->libraryByName(convopt.libname);
if(!lr || !lw)
{
gerrors++;
emit convertText(err_internal, true);
emit oneFileProcessed();
continue;
}
name = QFile::encodeName(*it);
i = lr->codec->read_init(name.ascii());
if(setjmp(jmp))
{
gerrors++;
lr->codec->read_close();
emit convertText(SQ_ErrorString::instance()->stringSN(error_code), true);
emit oneFileProcessed();
continue;
}
if(i != SQE_OK)
errorjmp(jmp, i);
errors = 0;
current = 0;
while(true)
{
brk = (allpages == 1 && current) || (allpages == 2 && current == pages_num);
i = lr->codec->read_next();
im = lr->codec->image(current-1);
if(i != SQE_OK || brk)
{
if(i == SQE_NOTOK || brk)
{
if(current == 1)
name = adjustFileName(prefix, *it, replace, putto);
else
name = adjustFileName(prefix, *it, replace, putto, true, current);
lastFrame = last;
i = manipAndWriteDecodedImage(tempfile->name(), im);
emit convertText(errors ? (i18n("1 error", "%n errors", errors)+'\n') : SQ_ErrorString::instance()->stringSN(SQE_OK), true);
emit oneFileProcessed();
i = SQE_OK;
if(replace == 2)
{
emit convertText(i18n("Removing") + KStringHandler::rsqueeze(ff.fileName()) + QString("... "), false);
bool b = QFile::remove(*it);
emit convertText(b ? SQ_ErrorString::instance()->stringSN(SQE_OK) : err_failed, true);
emit oneFileProcessed();
}
i = copyFile(tempfile->name(), name);
break;
}
else
errorjmp(jmp, i);
}
if(current)
{
name = adjustFileName(prefix, *it, replace, putto, true, current);
lastFrame = false;
manipAndWriteDecodedImage(tempfile->name(), im);
i = copyFile(tempfile->name(), name);
}
im = lr->codec->image(current);
image = (RGBA *)realloc(image, im->w * im->h * sizeof(RGBA));
if(!image)
{
i = SQE_R_NOMEMORY;
errorjmp(jmp, i);
}
for(int pass = 0;pass < im->passes;pass++)
{
lr->codec->read_next_pass();
for(j = 0;j < im->h;j++)
{
scan = image + j * im->w;
i = lr->codec->read_scanline(scan);
errors += (int)(i != SQE_OK);
}
}
if(im->needflip)
fmt_utils::flipv((char *)image, im->w * sizeof(RGBA), im->h);
convert->fillWriteOptions(&opt, lw->opt);
opt.alpha = im->hasalpha;
current++;
}
lr->codec->read_close();
}
else
{
emit convertText(SQ_ErrorString::instance()->stringSN(SQE_R_NOTSUPPORTED), true);
emit oneFileProcessed();
}
}
if(image)
{
free(image);
image = 0;
}
delete convert;
delete tempfile;
if(imageopt.close && !gerrors)
emit done(true);
else
emit done(false);
}
int SQ_Converter::manipAndWriteDecodedImage(const QString &name, fmt_image *im)
{
int passes = opt.interlaced ? lw->opt.passes : 1;
int s, j, err;
RGBA *scan = 0;
scan = new RGBA [im->w];
if(!scan)
return SQE_W_NOMEMORY;
err = lw->codec->write_init(name, *im, opt);
if(err != SQE_OK)
goto error_exit;
err = lw->codec->write_next();
if(err != SQE_OK)
goto error_exit;
for(s = 0;s < passes;s++)
{
err = lw->codec->write_next_pass();
if(err != SQE_OK)
goto error_exit;
for(j = 0;j < im->h;j++)
{
if(lw->opt.needflip)
determineNextScan(*im, scan, im->h-j-1);
else
determineNextScan(*im, scan, j);
err = lw->codec->write_scanline(scan);
if(err != SQE_OK)
goto error_exit;
}
}
err = SQE_OK;
error_exit:
lw->codec->write_close();
delete scan;
return err;
}
int SQ_Converter::copyFile(const QString &src, const QString &dst) const
{
QFile f_src(src), f_dst(dst);
Q_LONG read;
char data[4096];
if(!f_src.open(IO_ReadOnly))
return SQE_R_NOFILE;
if(!f_dst.open(IO_WriteOnly))
{
f_src.close();
return SQE_W_NOFILE;
}
while(!f_src.atEnd())
{
read = f_src.readBlock(data, sizeof(data));
f_dst.writeBlock(data, read);
if(f_dst.status() != IO_Ok || f_src.status() != IO_Ok)
{
f_src.close();
f_dst.close();
return SQE_W_ERROR;
}
}
f_src.close();
f_dst.close();
return SQE_OK;
}
void SQ_Converter::determineNextScan(const fmt_image &im, RGBA *scan, int y)
{
memcpy(scan, image + y * im.w, im.w * sizeof(RGBA));
}
void SQ_Converter::startEditPrivate()
{
convert = new SQ_ImageConvert(KSquirrel::app());
convert->setCaption(i18n("Convert 1 file", "Convert %n files", files.count()));
connect(convert, SIGNAL(convert(SQ_ImageOptions*, SQ_ImageConvertOptions*)), this, SLOT(slotStartConvert(SQ_ImageOptions*, SQ_ImageConvertOptions*)));
connect(this, SIGNAL(convertText(const QString &, bool)), convert, SLOT(slotDebugText(const QString &, bool)));
connect(this, SIGNAL(oneFileProcessed()), convert, SLOT(slotOneProcessed()));
connect(this, SIGNAL(done(bool)), convert, SLOT(slotDone(bool)));
convert->exec();
}
void SQ_Converter::slotStartConvert(SQ_ImageOptions *o, SQ_ImageConvertOptions *copt)
{
imageopt = *o;
convopt = *copt;
decodingCycle();
}
#include "sq_converter.moc"

@ -0,0 +1,119 @@
/***************************************************************************
sq_converter.h - description
-------------------
begin : ??? Mar 3 2005
copyright : (C) 2005 by Baryshev Dmitry
email : ksquirrel.iv@gmail.com
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef SQ_CONVERTER_H
#define SQ_CONVERTER_H
#include <qobject.h>
#include <qstringlist.h>
#include <sstream>
#include <csetjmp>
#include <ksquirrel-libs/fmt_utils.h>
#include <ksquirrel-libs/fmt_codec_base.h>
#include <ksquirrel-libs/error.h>
#include "sq_imageedit.h"
struct SQ_LIBRARY;
class KTempFile;
class SQ_ImageConvert;
class SQ_ImageConvertOptions;
/*
* Base class for all edit tools. It contains all methods needed by
* converter, resizer, printer etc. It decodes an image, writes it back to
* disk. All specific actions (like colorizing, resizing etc.) are done by
* appropriate edit tool.
*/
class SQ_Converter : public QObject
{
Q_OBJECT
public:
SQ_Converter(QObject *parent);
~SQ_Converter();
public:
static SQ_Converter* instance() { return m_sing; }
private:
/*
* Create edit tool-specific dialog, and wait for user
* input
*/
void startEditPrivate();
/*
* Do something with decoded image(manipDecodedImage()) and write it
* on disk.
*/
int manipAndWriteDecodedImage(const QString &name, fmt_image *im);
/*
* Main decoding loop.
*/
void decodingCycle();
/*
* Determine file name. In this file SQ_Converter will save new image.
*/
QString adjustFileName(const QString &globalprefix, const QString &name, int replace,
QString putto, bool paged = false, int page = 0);
void determineNextScan(const fmt_image &im, RGBA *scan, int y);
/*
* Copy file :-)
*/
int copyFile(const QString &src, const QString &dst) const;
void errorjmp(jmp_buf jmp, const int code);
signals:
void convertText(const QString &, bool);
void oneFileProcessed();
void done(bool allok);
private slots:
void slotStartEdit();
void slotStartConvert(SQ_ImageOptions*, SQ_ImageConvertOptions*);
protected:
QStringList files;
QString err_internal, err_failed;
QString currentFile;
int error_code, current_page;
SQ_ImageOptions imageopt;
fmt_writeoptions opt;
SQ_LIBRARY *lr, *lw, *altw;
RGBA *image;
QString special_action, prefix;
bool multi, last, lastFrame;
KTempFile *tempfile;
fmt_image *im;
static SQ_Converter *m_sing;
SQ_ImageConvert *convert;
SQ_ImageConvertOptions convopt;
};
#endif

@ -0,0 +1,997 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>SQ_ImageBCG</class>
<widget class="QDialog">
<property name="name">
<cstring>SQ_ImageBCG</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>564</width>
<height>391</height>
</rect>
</property>
<property name="caption">
<string>Color balance</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QWidgetStack" row="1" column="0" rowspan="3" colspan="1">
<property name="name">
<cstring>widgetStackParams</cstring>
</property>
<property name="frameShape">
<enum>GroupBoxPanel</enum>
</property>
<widget class="QWidget">
<property name="name">
<cstring>WStackPage</cstring>
</property>
<attribute name="id">
<number>0</number>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>4</number>
</property>
<widget class="QSpinBox" row="2" column="0">
<property name="name">
<cstring>spinB</cstring>
</property>
<property name="maxValue">
<number>255</number>
</property>
<property name="minValue">
<number>-255</number>
</property>
</widget>
<widget class="QPushButton" row="0" column="2">
<property name="name">
<cstring>pushResetG</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" row="0" column="1">
<property name="name">
<cstring>pushResetC</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<widget class="KDoubleSpinBox" row="2" column="2">
<property name="name">
<cstring>spinG</cstring>
</property>
</widget>
<widget class="QSpinBox" row="2" column="1">
<property name="name">
<cstring>spinC</cstring>
</property>
<property name="maxValue">
<number>255</number>
</property>
<property name="minValue">
<number>-255</number>
</property>
</widget>
<widget class="QPushButton" row="0" column="0">
<property name="name">
<cstring>pushResetB</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<widget class="QLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="SQ_Label">
<property name="name">
<cstring>sQ_LabelB</cstring>
</property>
</widget>
<widget class="QSlider">
<property name="name">
<cstring>sliderB</cstring>
</property>
<property name="minValue">
<number>-255</number>
</property>
<property name="maxValue">
<number>255</number>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="tickmarks">
<enum>Above</enum>
</property>
<property name="tickInterval">
<number>25</number>
</property>
<property name="whatsThis" stdset="0">
<string>Brightness</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QLayoutWidget" row="1" column="1">
<property name="name">
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="SQ_Label">
<property name="name">
<cstring>sQ_LabelC</cstring>
</property>
</widget>
<widget class="QSlider">
<property name="name">
<cstring>sliderC</cstring>
</property>
<property name="minValue">
<number>-255</number>
</property>
<property name="maxValue">
<number>255</number>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="tickmarks">
<enum>Above</enum>
</property>
<property name="tickInterval">
<number>25</number>
</property>
<property name="whatsThis" stdset="0">
<string>Contrast</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QLayoutWidget" row="1" column="2">
<property name="name">
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="SQ_Label">
<property name="name">
<cstring>sQ_LabelG</cstring>
</property>
</widget>
<widget class="QSlider">
<property name="name">
<cstring>sliderG</cstring>
</property>
<property name="minValue">
<number>0</number>
</property>
<property name="maxValue">
<number>600</number>
</property>
<property name="value">
<number>100</number>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="tickmarks">
<enum>Above</enum>
</property>
<property name="tickInterval">
<number>22</number>
</property>
<property name="whatsThis" stdset="0">
<string>Gamma</string>
</property>
</widget>
</hbox>
</widget>
</grid>
</widget>
<widget class="QWidget">
<property name="name">
<cstring>WStackPage</cstring>
</property>
<attribute name="id">
<number>1</number>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>4</number>
</property>
<widget class="QPushButton" row="0" column="0">
<property name="name">
<cstring>pushResetRed</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<widget class="QSpinBox" row="2" column="0">
<property name="name">
<cstring>spinRed</cstring>
</property>
<property name="maxValue">
<number>255</number>
</property>
<property name="minValue">
<number>-255</number>
</property>
</widget>
<widget class="QSpinBox" row="2" column="1">
<property name="name">
<cstring>spinGreen</cstring>
</property>
<property name="maxValue">
<number>255</number>
</property>
<property name="minValue">
<number>-255</number>
</property>
</widget>
<widget class="QPushButton" row="0" column="1">
<property name="name">
<cstring>pushResetGreen</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" row="0" column="2">
<property name="name">
<cstring>pushResetBlue</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<widget class="QSpinBox" row="2" column="2">
<property name="name">
<cstring>spinBlue</cstring>
</property>
<property name="maxValue">
<number>255</number>
</property>
<property name="minValue">
<number>-255</number>
</property>
</widget>
<widget class="QLayoutWidget" row="1" column="2">
<property name="name">
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="SQ_Label">
<property name="name">
<cstring>sQ_LabelBlue</cstring>
</property>
</widget>
<widget class="QSlider">
<property name="name">
<cstring>sliderBlue</cstring>
</property>
<property name="minValue">
<number>-255</number>
</property>
<property name="maxValue">
<number>255</number>
</property>
<property name="tickmarks">
<enum>Above</enum>
</property>
<property name="tickInterval">
<number>25</number>
</property>
<property name="whatsThis" stdset="0">
<string>Blue</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QLayoutWidget" row="1" column="1">
<property name="name">
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="SQ_Label">
<property name="name">
<cstring>sQ_LabelGreen</cstring>
</property>
</widget>
<widget class="QSlider">
<property name="name">
<cstring>sliderGreen</cstring>
</property>
<property name="minValue">
<number>-255</number>
</property>
<property name="maxValue">
<number>255</number>
</property>
<property name="tickmarks">
<enum>Above</enum>
</property>
<property name="tickInterval">
<number>25</number>
</property>
<property name="whatsThis" stdset="0">
<string>Green</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="SQ_Label">
<property name="name">
<cstring>sQ_LabelRed</cstring>
</property>
</widget>
<widget class="QSlider">
<property name="name">
<cstring>sliderRed</cstring>
</property>
<property name="minValue">
<number>-255</number>
</property>
<property name="maxValue">
<number>255</number>
</property>
<property name="tickmarks">
<enum>Above</enum>
</property>
<property name="tickInterval">
<number>25</number>
</property>
<property name="whatsThis" stdset="0">
<string>Red</string>
</property>
</widget>
</hbox>
</widget>
</grid>
</widget>
</widget>
<widget class="QGroupBox" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>groupBox3</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string></string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<widget class="QPushButton" row="0" column="4">
<property name="name">
<cstring>push2</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" row="0" column="0">
<property name="name">
<cstring>push1</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<spacer row="0" column="1">
<property name="name">
<cstring>spacer26</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>1</width>
<height>16</height>
</size>
</property>
</spacer>
<spacer row="0" column="3">
<property name="name">
<cstring>spacer27</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>1</width>
<height>16</height>
</size>
</property>
</spacer>
<widget class="QLabel" row="0" column="2">
<property name="name">
<cstring>text</cstring>
</property>
<property name="alignment">
<set>WordBreak|AlignCenter</set>
</property>
</widget>
</grid>
</widget>
<spacer row="3" column="1">
<property name="name">
<cstring>spacer12_2</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>MinimumExpanding</enum>
</property>
<property name="sizeHint">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</spacer>
<widget class="QLayoutWidget" row="5" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>249</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>pushGO</cstring>
</property>
<property name="text">
<string>Colorize</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>pushCancel</cstring>
</property>
<property name="text">
<string>Close</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</hbox>
</widget>
<widget class="Line" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>line2</cstring>
</property>
<property name="frameShape">
<enum>HLine</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
<spacer row="1" column="1">
<property name="name">
<cstring>spacer11</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>MinimumExpanding</enum>
</property>
<property name="sizeHint">
<size>
<width>16</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QLayoutWidget" row="2" column="1">
<property name="name">
<cstring>layout15</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer row="1" column="0">
<property name="name">
<cstring>spacer13</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>1</width>
<height>16</height>
</size>
</property>
</spacer>
<widget class="QLabel" row="0" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="text">
<string>Original image:</string>
</property>
</widget>
<spacer row="1" column="2">
<property name="name">
<cstring>spacer35</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>1</width>
<height>16</height>
</size>
</property>
</spacer>
<widget class="SQ_BCGLabel" row="1" column="3">
<property name="name">
<cstring>pixmap1</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>160</width>
<height>160</height>
</size>
</property>
</widget>
<widget class="QLabel" row="0" column="3" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel4</cstring>
</property>
<property name="text">
<string>Image after colorizing:</string>
</property>
</widget>
<spacer row="1" column="4">
<property name="name">
<cstring>spacer34</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>1</width>
<height>16</height>
</size>
</property>
</spacer>
<widget class="SQ_BCGLabel" row="1" column="1">
<property name="name">
<cstring>pixmap</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>160</width>
<height>160</height>
</size>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<customwidgets>
<customwidget>
<class>SQ_BCGLabel</class>
<header location="local">sq_bcglabel.h</header>
<sizehint>
<width>-1</width>
<height>-1</height>
</sizehint>
<container>0</container>
<sizepolicy>
<hordata>5</hordata>
<verdata>5</verdata>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<pixmap>image0</pixmap>
</customwidget>
<customwidget>
<class>SQ_Label</class>
<header location="local">sq_label.h</header>
<sizehint>
<width>-1</width>
<height>-1</height>
</sizehint>
<container>0</container>
<sizepolicy>
<hordata>5</hordata>
<verdata>5</verdata>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<pixmap>image0</pixmap>
</customwidget>
</customwidgets>
<images>
<image name="image0">
<data format="PNG" length="1002">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000003b149444154388dad945f4c5b551cc73fe7dc4b7b4bcba0762d45c43114323599ee6192609c51d883892ce083f1718b3ebb185f8dc91e972cf39d2d2a2f1af664b6f1e0fe3863a0718969700eb0c52142da0242a1bd6d696f7bcff101585203ceb8fd9ece39f99dcff9fe7edf939f88c562ec465f5f9fe609442c161362173c3e3eae7b7a7ac8e7f36432196cdbfe4f907c3e4f2291201e8fe338cec3737357e9e8e828aded1e229d650e1f2d51754b082110124c13a4dc5ea341eb9dc284c0558a853f3ce8cb0677ef500fde7d39d2596679e326597b8e9abb85d7a770ab16ab6983ec5a05b487a70e36f0f4e10afe408d6a558310980108478dba4a1e8233990c5d474b64ed39aa3a8fe5f3317fbf81dbd70bccfeb205947632fd74f6589c1c6ea2f70d03a58ba0c1f2c9bdc1b66de3b8256a6e11cbe7e3ee1d181b590124fe2693aeee08d223c82c3a2c24b7b874bec8f26288774f7bd054504aef0dde6e99c0eb83f9fb266323cb80a27fb0958141836044605a2ee5523393371cc646fee2da37195aa35d0c0c5b4859ac03d7e91712dcaac5adab3650a3ff9d08ef7dd8404bb48869e5d958b5b87dadc4c9a1464e9f0d0326df7ebd86bd2e310cb1bf62d384d59441f2d70a070e1c60e09489929b988681bdd9cc97170bcc4c65595f71f8e0e3301337fc24a7732467831875a47f289652b0be5e4151e6d07316c1b0c0340d8ab92023e76d66a6b2840e36d2fb7a13fee632475e6edc367ea98a90fb98b7dd6310ca0328a44761582e1bab41befabcc0ec940d28bc5e93b68e064cab84e1d9beaeb48934eac1f53b01c1b000fca496aa54b61a99fcde61662a4b4b4b23d1680be9d426173e4df3602a48ea411989a4fd590f52a8fd156b05ed9d350e3defe3cfdf4b4c7ce770ea7d3fb9f520afbe1620daeee5c26735d20b9b9cfb6811a754a439e4e5c5639a4caa1e5caf586bfc0197b78702005cb9b4cae4cd3267ce8638fe964bd72b393e39d74928d242617303a756a37f284447770dcdbffc6384a05a85de1306e9a52057c7527c7131c3c42d3f475eb2303c82d4fc3276d6811db37efeb148723082d9b08f79f97c1e5729109a9a28307cc622d2d6cdf52b2b24efe548dedb00142009862cfa879ee1a71f6cec928353511472fbf4389148b0b0e0c108081412458dfe21c9f11351e67e7358595468246d1d1e5e38a6e9e851bc39d84ab502a669331dafec0d8ec7e3e8cb06e1a881d727d1ae40180a434a8c9db129a54126ad48a7358c2b4c5352c8c374bcccdab2bb37d8719cba79fab8211f9df218e0582c261e95f8bfc04f1a1e8bc5c4dfe0a190172af6a9690000000049454e44ae426082</data>
</image>
</images>
<connections>
<connection>
<sender>spinRed</sender>
<signal>valueChanged(int)</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotRedChanged(int)</slot>
</connection>
<connection>
<sender>spinGreen</sender>
<signal>valueChanged(int)</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotGreenChanged(int)</slot>
</connection>
<connection>
<sender>spinG</sender>
<signal>valueChanged(double)</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotGSpinChanged(double)</slot>
</connection>
<connection>
<sender>spinC</sender>
<signal>valueChanged(int)</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotCChanged(int)</slot>
</connection>
<connection>
<sender>spinBlue</sender>
<signal>valueChanged(int)</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotBlueChanged(int)</slot>
</connection>
<connection>
<sender>spinB</sender>
<signal>valueChanged(int)</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotBChanged(int)</slot>
</connection>
<connection>
<sender>sliderRed</sender>
<signal>valueChanged(int)</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotRedChanged(int)</slot>
</connection>
<connection>
<sender>sliderGreen</sender>
<signal>valueChanged(int)</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotGreenChanged(int)</slot>
</connection>
<connection>
<sender>sliderG</sender>
<signal>valueChanged(int)</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotGChanged(int)</slot>
</connection>
<connection>
<sender>sliderC</sender>
<signal>valueChanged(int)</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotCChanged(int)</slot>
</connection>
<connection>
<sender>sliderBlue</sender>
<signal>valueChanged(int)</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotBlueChanged(int)</slot>
</connection>
<connection>
<sender>sliderB</sender>
<signal>valueChanged(int)</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotBChanged(int)</slot>
</connection>
<connection>
<sender>pushResetRed</sender>
<signal>clicked()</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotResetRed()</slot>
</connection>
<connection>
<sender>pushResetGreen</sender>
<signal>clicked()</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotResetGreen()</slot>
</connection>
<connection>
<sender>pushResetG</sender>
<signal>clicked()</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotResetG()</slot>
</connection>
<connection>
<sender>pushResetC</sender>
<signal>clicked()</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotResetC()</slot>
</connection>
<connection>
<sender>pushResetBlue</sender>
<signal>clicked()</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotResetBlue()</slot>
</connection>
<connection>
<sender>pushResetB</sender>
<signal>clicked()</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotResetB()</slot>
</connection>
<connection>
<sender>pushGO</sender>
<signal>clicked()</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotStartBCG()</slot>
</connection>
<connection>
<sender>push2</sender>
<signal>clicked()</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotPush()</slot>
</connection>
<connection>
<sender>push1</sender>
<signal>clicked()</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>slotPush()</slot>
</connection>
<connection>
<sender>pushCancel</sender>
<signal>clicked()</signal>
<receiver>SQ_ImageBCG</receiver>
<slot>reject()</slot>
</connection>
</connections>
<tabstops>
<tabstop>push1</tabstop>
<tabstop>push2</tabstop>
<tabstop>pushResetRed</tabstop>
<tabstop>pushResetGreen</tabstop>
<tabstop>pushResetBlue</tabstop>
<tabstop>sliderRed</tabstop>
<tabstop>sliderGreen</tabstop>
<tabstop>sliderBlue</tabstop>
<tabstop>spinRed</tabstop>
<tabstop>spinGreen</tabstop>
<tabstop>spinBlue</tabstop>
<tabstop>pushGO</tabstop>
<tabstop>pushCancel</tabstop>
<tabstop>pushResetB</tabstop>
<tabstop>pushResetC</tabstop>
<tabstop>pushResetG</tabstop>
<tabstop>sliderB</tabstop>
<tabstop>sliderC</tabstop>
<tabstop>sliderG</tabstop>
<tabstop>spinB</tabstop>
<tabstop>spinC</tabstop>
<tabstop>spinG</tabstop>
</tabstops>
<includes>
<include location="local" impldecl="in declaration">sq_imageedit.h</include>
<include location="global" impldecl="in declaration">qimage.h</include>
<include location="global" impldecl="in declaration">qstringlist.h</include>
<include location="local" impldecl="in implementation">sq_iconloader.h</include>
<include location="global" impldecl="in implementation">kstandarddirs.h</include>
<include location="local" impldecl="in implementation">sq_config.h</include>
<include location="local" impldecl="in implementation">fmt_filters.h</include>
<include location="global" impldecl="in implementation">ksquirrel-libs/fmt_types.h</include>
<include location="global" impldecl="in implementation">ksquirrel-libs/fmt_defs.h</include>
<include location="local" impldecl="in implementation">sq_imagebcg.ui.h</include>
</includes>
<variables>
<variable access="private">int id;</variable>
<variable access="private">QImage sample, sample_saved;</variable>
<variable access="private">QStringList strings;</variable>
<variable access="private">static SQ_ImageBCG *m_inst;</variable>
</variables>
<signals>
<signal>bcg(SQ_ImageBCGOptions*)</signal>
</signals>
<slots>
<slot access="private" specifier="non virtual">slotResetG()</slot>
<slot access="private" specifier="non virtual">slotResetC()</slot>
<slot access="private" specifier="non virtual">slotResetB()</slot>
<slot access="private" specifier="non virtual">slotResetRed()</slot>
<slot access="private" specifier="non virtual">slotResetGreen()</slot>
<slot access="private" specifier="non virtual">slotResetBlue()</slot>
<slot access="private" specifier="non virtual">slotStartBCG()</slot>
<slot access="private" specifier="non virtual">slotBChanged( int v )</slot>
<slot access="private" specifier="non virtual">slotCChanged( int v )</slot>
<slot access="private" specifier="non virtual">slotRedChanged( int v )</slot>
<slot access="private" specifier="non virtual">slotGreenChanged( int v )</slot>
<slot access="private" specifier="non virtual">slotBlueChanged( int v )</slot>
<slot access="private" specifier="non virtual">slotGChanged( int v )</slot>
<slot access="private" specifier="non virtual">slotGSpinChanged( double v )</slot>
<slot access="private" specifier="non virtual">slotPush()</slot>
</slots>
<functions>
<function access="private" specifier="non virtual">init()</function>
<function access="private" specifier="non virtual" returnType="int">RGB2Y( int r, int g, int b )</function>
<function access="private" specifier="non virtual">assignNewImage( const QImage &amp; im )</function>
<function access="private" specifier="non virtual">changeImage( int b, int c, int g1, int red, int green, int blue )</function>
<function specifier="non virtual">setPreviewImage( const QImage &amp; im )</function>
<function specifier="static" returnType="SQ_ImageBCG *">instance()</function>
</functions>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>knuminput.h</includehint>
<includehint>sq_label.h</includehint>
<includehint>sq_label.h</includehint>
<includehint>sq_label.h</includehint>
<includehint>sq_label.h</includehint>
<includehint>sq_label.h</includehint>
<includehint>sq_label.h</includehint>
<includehint>sq_bcglabel.h</includehint>
<includehint>sq_bcglabel.h</includehint>
</includehints>
</UI>

@ -0,0 +1,241 @@
/****************************************************************************
** ui.h extension file, included from the uic-generated form implementation.
**
** If you wish to add, delete or rename functions or slots use
** Qt Designer which will update this file, preserving your code. Create an
** init() function in place of a constructor, and a destroy() function in
** place of a destructor.
*****************************************************************************/
SQ_ImageBCG * SQ_ImageBCG::m_inst = 0;
void SQ_ImageBCG::init()
{
m_inst = this;
QPixmap p = QPixmap::fromMimeSource(locate("data", "images/imageedit/reset_value.png"));
sQ_LabelB->setSingle(true);
sQ_LabelC->setSingle(true);
sQ_LabelG->setSingle(true);
sQ_LabelB->setText(tr2i18n("Brightness"));
sQ_LabelC->setText(tr2i18n("Contrast"));
sQ_LabelG->setText(tr2i18n("Gamma"));
sQ_LabelRed->setText(tr2i18n("Red"), tr2i18n("Cyan"));
sQ_LabelGreen->setText(tr2i18n("Green"), tr2i18n("Magenta"));
sQ_LabelBlue->setText(tr2i18n("Blue"), tr2i18n("Yellow"));
pushResetB->setPixmap(p);
pushResetC->setPixmap(p);
pushResetG->setPixmap(p);
pushResetRed->setPixmap(p);
pushResetGreen->setPixmap(p);
pushResetBlue->setPixmap(p);
strings.append(QString("<b>") + tr2i18n("Brightness") + ",&nbsp;" + tr2i18n("Contrast") + ",&nbsp;" + tr2i18n("Gamma") + "</b>");
strings.append(QString("<b>") + tr2i18n("Red") + ",&nbsp;" + tr2i18n("Green") + ",&nbsp;" + tr2i18n("Blue") + "</b>");
id = 0;
widgetStackParams->raiseWidget(id);
text->setText(strings[id]);
QPixmap tool1 = QPixmap::fromMimeSource(locate("data", "images/imageedit/resize_toolbutton.png"));
QPixmap tool2 = QPixmap::fromMimeSource(locate("data", "images/imageedit/resize_toolbutton2.png"));
push1->setPixmap(tool1);
push2->setPixmap(tool2);
spinG->setRange(0, 6.0, 0.01, 2);
spinG->setValue(1.0);
connect(spinG, SIGNAL(valueChanged(int)), spinG, SLOT(slotValueChanged(int)));
}
void SQ_ImageBCG::slotResetG()
{
sliderG->setValue(100);
}
void SQ_ImageBCG::slotResetC()
{
sliderC->setValue(0);
}
void SQ_ImageBCG::slotResetB()
{
sliderB->setValue(0);
}
void SQ_ImageBCG::slotResetRed()
{
sliderRed->setValue(0);
}
void SQ_ImageBCG::slotResetGreen()
{
sliderGreen->setValue(0);
}
void SQ_ImageBCG::slotResetBlue()
{
sliderBlue->setValue(0);
}
void SQ_ImageBCG::slotStartBCG()
{
SQ_ImageBCGOptions opt;
opt.b = sliderB->value();
opt.c = sliderC->value();
opt.g = sliderG->value();
opt.red = sliderRed->value();
opt.green = sliderGreen->value();
opt.blue = sliderBlue->value();
emit bcg(&opt);
}
int SQ_ImageBCG::RGB2Y(int r, int g, int b)
{
return (int)((double)r * 0.299 + (double)g * 0.587 + (double)b * 0.114);
}
void SQ_ImageBCG::slotBChanged(int v)
{
spinB->blockSignals(true);
sliderB->blockSignals(true);
spinB->setValue(v);
sliderB->setValue(v);
spinB->blockSignals(false);
sliderB->blockSignals(false);
changeImage(v, sliderC->value(), sliderG->value(), sliderRed->value(), sliderGreen->value(), sliderBlue->value());
}
void SQ_ImageBCG::slotCChanged(int v)
{
spinC->blockSignals(true);
sliderC->blockSignals(true);
spinC->setValue(v);
sliderC->setValue(v);
spinC->blockSignals(false);
sliderC->blockSignals(false);
changeImage(sliderB->value(), v, sliderG->value(), sliderRed->value(), sliderGreen->value(), sliderBlue->value());
}
void SQ_ImageBCG::slotRedChanged(int v)
{
spinRed->blockSignals(true);
sliderRed->blockSignals(true);
spinRed->setValue(v);
sliderRed->setValue(v);
spinRed->blockSignals(false);
sliderRed->blockSignals(false);
changeImage(sliderB->value(), sliderC->value(), sliderG->value(), v, sliderGreen->value(), sliderBlue->value());
}
void SQ_ImageBCG::slotGreenChanged(int v)
{
spinGreen->blockSignals(true);
sliderGreen->blockSignals(true);
spinGreen->setValue(v);
sliderGreen->setValue(v);
spinGreen->blockSignals(false);
sliderGreen->blockSignals(false);
changeImage(sliderB->value(), sliderC->value(), sliderG->value(), sliderRed->value(), v, sliderBlue->value());
}
void SQ_ImageBCG::slotBlueChanged(int v)
{
spinBlue->blockSignals(true);
sliderBlue->blockSignals(true);
spinBlue->setValue(v);
sliderBlue->setValue(v);
spinBlue->blockSignals(false);
sliderBlue->blockSignals(false);
changeImage(sliderB->value(), sliderC->value(), sliderG->value(), sliderRed->value(), sliderGreen->value(), v);
}
void SQ_ImageBCG::slotGChanged(int v)
{
double g = (double)v / 100.0;
spinG->blockSignals(true);
spinG->setValue(g);
spinG->blockSignals(false);
changeImage(sliderB->value(), sliderC->value(), v, sliderRed->value(), sliderGreen->value(), sliderBlue->value());
}
void SQ_ImageBCG::slotGSpinChanged(double v)
{
int val = (int)(v * 100.0);
sliderG->blockSignals(true);
sliderG->setValue(val);
sliderG->blockSignals(false);
changeImage(sliderB->value(), sliderC->value(), val, sliderRed->value(), sliderGreen->value(), sliderBlue->value());
}
void SQ_ImageBCG::assignNewImage(const QImage &im)
{
QPixmap p;
p.convertFromImage(im);
pixmap1->setPixmap(p);
}
void SQ_ImageBCG::changeImage(int b, int c, int g1, int red, int green, int blue)
{
if(sample.isNull() || sample_saved.isNull())
return;
double g = (double)g1 / 100.0;
sample = sample_saved.copy();
// change brightness
fmt_filters::brightness(fmt_filters::image(sample.bits(), sample.width(), sample.height()), b);
//change contrast
if(c)
fmt_filters::contrast(fmt_filters::image(sample.bits(), sample.width(), sample.height()), c);
// change gamma
if(g1 != 100)
fmt_filters::gamma(fmt_filters::image(sample.bits(), sample.width(), sample.height()), g);
if(red || green || blue)
fmt_filters::colorize(fmt_filters::image(sample.bits(), sample.width(), sample.height()), blue, green, red);
assignNewImage(sample);
}
void SQ_ImageBCG::slotPush()
{
if(!id) id = 1;
else id = 0;
widgetStackParams->raiseWidget(id);
text->setText(strings[id]);
}
void SQ_ImageBCG::setPreviewImage(const QImage &im)
{
if(im.isNull()) return;
sample = im.copy();
sample_saved = sample.copy();
QPixmap p;
p.convertFromImage(sample_saved);
pixmap->setPixmap(p);
pixmap1->setPixmap(p);
changeImage(sliderB->value(), sliderC->value(), sliderG->value(), sliderRed->value(), sliderGreen->value(), sliderBlue->value());
}
SQ_ImageBCG* SQ_ImageBCG::instance()
{
return m_inst;
}

@ -0,0 +1,345 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>SQ_ImageConvert</class>
<widget class="QDialog">
<property name="name">
<cstring>SQ_ImageConvert</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>436</width>
<height>324</height>
</rect>
</property>
<property name="caption">
<string>SQ_ImageConvert</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget" row="2" column="0">
<property name="name">
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer1</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>237</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>pushConvert</cstring>
</property>
<property name="text">
<string>Convert</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>pushCancel</cstring>
</property>
<property name="text">
<string>Close</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</hbox>
</widget>
<widget class="Line" row="1" column="0">
<property name="name">
<cstring>line8</cstring>
</property>
<property name="frameShape">
<enum>HLine</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
<widget class="QWidgetStack" row="0" column="0">
<property name="name">
<cstring>widgetStack</cstring>
</property>
<widget class="QWidget">
<property name="name">
<cstring>WStackPage</cstring>
</property>
<attribute name="id">
<number>0</number>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="QGroupBox" row="0" column="1">
<property name="name">
<cstring>groupBoxActions</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>NoFrame</enum>
</property>
<property name="title">
<string></string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="QPushButton" row="0" column="0">
<property name="name">
<cstring>pushOptions</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<spacer row="2" column="0">
<property name="name">
<cstring>spacer15</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>26</width>
<height>155</height>
</size>
</property>
</spacer>
<widget class="QPushButton" row="1" column="0">
<property name="name">
<cstring>pushWriteOptions</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="toggleButton">
<bool>true</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Conversion options</string>
</property>
</widget>
</grid>
</widget>
<widget class="QListView" row="0" column="0">
<column>
<property name="text">
<string>col1</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>col2</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<property name="name">
<cstring>tableLib</cstring>
</property>
<property name="allColumnsShowFocus">
<bool>true</bool>
</property>
<property name="resizeMode">
<enum>LastColumn</enum>
</property>
</widget>
</grid>
</widget>
<widget class="QWidget">
<property name="name">
<cstring>WStackPage</cstring>
</property>
<attribute name="id">
<number>1</number>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="QTextEdit" row="0" column="0">
<property name="name">
<cstring>textResult</cstring>
</property>
<property name="wordWrap">
<enum>NoWrap</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="undoRedoEnabled">
<bool>false</bool>
</property>