summaryrefslogtreecommitdiffstats
path: root/client/config
diff options
context:
space:
mode:
Diffstat (limited to 'client/config')
-rw-r--r--client/config/Makefile.am19
-rw-r--r--client/config/Makefile.in824
-rw-r--r--client/config/configdialog.ui2165
-rw-r--r--client/config/deKoratorconfig.cc464
-rw-r--r--client/config/deKoratorconfig.h72
-rw-r--r--client/config/themes.cpp460
-rw-r--r--client/config/themes.h74
-rw-r--r--client/config/themes.moc.cc110
-rw-r--r--client/config/themes.moc.loT7
9 files changed, 4195 insertions, 0 deletions
diff --git a/client/config/Makefile.am b/client/config/Makefile.am
new file mode 100644
index 0000000..de690eb
--- /dev/null
+++ b/client/config/Makefile.am
@@ -0,0 +1,19 @@
+AUTOMAKE_OPTIONS = foreign
+
+KDE_CXXFLAGS = -DQT_PLUGIN
+
+INCLUDES = $(all_includes)
+
+noinst_HEADERS = deKoratorconfig.h themes.h
+
+kde_module_LTLIBRARIES = kwin_deKorator_config.la
+kwin_deKorator_config_la_SOURCES = deKoratorconfig.cc configdialog.ui \
+ themes.cpp
+kwin_deKorator_config_la_LDFLAGS = -module $(all_libraries) $(KDE_PLUGIN)
+kwin_deKorator_config_la_LIBADD = $(LIB_KIO) $(LIB_KDEUI)
+kwin_deKorator_config_la_METASOURCES = AUTO
+
+DISTCLEANFILES = $(kwin_deKorator_config_la_METASOURCES)
+
+messages:
+ $(XGETTEXT) *.cpp -o $(podir)/kwin_deKorator_config.pot
diff --git a/client/config/Makefile.in b/client/config/Makefile.in
new file mode 100644
index 0000000..db931cb
--- /dev/null
+++ b/client/config/Makefile.in
@@ -0,0 +1,824 @@
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 435799 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = client/config
+DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(kde_moduledir)"
+kde_moduleLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(kde_module_LTLIBRARIES)
+am__DEPENDENCIES_1 =
+kwin_deKorator_config_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1)
+am_kwin_deKorator_config_la_OBJECTS = deKoratorconfig.lo themes.lo
+#>- kwin_deKorator_config_la_OBJECTS = \
+#>- $(am_kwin_deKorator_config_la_OBJECTS)
+#>+ 4
+kwin_deKorator_config_la_final_OBJECTS = kwin_deKorator_config_la.all_cc.lo themes.lo
+kwin_deKorator_config_la_nofinal_OBJECTS = deKoratorconfig.lo themes.lo configdialog.lo
+@KDE_USE_FINAL_FALSE@kwin_deKorator_config_la_OBJECTS = $(kwin_deKorator_config_la_nofinal_OBJECTS)
+@KDE_USE_FINAL_TRUE@kwin_deKorator_config_la_OBJECTS = $(kwin_deKorator_config_la_final_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
+am__depfiles_maybe = depfiles
+#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 2
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+#>- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
+#>- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+#>- $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 3
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+CXXLD = $(CXX)
+#>- CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+#>- $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+#>+ 2
+CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+ $(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(kwin_deKorator_config_la_SOURCES)
+DIST_SOURCES = $(kwin_deKorator_config_la_SOURCES)
+HEADERS = $(noinst_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+KDE_PLUGIN = @KDE_PLUGIN@
+KDE_RPATH = @KDE_RPATH@
+KDE_USE_CLOSURE_FALSE = @KDE_USE_CLOSURE_FALSE@
+KDE_USE_CLOSURE_TRUE = @KDE_USE_CLOSURE_TRUE@
+KDE_USE_FINAL_FALSE = @KDE_USE_FINAL_FALSE@
+KDE_USE_FINAL_TRUE = @KDE_USE_FINAL_TRUE@
+KDE_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MOC = @MOC@
+MSGFMT = @MSGFMT@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+TOPSUBDIRS = @TOPSUBDIRS@
+UIC = @UIC@
+UIC_TR = @UIC_TR@
+USER_INCLUDES = @USER_INCLUDES@
+USER_LDFLAGS = @USER_LDFLAGS@
+USE_EXCEPTIONS = @USE_EXCEPTIONS@
+USE_RTTI = @USE_RTTI@
+USE_THREADS = @USE_THREADS@
+VERSION = @VERSION@
+WOVERLOADED_VIRTUAL = @WOVERLOADED_VIRTUAL@
+XGETTEXT = @XGETTEXT@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+include_ARTS_FALSE = @include_ARTS_FALSE@
+include_ARTS_TRUE = @include_ARTS_TRUE@
+include_x11_FALSE = @include_x11_FALSE@
+include_x11_TRUE = @include_x11_TRUE@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+kde_appsdir = @kde_appsdir@
+kde_bindir = @kde_bindir@
+kde_confdir = @kde_confdir@
+kde_datadir = @kde_datadir@
+kde_htmldir = @kde_htmldir@
+kde_icondir = @kde_icondir@
+kde_includes = @kde_includes@
+kde_kcfgdir = @kde_kcfgdir@
+kde_libraries = @kde_libraries@
+kde_libs_htmldir = @kde_libs_htmldir@
+kde_libs_prefix = @kde_libs_prefix@
+kde_locale = @kde_locale@
+kde_mimedir = @kde_mimedir@
+kde_moduledir = @kde_moduledir@
+kde_qtver = @kde_qtver@
+kde_servicesdir = @kde_servicesdir@
+kde_servicetypesdir = @kde_servicetypesdir@
+kde_sounddir = @kde_sounddir@
+kde_styledir = @kde_styledir@
+kde_templatesdir = @kde_templatesdir@
+kde_wallpaperdir = @kde_wallpaperdir@
+kde_widgetdir = @kde_widgetdir@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+unsermake_enable_pch_FALSE = @unsermake_enable_pch_FALSE@
+unsermake_enable_pch_TRUE = @unsermake_enable_pch_TRUE@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+AUTOMAKE_OPTIONS = foreign
+KDE_CXXFLAGS = -DQT_PLUGIN
+INCLUDES = $(all_includes)
+noinst_HEADERS = deKoratorconfig.h themes.h
+kde_module_LTLIBRARIES = kwin_deKorator_config.la
+#>- kwin_deKorator_config_la_SOURCES = deKoratorconfig.cc configdialog.ui \
+#>- themes.cpp
+#>+ 2
+kwin_deKorator_config_la_SOURCES=deKoratorconfig.cc \
+ themes.cpp configdialog.cc
+
+kwin_deKorator_config_la_LDFLAGS = -module $(all_libraries) $(KDE_PLUGIN)
+kwin_deKorator_config_la_LIBADD = $(LIB_KIO) $(LIB_KDEUI)
+#>- kwin_deKorator_config_la_METASOURCES = AUTO
+DISTCLEANFILES = $(kwin_deKorator_config_la_METASOURCES)
+#>- all: all-am
+#>+ 1
+all: docs-am all-am
+
+.SUFFIXES:
+.SUFFIXES: .cc .cpp .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign client/config/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --foreign client/config/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign client/config/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --foreign client/config/Makefile
+ cd $(top_srcdir) && perl admin/am_edit client/config/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-kde_moduleLTLIBRARIES: $(kde_module_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ test -z "$(kde_moduledir)" || $(mkdir_p) "$(DESTDIR)$(kde_moduledir)"
+ @list='$(kde_module_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+ f=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=install $(kde_moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(kde_moduledir)/$$f'"; \
+ $(LIBTOOL) --mode=install $(kde_moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(kde_moduledir)/$$f"; \
+ else :; fi; \
+ done
+
+uninstall-kde_moduleLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @set -x; list='$(kde_module_LTLIBRARIES)'; for p in $$list; do \
+ p=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(kde_moduledir)/$$p'"; \
+ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(kde_moduledir)/$$p"; \
+ done
+
+clean-kde_moduleLTLIBRARIES:
+ -test -z "$(kde_module_LTLIBRARIES)" || rm -f $(kde_module_LTLIBRARIES)
+ @list='$(kde_module_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+#>- kwin_deKorator_config.la: $(kwin_deKorator_config_la_OBJECTS) $(kwin_deKorator_config_la_DEPENDENCIES)
+#>+ 2
+@KDE_USE_CLOSURE_TRUE@kwin_deKorator_config.la: kwin_deKorator_config.la.closure $(kwin_deKorator_config_la_OBJECTS) $(kwin_deKorator_config_la_DEPENDENCIES)
+@KDE_USE_CLOSURE_FALSE@kwin_deKorator_config.la: $(kwin_deKorator_config_la_OBJECTS) $(kwin_deKorator_config_la_DEPENDENCIES)
+ $(CXXLINK) -rpath $(kde_moduledir) $(kwin_deKorator_config_la_LDFLAGS) $(kwin_deKorator_config_la_OBJECTS) $(kwin_deKorator_config_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/deKoratorconfig.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/themes.Plo@am__quote@
+
+.cc.o:
+@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cc.obj:
+@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cc.lo:
+@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+.cpp.o:
+@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(kde_moduledir)"; do \
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-am
+#>+ 1
+clean: kde-rpo-clean clean-am
+
+#>- clean-am: clean-generic clean-kde_moduleLTLIBRARIES clean-libtool \
+#>- mostlyclean-am
+#>+ 2
+clean-am: clean-metasources clean-ui clean-closures clean-bcheck clean-final clean-generic clean-kde_moduleLTLIBRARIES clean-libtool \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+#>- install-data-am: install-kde_moduleLTLIBRARIES
+#>+ 1
+install-data-am:
+
+#>- install-exec-am:
+#>+ 1
+install-exec-am: install-kde_moduleLTLIBRARIES
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am uninstall-kde_moduleLTLIBRARIES
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+ clean-kde_moduleLTLIBRARIES clean-libtool ctags distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-exec \
+ install-exec-am install-info install-info-am \
+ install-kde_moduleLTLIBRARIES install-man install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags uninstall uninstall-am uninstall-info-am \
+ uninstall-kde_moduleLTLIBRARIES
+
+
+messages:
+ $(XGETTEXT) *.cpp -o $(podir)/kwin_deKorator_config.pot
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
+
+#>+ 8
+kwin_deKorator_config.la.closure: $(kwin_deKorator_config_la_OBJECTS) $(kwin_deKorator_config_la_DEPENDENCIES)
+ @echo "int main() {return 0;}" > kwin_deKorator_config_la_closure.cc
+ @$(LTCXXCOMPILE) -c kwin_deKorator_config_la_closure.cc
+ $(CXXLINK) kwin_deKorator_config_la_closure.lo $(kwin_deKorator_config_la_LDFLAGS) $(kwin_deKorator_config_la_OBJECTS) $(kwin_deKorator_config_la_LIBADD) $(LIBS)
+ @rm -f kwin_deKorator_config_la_closure.* kwin_deKorator_config.la.closure
+ @echo "timestamp" > kwin_deKorator_config.la.closure
+
+
+#>+ 3
+themes.moc: $(srcdir)/themes.h
+ $(MOC) $(srcdir)/themes.h -o themes.moc
+
+#>+ 2
+mocs: themes.moc
+
+#>+ 3
+deKoratorconfig.moc: $(srcdir)/deKoratorconfig.h
+ $(MOC) $(srcdir)/deKoratorconfig.h -o deKoratorconfig.moc
+
+#>+ 2
+mocs: deKoratorconfig.moc
+
+#>+ 3
+clean-metasources:
+ -rm -f themes.moc deKoratorconfig.moc
+
+#>+ 2
+KDE_DIST=Makefile.in configdialog.ui deKoratorconfig.loT Makefile.am
+
+#>+ 4
+clean-ui:
+ -rm -f \
+ configdialog.cc configdialog.h configdialog.moc
+
+#>+ 3
+clean-closures:
+ -rm -f kwin_deKorator_config.la.closure
+
+#>+ 2
+docs-am:
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign client/config/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --foreign client/config/Makefile
+ cd $(top_srcdir) && perl admin/am_edit client/config/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-am
+
+bcheck-am:
+ @for i in ; do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXXCOMPILE) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 11
+kwin_deKorator_config_la.all_cc.cc: $(srcdir)/Makefile.in $(srcdir)/deKoratorconfig.cc configdialog.cc themes.moc deKoratorconfig.moc
+ @echo 'creating kwin_deKorator_config_la.all_cc.cc ...'; \
+ rm -f kwin_deKorator_config_la.all_cc.files kwin_deKorator_config_la.all_cc.final; \
+ echo "#define KDE_USE_FINAL 1" >> kwin_deKorator_config_la.all_cc.final; \
+ for file in deKoratorconfig.cc configdialog.cc ; do \
+ echo "#include \"$$file\"" >> kwin_deKorator_config_la.all_cc.files; \
+ test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> kwin_deKorator_config_la.all_cc.final; \
+ done; \
+ cat kwin_deKorator_config_la.all_cc.final kwin_deKorator_config_la.all_cc.files > kwin_deKorator_config_la.all_cc.cc; \
+ rm -f kwin_deKorator_config_la.all_cc.final kwin_deKorator_config_la.all_cc.files
+
+#>+ 3
+clean-final:
+ -rm -f kwin_deKorator_config_la.all_cc.cc
+
+#>+ 3
+final:
+ $(MAKE) kwin_deKorator_config_la_OBJECTS="$(kwin_deKorator_config_la_final_OBJECTS)" all-am
+
+#>+ 3
+final-install:
+ $(MAKE) kwin_deKorator_config_la_OBJECTS="$(kwin_deKorator_config_la_final_OBJECTS)" install-am
+
+#>+ 3
+no-final:
+ $(MAKE) kwin_deKorator_config_la_OBJECTS="$(kwin_deKorator_config_la_nofinal_OBJECTS)" all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) kwin_deKorator_config_la_OBJECTS="$(kwin_deKorator_config_la_nofinal_OBJECTS)" install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 9
+nmcheck:
+$(srcdir)/themes.cpp: configdialog.h
+deKoratorconfig.o: deKoratorconfig.moc
+nmcheck-am: nmcheck
+deKoratorconfig.lo: deKoratorconfig.moc
+themes.lo: themes.moc
+$(srcdir)/deKoratorconfig.cc: configdialog.h
+themes.o: themes.moc
+
+#>+ 15
+configdialog.cc: $(srcdir)/configdialog.ui configdialog.h configdialog.moc
+ rm -f configdialog.cc
+ echo '#include <kdialog.h>' > configdialog.cc
+ echo '#include <klocale.h>' >> configdialog.cc
+ $(UIC) -tr ${UIC_TR} -i configdialog.h $(srcdir)/configdialog.ui > configdialog.cc.temp ; ret=$$?; \
+ $(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" configdialog.cc.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_configdialog,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> configdialog.cc ;\
+ rm -f configdialog.cc.temp ;\
+ if test "$$ret" = 0; then echo '#include "configdialog.moc"' >> configdialog.cc; else rm -f configdialog.cc ; exit $$ret ; fi
+
+configdialog.h: $(srcdir)/configdialog.ui
+ rm -rf configdialog.h;
+ $(UIC) $(srcdir)/configdialog.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> configdialog.h ;
+configdialog.moc: configdialog.h
+ $(MOC) configdialog.h -o configdialog.moc
diff --git a/client/config/configdialog.ui b/client/config/configdialog.ui
new file mode 100644
index 0000000..0fd4ee1
--- /dev/null
+++ b/client/config/configdialog.ui
@@ -0,0 +1,2165 @@
+<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
+<class>ConfigDialog</class>
+<widget class="QWidget">
+ <property name="name">
+ <cstring>ConfigDialog</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>471</width>
+ <height>525</height>
+ </rect>
+ </property>
+ <property name="caption">
+ <string>Config Dialog</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QTabWidget">
+ <property name="name">
+ <cstring>tabWidget2</cstring>
+ </property>
+ <widget class="QWidget">
+ <property name="name">
+ <cstring>tab</cstring>
+ </property>
+ <attribute name="title">
+ <string>M&amp;isc</string>
+ </attribute>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QGroupBox">
+ <property name="name">
+ <cstring>generalbox</cstring>
+ </property>
+ <property name="frameShape">
+ <enum>GroupBoxPanel</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>Sunken</enum>
+ </property>
+ <property name="title">
+ <string>Decoration Settings</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>titlealign</cstring>
+ </property>
+ <property name="title">
+ <string>Title &amp;Alignment</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Use these buttons to set the alignment of the window title</string>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QRadioButton">
+ <property name="name">
+ <cstring>AlignLeft</cstring>
+ </property>
+ <property name="text">
+ <string>L&amp;eft</string>
+ </property>
+ <property name="accel">
+ <string>Alt+E</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string></string>
+ </property>
+ </widget>
+ <widget class="QRadioButton">
+ <property name="name">
+ <cstring>AlignHCenter</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;Center</string>
+ </property>
+ <property name="accel">
+ <string>Alt+C</string>
+ </property>
+ <property name="checked">
+ <bool>false</bool>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string></string>
+ </property>
+ </widget>
+ <widget class="QRadioButton">
+ <property name="name">
+ <cstring>AlignRight</cstring>
+ </property>
+ <property name="text">
+ <string>Ri&amp;ght</string>
+ </property>
+ <property name="accel">
+ <string>Alt+G</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup6</cstring>
+ </property>
+ <property name="title">
+ <string>Text Shadow</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>useShdtextChkBox</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;Use shadowed text</string>
+ </property>
+ <property name="accel">
+ <string>Alt+U</string>
+ </property>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout15</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup7</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="title">
+ <string>Active</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout11</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_5</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>X :</string>
+ </property>
+ </widget>
+ <widget class="QSpinBox">
+ <property name="name">
+ <cstring>activeShdtextXSpinBox</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="maxValue">
+ <number>3</number>
+ </property>
+ <property name="minValue">
+ <number>-3</number>
+ </property>
+ </widget>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_5_2</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>Y :</string>
+ </property>
+ </widget>
+ <widget class="QSpinBox">
+ <property name="name">
+ <cstring>activeShdtextYSpinBox</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="maxValue">
+ <number>3</number>
+ </property>
+ <property name="minValue">
+ <number>-3</number>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout10</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_6</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>Color</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>activeShdColBtn</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup7_2</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="title">
+ <string>Inactive</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout11_2</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_5_4</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>X :</string>
+ </property>
+ </widget>
+ <widget class="QSpinBox">
+ <property name="name">
+ <cstring>inActiveShdtextXSpinBox</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="maxValue">
+ <number>3</number>
+ </property>
+ <property name="minValue">
+ <number>-3</number>
+ </property>
+ </widget>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_5_2_3</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>Y :</string>
+ </property>
+ </widget>
+ <widget class="QSpinBox">
+ <property name="name">
+ <cstring>inActiveShdtextYSpinBox</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="maxValue">
+ <number>3</number>
+ </property>
+ <property name="minValue">
+ <number>-3</number>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout14</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_6_3</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>Color</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>inActiveShdColBtn</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup9</cstring>
+ </property>
+ <property name="title">
+ <string>Pressed Buttons Shift</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout17</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout16</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_5_3</cstring>
+ </property>
+ <property name="text">
+ <string>X :</string>
+ </property>
+ </widget>
+ <widget class="QSpinBox">
+ <property name="name">
+ <cstring>btnShiftXSpinBox</cstring>
+ </property>
+ <property name="maxValue">
+ <number>3</number>
+ </property>
+ <property name="minValue">
+ <number>-3</number>
+ </property>
+ </widget>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_5_2_2</cstring>
+ </property>
+ <property name="text">
+ <string>Y :</string>
+ </property>
+ </widget>
+ <widget class="QSpinBox">
+ <property name="name">
+ <cstring>btnShiftYSpinBox</cstring>
+ </property>
+ <property name="maxValue">
+ <number>3</number>
+ </property>
+ <property name="minValue">
+ <number>-3</number>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer2</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>161</width>
+ <height>21</height>
+ </size>
+ </property>
+ </spacer>
+ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>useMenuImageChkBox</cstring>
+ </property>
+ <property name="text">
+ <string>Use menu button image insted o&amp;f the app icon</string>
+ </property>
+ <property name="accel">
+ <string>Alt+F</string>
+ </property>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>ignoreAppIcnCol</cstring>
+ </property>
+ <property name="text">
+ <string>Ignore app icon colorizing</string>
+ </property>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>dblClkCloseChkBox</cstring>
+ </property>
+ <property name="text">
+ <string>Close &amp;window by by double clicking the menu button</string>
+ </property>
+ <property name="accel">
+ <string>Alt+W</string>
+ </property>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>showBtmBorderChkBox</cstring>
+ </property>
+ <property name="text">
+ <string>Show &amp;bottom border when window is shaded</string>
+ </property>
+ <property name="accel">
+ <string>Alt+B</string>
+ </property>
+ </widget>
+ </vbox>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer11_2</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>30</height>
+ </size>
+ </property>
+ </spacer>
+ </vbox>
+ </widget>
+ <widget class="QWidget">
+ <property name="name">
+ <cstring>TabPage</cstring>
+ </property>
+ <attribute name="title">
+ <string>Color&amp;s</string>
+ </attribute>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup2</cstring>
+ </property>
+ <property name="title">
+ <string>Colors</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout19</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup14</cstring>
+ </property>
+ <property name="title">
+ <string>Active</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>colorizeActFramesChkBox</cstring>
+ </property>
+ <property name="text">
+ <string>Colrize &amp;frames</string>
+ </property>
+ <property name="accel">
+ <string>Alt+F</string>
+ </property>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>colorizeActButtonsChkBox</cstring>
+ </property>
+ <property name="text">
+ <string>Colorize &amp;buttons</string>
+ </property>
+ <property name="accel">
+ <string>Alt+B</string>
+ </property>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup14_2</cstring>
+ </property>
+ <property name="title">
+ <string>Inactive</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>colorizeInActFramesChkBox</cstring>
+ </property>
+ <property name="text">
+ <string>Colrize &amp;frames</string>
+ </property>
+ <property name="accel">
+ <string>Alt+F</string>
+ </property>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>colorizeInActButtonsChkBox</cstring>
+ </property>
+ <property name="text">
+ <string>Colorize &amp;buttons</string>
+ </property>
+ <property name="accel">
+ <string>Alt+B</string>
+ </property>
+ </widget>
+ </vbox>
+ </widget>
+ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup5</cstring>
+ </property>
+ <property name="title">
+ <string>Hover Effects</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>useAnimChkBox</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;Use buttons animation</string>
+ </property>
+ <property name="accel">
+ <string>Alt+U</string>
+ </property>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout18</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup12</cstring>
+ </property>
+ <property name="title">
+ <string>Animate Effect</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QComboBox">
+ <item>
+ <property name="text">
+ <string>Intensity</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Blend</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Solarize</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Fade</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Trashed</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Hue Shift</string>
+ </property>
+ </item>
+ <property name="name">
+ <cstring>animateEfeectsCombo</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout37</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_8</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>Steps :</string>
+ </property>
+ </widget>
+ <widget class="QSpinBox">
+ <property name="name">
+ <cstring>stepsSpinBox</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="maxValue">
+ <number>10</number>
+ </property>
+ <property name="minValue">
+ <number>1</number>
+ </property>
+ </widget>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel2_5</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>Interval</string>
+ </property>
+ </widget>
+ <widget class="QSpinBox">
+ <property name="name">
+ <cstring>intervalSpinBox</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="maxValue">
+ <number>1000</number>
+ </property>
+ <property name="minValue">
+ <number>1</number>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>KeepAnimateChkBox</cstring>
+ </property>
+ <property name="text">
+ <string>Keep Animating</string>
+ </property>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup11</cstring>
+ </property>
+ <property name="title">
+ <string>Hover And Press Effect</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QComboBox">
+ <item>
+ <property name="text">
+ <string>To Gray</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Colorize</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>DeSaturate</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>To Gamma</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Use Image Colors</string>
+ </property>
+ </item>
+ <property name="name">
+ <cstring>hoverTypeCombo</cstring>
+ </property>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout14</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_4</cstring>
+ </property>
+ <property name="text">
+ <string>Amount :</string>
+ </property>
+ </widget>
+ <widget class="QSpinBox">
+ <property name="name">
+ <cstring>effectsAmount_SpinBox</cstring>
+ </property>
+ <property name="maxValue">
+ <number>10</number>
+ </property>
+ <property name="minValue">
+ <number>1</number>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup13</cstring>
+ </property>
+ <property name="title">
+ <string>Highlight Colors</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout19</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout17</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_3</cstring>
+ </property>
+ <property name="text">
+ <string>Active color</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>activeHighlightClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout18</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_3_2</cstring>
+ </property>
+ <property name="text">
+ <string>Inactive color</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>inActiveHighlightClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup5_2</cstring>
+ </property>
+ <property name="title">
+ <string>Colorizing Method</string>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout38</cstring>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel2_4</cstring>
+ </property>
+ <property name="text">
+ <string>Deco's</string>
+ </property>
+ </widget>
+ <widget class="QComboBox">
+ <item>
+ <property name="text">
+ <string>Liquid Method</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Kde Method</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Hue Adgustment</string>
+ </property>
+ </item>
+ <property name="name">
+ <cstring>decoColorizeComboBox</cstring>
+ </property>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout39</cstring>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel3</cstring>
+ </property>
+ <property name="text">
+ <string>Buttons</string>
+ </property>
+ </widget>
+ <widget class="QComboBox">
+ <item>
+ <property name="text">
+ <string>Liquid Method</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Kde Method</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Hue Adgustment</string>
+ </property>
+ </item>
+ <property name="name">
+ <cstring>buttonsColorizeComboBox</cstring>
+ </property>
+ </widget>
+ </vbox>
+ </widget>
+ </hbox>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer6</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+ </size>
+ </property>
+ </spacer>
+ </vbox>
+ </widget>
+ <widget class="QWidget">
+ <property name="name">
+ <cstring>TabPage</cstring>
+ </property>
+ <attribute name="title">
+ <string>Buttons</string>
+ </attribute>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>useCusBtnClrChkBox</cstring>
+ </property>
+ <property name="text">
+ <string>Use custom buttons colors</string>
+ </property>
+ </widget>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup16</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="title">
+ <string>Custom Buttons Colors</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_7</cstring>
+ </property>
+ <property name="text">
+ <string>Apply custom colors to:</string>
+ </property>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout37</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>cusColActBtnChkBox</cstring>
+ </property>
+ <property name="text">
+ <string>Active buttons</string>
+ </property>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>cusColInActBtnChkBox</cstring>
+ </property>
+ <property name="text">
+ <string>InActive buttons</string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer10_2</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout42</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout41</cstring>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout38</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel9</cstring>
+ </property>
+ <property name="text">
+ <string>Close</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>closeClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout25</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1</cstring>
+ </property>
+ <property name="text">
+ <string>Max</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>maxClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout28</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel4_2</cstring>
+ </property>
+ <property name="text">
+ <string>Help</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>helpClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout29</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel5</cstring>
+ </property>
+ <property name="text">
+ <string>Sticky</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>stickyClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout32</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel7</cstring>
+ </property>
+ <property name="text">
+ <string>Above</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>aboveClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout28_2</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel4_2_2</cstring>
+ </property>
+ <property name="text">
+ <string>Below</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>belowClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout31_2</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel6_2</cstring>
+ </property>
+ <property name="text">
+ <string>Shade</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>shadeClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout36</cstring>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout27</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel3_2</cstring>
+ </property>
+ <property name="text">
+ <string>Min</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>minClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout26</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel2_2</cstring>
+ </property>
+ <property name="text">
+ <string>Restore</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>restoreClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout33_2</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel8_2</cstring>
+ </property>
+ <property name="text">
+ <string>Menu</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>menuClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout31</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel6</cstring>
+ </property>
+ <property name="text">
+ <string>Sticky Down</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>stickyDownClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout33</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel8</cstring>
+ </property>
+ <property name="text">
+ <string>Above Down</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>aboveDownClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout29_2</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel5_2</cstring>
+ </property>
+ <property name="text">
+ <string>Below Down</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>belowDownClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout32_2</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel7_2</cstring>
+ </property>
+ <property name="text">
+ <string>Shade Down</string>
+ </property>
+ </widget>
+ <widget class="KColorButton">
+ <property name="name">
+ <cstring>shadeDownClrBtn</cstring>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer18</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>60</height>
+ </size>
+ </property>
+ </spacer>
+ </vbox>
+ </widget>
+ <widget class="QWidget">
+ <property name="name">
+ <cstring>TabPage</cstring>
+ </property>
+ <attribute name="title">
+ <string>&amp;Paths</string>
+ </attribute>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup3</cstring>
+ </property>
+ <property name="title">
+ <string>Tiles Path's</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_2</cstring>
+ </property>
+ <property name="text">
+ <string>Frames tiles Path</string>
+ </property>
+ </widget>
+ <widget class="KURLRequester">
+ <property name="name">
+ <cstring>framesPathKurl</cstring>
+ </property>
+ </widget>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel2</cstring>
+ </property>
+ <property name="text">
+ <string>Buttons tiles path</string>
+ </property>
+ </widget>
+ <widget class="KURLRequester">
+ <property name="name">
+ <cstring>buttonsPathKurl</cstring>
+ </property>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>useMasks_Chkbox</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;Use Masks</string>
+ </property>
+ <property name="accel">
+ <string>Alt+U</string>
+ </property>
+ </widget>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel2_3</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>Masks tiles path</string>
+ </property>
+ </widget>
+ <widget class="KURLRequester">
+ <property name="name">
+ <cstring>masksPathKurl</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </vbox>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer12_2</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>100</height>
+ </size>
+ </property>
+ </spacer>
+ </vbox>
+ </widget>
+ <widget class="QWidget">
+ <property name="name">
+ <cstring>TabPage</cstring>
+ </property>
+ <attribute name="title">
+ <string>&amp;Themes</string>
+ </attribute>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup10</cstring>
+ </property>
+ <property name="title">
+ <string>Preview</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout12</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <spacer>
+ <property name="name">
+ <cstring>spacer5</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>95</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>previewLabael</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="scaledContents">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>This is a Screen shot of what KDM will look like when you go to log in.</string>
+ </property>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer4</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>95</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="KListView">
+ <column>
+ <property name="text">
+ <string>Theme Name</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <property name="name">
+ <cstring>themesKlstView</cstring>
+ </property>
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout13</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QPushButton">
+ <property name="name">
+ <cstring>installthemeBtn</cstring>
+ </property>
+ <property name="text">
+ <string>Install Ne&amp;w Theme</string>
+ </property>
+ </widget>
+ <widget class="QPushButton">
+ <property name="name">
+ <cstring>removeThemBtn</cstring>
+ </property>
+ <property name="text">
+ <string>R&amp;emove Theme</string>
+ </property>
+ <property name="accel">
+ <string>Alt+E</string>
+ </property>
+ </widget>
+ <widget class="QPushButton">
+ <property name="name">
+ <cstring>applyThemeBtn</cstring>
+ </property>
+ <property name="text">
+ <string>Set The&amp;me Paths</string>
+ </property>
+ <property name="accel">
+ <string>Alt+M</string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="QWidget">
+ <property name="name">
+ <cstring>TabPage</cstring>
+ </property>
+ <attribute name="title">
+ <string>&amp;Help</string>
+ </attribute>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QTextEdit">
+ <property name="name">
+ <cstring>textEdit1</cstring>
+ </property>
+ <property name="text">
+ <string>****** Summary ******
+deKorator is a kwin engine that takes several user-defined images and presents
+them as a window decoration. deKorator expects to find those in a theme. Here
+is a guide for building such a theme.
+
+****** In the package ******
+deKorator comes with:
+ * default-theme - Used by default, illustrates some of deKorator's
+ features.
+ * ugly-theme - It's purpose is to understand the way deKorator paints the
+ decorations.
+ * template-theme - this theme is meant to be a template theme for other themes,this theme features all possible buttons.
+ * Bushido-Yellow-theme - shows how masking can be done.
+
+****** Names ******
+deKorator expects the same directory structure and file names as the ones in
+default-theme. Every theme file should end with "-theme" (as in "default-
+theme"), and should contain all the folders that are in default-theme (deco,
+buttons, masks).
+
+****** Sizes ******
+deKorator determines the 4 borders' sizes from:
+
+|Property |Source |
+------------------------------------------------------------------------------------------------
+|the left border width |midLeftFrameBg's width |
+|the right border width |midRightFrameBg's width |
+|the top bar height |midTitleBg's height |
+|the bottom border height |midBottomFrameBg's height |
+
+All parts that build up a specific border should be in the same width or height
+correspondingly. An example follows for a window decoration with a 10px high
+top bar, a 20px wide left border, a 30px wide right border and a 40px high
+bottom border.
+
+All tiles in the top bar should be 10 pixel high:
+ * topLeftCornerBg
+ * leftButtonsBg
+ * leftTitleBg
+ * midTitleBg
+ * rightTitleBg
+ * rightButtonsBg
+ * topRightCornerBg
+
+All tiles in the left border should be 20 pixel wide:
+ * topLeftFrameBg
+ * midLeftFrameBg
+ * bottomLeftFrameBg
+
+All tiles in the right border should be 30 pixel wide:
+ * topRightFrameBg
+ * midRightFrameBg
+ * bottomRightFrameBg
+
+All tiles in the bottom border should be 40 pixel high:
+ * leftBottomFrameBg
+ * midBottomFrameBg
+ * rightBottomFrameBg
+
+The corner tiles should fit into the tile grid:
+Tile Height Width
+topLeftCornerBg 10 20
+topRightCornerBg 10 30
+leftBottomFrameBg 40 20
+rightBottomFrameBg 40 30
+
+****** Buttons ******
+The button images are separated into background and foreground ones.
+
+***** Background *****
+The button background uses the leftButtonsBg and the rightButtonsBg tiles.
+Their height should be the same as the top bar's. The background's repeated
+horizontally to fit the buttons in.
+
+***** Foreground *****
+The width is determined by the button width. This way theme makers can put the
+buttons as close as they wish. To make space between buttons you can add
+transparent pixels to the right and left. A button with a smaller height than
+the top bar's gets centered vertically. To place the button in a custom height
+use transparent pixels, too.
+
+****** Masks ******
+Masks contain only black and white. Black pixels are subtracted from the
+decoration.
+
+****** Image format ******
+All images should be in PNG.
+
+****** Tips and Tricks ******
+Allways start up building your theme from the template-theme.
+</string>
+ </property>
+ <property name="wordWrap">
+ <enum>WidgetWidth</enum>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="QWidget">
+ <property name="name">
+ <cstring>tab</cstring>
+ </property>
+ <attribute name="title">
+ <string>&amp;About</string>
+ </attribute>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <spacer row="1" column="0">
+ <property name="name">
+ <cstring>spacer10</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>35</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ <spacer row="1" column="2">
+ <property name="name">
+ <cstring>spacer9</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>34</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ <spacer row="0" column="1">
+ <property name="name">
+ <cstring>spacer11</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>60</height>
+ </size>
+ </property>
+ </spacer>
+ <spacer row="2" column="1">
+ <property name="name">
+ <cstring>spacer12</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>80</height>
+ </size>
+ </property>
+ </spacer>
+ <widget class="KActiveLabel" row="1" column="1">
+ <property name="name">
+ <cstring>kActiveLabel4</cstring>
+ </property>
+ <property name="text">
+ <string>&lt;p align="center"&gt;&lt;h3&gt;deKorator Window's Decoration Version 0.3&lt;/h3&gt;&lt;/p&gt;&lt;br&gt;
+
+
+
+&lt;p align="center"&gt;Art Designer: jon clarke AKA ArbitraryReason&lt;br&gt;
+Email: &lt;a href="mailto:[email protected]"&gt;&lt;font color="#ff0000"&gt;[email protected]&lt;/font&gt;&lt;/a&gt;&lt;br&gt;
+&lt;p align="center"&gt;Theme contributer: Zoran Karavla AKA the-error&lt;br&gt;
+Email: &lt;a href="mailto:[email protected]"&gt;&lt;font color="#ff0000"&gt;[email protected]&lt;/font&gt;&lt;/a&gt;&lt;br&gt;
+&lt;p align="center"&gt;Author: moty rahamim&lt;br&gt;
+Email: &lt;a href="mailto:[email protected]"&gt;&lt;font color="#ff0000"&gt;[email protected]&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;</string>
+ </property>
+ </widget>
+ </grid>
+ </widget>
+ </widget>
+ </vbox>
+</widget>
+<customwidgets>
+</customwidgets>
+<connections>
+ <connection>
+ <sender>useMasks_Chkbox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>masksPathKurl</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useShdtextChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>textLabel1_5</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useShdtextChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>activeShdtextXSpinBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useShdtextChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>textLabel1_5_2</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useShdtextChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>activeShdtextYSpinBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useShdtextChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>textLabel1_6</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useShdtextChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>activeShdColBtn</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useShdtextChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>buttonGroup7</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useShdtextChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>textLabel1_5_4</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useShdtextChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>inActiveShdtextXSpinBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useShdtextChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>textLabel1_5_2_3</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useShdtextChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>inActiveShdtextYSpinBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useShdtextChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>textLabel1_6_3</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useShdtextChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>inActiveShdColBtn</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useShdtextChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>buttonGroup7_2</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useAnimChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>animateEfeectsCombo</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useCusBtnClrChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>buttonGroup16</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useAnimChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>textLabel1_8</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useAnimChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>stepsSpinBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useAnimChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>textLabel2_5</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useAnimChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>intervalSpinBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useAnimChkBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>KeepAnimateChkBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>useMasks_Chkbox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>textLabel2_3</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+</connections>
+<layoutdefaults spacing="6" margin="11"/>
+<includehints>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kcolorbutton.h</includehint>
+ <includehint>kurlrequester.h</includehint>
+ <includehint>klineedit.h</includehint>
+ <includehint>kpushbutton.h</includehint>
+ <includehint>kurlrequester.h</includehint>
+ <includehint>klineedit.h</includehint>
+ <includehint>kpushbutton.h</includehint>
+ <includehint>kurlrequester.h</includehint>
+ <includehint>klineedit.h</includehint>
+ <includehint>kpushbutton.h</includehint>
+ <includehint>klistview.h</includehint>
+ <includehint>kactivelabel.h</includehint>
+</includehints>
+</UI>
diff --git a/client/config/deKoratorconfig.cc b/client/config/deKoratorconfig.cc
new file mode 100644
index 0000000..b3b686f
--- /dev/null
+++ b/client/config/deKoratorconfig.cc
@@ -0,0 +1,464 @@
+///////////////////////////////////////////////////////////////////////
+// -------------------
+// DeKorator window decoration for KDE
+// -------------------
+// Copyright (C) 2005 moty rahamim <[email protected]>
+//
+// Based on Example-0.8, some ideas and code have been taken from plastik and KCMicons
+//
+// Example window decoration for KDE
+// Copyright (c) 2003, 2004 David Johnson <[email protected]>
+//
+// Plastik KWin window decoration
+// Copyright (C) 2003-2005 Sandro Giessl <[email protected]>
+//
+// KCMicons for KDE
+// Copyright (c) 2000 Antonio Larrosa <[email protected]>
+//
+// 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; see the file COPYING. If not, write to
+// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+// Boston, MA 02110-1301, USA.
+///////////////////////////////////////////////////////////////////////
+
+#include <kconfig.h>
+#include <klocale.h>
+#include <kglobal.h>
+#include <qbuttongroup.h>
+#include <qgroupbox.h>
+#include <qradiobutton.h>
+#include <qwhatsthis.h>
+#include <qcheckbox.h>
+#include <qcombobox.h>
+#include <qspinbox.h>
+#include <qcheckbox.h>
+#include <kcolorbutton.h>
+#include <klistview.h>
+
+#include "deKoratorconfig.h"
+#include "configdialog.h"
+#include <themes.h>
+
+#include <kurlrequester.h>
+
+//////////////////////////////////////////////////////////////////////////////
+// DeKoratorConfig()
+// -------------
+// Constructor
+
+DeKoratorConfig::DeKoratorConfig( KConfig* config, QWidget* parent )
+ : QObject( parent ), config_( 0 ), dialog_( 0 )
+{
+ // create the configuration object
+ config_ = new KConfig( "kwindeKoratorrc" );
+ KGlobal::locale() ->insertCatalogue( "kwin_deKorator_config" );
+
+
+
+ // create and show the configuration dialog
+ dialog_ = new ConfigDialog( parent );
+
+ themes_ = new IconThemesConfig( dialog_, dialog_->themesKlstView /*, dialog_->removeThemBtn*/ );
+
+ dialog_->show();
+
+ // load the configuration
+ load( config_ );
+
+ // setup the connections
+
+ // misc
+ connect( dialog_->titlealign, SIGNAL( clicked( int ) ),
+ this, SLOT( selectionChanged( int ) ) );
+ connect( dialog_->useMenuImageChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
+ connect( dialog_->ignoreAppIcnCol, SIGNAL( clicked() ), SIGNAL( changed() ) );
+ connect( dialog_->dblClkCloseChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
+ connect( dialog_->showBtmBorderChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
+ connect( dialog_->useShdtextChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
+ connect( dialog_->activeShdtextXSpinBox, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
+ connect( dialog_->activeShdtextYSpinBox, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
+ connect( dialog_->activeShdColBtn, SIGNAL( clicked() ), SIGNAL( changed() ) );
+ connect( dialog_->inActiveShdtextXSpinBox, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
+ connect( dialog_->inActiveShdtextYSpinBox, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
+ connect( dialog_->inActiveShdColBtn, SIGNAL( clicked() ), SIGNAL( changed() ) );
+ connect( dialog_->inActiveShdColBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->btnShiftXSpinBox, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
+ connect( dialog_->btnShiftYSpinBox, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
+
+
+ // colors
+ connect( dialog_->colorizeActFramesChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
+ connect( dialog_->colorizeActButtonsChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
+ connect( dialog_->colorizeInActFramesChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
+ connect( dialog_->colorizeInActButtonsChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
+ connect( dialog_->useAnimChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
+ connect( dialog_->animateEfeectsCombo, SIGNAL( activated( const QString& ) ), SIGNAL( changed() ) );
+
+ connect( dialog_->stepsSpinBox, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
+ connect( dialog_->intervalSpinBox, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
+ connect( dialog_->KeepAnimateChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
+
+ connect( dialog_->hoverTypeCombo, SIGNAL( activated( const QString& ) ), SIGNAL( changed() ) );
+ connect( dialog_->effectsAmount_SpinBox, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
+ connect( dialog_->activeHighlightClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->inActiveHighlightClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->decoColorizeComboBox, SIGNAL( activated( const QString& ) ), SIGNAL( changed() ) );
+ connect( dialog_->buttonsColorizeComboBox, SIGNAL( activated( const QString& ) ), SIGNAL( changed() ) );
+ // connect( dialog_->buttonsHoverColorizeComboBox, SIGNAL( activated( const QString& ) ), SIGNAL( changed() ) );
+
+ // buttons
+ connect( dialog_->useCusBtnClrChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
+ connect( dialog_->cusColActBtnChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
+ connect( dialog_->cusColInActBtnChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
+
+ connect( dialog_->closeClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->minClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->maxClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->restoreClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->helpClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->menuClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->stickyClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->stickyDownClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->aboveClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->aboveDownClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->belowClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->belowDownClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->shadeClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+ connect( dialog_->shadeDownClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
+
+ // path's
+ connect( dialog_->framesPathKurl, SIGNAL( textChanged( const QString& ) ), SIGNAL( changed() ) );
+ dialog_->framesPathKurl->setMode( 2 );
+ connect( dialog_->buttonsPathKurl, SIGNAL( textChanged( const QString& ) ), SIGNAL( changed() ) );
+ dialog_->buttonsPathKurl->setMode( 2 );
+ connect( dialog_->useMasks_Chkbox, SIGNAL( clicked() ), SIGNAL( changed() ) );
+ connect( dialog_->masksPathKurl, SIGNAL( textChanged( const QString& ) ), SIGNAL( changed() ) );
+ dialog_->masksPathKurl->setMode( 2 );
+
+ // themes
+ connect( dialog_->themesKlstView, SIGNAL( selectionChanged( QListViewItem * ) ),
+ SLOT( themeSelected( QListViewItem * ) ) );
+ connect( dialog_->installthemeBtn, SIGNAL( clicked( ) ), SLOT( installNewTheme() ) );
+ connect( dialog_->removeThemBtn, SIGNAL( clicked( ) ), SLOT( removeSelectedTheme() ) );
+ connect( dialog_->applyThemeBtn, SIGNAL( clicked( ) ), SLOT( setTheme() ) );
+
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// ~DeKoratorConfig()
+// --------------
+// Destructor
+
+DeKoratorConfig::~DeKoratorConfig()
+{
+ if ( dialog_ ) delete dialog_;
+ if ( config_ ) delete config_;
+ if ( themes_ ) delete themes_;
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// selectionChanged()
+// ------------------
+// Selection has changed
+
+void DeKoratorConfig::selectionChanged( int )
+{
+ emit changed();
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// load()
+// ------
+// Load configuration data
+
+void DeKoratorConfig::load( KConfig* )
+{
+ // misc
+ config_->setGroup( "MISC" );
+
+ QString value = config_->readEntry( "TitleAlignment", "AlignHCenter" );
+ QRadioButton *button = ( QRadioButton* ) dialog_->titlealign->child( value );
+ if ( button ) button->setChecked( TRUE );
+ dialog_->useMenuImageChkBox->setChecked( config_->readBoolEntry( "UseMenuImage", FALSE ) );
+ dialog_->ignoreAppIcnCol->setChecked( config_->readBoolEntry( "IgnoreAppIconCol", FALSE ) );
+ dialog_->dblClkCloseChkBox->setChecked( config_->readBoolEntry( "DblClkClose", FALSE ) );
+ dialog_->showBtmBorderChkBox->setChecked( config_->readBoolEntry( "ShowBtmBorder", FALSE ) );
+ QColor color = QColor( 150, 150, 150 );
+ dialog_->useShdtextChkBox->setChecked( config_->readBoolEntry( "UseShdtext", FALSE ) );
+ dialog_->activeShdtextXSpinBox->setValue( config_->readNumEntry( "ActiveShdtextX", 0 ) );
+ dialog_->activeShdtextYSpinBox->setValue( config_->readNumEntry( "ActiveShdtextY", 0 ) );
+ dialog_->activeShdColBtn->setColor( config_->readColorEntry( "ActiveShadowColor", &color ) );
+ dialog_->inActiveShdtextXSpinBox->setValue( config_->readNumEntry( "InActiveShdtextX", 0 ) );
+ dialog_->inActiveShdtextYSpinBox->setValue( config_->readNumEntry( "InActiveShdtextY", 0 ) );
+ dialog_->inActiveShdColBtn->setColor( config_->readColorEntry( "InActiveShadowColor", &color ) );
+ dialog_->btnShiftXSpinBox->setValue( config_->readNumEntry( "BtnShiftX", 0 ) );
+ dialog_->btnShiftYSpinBox->setValue( config_->readNumEntry( "BtnShiftY", 0 ) );
+
+
+ // colors
+ config_->setGroup( "COLORS" );
+
+ dialog_->colorizeActFramesChkBox->setChecked( config_->readBoolEntry( "ColorizeActFrames", FALSE ) );
+ dialog_->colorizeActButtonsChkBox->setChecked( config_->readBoolEntry( "ColorizeActButtons", FALSE ) );
+ dialog_->colorizeInActFramesChkBox->setChecked( config_->readBoolEntry( "ColorizeInActFrames", FALSE ) );
+ dialog_->colorizeInActButtonsChkBox->setChecked( config_->readBoolEntry( "ColorizeInActButtons", FALSE ) );
+ dialog_->useAnimChkBox->setChecked( config_->readBoolEntry( "UseAnimation", FALSE ) );
+ dialog_->animateEfeectsCombo->setCurrentText( config_->readEntry( "AnimationType", "Intensity" ) );
+
+ dialog_->stepsSpinBox->setValue( config_->readNumEntry( "AnimSteps", 5 ) );
+ dialog_->intervalSpinBox->setValue( config_->readNumEntry( "AnimInterval", 30 ) );
+ dialog_->KeepAnimateChkBox->setChecked( config_->readBoolEntry( "KeepAnimating", FALSE ) );
+
+ dialog_->activeHighlightClrBtn->setColor( config_->readColorEntry( "ActiveHighlightColor", &color ) );
+ dialog_->inActiveHighlightClrBtn->setColor( config_->readColorEntry( "InActiveHighlightColor", &color ) );
+ dialog_->hoverTypeCombo->setCurrentText( config_->readEntry( "ButtonsHoverType", "To Gray" ) );
+ dialog_->effectsAmount_SpinBox->setValue( config_->readNumEntry( "EffectAmount", 5 ) );
+ dialog_->decoColorizeComboBox->setCurrentText( config_->readEntry( "DecoColorize", "Liquid Method" ) );
+ dialog_->buttonsColorizeComboBox->setCurrentText( config_->readEntry( "ButtonsColorize", "Liquid Method" ) );
+ // dialog_->buttonsHoverColorizeComboBox->setCurrentText( config_->readEntry( "ButtonsHoverColorize", "Liquid Method" ) );
+
+ // buttons
+ config_->setGroup( "BUTTONS" );
+
+ dialog_->useCusBtnClrChkBox->setChecked( config_->readBoolEntry( "UseCustomButtonsColors", FALSE ) );
+ dialog_->cusColActBtnChkBox->setChecked( config_->readBoolEntry( "customColorsActiveButtons", FALSE ) );
+ dialog_->cusColInActBtnChkBox->setChecked( config_->readBoolEntry( "customColorsInActiveButtons", FALSE ) );
+ dialog_->closeClrBtn->setColor( config_->readColorEntry( "CloseButtonColor", &color ) );
+ dialog_->minClrBtn->setColor( config_->readColorEntry( "MinButtonColor", &color ) );
+ dialog_->maxClrBtn->setColor( config_->readColorEntry( "MaxButtonColor", &color ) );
+ dialog_->restoreClrBtn->setColor( config_->readColorEntry( "RestoreButtonColor", &color ) );
+ dialog_->helpClrBtn->setColor( config_->readColorEntry( "HelpButtonColor", &color ) );
+ dialog_->menuClrBtn->setColor( config_->readColorEntry( "MenuButtonColor", &color ) );
+ dialog_->stickyClrBtn->setColor( config_->readColorEntry( "StickyButtonColor", &color ) );
+ dialog_->stickyDownClrBtn->setColor( config_->readColorEntry( "StickyDownButtonColor", &color ) );
+ dialog_->aboveClrBtn->setColor( config_->readColorEntry( "AboveButtonColor", &color ) );
+ dialog_->aboveDownClrBtn->setColor( config_->readColorEntry( "AboveDownButtonColor", &color ) );
+ dialog_->belowClrBtn->setColor( config_->readColorEntry( "BelowButtonColor", &color ) );
+ dialog_->belowDownClrBtn->setColor( config_->readColorEntry( "BelowDownButtonColor", &color ) );
+ dialog_->shadeClrBtn->setColor( config_->readColorEntry( "ShadeButtonColor", &color ) );
+ dialog_->shadeDownClrBtn->setColor( config_->readColorEntry( "ShadeDownButtonColor", &color ) );
+
+ // path's
+ config_->setGroup( "PATHS" );
+
+ dialog_->framesPathKurl->setURL( config_->readEntry( "FramesPath", "" ) );
+ dialog_->buttonsPathKurl->setURL( config_->readEntry( "ButtonsPath", "" ) );
+ dialog_->useMasks_Chkbox->setChecked( config_->readBoolEntry( "UseMasks", FALSE ) );
+ dialog_->masksPathKurl->setURL( config_->readEntry( "MasksPath", "" ) );
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// save()
+// ------
+// Save configuration data
+
+void DeKoratorConfig::save( KConfig* )
+{
+ // misc
+ config_->setGroup( "MISC" );
+
+ QRadioButton *button = ( QRadioButton* ) dialog_->titlealign->selected();
+ if ( button ) config_->writeEntry( "TitleAlignment", QString( button->name() ) );
+ config_->writeEntry( "UseMenuImage", dialog_->useMenuImageChkBox->isChecked() );
+ config_->writeEntry( "IgnoreAppIconCol", dialog_->ignoreAppIcnCol->isChecked() );
+ config_->writeEntry( "DblClkClose", dialog_->dblClkCloseChkBox->isChecked() );
+ config_->writeEntry( "ShowBtmBorder", dialog_->showBtmBorderChkBox->isChecked() );
+ config_->writeEntry( "UseShdtext", dialog_->useShdtextChkBox->isChecked() );
+ config_->writeEntry( "ActiveShdtextX", dialog_->activeShdtextXSpinBox->value() );
+ config_->writeEntry( "ActiveShdtextY", dialog_->activeShdtextYSpinBox->value() );
+ config_->writeEntry( "ActiveShadowColor", dialog_->activeShdColBtn->color() );
+ config_->writeEntry( "InActiveShdtextX", dialog_->inActiveShdtextXSpinBox->value() ); config_->writeEntry( "InActiveShdtextY", dialog_->inActiveShdtextYSpinBox->value() );
+ config_->writeEntry( "InActiveShadowColor", dialog_->inActiveShdColBtn->color() );
+ config_->writeEntry( "BtnShiftX", dialog_->btnShiftXSpinBox->value() );
+ config_->writeEntry( "BtnShiftY", dialog_->btnShiftYSpinBox->value() );
+
+
+ // colors
+ config_->setGroup( "COLORS" );
+
+ config_->writeEntry( "ColorizeActFrames", dialog_->colorizeActFramesChkBox->isChecked() );
+ config_->writeEntry( "ColorizeActButtons", dialog_->colorizeActButtonsChkBox->isChecked() );
+ config_->writeEntry( "ColorizeInActFrames", dialog_->colorizeInActFramesChkBox->isChecked() );
+ config_->writeEntry( "ColorizeInActButtons", dialog_->colorizeInActButtonsChkBox->isChecked() );
+ config_->writeEntry( "UseAnimation", dialog_->useAnimChkBox->isChecked() );
+ config_->writeEntry( "AnimationType", dialog_->animateEfeectsCombo->currentText() );
+
+ config_->writeEntry( "AnimSteps", dialog_->stepsSpinBox->value() );
+ config_->writeEntry( "AnimInterval", dialog_->intervalSpinBox->value() );
+ config_->writeEntry( "KeepAnimating", dialog_->KeepAnimateChkBox->isChecked() );
+
+ config_->writeEntry( "ButtonsHoverType", dialog_->hoverTypeCombo->currentText() );
+ config_->writeEntry( "EffectAmount", dialog_->effectsAmount_SpinBox->value() );
+ config_->writeEntry( "ActiveHighlightColor", dialog_->activeHighlightClrBtn->color() );
+ config_->writeEntry( "InActiveHighlightColor", dialog_->inActiveHighlightClrBtn->color() );
+ config_->writeEntry( "DecoColorize", dialog_->decoColorizeComboBox->currentText() );
+ config_->writeEntry( "ButtonsColorize", dialog_->buttonsColorizeComboBox->currentText() );
+ // config_->writeEntry( "ButtonsHoverColorize", dialog_->buttonsHoverColorizeComboBox->currentText() );
+
+ // buttons
+ config_->setGroup( "BUTTONS" );
+
+ config_->writeEntry( "UseCustomButtonsColors", dialog_->useCusBtnClrChkBox->isChecked() );
+ config_->writeEntry( "customColorsActiveButtons", dialog_->cusColActBtnChkBox->isChecked() );
+ config_->writeEntry( "customColorsInActiveButtons", dialog_->cusColInActBtnChkBox->isChecked() );
+ config_->writeEntry( "CloseButtonColor", dialog_->closeClrBtn->color() );
+ config_->writeEntry( "MinButtonColor", dialog_->minClrBtn->color() );
+ config_->writeEntry( "MaxButtonColor", dialog_->maxClrBtn->color() );
+ config_->writeEntry( "RestoreButtonColor", dialog_->restoreClrBtn->color() );
+ config_->writeEntry( "HelpButtonColor", dialog_->helpClrBtn->color() );
+ config_->writeEntry( "MenuButtonColor", dialog_->menuClrBtn->color() );
+ config_->writeEntry( "StickyButtonColor", dialog_->stickyClrBtn->color() );
+ config_->writeEntry( "StickyDownButtonColor", dialog_->stickyDownClrBtn->color() );
+ config_->writeEntry( "AboveButtonColor", dialog_->aboveClrBtn->color() );
+ config_->writeEntry( "AboveDownButtonColor", dialog_->aboveDownClrBtn->color() );
+ config_->writeEntry( "BelowButtonColor", dialog_->belowClrBtn->color() );
+ config_->writeEntry( "BelowDownButtonColor", dialog_->belowDownClrBtn->color() );
+ config_->writeEntry( "ShadeButtonColor", dialog_->shadeClrBtn->color() );
+ config_->writeEntry( "ShadeDownButtonColor", dialog_->shadeDownClrBtn->color() );
+
+ // path's
+ config_->setGroup( "PATHS" );
+
+ config_->writeEntry( "FramesPath", dialog_->framesPathKurl->url() );
+ config_->writeEntry( "ButtonsPath", dialog_->buttonsPathKurl->url() );
+ config_->writeEntry( "UseMasks", dialog_->useMasks_Chkbox->isChecked() );
+ config_->writeEntry( "MasksPath", dialog_->masksPathKurl->url() );
+
+ config_->sync();
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// defaults()
+// ----------
+// Set configuration defaults
+
+void DeKoratorConfig::defaults()
+{
+
+ // misc
+ QRadioButton * button =
+ ( QRadioButton* ) dialog_->titlealign->child( "AlignHCenter" );
+ if ( button ) button->setChecked( TRUE );
+ dialog_->useMenuImageChkBox->setChecked( FALSE );
+ dialog_->ignoreAppIcnCol->setChecked( FALSE );
+ dialog_->dblClkCloseChkBox->setChecked( FALSE );
+ dialog_->showBtmBorderChkBox->setChecked( FALSE );
+ dialog_->useShdtextChkBox->setChecked( FALSE );
+ dialog_->activeShdtextXSpinBox->setValue( 0 );
+ dialog_->activeShdtextYSpinBox->setValue( 0 );
+ dialog_->activeShdColBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->inActiveShdtextXSpinBox->setValue( 0 );
+ dialog_->inActiveShdtextYSpinBox->setValue( 0 );
+ dialog_->inActiveShdColBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->btnShiftXSpinBox->setValue( 0 );
+ dialog_->btnShiftYSpinBox->setValue( 0 );
+
+ // colors
+ dialog_->colorizeActFramesChkBox->setChecked( FALSE );
+ dialog_->colorizeActButtonsChkBox->setChecked( FALSE );
+ dialog_->colorizeInActFramesChkBox->setChecked( FALSE );
+ dialog_->colorizeInActButtonsChkBox->setChecked( FALSE );
+ dialog_->useAnimChkBox->setChecked( FALSE );
+ dialog_->animateEfeectsCombo->setCurrentText( "Intensity" );
+
+ dialog_->stepsSpinBox->setValue( 5 );
+ dialog_->intervalSpinBox->setValue( 30 );
+ dialog_->KeepAnimateChkBox->setChecked( FALSE );
+
+ dialog_->hoverTypeCombo->setCurrentText( "To Gray" );
+ dialog_->effectsAmount_SpinBox->setValue( 5 );
+ dialog_->activeHighlightClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->inActiveHighlightClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->decoColorizeComboBox->setCurrentText( "Liquid Method" );
+ dialog_->buttonsColorizeComboBox->setCurrentText( "Liquid Method" );
+ // dialog_->buttonsHoverColorizeComboBox->setCurrentText( "Liquid Method" );
+
+ // buttons
+ dialog_->useCusBtnClrChkBox->setChecked( FALSE );
+ dialog_->cusColActBtnChkBox->setChecked( FALSE );
+ dialog_->cusColInActBtnChkBox->setChecked( FALSE );
+ dialog_->closeClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->minClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->maxClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->restoreClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->helpClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->menuClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->stickyClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->stickyDownClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->aboveClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->aboveDownClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->belowClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->belowDownClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->shadeClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->shadeDownClrBtn->setColor( QColor( 150, 150, 150 ) );
+
+ // path's
+ dialog_->framesPathKurl->setURL( "" );
+ dialog_->buttonsPathKurl->setURL( "" );
+ dialog_->useMasks_Chkbox->setChecked( config_->readBoolEntry( "UseMasks", FALSE ) );
+ dialog_->masksPathKurl->setURL( "" );
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// themeSelected()
+// ----------
+//
+
+void DeKoratorConfig::themeSelected( QListViewItem *item )
+{
+ themes_->themeSelected( item, dialog_->previewLabael, dialog_->removeThemBtn );
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// installNewTheme()
+// ----------
+//
+
+void DeKoratorConfig::installNewTheme()
+{
+ themes_->installNewTheme();
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// removeSelectedTheme()
+// ----------
+//
+
+void DeKoratorConfig::removeSelectedTheme()
+{
+ themes_->removeSelectedTheme();
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// setTheme()
+// ----------
+//
+
+void DeKoratorConfig::setTheme()
+{
+ themes_->setTheme( dialog_->framesPathKurl, dialog_->buttonsPathKurl, dialog_->masksPathKurl );
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// Plugin Stuff //
+//////////////////////////////////////////////////////////////////////////////
+
+extern "C"
+{
+ QObject * allocate_config( KConfig * config, QWidget * parent )
+ {
+ return ( new DeKoratorConfig( config, parent ) );
+ }
+}
+
+#include "deKoratorconfig.moc"
diff --git a/client/config/deKoratorconfig.h b/client/config/deKoratorconfig.h
new file mode 100644
index 0000000..0505c98
--- /dev/null
+++ b/client/config/deKoratorconfig.h
@@ -0,0 +1,72 @@
+///////////////////////////////////////////////////////////////////////
+// -------------------
+// DeKorator window decoration for KDE
+// -------------------
+// Copyright (C) 2005 moty rahamim <[email protected]>
+//
+// Based on Example-0.8, some ideas and code have been taken from plastik and KCMicons
+//
+// Example window decoration for KDE
+// Copyright (c) 2003, 2004 David Johnson <[email protected]>
+//
+// Plastik KWin window decoration
+// Copyright (C) 2003-2005 Sandro Giessl <[email protected]>
+//
+// KCMicons for KDE
+// Copyright (c) 2000 Antonio Larrosa <[email protected]>
+//
+// 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; see the file COPYING. If not, write to
+// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+// Boston, MA 02110-1301, USA.
+///////////////////////////////////////////////////////////////////////
+
+#ifndef EXAMPLECONFIG_H
+#define EXAMPLECONFIG_H
+
+#include <qobject.h>
+
+
+class KConfig;
+class ConfigDialog;
+class IconThemesConfig;
+
+class DeKoratorConfig : public QObject
+{
+ Q_OBJECT
+public:
+ DeKoratorConfig( KConfig* config, QWidget* parent );
+ ~DeKoratorConfig();
+
+signals:
+ void changed();
+
+public slots:
+ void load( KConfig* );
+ void save( KConfig* );
+ void defaults();
+
+
+protected slots:
+ void themeSelected( QListViewItem *item );
+ void selectionChanged( int );
+ void installNewTheme();
+ void removeSelectedTheme();
+ void setTheme();
+private:
+ KConfig *config_;
+ IconThemesConfig *themes_;
+ ConfigDialog *dialog_;
+};
+
+#endif // EXAMPLECONFIG_H
diff --git a/client/config/themes.cpp b/client/config/themes.cpp
new file mode 100644
index 0000000..f612ad6
--- /dev/null
+++ b/client/config/themes.cpp
@@ -0,0 +1,460 @@
+///////////////////////////////////////////////////////////////////////
+// -------------------
+// DeKorator window decoration for KDE
+// -------------------
+// Copyright (C) 2005 moty rahamim <[email protected]>
+//
+// Based on Example-0.8, some ideas and code have been taken from plastik and KCMicons
+//
+// Example window decoration for KDE
+// Copyright (c) 2003, 2004 David Johnson <[email protected]>
+//
+// Plastik KWin window decoration
+// Copyright (C) 2003-2005 Sandro Giessl <[email protected]>
+//
+// KCMicons for KDE
+// Copyright (c) 2000 Antonio Larrosa <[email protected]>
+//
+// 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; see the file COPYING. If not, write to
+// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+// Boston, MA 02110-1301, USA.
+///////////////////////////////////////////////////////////////////////
+
+#include <config.h>
+
+#include <stdlib.h>
+#include <unistd.h>
+
+#include <qfileinfo.h>
+#include <qlayout.h>
+#include <qlabel.h>
+#include <qpushbutton.h>
+
+#include <kdebug.h>
+#include <kapplication.h>
+#include <kstandarddirs.h>
+#include <kservice.h>
+#include <klocale.h>
+#include <ksimpleconfig.h>
+#undef Unsorted
+#include <kipc.h>
+
+#include <klistview.h>
+#include <kurlrequesterdlg.h>
+#include <kmessagebox.h>
+#include <kprogress.h>
+#include <kiconloader.h>
+
+#include <kio/job.h>
+#include <kio/netaccess.h>
+#include <ktar.h>
+
+#ifdef HAVE_LIBART
+#include <ksvgiconengine.h>
+#endif
+
+#include <qdir.h>
+#include <qpainter.h>
+#include <qregexp.h>
+
+#include "themes.h"
+#include <kurlrequester.h>
+
+
+//////////////////////////////////////////////////////////////////////////////
+// IconThemesConfig()
+// ----------
+//
+
+IconThemesConfig::IconThemesConfig( QWidget *parent, KListView *themesView /*, QPushButton *removethemeBtn*/ )
+{
+ parent_ = parent;
+ themesView_ = themesView;
+ //removeThemeBtn_ = removethemeBtn;
+
+ loadThemes();
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// ~IconThemesConfig()
+// ----------
+//
+
+IconThemesConfig::~IconThemesConfig()
+{}
+
+//////////////////////////////////////////////////////////////////////////////
+// iconThemeItem()
+// ----------
+//
+
+QListViewItem *IconThemesConfig::iconThemeItem( const QString &name )
+{
+ QListViewItem * item;
+ for ( item = themesView_->firstChild(); item ; item = item->nextSibling() )
+ if ( item->text( 0 ) == name ) return item;
+
+ return 0L;
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// loadThemes()
+// ----------
+//
+
+
+void IconThemesConfig::loadThemes()
+{
+ themesView_->clear();
+ m_themeNames.clear();
+ QStringList themelist;
+ QString name;
+ QString place;
+ QStringList::Iterator it, itj;
+ QStringList themesDirs;
+
+ // if no local deKorator folders
+ if ( ! QDir( QDir::homeDirPath() + "/.kde/share/apps/" ).exists( "deKorator" ) )
+ {
+ qWarning( "no dirs, will make them..." );
+ KIO::mkdir( QDir::homeDirPath() + "/.kde/share/apps/deKorator/" );
+ KIO::mkdir( QDir::homeDirPath() + "/.kde/share/apps/deKorator/themes/" );
+ }
+ else
+ {
+ qWarning( "exist" );
+ }
+
+ themesDirs = KGlobal::dirs() ->findDirs( "data", "deKorator/themes" ) ;
+
+ for ( it = themesDirs.begin(); it != themesDirs.end(); ++it )
+ {
+ QDir dir = QDir( *it );
+ themelist = dir.entryList( "*-theme" );
+
+ for ( itj = themelist.begin(); itj != themelist.end(); ++itj )
+ {
+ place = *it;
+
+ name = ( QString ) * itj;
+
+ themesView_->insertItem( new QListViewItem( themesView_, name ) );
+
+ m_themeNames.insert( name, place );
+ }
+ }
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// installNewTheme()
+// ----------
+//
+
+void IconThemesConfig::installNewTheme()
+{
+
+ KURL themeURL = KURLRequesterDlg::getURL( QString::null, parent_,
+ i18n( "Drag or Type Theme URL" ) );
+ kdDebug() << themeURL.prettyURL() << endl;
+
+ if ( themeURL.url().isEmpty() )
+ return ;
+
+ // themeTmpFile contains the name of the downloaded file
+ QString themeTmpFile;
+
+ if ( !KIO::NetAccess::download( themeURL, themeTmpFile, parent_ ) )
+ {
+ QString sorryText;
+ if ( themeURL.isLocalFile() )
+ sorryText = i18n( "Unable to find the deKorator theme archive %1." );
+ else
+ sorryText = i18n( "Unable to download deKorator theme archive;\n"
+ "please check that address %1 is correct." );
+ KMessageBox::sorry( parent_, sorryText.arg( themeURL.prettyURL() ) );
+ return ;
+ }
+
+ //
+ QStringList themesNames = findThemeDirs( themeTmpFile );
+ if ( themesNames.isEmpty() )
+ {
+ QString invalidArch( i18n( "The file is not a valid deKorator theme archive." ) );
+ KMessageBox::error( parent_, invalidArch );
+
+ KIO::NetAccess::removeTempFile( themeTmpFile );
+ return ;
+ }
+
+ if ( !installThemes( themesNames, themeTmpFile ) )
+ {
+ //FIXME: make me able to know what is wrong....
+ // QStringList instead of bool?
+ QString somethingWrong =
+ i18n( "A problem occurred during the installation process; "
+ "however, most of the themes in the archive have been installed" );
+ KMessageBox::error( parent_, somethingWrong );
+ }
+
+ KIO::NetAccess::removeTempFile( themeTmpFile );
+
+ loadThemes();
+
+ QStringList::Iterator cur = themesNames.at( 0 );
+
+ QListViewItem *item = iconThemeItem( *cur );
+ themesView_->setSelected( item, true );
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// installThemes()
+// ----------
+//
+
+bool IconThemesConfig::installThemes( const QStringList &themes, const QString &archiveName )
+{
+ bool everythingOk = true;
+ QString localThemesDir = QDir::homeDirPath() + "/.kde/share/apps/deKorator/themes/";
+ //
+ KProgressDialog progressDiag( parent_, "themeinstallprogress",
+ i18n( "Installing icon themes" ),
+ QString::null,
+ true );
+ progressDiag.setAutoClose( true );
+ progressDiag.progressBar() ->setTotalSteps( themes.count() );
+ progressDiag.show();
+
+ KTar archive( archiveName );
+ archive.open( IO_ReadOnly );
+ kapp->processEvents();
+
+ const KArchiveDirectory* rootDir = archive.directory();
+
+ KArchiveDirectory* currentTheme;
+ for ( QStringList::ConstIterator it = themes.begin(); it != themes.end(); ++it )
+ {
+ progressDiag.setLabel(
+ i18n( "<qt>Installing <strong>%1</strong> theme</qt>" )
+ .arg( *it ) );
+ kapp->processEvents();
+
+ if ( progressDiag.wasCancelled() )
+ break;
+
+ currentTheme = dynamic_cast<KArchiveDirectory*>(
+ const_cast<KArchiveEntry*>(
+ rootDir->entry( *it ) ) );
+ if ( currentTheme == NULL )
+ {
+ // we tell back that something went wrong, but try to install as much
+ // as possible
+ everythingOk = false;
+ continue;
+ }
+
+ currentTheme->copyTo( localThemesDir + *it );
+ progressDiag.progressBar() ->advance( 1 );
+ }
+
+ archive.close();
+ return everythingOk;
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// findThemeDirs()
+// ----------
+//
+
+QStringList IconThemesConfig::findThemeDirs( const QString &archiveName )
+{
+ QStringList foundThemes;
+
+ KTar archive( archiveName );
+ archive.open( IO_ReadOnly );
+ const KArchiveDirectory* themeDir = archive.directory();
+
+ KArchiveEntry* possibleDir = 0L;
+ KArchiveDirectory* subDir = 0L;
+
+ // iterate all the dirs looking for an index.theme or index.desktop file
+ QStringList entries = themeDir->entries();
+ for ( QStringList::Iterator it = entries.begin(); it != entries.end(); ++it )
+ {
+ QString name = ( QString ) * it;
+ QRegExp rxp = QRegExp( "*-theme", TRUE, TRUE );
+ int i = name.contains( rxp );
+ if ( !i )
+ {
+ continue;
+ }
+
+ possibleDir = const_cast<KArchiveEntry*>( themeDir->entry( *it ) );
+ if ( possibleDir->isDirectory() )
+ {
+ subDir = dynamic_cast<KArchiveDirectory*>( possibleDir );
+ if ( subDir && ( subDir->entry( "deco" ) != NULL && subDir->entry( "buttons" ) != NULL && subDir->entry( "masks" ) != NULL ) )
+ {
+ foundThemes.append( subDir->name() );
+ //qWarning( "found" );
+ }
+ }
+ }
+
+ archive.close();
+
+ return foundThemes;
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// removeSelectedTheme()
+// ----------
+//
+
+void IconThemesConfig::removeSelectedTheme()
+{
+ QListViewItem * selected = themesView_->selectedItem();
+ if ( !selected )
+ return ;
+
+ QString question = i18n( "<qt>Are you sure you want to remove the "
+ "<strong>%1</strong> theme?<br>"
+ "<br>"
+ "This will delete the files installed by this theme.</qt>" ).
+ arg( selected->text( 0 ) );
+
+ int r = KMessageBox::warningContinueCancel( parent_, question, i18n( "Confirmation" ), KStdGuiItem::del() );
+ if ( r != KMessageBox::Continue ) return ;
+
+ QString delTheme = selected->text( 0 );
+ QString deldirStr = QDir::homeDirPath() + "/.kde/share/apps/deKorator/themes/" + delTheme;
+ QDir dir = QDir( deldirStr );
+ dir.rename( deldirStr, deldirStr + "del" );
+
+ KIO::del( KURL( deldirStr + "del" ) );
+
+ loadThemes();
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// themeSelected()
+// ----------
+//
+
+void IconThemesConfig::themeSelected( QListViewItem *item, QLabel *previewLabel, QPushButton *btn )
+{
+ QPixmap previewPix, topLeftCornerBg, leftButtonsBg, leftTitleBg, midTitleBg, rightTitleBg, rightButtonsBg, topRightCornerBg;
+ QPainter painter;
+ int w, h, x;
+ QString dirName( m_themeNames[ item->text( 0 ) ] );
+
+ if ( dirName.contains( "home" ) )
+ {
+ //qWarning("true");
+ btn->setEnabled( true );
+ }
+ else
+ {
+ btn->setEnabled( false );
+ //qWarning("false");
+ }
+
+ QString dirNameStr = dirName + item->text( 0 ) + "/deco/" ;
+ topLeftCornerBg.load( dirNameStr + "topLeftCornerBg.png" );
+ leftButtonsBg.load( dirNameStr + "leftButtonsBg" );
+ leftTitleBg.load( dirNameStr + "leftTitleBg.png" );
+ midTitleBg.load( dirNameStr + "midTitleBg.png" );
+ rightTitleBg.load( dirNameStr + "rightTitleBg.png" );
+ rightButtonsBg.load( dirNameStr + "rightButtonsBg.png" );
+ topRightCornerBg.load( dirNameStr + "topRightCornerBg.png" );
+
+ w = topLeftCornerBg.width() + leftButtonsBg.width() + leftTitleBg.width() + midTitleBg.width() + rightTitleBg.width() + rightButtonsBg.width() + topRightCornerBg.width() + 8;
+ h = midTitleBg.height() + 8;
+ previewPix.resize( w, h );
+ //qWarning("%d",w);
+ painter.begin( &previewPix );
+
+ // paint outer rect
+ painter.fillRect( 0, 0, w, h, QColor( 20, 20, 20 ) );
+
+ painter.setPen( QColor( 60, 60, 60 ) );
+ painter.drawRect( 0, 0, w , h );
+
+ painter.setPen( QColor( 80, 80, 80 ) );
+ painter.drawRect( 1, 1, w - 2 , h - 2 );
+
+ painter.setPen( QColor( 180, 180, 180 ) );
+ painter.drawLine( w - 1, 1, w - 1, h - 1 );
+ painter.drawLine( 1, h - 1, w - 2, h - 1 );
+
+ painter.setPen( QColor( 150, 150, 150 ) );
+ painter.drawLine( w - 2, 2, w - 2, h - 2 );
+ painter.drawLine( 2, h - 2, w - 3, h - 2 );
+
+
+ // paint deco tiles
+ x = 4;
+ painter.drawPixmap( x, 4, topLeftCornerBg );
+
+ x += topLeftCornerBg.width();
+ painter.drawPixmap( x, 4, leftButtonsBg );
+
+ x += leftButtonsBg.width();
+ painter.drawPixmap( x , 4, leftTitleBg );
+
+ x += leftTitleBg.width();
+ painter.drawPixmap( x, 4, midTitleBg );
+
+ x += midTitleBg.width();
+ painter.drawPixmap( x, 4, rightTitleBg );
+
+ x += rightTitleBg.width();
+ painter.drawPixmap( x, 4, rightButtonsBg );
+
+ x += rightButtonsBg.width();
+ painter.drawPixmap( x, 4, topRightCornerBg );
+
+ painter.setPen( QColor( 0, 0, 0 ) );
+ painter.drawLine( 4, h - 5, w - 4 , h - 5 );
+
+ painter.end();
+
+ previewLabel->resize( w, h );
+ previewLabel->setPixmap( previewPix );
+}
+
+//////////////////////////////////////////////////////////////////////////////
+// setTheme()
+// ----------
+//
+
+void IconThemesConfig::setTheme( KURLRequester *framesPath, KURLRequester *buttonsPath, KURLRequester *masksPath )
+{
+ QListViewItem * selected = themesView_->selectedItem();
+ if ( !selected )
+ return ;
+
+ QString dirName( m_themeNames[ selected->text( 0 ) ] );
+
+ QString setTheme = selected->text( 0 );
+ QString setThemeStr = dirName + setTheme;
+
+ framesPath->setURL( setThemeStr + "/deco" );
+ buttonsPath->setURL( setThemeStr + "/buttons" );
+ masksPath->setURL( setThemeStr + "/masks" );
+}
+
+
+
+
+#include "themes.moc"
diff --git a/client/config/themes.h b/client/config/themes.h
new file mode 100644
index 0000000..feb2cf5
--- /dev/null
+++ b/client/config/themes.h
@@ -0,0 +1,74 @@
+///////////////////////////////////////////////////////////////////////
+// -------------------
+// DeKorator window decoration for KDE
+// -------------------
+// Copyright (C) 2005 moty rahamim <[email protected]>
+//
+// Based on Example-0.8, some ideas and code have been taken from plastik and KCMicons
+//
+// Example window decoration for KDE
+// Copyright (c) 2003, 2004 David Johnson <[email protected]>
+//
+// Plastik KWin window decoration
+// Copyright (C) 2003-2005 Sandro Giessl <[email protected]>
+//
+// KCMicons for KDE
+// Copyright (c) 2000 Antonio Larrosa <[email protected]>
+//
+// 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; see the file COPYING. If not, write to
+// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+// Boston, MA 02110-1301, USA.
+///////////////////////////////////////////////////////////////////////
+
+#ifndef ICONTHEMES_H
+#define ICONTHEMES_H
+
+#include <kcmodule.h>
+#include <qmap.h>
+#include <klistview.h>
+
+class QPushButton;
+class DeviceManager;
+class QCheckBox;
+class QStringList;
+
+
+
+class IconThemesConfig : public QObject
+{
+ Q_OBJECT
+
+public:
+ IconThemesConfig( QWidget *parent, KListView *themesView/*, QPushButton *removethemeBtn*/ );
+ virtual ~IconThemesConfig();
+
+ void loadThemes();
+ bool installThemes( const QStringList &themes, const QString &archiveName );
+ QStringList findThemeDirs( const QString &archiveName );
+ void themeSelected( QListViewItem *item, QLabel *preview, QPushButton *btn );
+ void installNewTheme();
+ void removeSelectedTheme();
+ void setTheme( KURLRequester *framesPath, KURLRequester *buttonsPath, KURLRequester *masksPath );
+
+private:
+ QListViewItem *iconThemeItem( const QString &name );
+ KListView *themesView_;
+ QWidget *parent_;
+ //QPushButton *removeThemeBtn_;
+ QListViewItem *m_defaultTheme;
+ QMap <QString, QString>m_themeNames;
+};
+
+#endif // ICONTHEMES_H
+
diff --git a/client/config/themes.moc.cc b/client/config/themes.moc.cc
new file mode 100644
index 0000000..111855b
--- /dev/null
+++ b/client/config/themes.moc.cc
@@ -0,0 +1,110 @@
+/****************************************************************************
+** IconThemesConfig meta object code from reading C++ file 'themes.h'
+**
+** Created: Wed Dec 7 20:20:14 2005
+** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.5 edited Sep 2 14:41 $)
+**
+** WARNING! All changes made in this file will be lost!
+*****************************************************************************/
+
+#undef QT_NO_COMPAT
+#include "themes.h"
+#include <qmetaobject.h>
+#include <qapplication.h>
+
+#include <private/qucomextra_p.h>
+#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
+#error "This file was generated using the moc from 3.3.5. It"
+#error "cannot be used with the include files from this version of Qt."
+#error "(The moc has changed too much.)"
+#endif
+
+const char *IconThemesConfig::className() const
+{
+ return "IconThemesConfig";
+}
+
+QMetaObject *IconThemesConfig::metaObj = 0;
+static QMetaObjectCleanUp cleanUp_IconThemesConfig( "IconThemesConfig", &IconThemesConfig::staticMetaObject );
+
+#ifndef QT_NO_TRANSLATION
+QString IconThemesConfig::tr( const char *s, const char *c )
+{
+ if ( qApp )
+ return qApp->translate( "IconThemesConfig", s, c, QApplication::DefaultCodec );
+ else
+ return QString::fromLatin1( s );
+}
+#ifndef QT_NO_TRANSLATION_UTF8
+QString IconThemesConfig::trUtf8( const char *s, const char *c )
+{
+ if ( qApp )
+ return qApp->translate( "IconThemesConfig", s, c, QApplication::UnicodeUTF8 );
+ else
+ return QString::fromUtf8( s );
+}
+#endif // QT_NO_TRANSLATION_UTF8
+
+#endif // QT_NO_TRANSLATION
+
+QMetaObject* IconThemesConfig::staticMetaObject()
+{
+ if ( metaObj )
+ return metaObj;
+ QMetaObject* parentObject = KCModule::staticMetaObject();
+ static const QUParameter param_slot_0[] = {
+ { "item", &static_QUType_ptr, "QListViewItem", QUParameter::In }
+ };
+ static const QUMethod slot_0 = {"themeSelected", 1, param_slot_0 };
+ static const QUMethod slot_1 = {"installNewTheme", 0, 0 };
+ static const QUMethod slot_2 = {"removeSelectedTheme", 0, 0 };
+ static const QMetaData slot_tbl[] = {
+ { "themeSelected(QListViewItem*)", &slot_0, QMetaData::Protected },
+ { "installNewTheme()", &slot_1, QMetaData::Protected },
+ { "removeSelectedTheme()", &slot_2, QMetaData::Protected }
+ };
+ metaObj = QMetaObject::new_metaobject(
+ "IconThemesConfig", parentObject,
+ slot_tbl, 3,
+ 0, 0,
+#ifndef QT_NO_PROPERTIES
+ 0, 0,
+ 0, 0,
+#endif // QT_NO_PROPERTIES
+ 0, 0 );
+ cleanUp_IconThemesConfig.setMetaObject( metaObj );
+ return metaObj;
+}
+
+void* IconThemesConfig::qt_cast( const char* clname )
+{
+ if ( !qstrcmp( clname, "IconThemesConfig" ) )
+ return this;
+ return KCModule::qt_cast( clname );
+}
+
+bool IconThemesConfig::qt_invoke( int _id, QUObject* _o )
+{
+ switch ( _id - staticMetaObject()->slotOffset() ) {
+ case 0: themeSelected((QListViewItem*)static_QUType_ptr.get(_o+1)); break;
+ case 1: installNewTheme(); break;
+ case 2: removeSelectedTheme(); break;
+ default:
+ return KCModule::qt_invoke( _id, _o );
+ }
+ return TRUE;
+}
+
+bool IconThemesConfig::qt_emit( int _id, QUObject* _o )
+{
+ return KCModule::qt_emit(_id,_o);
+}
+#ifndef QT_NO_PROPERTIES
+
+bool IconThemesConfig::qt_property( int id, int f, QVariant* v)
+{
+ return KCModule::qt_property( id, f, v);
+}
+
+bool IconThemesConfig::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
+#endif // QT_NO_PROPERTIES
diff --git a/client/config/themes.moc.loT b/client/config/themes.moc.loT
new file mode 100644
index 0000000..f7771d1
--- /dev/null
+++ b/client/config/themes.moc.loT
@@ -0,0 +1,7 @@
+# themes.moc.lo - a libtool object file
+# Generated by ltmain.sh - GNU libtool 1.5a (1.1240 2003/06/26 06:55:19)
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.