Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
tdebase/kcontrol/kthememanager
Michele Calgaro 0d9263f836
Replace Q_SIGNALS and Q_SLOTS
il y a 3 mois
..
CMakeL10n.txt Add CMakeL10n rules. il y a 5 ans
CMakeLists.txt Desktop file translations: il y a 4 ans
Makefile.am Additional k => tde renaming and fixes il y a 11 ans
NEWS Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. il y a 15 ans
README Rename kwin to twin (part 1 of 2) il y a 13 ans
TODO Fix references of K Menu -> TDE Menu. il y a 12 ans
installktheme.desktop Desktop file translations: il y a 4 ans
kdeinstallktheme Rename kde-config to tde-config il y a 12 ans
knewthemedlg.cpp Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines il y a 3 mois
knewthemedlg.h Replace Q_OBJECT with TQ_OBJECT il y a 9 mois
ktheme.cpp Removed additional code formatting modelines. il y a 4 ans
ktheme.h Removed additional code formatting modelines. il y a 4 ans
kthemedlg.ui Replace Q_SIGNALS and Q_SLOTS il y a 3 mois
kthemedlg.ui.h Fix unresponsive kcontrol theme manager buttons. il y a 11 ans
kthememanager.cpp Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines il y a 3 mois
kthememanager.desktop Desktop file translations: il y a 4 ans
kthememanager.h Replace Q_OBJECT with TQ_OBJECT il y a 9 mois
newthemewidget.ui Remove additional unneeded tq method conversions il y a 13 ans
x-ktheme.desktop Desktop file translations: il y a 4 ans

README

This theme manager should handle installing, removing
and creating global visual KDE themes. It's written
from scratch, totally unrelated to the old kthememgr
which was not maintained and obsolete.

*** WARNING ***
The XML file format is still subject to change!
*** WARNING ***

(c) 2003, 2004 Lukas Tinkl <lukas@kde.org>


A KDE theme consists of:
========================
- wallpapers or bg colors
- icons
- sounds
- color scheme
- cursor theme
- window decorations
- screensaver
- name of the widget theme
- themed apps (mainly Konqueror and Kicker)


Sample XML theme config file:
=============================
<ktheme version="1">
<general>
    <author value="Me" />
    <email value="me@home.com" />
    <homepage value="http://me.home.com" />
    <version value="0.1" />
    <comment value="this is a nice theme, bla bla" />
</general>
<desktop number="0" common="true|false">
    <mode id="Flat|Pattern|*Gradient" />
    <color1 rgb="#123456" />
    <color2 rgb="#123456" />
    <blending mode="" balance="" reverse="true|false" />
    <pattern name="fish" />
    <wallpaper url="theme:/wallpapers/desktop/image.jpg"
	mode="Centred|Tiled|CenterTiled|CentredMaxpect|TiledMaxpect|Scaled|CentredAutoFit" />
</desktop>
<icons name="crystalsvg" />
<sounds>
    <event object="global|twin" name="eventname" url="theme:/sounds/file.wav" />
    ...
</sounds>
<colors contrast="7">
    <alternateBackground rgb="#123456" object="global|twin"/>
    ...
</colors>
<cursors name="theme_name" />
<wm type="builtin|custom" name="twin_lib_name">
    <buttons left="M" right="HIAX" />
    <border size="number" />
</wm>
<konqueror>
    <wallpaper url="" />
    <bgcolor rgb="#123456" />
</konqueror>
<panel>
    <background url="theme:/wallpapers/panel.png" colorize="true|false" />
    <!-- or -->
    <transparent value="true|false" />
</panel>
<widgets name="Style Name" />
<screensaver name="saver.desktop" />
</kdetheme>


Theme storage:
==============
- a gzipped tarball, directory tree based (e.g. theme.kth)


Sample dir tree:
================
-- mytheme.kth
   - mytheme.xml
   - mytheme.preview.png
   - sounds/
   - wallpapers/
     - konqueror/
     - desktop/
     - panel/

     
The notion of "url" here:
=========================
- local: points to an already installed file in the system
  (must be a sole filename, e.g. "background.png"); this differs
  according to the theme part (ie. can be different for sounds
  and/or wallpapers)
- theme: relative to the root of the theme tarball or directory
  (e.g. theme:/wallpapers/desktop/image.png)
- other URLs are not allowed, the file must be contained
  either in the theme or in the target system