git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kde-style-qtcurve@1182805 283d02a7-25f6-0310-bc7c-ecb5cbfe19dav3.5.13-sru
parent
70f7d26b3b
commit
b23b8edce7
@ -0,0 +1,27 @@
|
||||
FILE(GLOB GLOB_PATHS_BIN /usr/lib/qt-3*/bin/)
|
||||
FIND_PATH(QT_PLUGINS_DIR imageformats
|
||||
$ENV{QTDIR}/plugins
|
||||
${GLOB_PATHS_BIN}
|
||||
/usr/local/qt/plugins
|
||||
/usr/lib/qt/plugins
|
||||
/usr/lib/qt3/plugins
|
||||
/usr/share/qt3/plugins
|
||||
)
|
||||
|
||||
MACRO(QTCURVE_QT_WRAP_CPP outfiles )
|
||||
# get include dirs
|
||||
GET_DIRECTORY_PROPERTY(moc_includes_tmp INCLUDE_DIRECTORIES)
|
||||
SET(moc_includes)
|
||||
|
||||
FOREACH(it ${ARGN})
|
||||
GET_FILENAME_COMPONENT(outfilename ${it} NAME_WE)
|
||||
GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
|
||||
SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/${outfilename}.moc)
|
||||
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
|
||||
COMMAND ${QT_MOC_EXECUTABLE}
|
||||
ARGS -o ${outfile} ${infile}
|
||||
DEPENDS ${infile})
|
||||
SET(${outfiles} ${${outfiles}} ${outfile})
|
||||
ENDFOREACH(it)
|
||||
|
||||
ENDMACRO(QTCURVE_QT_WRAP_CPP)
|
@ -0,0 +1 @@
|
||||
install(FILES QtCurve.kcsrc DESTINATION ${DATA_INSTALL_DIR}/kdisplay/color-schemes)
|
@ -0,0 +1,27 @@
|
||||
[Color Scheme]
|
||||
Name=QtCurve
|
||||
activeBackground=169,195,228
|
||||
activeBlend=169,195,228
|
||||
activeForeground=255,255,255
|
||||
activeTitleBtnBg=220,220,220
|
||||
alternateBackground=240,240,240
|
||||
background=239,236,231
|
||||
buttonBackground=239,236,231
|
||||
buttonForeground=0,0,0
|
||||
contrast=7
|
||||
foreground=0,0,0
|
||||
frame=238,238,230
|
||||
handle=238,238,230
|
||||
inactiveBackground=244,244,244
|
||||
inactiveBlend=244,244,244
|
||||
inactiveForeground=20,19,18
|
||||
inactiveFrame=238,238,230
|
||||
inactiveHandle=238,238,230
|
||||
inactiveTitleBtnBg=220,220,220
|
||||
linkColor=0,0,192
|
||||
selectBackground=69,126,224
|
||||
selectForeground=255,255,255
|
||||
shadeSortColumn=true
|
||||
visitedLinkColor=128,0,128
|
||||
windowBackground=224,232,238
|
||||
windowForeground=0,0,0
|
@ -0,0 +1,305 @@
|
||||
/*
|
||||
This file is taken from kcolorspaces.cpp and kcolorutils.cpp from kdelibs
|
||||
The code has been modified to work with QColor (Qt3 &Qt4) and GdkColor
|
||||
*/
|
||||
|
||||
/* This file is part of the KDE project
|
||||
* Copyright (C) 2007 Matthew Woehlke <mw_triad@users.sourceforge.net>
|
||||
* Copyright (C) 2007 Olaf Schmidt <ojschmidt@kde.org>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public License
|
||||
* along with this library; see the file COPYING.LIB. If not, write to
|
||||
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined QT_VERSION && (QT_VERSION >= 0x040000)
|
||||
#define FLOAT_COLOR(VAL, COL) (VAL).COL##F()
|
||||
#define TO_COLOR(R, G, B) QColor::fromRgbF(R, G, B)
|
||||
#else
|
||||
#define FLOAT_COLOR(VAL, COL) ((double)(((VAL).COL()*1.0)/255.0))
|
||||
#define TO_COLOR(R, G, B) QColor(limit(R*255.0), limit(G*255.0), limit(B*255.0))
|
||||
#endif
|
||||
#else
|
||||
#define inline
|
||||
#define FLOAT_COLOR(VAL, COL) ((double)(((VAL).COL*1.0)/65535.0))
|
||||
static GdkColor qtcGdkColor(double r, double g, double b)
|
||||
{
|
||||
GdkColor col;
|
||||
|
||||
col.red=limit(r*65535);
|
||||
col.green=limit(g*65535);
|
||||
col.blue=limit(b*65535);
|
||||
|
||||
return col;
|
||||
}
|
||||
|
||||
#define TO_COLOR(R, G, B) qtcGdkColor(R, G, B)
|
||||
#endif
|
||||
|
||||
static inline double ColorUtils_normalize(double a)
|
||||
{
|
||||
return (a < 1.0 ? (a > 0.0 ? a : 0.0) : 1.0);
|
||||
}
|
||||
|
||||
static inline double ColorUtils_wrap(double a)
|
||||
{
|
||||
static double d = 1.0;
|
||||
double r = fmod(a, d);
|
||||
return (r < 0.0 ? d + r : (r > 0.0 ? r : 0.0));
|
||||
}
|
||||
|
||||
#define HCY_REC 709 // use 709 for now
|
||||
#if HCY_REC == 601
|
||||
static const double yc[3] = { 0.299, 0.587, 0.114 };
|
||||
#elif HCY_REC == 709
|
||||
static const double yc[3] = {0.2126, 0.7152, 0.0722};
|
||||
#else // use Qt values
|
||||
static const double yc[3] = { 0.34375, 0.5, 0.15625 };
|
||||
#endif
|
||||
|
||||
static inline double ColorUtils_HCY_gamma(double n)
|
||||
{
|
||||
return pow(ColorUtils_normalize(n), 2.2);
|
||||
}
|
||||
|
||||
static inline double ColorUtils_HCY_igamma(double n)
|
||||
{
|
||||
return pow(ColorUtils_normalize(n), 1.0/2.2);
|
||||
}
|
||||
|
||||
static inline double ColorUtils_HCY_lumag(double r, double g, double b)
|
||||
{
|
||||
return r*yc[0] + g*yc[1] + b*yc[2];
|
||||
}
|
||||
|
||||
typedef struct
|
||||
{
|
||||
double h, c, y;
|
||||
} ColorUtils_HCY;
|
||||
|
||||
// static ColorUtils_HCY ColorUtils_HCY_fromValues(double h_, double c_, double y_/*, double a_*/)
|
||||
// {
|
||||
// h = h_;
|
||||
// c = c_;
|
||||
// y = y_;
|
||||
// // a = a_;
|
||||
// }
|
||||
|
||||
static ColorUtils_HCY ColorUtils_HCY_fromColor(const color *color)
|
||||
{
|
||||
ColorUtils_HCY hcy;
|
||||
double r = ColorUtils_HCY_gamma(FLOAT_COLOR(*color, red));
|
||||
double g = ColorUtils_HCY_gamma(FLOAT_COLOR(*color, green));
|
||||
double b = ColorUtils_HCY_gamma(FLOAT_COLOR(*color, blue));
|
||||
// a = color.alphaF();
|
||||
|
||||
// luma component
|
||||
hcy.y = ColorUtils_HCY_lumag(r, g, b);
|
||||
|
||||
// hue component
|
||||
double p = MAX(MAX(r, g), b);
|
||||
double n = MIN(MIN(r, g), b);
|
||||
double d = 6.0 * (p - n);
|
||||
if (n == p)
|
||||
hcy.h = 0.0;
|
||||
else if (r == p)
|
||||
hcy.h = ((g - b) / d);
|
||||
else if (g == p)
|
||||
hcy.h = ((b - r) / d) + (1.0 / 3.0);
|
||||
else
|
||||
hcy.h = ((r - g) / d) + (2.0 / 3.0);
|
||||
|
||||
// chroma component
|
||||
if (0.0 == hcy.y || 1.0 == hcy.y)
|
||||
hcy.c = 0.0;
|
||||
else
|
||||
hcy.c = MAX( (hcy.y - n) / hcy.y, (p - hcy.y) / (1 - hcy.y) );
|
||||
return hcy;
|
||||
}
|
||||
|
||||
static color ColorUtils_HCY_toColor(ColorUtils_HCY *hcy)
|
||||
{
|
||||
// start with sane component values
|
||||
double _h = ColorUtils_wrap(hcy->h);
|
||||
double _c = ColorUtils_normalize(hcy->c);
|
||||
double _y = ColorUtils_normalize(hcy->y);
|
||||
|
||||
// calculate some needed variables
|
||||
double _hs = _h * 6.0, th, tm;
|
||||
if (_hs < 1.0) {
|
||||
th = _hs;
|
||||
tm = yc[0] + yc[1] * th;
|
||||
}
|
||||
else if (_hs < 2.0) {
|
||||
th = 2.0 - _hs;
|
||||
tm = yc[1] + yc[0] * th;
|
||||
}
|
||||
else if (_hs < 3.0) {
|
||||
th = _hs - 2.0;
|
||||
tm = yc[1] + yc[2] * th;
|
||||
}
|
||||
else if (_hs < 4.0) {
|
||||
th = 4.0 - _hs;
|
||||
tm = yc[2] + yc[1] * th;
|
||||
}
|
||||
else if (_hs < 5.0) {
|
||||
th = _hs - 4.0;
|
||||
tm = yc[2] + yc[0] * th;
|
||||
}
|
||||
else {
|
||||
th = 6.0 - _hs;
|
||||
tm = yc[0] + yc[2] * th;
|
||||
}
|
||||
|
||||
// calculate RGB channels in sorted order
|
||||
double tn, to, tp;
|
||||
if (tm >= _y) {
|
||||
tp = _y + _y * _c * (1.0 - tm) / tm;
|
||||
to = _y + _y * _c * (th - tm) / tm;
|
||||
tn = _y - (_y * _c);
|
||||
}
|
||||
else {
|
||||
tp = _y + (1.0 - _y) * _c;
|
||||
to = _y + (1.0 - _y) * _c * (th - tm) / (1.0 - tm);
|
||||
tn = _y - (1.0 - _y) * _c * tm / (1.0 - tm);
|
||||
}
|
||||
|
||||
// return RGB channels in appropriate order
|
||||
if (_hs < 1.0)
|
||||
return TO_COLOR(ColorUtils_HCY_igamma(tp), ColorUtils_HCY_igamma(to), ColorUtils_HCY_igamma(tn));
|
||||
else if (_hs < 2.0)
|
||||
return TO_COLOR(ColorUtils_HCY_igamma(to), ColorUtils_HCY_igamma(tp), ColorUtils_HCY_igamma(tn));
|
||||
else if (_hs < 3.0)
|
||||
return TO_COLOR(ColorUtils_HCY_igamma(tn), ColorUtils_HCY_igamma(tp), ColorUtils_HCY_igamma(to));
|
||||
else if (_hs < 4.0)
|
||||
return TO_COLOR(ColorUtils_HCY_igamma(tn), ColorUtils_HCY_igamma(to), ColorUtils_HCY_igamma(tp));
|
||||
else if (_hs < 5.0)
|
||||
return TO_COLOR(ColorUtils_HCY_igamma(to), ColorUtils_HCY_igamma(tn), ColorUtils_HCY_igamma(tp));
|
||||
else
|
||||
return TO_COLOR(ColorUtils_HCY_igamma(tp), ColorUtils_HCY_igamma(tn), ColorUtils_HCY_igamma(to));
|
||||
}
|
||||
|
||||
// #ifndef __cplusplus
|
||||
static inline double ColorUtils_HCY_luma(const color *color)
|
||||
{
|
||||
return ColorUtils_HCY_lumag(ColorUtils_HCY_gamma(FLOAT_COLOR(*color, red)),
|
||||
ColorUtils_HCY_gamma(FLOAT_COLOR(*color, green)),
|
||||
ColorUtils_HCY_gamma(FLOAT_COLOR(*color, blue)));
|
||||
}
|
||||
|
||||
static inline double ColorUtils_mixQreal(double a, double b, double bias)
|
||||
{
|
||||
return a + (b - a) * bias;
|
||||
}
|
||||
|
||||
static inline double ColorUtils_luma(const color *color)
|
||||
{
|
||||
return ColorUtils_HCY_luma(color);
|
||||
}
|
||||
|
||||
static double ColorUtils_contrastRatio(const color *c1, const color *c2)
|
||||
{
|
||||
double y1 = ColorUtils_luma(c1), y2 = ColorUtils_luma(c2);
|
||||
if (y1 > y2)
|
||||
return (y1 + 0.05) / (y2 + 0.05);
|
||||
else
|
||||
return (y2 + 0.05) / (y1 + 0.05);
|
||||
}
|
||||
|
||||
static color ColorUtils_lighten(const color *color, double ky, double kc)
|
||||
{
|
||||
ColorUtils_HCY c=ColorUtils_HCY_fromColor(color);
|
||||
|
||||
c.y = 1.0 - ColorUtils_normalize((1.0 - c.y) * (1.0 - ky));
|
||||
c.c = 1.0 - ColorUtils_normalize((1.0 - c.c) * kc);
|
||||
return ColorUtils_HCY_toColor(&c);
|
||||
}
|
||||
|
||||
static color ColorUtils_darken(const color *color, double ky, double kc)
|
||||
{
|
||||
ColorUtils_HCY c=ColorUtils_HCY_fromColor(color);
|
||||
c.y = ColorUtils_normalize(c.y * (1.0 - ky));
|
||||
c.c = ColorUtils_normalize(c.c * kc);
|
||||
return ColorUtils_HCY_toColor(&c);
|
||||
}
|
||||
|
||||
static color ColorUtils_shade(const color *color, double ky, double kc)
|
||||
{
|
||||
ColorUtils_HCY c=ColorUtils_HCY_fromColor(color);
|
||||
c.y = ColorUtils_normalize(c.y + ky);
|
||||
c.c = ColorUtils_normalize(c.c + kc);
|
||||
return ColorUtils_HCY_toColor(&c);
|
||||
}
|
||||
|
||||
static color ColorUtils_mix(const color *c1, const color *c2, double bias);
|
||||
|
||||
static color ColorUtils_tintHelper(const color *base, const color *col, double amount)
|
||||
{
|
||||
color mixed=ColorUtils_mix(base, col, pow(amount, 0.3));
|
||||
ColorUtils_HCY c=ColorUtils_HCY_fromColor(&mixed);
|
||||
c.y = ColorUtils_mixQreal(ColorUtils_luma(base), c.y, amount);
|
||||
|
||||
return ColorUtils_HCY_toColor(&c);
|
||||
}
|
||||
|
||||
static color ColorUtils_tint(const color *base, const color *col, double amount)
|
||||
{
|
||||
if (amount <= 0.0) return *base;
|
||||
if (amount >= 1.0) return *col;
|
||||
if (isnan(amount)) return *base;
|
||||
|
||||
double ri = ColorUtils_contrastRatio(base, col);
|
||||
double rg = 1.0 + ((ri + 1.0) * amount * amount * amount);
|
||||
double u = 1.0, l = 0.0;
|
||||
color result;
|
||||
int i;
|
||||
for (i = 12 ; i ; --i) {
|
||||
double a = 0.5 * (l+u);
|
||||
result = ColorUtils_tintHelper(base, col, a);
|
||||
double ra = ColorUtils_contrastRatio(base, &result);
|
||||
if (ra > rg)
|
||||
u = a;
|
||||
else
|
||||
l = a;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
static color ColorUtils_mix(const color *c1, const color *c2, double bias)
|
||||
{
|
||||
if (bias <= 0.0) return *c1;
|
||||
if (bias >= 1.0) return *c2;
|
||||
if (isnan(bias)) return *c1;
|
||||
|
||||
{
|
||||
double r = ColorUtils_mixQreal(FLOAT_COLOR(*c1, red), FLOAT_COLOR(*c2, red), bias);
|
||||
double g = ColorUtils_mixQreal(FLOAT_COLOR(*c1, green), FLOAT_COLOR(*c2, green), bias);
|
||||
double b = ColorUtils_mixQreal(FLOAT_COLOR(*c1, blue), FLOAT_COLOR(*c2, blue), bias);
|
||||
/*double a = ColorUtils_mixQreal(FLOAT_COLOR(*c1, alpha), FLOAT_COLOR(*c2, alpha), bias);*/
|
||||
|
||||
return TO_COLOR(r, g, b);
|
||||
}
|
||||
}
|
||||
|
||||
// #endif
|
||||
/* Added!!! */
|
||||
// static color ColorUtils_shade_qtc(const color *color, double k)
|
||||
// {
|
||||
// ColorUtils_HCY c=ColorUtils_HCY_fromColor(color);
|
||||
// c.y = ColorUtils_normalize(c.y * (k>1.0 ? (k*1.1) : (k<1.0 ? (k*0.9) : k)));
|
||||
// return ColorUtils_HCY_toColor(&c);
|
||||
// }
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 130 B |
After Width: | Height: | Size: 276 B |
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 221 B |
After Width: | Height: | Size: 258 B |
@ -1,7 +1,12 @@
|
||||
set(kstyle_qtcurve_config_PART_SRCS qtcurveconfig.cpp exportthemedialog.cpp)
|
||||
if (QTC_STYLE_SUPPORT)
|
||||
set(kstyle_qtcurve_config_PART_SRCS qtcurveconfig.cpp exportthemedialog.cpp)
|
||||
else (QTC_STYLE_SUPPORT)
|
||||
set(kstyle_qtcurve_config_PART_SRCS qtcurveconfig.cpp)
|
||||
endif (QTC_STYLE_SUPPORT)
|
||||
|
||||
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/common ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR})
|
||||
kde3_add_ui_files(kstyle_qtcurve_config_PART_SRCS qtcurveconfigbase.ui)
|
||||
kde3_add_kpart(kstyle_qtcurve_config ${kstyle_qtcurve_config_PART_SRCS})
|
||||
kde3_automoc(${kstyle_qtcurve_config_PART_SRCS})
|
||||
target_link_libraries(kstyle_qtcurve_config ${KDE3_KDEUI_LIBS} ${KDE3_KIO_LIBS} ${KDE3_KDECORE_LIBS} ${QT_QTGUI_LIBRARY})
|
||||
target_link_libraries(kstyle_qtcurve_config ${QT_AND_KDECORE_LIBS} kio kdeui)
|
||||
install(TARGETS kstyle_qtcurve_config DESTINATION ${KDE3_LIB_DIR}/kde3)
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,25 @@
|
||||
find_program(GETTEXT_MSGFMT_EXECUTABLE msgfmt)
|
||||
|
||||
if(NOT GETTEXT_MSGFMT_EXECUTABLE)
|
||||
message("------\n"
|
||||
"NOTE: msgfmt not found. Translations will *not* be installed\n"
|
||||
"------\n")
|
||||
else(NOT GETTEXT_MSGFMT_EXECUTABLE)
|
||||
set(catalogname qtcurve)
|
||||
add_custom_target(translations ALL)
|
||||
file(GLOB PO_FILES *.po)
|
||||
foreach(_poFile ${PO_FILES})
|
||||
get_filename_component(_poFileName ${_poFile} NAME)
|
||||
string(REGEX REPLACE "^${catalogname}_?" "" _langCode ${_poFileName} )
|
||||
string(REGEX REPLACE "\\.po$" "" _langCode ${_langCode} )
|
||||
if(_langCode)
|
||||
get_filename_component(_lang ${_poFile} NAME_WE)
|
||||
set(_gmoFile ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo)
|
||||
add_custom_command(TARGET translations
|
||||
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check -o ${_gmoFile} ${_poFile}
|
||||
DEPENDS ${_poFile})
|
||||
install(FILES ${_gmoFile} DESTINATION ${KDE3_LOCALE_PREFIX}/${_langCode}/LC_MESSAGES/ RENAME ${catalogname}.mo)
|
||||
endif( _langCode )
|
||||
endforeach(_poFile ${PO_FILES})
|
||||
endif(NOT GETTEXT_MSGFMT_EXECUTABLE)
|
||||
|
@ -0,0 +1,48 @@
|
||||
#!/bin/sh
|
||||
BASEDIR=".." # root of translatable sources
|
||||
PROJECT="qtcurve" # project name
|
||||
BUGADDR="http://sourceforge.net/tracker/?group_id=50231&atid=459007" # MSGID-Bugs
|
||||
WDIR=`pwd` # working dir
|
||||
echo "Preparing rc files"
|
||||
cd ${BASEDIR}
|
||||
# we use simple sorting to make sure the lines do not jump around too much from system to system
|
||||
find . -name '*.rc' -o -name '*.ui' -o -name '*.kcfg' | sort > ${WDIR}/rcfiles.list
|
||||
xargs --arg-file=${WDIR}/rcfiles.list extractrc > ${WDIR}/rc.cpp
|
||||
# additional string for KAboutData
|
||||
echo 'i18nc("NAME OF TRANSLATORS","Your names");' >> ${WDIR}/rc.cpp
|
||||
echo 'i18nc("EMAIL OF TRANSLATORS","Your emails");' >> ${WDIR}/rc.cpp
|
||||
cd ${WDIR}
|
||||
echo "Done preparing rc files"
|
||||
|
||||
echo "Extracting messages"
|
||||
cd ${BASEDIR}
|
||||
# see above on sorting
|
||||
find . -name '*.cpp' -o -name '*.h' -o -name '*.c' | sort > ${WDIR}/infiles.list
|
||||
echo "rc.cpp" >> ${WDIR}/infiles.list
|
||||
cd ${WDIR}
|
||||
xgettext --from-code=UTF-8 -C -kde -ci18n -ki18n:1 -ki18nc:1c,2 -ki18np:1,2 -ki18ncp:1c,2,3 -ktr2i18n:1 \
|
||||
-kI18N_NOOP:1 -kI18N_NOOP2:1c,2 -kaliasLocale -kki18n:1 -kki18nc:1c,2 -kki18np:1,2 -kki18ncp:1c,2,3 \
|
||||
--msgid-bugs-address="${BUGADDR}" \
|
||||
--files-from=infiles.list -D ${BASEDIR} -D ${WDIR} -o ${PROJECT}.pot || { echo "error while calling xgettext. aborting."; exit 1; }
|
||||
|
||||
#Fix charset...
|
||||
cat ${PROJECT}.pot | sed s^charset=CHARSET^charset=UTF-8^g > ${PROJECT}.pot-new
|
||||
mv ${PROJECT}.pot-new ${PROJECT}.pot
|
||||
|
||||
echo "Done extracting messages"
|
||||
|
||||
echo "Merging translations"
|
||||
catalogs=`find . -name '*.po'`
|
||||
for cat in $catalogs; do
|
||||
echo $cat
|
||||
msgmerge -o $cat.new $cat ${PROJECT}.pot
|
||||
mv $cat.new $cat
|
||||
done
|
||||
echo "Done merging translations"
|
||||
|
||||
echo "Cleaning up"
|
||||
cd ${WDIR}
|
||||
rm rcfiles.list
|
||||
rm infiles.list
|
||||
rm rc.cpp
|
||||
echo "Done"
|
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,22 @@
|
||||
set(qtcurve_SRCS qtcurve.cpp pixmaps.h)
|
||||
add_definitions(-DQT_PLUGIN)
|
||||
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/common)
|
||||
link_directories(${KDE3_LIB_DIR})
|
||||
kde3_automoc(${qtcurve_SRCS})
|
||||
add_library(qtcurve SHARED ${qtcurve_SRCS})
|
||||
set_target_properties(qtcurve PROPERTIES PREFIX "")
|
||||
target_link_libraries(qtcurve ${QT_QTGUI_LIBRARY} kdefx)
|
||||
install(TARGETS qtcurve LIBRARY DESTINATION ${KDE3_LIB_DIR}/kde3/plugins/styles)
|
||||
install(FILES qtcurve.themerc DESTINATION ${KDE3PREFIX}/share/apps/kstyle/themes)
|
||||
if (NOT QTC_QT_ONLY)
|
||||
set(qtcurve_SRCS qtcurve.cpp pixmaps.h)
|
||||
add_definitions(-DQT_PLUGIN)
|
||||
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/common)
|
||||
link_directories(${KDE3_LIB_DIR})
|
||||
kde3_automoc(${qtcurve_SRCS})
|
||||
add_library(qtcurve MODULE ${qtcurve_SRCS})
|
||||
set_target_properties(qtcurve PROPERTIES PREFIX "")
|
||||
target_link_libraries(qtcurve ${QT_LIBRARIES} kdefx)
|
||||
install(TARGETS qtcurve LIBRARY DESTINATION ${KDE3_LIB_DIR}/kde3/plugins/styles)
|
||||
install(FILES qtcurve.themerc DESTINATION ${KDE3PREFIX}/share/apps/kstyle/themes)
|
||||
else (NOT QTC_QT_ONLY)
|
||||
set(qtcurve_MOC_CLASSES qtcurve.h qtc_kstyle.h)
|
||||
QTCURVE_QT_WRAP_CPP(qtcurve_MOC_SRCS ${qtcurve_MOC_CLASSES})
|
||||
set(qtcurve_SRCS qtcurve.cpp qtc_kstyle.cpp pixmaps.h)
|
||||
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} ${QT_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/common)
|
||||
add_library(qtcurve MODULE ${qtcurve_SRCS} ${qtcurve_MOC_SRCS})
|
||||
set_target_properties(qtcurve PROPERTIES PREFIX "")
|
||||
target_link_libraries(qtcurve ${QT_LIBRARIES})
|
||||
install(TARGETS qtcurve LIBRARY DESTINATION ${QT_PLUGINS_DIR}/styles)
|
||||
endif (NOT QTC_QT_ONLY)
|
||||
|
||||
|
@ -0,0 +1,233 @@
|
||||
//#ifdef don't do this, this file is supposed to be included
|
||||
//#define multiple times
|
||||
|
||||
/* Usage:
|
||||
|
||||
If you get compile errors caused by X11 includes (the line
|
||||
where first error appears contains word like None, Unsorted,
|
||||
Below, etc.), put #include <fixx11h.h> in the .cpp file
|
||||
(not .h file!) between the place where X11 headers are
|
||||
included and the place where the file with compile
|
||||
error is included (or the place where the compile error
|
||||
in the .cpp file occurs).
|
||||
|
||||
This file remaps X11 #defines to const variables or
|
||||
inline functions. The side effect may be that these
|
||||
symbols may now refer to different variables
|
||||
(e.g. if X11 #defined NoButton, after this file
|
||||
is included NoButton would no longer be X11's
|
||||
NoButton, but Qt::NoButton instead). At this time,
|
||||
there's no conflict known that could cause problems.
|
||||
|
||||
The original X11 symbols are still accessible
|
||||
(e.g. for None) as X::None, XNone, and also still
|
||||
None, unless name lookup finds different None
|
||||
first (in the current class, etc.)
|
||||
|
||||
Use 'Unsorted', 'Bool' and 'index' as templates.
|
||||
|
||||
*/
|
||||
|
||||
namespace X
|
||||
{
|
||||
|
||||
// template --->
|
||||
// Affects: Should be without side effects.
|
||||
#ifdef Unsorted
|
||||
#ifndef FIXX11H_Unsorted
|
||||
#define FIXX11H_Unsorted
|
||||
const int XUnsorted = Unsorted;
|
||||
#undef Unsorted
|
||||
const int Unsorted = XUnsorted;
|
||||
#endif
|
||||
#undef Unsorted
|
||||
#endif
|
||||
// template <---
|
||||
|
||||
// Affects: Should be without side effects.
|
||||
#ifdef None
|
||||
#ifndef FIXX11H_None
|
||||
#define FIXX11H_None
|
||||
const XID XNone = None;
|
||||
#undef None
|
||||
const XID None = XNone;
|
||||
#endif
|
||||
#undef None
|
||||
#endif
|
||||
|
||||
// template --->
|
||||
// Affects: Should be without side effects.
|
||||
#ifdef Bool
|
||||
#ifndef FIXX11H_Bool
|
||||
#define FIXX11H_Bool
|
||||
typedef Bool XBool;
|
||||
#undef Bool
|
||||
typedef XBool Bool;
|
||||
#endif
|
||||
#undef Bool
|
||||
#endif
|
||||
// template <---
|
||||
|
||||
// Affects: Should be without side effects.
|
||||
#ifdef KeyPress
|
||||
#ifndef FIXX11H_KeyPress
|
||||
#define FIXX11H_KeyPress
|
||||
const int XKeyPress = KeyPress;
|
||||
#undef KeyPress
|
||||
const int KeyPress = XKeyPress;
|
||||
#endif
|
||||
#undef KeyPress
|
||||
#endif
|
||||
|
||||
// Affects: Should be without side effects.
|
||||
#ifdef KeyRelease
|
||||
#ifndef FIXX11H_KeyRelease
|
||||
#define FIXX11H_KeyRelease
|
||||
const int XKeyRelease = KeyRelease;
|
||||
#undef KeyRelease
|
||||
const int KeyRelease = XKeyRelease;
|
||||
#endif
|
||||
#undef KeyRelease
|
||||
#endif
|
||||
|
||||
// Affects: Should be without side effects.
|
||||
#ifdef Above
|
||||
#ifndef FIXX11H_Above
|
||||
#define FIXX11H_Above
|
||||
const int XAbove = Above;
|
||||
#undef Above
|
||||
const int Above = XAbove;
|
||||
#endif
|
||||
#undef Above
|
||||
#endif
|
||||
|
||||
// Affects: Should be without side effects.
|
||||
#ifdef Below
|
||||
#ifndef FIXX11H_Below
|
||||
#define FIXX11H_Below
|
||||
const int XBelow = Below;
|
||||
#undef Below
|
||||
const int Below = XBelow;
|
||||
#endif
|
||||
#undef Below
|
||||
#endif
|
||||
|
||||
// Affects: Should be without side effects.
|
||||
#ifdef FocusIn
|
||||
#ifndef FIXX11H_FocusIn
|
||||
#define FIXX11H_FocusIn
|
||||
const int XFocusIn = FocusIn;
|
||||
#undef FocusIn
|
||||
const int FocusIn = XFocusIn;
|
||||
#endif
|
||||
#undef FocusIn
|
||||
#endif
|
||||
|
||||
// Affects: Should be without side effects.
|
||||
#ifdef FocusOut
|
||||
#ifndef FIXX11H_FocusOut
|
||||
#define FIXX11H_FocusOut
|
||||
const int XFocusOut = FocusOut;
|
||||
#undef FocusOut
|
||||
const int FocusOut = XFocusOut;
|
||||
#endif
|
||||
#undef FocusOut
|
||||
#endif
|
||||
|
||||
// Affects: Should be without side effects.
|
||||
#ifdef Always
|
||||
#ifndef FIXX11H_Always
|
||||
#define FIXX11H_Always
|
||||
const int XAlways = Always;
|
||||
#undef Always
|
||||
const int Always = XAlways;
|
||||
#endif
|
||||
#undef Always
|
||||
#endif
|
||||
|
||||
// Affects: Should be without side effects.
|
||||
#ifdef Success
|
||||
#ifndef FIXX11H_Success
|
||||
#define FIXX11H_Success
|
||||
const int XSuccess = Success;
|
||||
#undef Success
|
||||
const int Success = XSuccess;
|
||||
#endif
|
||||
#undef Success
|
||||
#endif
|
||||
|
||||
// Affects: Should be without side effects.
|
||||
#ifdef GrayScale
|
||||
#ifndef FIXX11H_GrayScale
|
||||
#define FIXX11H_GrayScale
|
||||
const int XGrayScale = GrayScale;
|
||||
#undef GrayScale
|
||||
const int GrayScale = XGrayScale;
|
||||
#endif
|
||||
#undef GrayScale
|
||||
#endif
|
||||
|
||||
// Affects: Should be without side effects.
|
||||
#ifdef Status
|
||||
#ifndef FIXX11H_Status
|
||||
#define FIXX11H_Status
|
||||
typedef Status XStatus;
|
||||
#undef Status
|
||||
typedef XStatus Status;
|
||||
#endif
|
||||
#undef Status
|
||||
#endif
|
||||
|
||||
// Affects: Should be without side effects.
|
||||
#ifdef CursorShape
|
||||
#ifndef FIXX11H_CursorShape
|
||||
#define FIXX11H_CursorShape
|
||||
const int XCursorShape = CursorShape;
|
||||
#undef CursorShape
|
||||
const int CursorShape = CursorShape;
|
||||
#endif
|
||||
#undef CursorShape
|
||||
#endif
|
||||
|
||||
// template --->
|
||||
// Affects: Should be without side effects.
|
||||
#ifdef index
|
||||
#ifndef FIXX11H_index
|
||||
#define FIXX11H_index
|
||||
inline
|
||||
char* Xindex( const char* s, int c )
|
||||
{
|
||||
return index( s, c );
|
||||
}
|
||||
#undef index
|
||||
inline
|
||||
char* index( const char* s, int c )
|
||||
{
|
||||
return Xindex( s, c );
|
||||
}
|
||||
#endif
|
||||
#undef index
|
||||
#endif
|
||||
// template <---
|
||||
|
||||
#ifdef rindex
|
||||
// Affects: Should be without side effects.
|
||||
#ifndef FIXX11H_rindex
|
||||
#define FIXX11H_rindex
|
||||
inline
|
||||
char* Xrindex( const char* s, int c )
|
||||
{
|
||||
return rindex( s, c );
|
||||
}
|
||||
#undef rindex
|
||||
inline
|
||||
char* rindex( const char* s, int c )
|
||||
{
|
||||
return Xrindex( s, c );
|
||||
}
|
||||
#endif
|
||||
#undef rindex
|
||||
#endif
|
||||
}
|
||||
|
||||
using namespace X;
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,324 @@
|
||||
/*
|
||||
* $Id$
|
||||
*
|
||||
* KStyle
|
||||
* Copyright (C) 2001-2002 Karol Szwed <gallium@kde.org>
|
||||
*
|
||||
* QWindowsStyle CC_ListView and style images were kindly donated by TrollTech,
|
||||
* Copyright (C) 1998-2000 TrollTech AS.
|
||||
*
|
||||
* Many thanks to Bradley T. Hughes for the 3 button scrollbar code.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public License
|
||||
* along with this library; see the file COPYING.LIB. If not, write to
|
||||
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef __QTC_KSTYLE_H
|
||||
#define __QTC_KSTYLE_H
|
||||
|
||||
// W A R N I N G
|
||||
// -------------
|
||||
// This API is still subject to change.
|
||||
// I will remove this warning when I feel the API is sufficiently flexible.
|
||||
|
||||
#include <qcommonstyle.h>
|
||||
|
||||
struct QtCKStylePrivate;
|
||||
/**
|
||||
* Simplifies and extends the QStyle API to make style coding easier.
|
||||
*
|
||||
* The KStyle class provides a simple internal menu transparency engine
|
||||
* which attempts to use XRender for accelerated blending where requested,
|
||||
* or falls back to fast internal software tinting/blending routines.
|
||||
* It also simplifies more complex portions of the QStyle API, such as
|
||||
* the PopupMenuItems, ScrollBars and Sliders by providing extra "primitive
|
||||
* elements" which are simple to implement by the style writer.
|
||||
*
|
||||
* @see QStyle::QStyle
|
||||
* @see QCommonStyle::QCommonStyle
|
||||
* @author Karol Szwed (gallium@kde.org)
|
||||
* @version $Id$
|
||||
*/
|
||||
class QtCKStyle: public QCommonStyle
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
/**
|
||||
* QtCKStyle Flags:
|
||||
*
|
||||
* @li Default - Default style setting, where menu transparency
|
||||
* and the FilledFrameWorkaround are disabled.
|
||||
*
|
||||
* @li AllowMenuTransparency - Enable this flag to use QtCKStyle's
|
||||
* internal menu transparency engine.
|
||||
*
|
||||
* @li FilledFrameWorkaround - Enable this flag to facilitate
|
||||
* proper repaints of QMenuBars and QToolBars when the style chooses
|
||||
* to paint the interior of a QFrame. The style primitives in question
|
||||
* are PE_PanelMenuBar and PE_PanelDockWindow. The HighColor style uses
|
||||
* this workaround to enable painting of gradients in menubars and
|
||||
* toolbars.
|
||||
*/
|
||||
typedef uint KStyleFlags;
|
||||
enum KStyleOption {
|
||||
Default = 0x00000000, //!< All options disabled
|
||||
AllowMenuTransparency = 0x00000001, //!< Internal transparency enabled
|
||||
FilledFrameWorkaround = 0x00000002 //!< Filled frames enabled
|
||||
};
|
||||
|
||||
/**
|
||||
* KStyle ScrollBarType:
|
||||
*
|
||||
* Allows the style writer to easily select what type of scrollbar
|
||||
* should be used without having to duplicate large amounts of source
|
||||
* code by implementing the complex control CC_ScrollBar.
|
||||
*
|
||||
* @li WindowsStyleScrollBar - Two button scrollbar with the previous
|
||||
* button at the top/left, and the next button at the bottom/right.
|
||||
*
|
||||
* @li PlatinumStyleScrollBar - Two button scrollbar with both the
|
||||
* previous and next buttons at the bottom/right.
|
||||
*
|
||||
* @li ThreeButtonScrollBar - %KDE style three button scrollbar with
|
||||
* two previous buttons, and one next button. The next button is always
|
||||
* at the bottom/right, whilst the two previous buttons are on either
|
||||
* end of the scrollbar.
|
||||
*
|
||||
* @li NextStyleScrollBar - Similar to the PlatinumStyle scroll bar, but
|
||||
* with the buttons grouped on the opposite end of the scrollbar.
|
||||
*
|
||||
* @see KStyle::KStyle()
|
||||
*/
|
||||
enum KStyleScrollBarType {
|
||||
WindowsStyleScrollBar = 0x00000000, //!< two button, windows style
|
||||
PlatinumStyleScrollBar = 0x00000001, //!< two button, platinum style
|
||||
ThreeButtonScrollBar = 0x00000002, //!< three buttons, %KDE style
|
||||
NextStyleScrollBar = 0x00000004 //!< two button, NeXT style
|
||||
};
|
||||
|
||||
/**
|
||||
* Constructs a KStyle object.
|
||||
*
|
||||
* Select the appropriate KStyle flags and scrollbar type
|
||||
* for your style. The user's style preferences selected in KControl
|
||||
* are read by using QSettings and are automatically applied to the style.
|
||||
* As a fallback, KStyle paints progressbars and tabbars. It inherits from
|
||||
* QCommonStyle for speed, so don't expect much to be implemented.
|
||||
*
|
||||
* It is advisable to use a currently implemented style such as the HighColor
|
||||
* style as a foundation for any new KStyle, so the limited number of
|
||||
* drawing fallbacks should not prove problematic.
|
||||
*
|
||||
* @param flags the style to be applied
|
||||
* @param sbtype the scroll bar type
|
||||
* @see KStyle::KStyleFlags
|
||||
* @see KStyle::KStyleScrollBarType
|
||||
* @author Karol Szwed (gallium@kde.org)
|
||||
*/
|
||||
QtCKStyle( KStyleFlags flags = QtCKStyle::Default,
|
||||
KStyleScrollBarType sbtype = QtCKStyle::WindowsStyleScrollBar );
|
||||
|
||||
/**
|
||||
* Destructs the QtCKStyle object.
|
||||
*/
|
||||
~QtCKStyle();
|
||||
|
||||
/**
|
||||
* Returns the default widget style depending on color depth.
|
||||
*/
|
||||
static QString defaultStyle();
|
||||
|
||||
/**
|
||||
* Modifies the scrollbar type used by the style.
|
||||
*
|
||||
* This function is only provided for convenience. It allows
|
||||
* you to make a late decision about what scrollbar type to use for the
|
||||
* style after performing some processing in your style's constructor.
|
||||
* In most situations however, setting the scrollbar type via the QtCKStyle
|
||||
* constructor should suffice.
|
||||
* @param sbtype the scroll bar type
|
||||
* @see QtCKStyle::KStyleScrollBarType
|
||||
*/
|
||||
void setScrollBarType(KStyleScrollBarType sbtype);
|
||||
|
||||
/**
|
||||
* Returns the KStyle flags used to initialize the style.
|
||||
*
|
||||
* This is used solely for the kcmstyle module, and hence is internal.
|
||||
*/
|
||||
KStyleFlags styleFlags() const;
|
||||
|
||||
/**
|
||||
* KStyle Primitive Elements:
|
||||
*
|
||||
* The KStyle class extends the Qt's Style API by providing certain
|
||||
* simplifications for parts of QStyle. To do this, the KStylePrimitive
|
||||
* elements were defined, which are very similar to Qt's PrimitiveElement.
|
||||
*
|
||||
* The first three Handle primitives simplify and extend PE_DockWindowHandle,
|
||||
* so do not reimplement PE_DockWindowHandle if you want the KStyle handle
|
||||
* simplifications to be operable. Similarly do not reimplement CC_Slider,
|
||||
* SC_SliderGroove and SC_SliderHandle when using the KStyle slider
|
||||
* primitives. KStyle automatically double-buffers slider painting
|
||||
* when they are drawn via these KStyle primitives to avoid flicker.
|
||||
*
|
||||
* @li KPE_DockWindowHandle - This primitive is already implemented in KStyle,
|
||||
* and paints a bevelled rect with the DockWindow caption text. Re-implement
|
||||
* this primitive to perform other more fancy effects when drawing the dock window
|
||||
* handle.
|
||||
*
|
||||
* @li KPE_ToolBarHandle - This primitive must be reimplemented. It currently
|
||||
* only paints a filled rectangle as default behavior. This primitive is used
|
||||
* to render QToolBar handles.
|
||||
*
|
||||
* @li KPE_GeneralHandle - This primitive must be reimplemented. It is used
|
||||
* to render general handles that are not part of a QToolBar or QDockWindow, such
|
||||
* as the applet handles used in Kicker. The default implementation paints a filled
|
||||
* rect of arbitrary color.
|
||||
*
|
||||
* @li KPE_SliderGroove - This primitive must be reimplemented. It is used to
|
||||
* paint the slider groove. The default implementation paints a filled rect of
|
||||
* arbitrary color.
|
||||
*
|
||||
* @li KPE_SliderHandle - This primitive must be reimplemented. It is used to
|
||||
* paint the slider handle. The default implementation paints a filled rect of
|
||||
* arbitrary color.
|
||||
*
|
||||
* @li KPE_ListViewExpander - This primitive is already implemented in KStyle. It
|
||||
* is used to draw the Expand/Collapse element in QListViews. To indicate the
|
||||
* expanded state, the style flags are set to Style_Off, while Style_On implies collapsed.
|
||||
*
|
||||
* @li KPE_ListViewBranch - This primitive is already implemented in KStyle. It is
|
||||
* used to draw the ListView branches where necessary.
|
||||
*/
|
||||
enum KStylePrimitive {
|
||||
KPE_DockWindowHandle,
|
||||
KPE_ToolBarHandle,
|
||||
KPE_GeneralHandle,
|
||||
|
||||
KPE_SliderGroove,
|
||||
KPE_SliderHandle,
|
||||
|
||||
KPE_ListViewExpander,
|
||||
KPE_ListViewBranch
|
||||
};
|
||||
|
||||
/**
|
||||
* This function is identical to Qt's QStyle::drawPrimitive(), except that
|
||||
* it adds one further parameter, 'widget', that can be used to determine
|
||||
* the widget state of the KStylePrimitive in question.
|
||||
*
|
||||
* @see KStyle::KStylePrimitive
|
||||
* @see QStyle::drawPrimitive
|
||||
* @see QStyle::drawComplexControl
|
||||
*/
|
||||
virtual void drawKStylePrimitive( KStylePrimitive kpe,
|
||||
QPainter* p,
|
||||
const QWidget* widget,
|
||||
const QRect &r,
|
||||
const QColorGroup &cg,
|
||||
SFlags flags = Style_Default,
|
||||
const QStyleOption& = QStyleOption::Default ) const;
|
||||
|
||||
|
||||
enum KStylePixelMetric {
|
||||
KPM_MenuItemSeparatorHeight = 0x00000001,
|
||||
KPM_MenuItemHMargin = 0x00000002,
|
||||
KPM_MenuItemVMargin = 0x00000004,
|
||||
KPM_MenuItemHFrame = 0x00000008,
|
||||
KPM_MenuItemVFrame = 0x00000010,
|
||||
KPM_MenuItemCheckMarkHMargin = 0x00000020,
|
||||
KPM_MenuItemArrowHMargin = 0x00000040,
|
||||
KPM_MenuItemTabSpacing = 0x00000080,
|
||||
KPM_ListViewBranchThickness = 0x00000100
|
||||
};
|
||||
|
||||
int kPixelMetric( KStylePixelMetric kpm, const QWidget* widget = 0 ) const;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
void polish( QWidget* widget );
|
||||
void unPolish( QWidget* widget );
|
||||
void polishPopupMenu( QPopupMenu* );
|
||||
|
||||
void drawPrimitive( PrimitiveElement pe,
|
||||
QPainter* p,
|
||||
const QRect &r,
|
||||
const QColorGroup &cg,
|
||||
SFlags flags = Style_Default,
|
||||
const QStyleOption& = QStyleOption::Default ) const;
|
||||
|
||||
void drawControl( ControlElement element,
|
||||
QPainter* p,
|
||||
const QWidget* widget,
|
||||
const QRect &r,
|
||||
const QColorGroup &cg,
|
||||
SFlags flags = Style_Default,
|
||||
const QStyleOption& = QStyleOption::Default ) const;
|
||||
|
||||
void drawComplexControl( ComplexControl control,
|
||||
QPainter *p,
|
||||
const QWidget* widget,
|
||||
const QRect &r,
|
||||
const QColorGroup &cg,
|
||||
SFlags flags = Style_Default,
|
||||
SCFlags controls = SC_All,
|
||||
SCFlags active = SC_None,
|
||||
const QStyleOption& = QStyleOption::Default ) const;
|
||||
|
||||
SubControl querySubControl( ComplexControl control,
|
||||
const QWidget* widget,
|
||||
const QPoint &pos,
|
||||
const QStyleOption& = QStyleOption::Default ) const;
|
||||
|
||||
QRect querySubControlMetrics( ComplexControl control,
|
||||
const QWidget* widget,
|
||||
SubControl sc,
|
||||
const QStyleOption& = QStyleOption::Default ) const;
|
||||
|
||||
int pixelMetric( PixelMetric m,
|
||||
const QWidget* widget = 0 ) const;
|
||||
|
||||
QRect subRect( SubRect r,
|
||||
const QWidget* widget ) const;
|
||||
|
||||
QPixmap stylePixmap( StylePixmap stylepixmap,
|
||||
const QWidget* widget = 0,
|
||||
const QStyleOption& = QStyleOption::Default ) const;
|
||||
|
||||
int styleHint( StyleHint sh,
|
||||
const QWidget* w = 0,
|
||||
const QStyleOption &opt = QStyleOption::Default,
|
||||
QStyleHintReturn* shr = 0 ) const;
|
||||
|
||||
protected:
|
||||
bool eventFilter( QObject* object, QEvent* event );
|
||||
|
||||
private:
|
||||
// Disable copy constructor and = operator
|
||||
QtCKStyle( const QtCKStyle & );
|
||||
QtCKStyle& operator=( const QtCKStyle & );
|
||||
|
||||
protected:
|
||||
virtual void virtual_hook( int id, void* data );
|
||||
private:
|
||||
QtCKStylePrivate *d;
|
||||
};
|
||||
|
||||
|
||||
// vim: set noet ts=4 sw=4:
|
||||
#endif
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
[Misc]
|
||||
Name=QtCurve
|
||||
Comment=Clean and elegant style
|
||||
Comment=Highly configurable style
|
||||
ConfigPage=kstyle_qtcurve_config
|
||||
[KDE]
|
||||
WidgetStyle=QtCurve
|
||||
|
@ -0,0 +1,34 @@
|
||||
[Misc]
|
||||
Name=Agua
|
||||
[KDE]
|
||||
WidgetStyle=qtc_agua
|
||||
[Settings]
|
||||
appearance=agua
|
||||
bgndImage=true
|
||||
comboBtn=selected
|
||||
crColor=true
|
||||
customShades=0
|
||||
defBtnIndicator=tint
|
||||
fixParentlessDialogs=false
|
||||
glowProgress=true
|
||||
gtkComboMenus=true
|
||||
highlightFactor=7
|
||||
lvAppearance=agua
|
||||
menuDelay=225
|
||||
menuitemAppearance=harsh
|
||||
progressAppearance=agua
|
||||
round=max
|
||||
roundAllTabs=false
|
||||
shadeSliders=selected
|
||||
sliderAppearance=agua
|
||||
sliderStyle=triangular
|
||||
sliderThumbs=none
|
||||
stdBtnSizes=true
|
||||
stripedProgress=diagonal
|
||||
sunkenAppearance=inverted
|
||||
titlebarBorder=false
|
||||
titlebarButtonAppearance=agua
|
||||
titlebarButtonColors=#C40000,#DCC864,#5ACC80,#4190C5,#8888CC,#D6D5D1,#D6D5D1,#D6D5D1,#D6D5D1
|
||||
titlebarButtons=85
|
||||
useHighlightForMenu=true
|
||||
version=1.0.0
|
@ -0,0 +1,165 @@
|
||||
[InactiveShadows]
|
||||
Size=35
|
||||
|
||||
[KWin]
|
||||
BorderSize=0
|
||||
CustomShadows=true
|
||||
Grouping=false
|
||||
OpaqueBorder=false
|
||||
RoundBottom=false
|
||||
TitleBarPad=1
|
||||
|
||||
[Settings]
|
||||
activeTabAppearance=soft
|
||||
animatedProgress=false
|
||||
appearance=agua
|
||||
bgndAppearance=flat
|
||||
bgndGrad=horiz
|
||||
bgndImage=none
|
||||
bgndOpacity=100
|
||||
boldProgress=false
|
||||
borderInactiveTab=false
|
||||
borderMenuitems=false
|
||||
borderProgress=false
|
||||
borderSbarGroove=false
|
||||
borderSelection=false
|
||||
borderTab=true
|
||||
buttonEffect=shadow
|
||||
centerTabText=false
|
||||
colorMenubarMouseOver=true
|
||||
colorSelTab=0
|
||||
colorSliderMouseOver=false
|
||||
coloredMouseOver=glow
|
||||
coloredTbarMo=false
|
||||
comboBtn=selected
|
||||
comboSplitter=false
|
||||
crButton=true
|
||||
crColor=selected
|
||||
crHighlight=3
|
||||
crSize=15
|
||||
customMenuNormTextColor=#000000
|
||||
customMenuSelTextColor=#000000
|
||||
customMenuTextColor=false
|
||||
customShades=0
|
||||
customgradient1=light,0,1.2,0.45,1,1,1
|
||||
customgradient2=3d,0,0.75,0.3,0.9,1,1.1
|
||||
customgradient3=none,0,1.1,0.99,0.94,1,0.75
|
||||
darkerBorders=false
|
||||
defBtnIndicator=tint
|
||||
dlgOpacity=100
|
||||
doubleGtkComboArrow=true
|
||||
drawStatusBarFrames=false
|
||||
dwtAppearance=customgradient1
|
||||
dwtSettings=33
|
||||
embolden=false
|
||||
etchEntry=false
|
||||
expanderHighlight=3
|
||||
fadeLines=true
|
||||
fillProgress=true
|
||||
fillSlider=true
|
||||
fixParentlessDialogs=false
|
||||
flatSbarButtons=true
|
||||
focus=glow
|
||||
forceAlternateLvCols=true
|
||||
gbFactor=-3
|
||||
gbLabel=9
|
||||
glowProgress=none
|
||||
grooveAppearance=customgradient2
|
||||
groupBox=faded
|
||||
gtkButtonOrder=false
|
||||
gtkComboMenus=true
|
||||
gtkScrollViews=false
|
||||
handles=1dot
|
||||
highlightFactor=7
|
||||
highlightScrollViews=false
|
||||
highlightTab=false
|
||||
inactiveTitlebarAppearance=customgradient3
|
||||
invertBotTab=true
|
||||
lighterPopupMenuBgnd=2
|
||||
lvAppearance=agua
|
||||
lvButton=false
|
||||
lvLines=none
|
||||
mapKdeIcons=true
|
||||
menuBgndAppearance=flat
|
||||
menuBgndGrad=horiz
|
||||
menuBgndImage=none
|
||||
menuBgndOpacity=100
|
||||
menuDelay=225
|
||||
menuIcons=true
|
||||
menuStripe=none
|
||||
menuStripeAppearance=darkinverted
|
||||
menubarAppearance=customgradient3
|
||||
menubarApps=VirtualBox,smplayer,amarok,arora,kcalc,kaffeine
|
||||
menubarHiding=1
|
||||
menubarMouseOver=true
|
||||
menuitemAppearance=harsh
|
||||
noBgndGradientApps=
|
||||
noBgndImageApps=
|
||||
noBgndOpacityApps=dragon,smplayer,inkscape,kaffeine,kscreenlocker
|
||||
noDlgFixApps=plasma-netbook,plasma,plasma-desktop,kate
|
||||
noMenuBgndOpacityApps=inkscape
|
||||
noMenuStripeApps=soffice.bin,gtk
|
||||
passwordChar=9679
|
||||
popupBorder=true
|
||||
progressAppearance=agua
|
||||
progressColor=origselected
|
||||
progressGrooveAppearance=agua
|
||||
progressGrooveColor=background
|
||||
reorderGtkButtons=true
|
||||
round=max
|
||||
roundAllTabs=true
|
||||
roundMbTopOnly=true
|
||||
sbarBgndAppearance=gradient
|
||||
scrollbarType=kde
|
||||
selectionAppearance=harsh
|
||||
shadeCheckRadio=none
|
||||
shadeMenubarOnlyWhenActive=false
|
||||
shadeMenubars=wborder
|
||||
shadePopupMenu=false
|
||||
shadeSliders=selected
|
||||
shading=hsl
|
||||
sliderAppearance=agua
|
||||
sliderFill=true
|
||||
sliderStyle=circular
|
||||
sliderThumbs=none
|
||||
sliderWidth=15
|
||||
smallRadio=true
|
||||
sortedLv=none
|
||||
splitterHighlight=3
|
||||
splitters=1dot
|
||||
square=31
|
||||
statusbarApps=kde
|
||||
statusbarHiding=1
|
||||
stdBtnSizes=true
|
||||
stdSidebarButtons=false
|
||||
stripedProgress=fade
|
||||
stripedSbar=true
|
||||
sunkenAppearance=inverted
|
||||
tabAppearance=soft
|
||||
tabBgnd=0
|
||||
tabMouseOver=glow
|
||||
thinSbarGroove=false
|
||||
thinnerBtns=true
|
||||
thinnerMenuItems=false
|
||||
titlebarAlignment=center-full
|
||||
titlebarAppearance=customgradient3
|
||||
titlebarButtonAppearance=agua
|
||||
titlebarButtonColors=#ED3D11,#EDE651,#4AD543,#5982F2,#9595E0,#D6D5D1,#D6D5D1,#D6D5D1,#D6D5D1
|
||||
titlebarButtons=3093
|
||||
titlebarEffect=etch
|
||||
titlebarIcon=title
|
||||
toolbarAppearance=flat
|
||||
toolbarBorders=none
|
||||
toolbarSeparators=sunken
|
||||
toolbarTabs=false
|
||||
unifyCombo=true
|
||||
unifySpin=true
|
||||
unifySpinBtns=false
|
||||
useHighlightForMenu=true
|
||||
useQtFileDialogApps=googleearth-bin
|
||||
vArrows=true
|
||||
version=1.6.0
|
||||
windowBorder=1
|
||||
windowDrag=1
|
||||
xCheck=false
|
||||
xbar=false
|
@ -0,0 +1,69 @@
|
||||
[Settings]
|
||||
activeTabAppearance=flat
|
||||
animatedProgress=false
|
||||
appearance=flat
|
||||
borderMenuitems=true
|
||||
buttonEffect=shadow
|
||||
coloredMouseOver=none
|
||||
comboSplitter=true
|
||||
crHighlight=true
|
||||
customCheckRadioColor=#000000
|
||||
customMenuNormTextColor=#000000
|
||||
customMenuSelTextColor=#000000
|
||||
customMenuTextColor=false
|
||||
customMenubarsColor=#000000
|
||||
customSlidersColor=#000000
|
||||
darkerBorders=false
|
||||
defBtnIndicator=fontcolor
|
||||
drawStatusBarFrames=false
|
||||
embolden=true
|
||||
fadeLines=false
|
||||
fillProgress=true
|
||||
fillSlider=true
|
||||
fixParentlessDialogs=false
|
||||
focus=standard
|
||||
framelessGroupBoxes=false
|
||||
groupBoxLine=false
|
||||
gtkScrollViews=false
|
||||
gtkComboMenus=false
|
||||
gtkButtonOrder=false
|
||||
handles=sunken
|
||||
highlightFactor=5
|
||||
highlightScrollViews=false
|
||||
highlightTab=false
|
||||
lighterPopupMenuBgnd=false
|
||||
lvAppearance=flat
|
||||
lvLines=false
|
||||
mapKdeIcons=true
|
||||
menuDelay=225
|
||||
menubarAppearance=flat
|
||||
menubarMouseOver=true
|
||||
menuitemAppearance=flat
|
||||
progressAppearance=flat
|
||||
progressGrooveAppearance=flat
|
||||
progressGrooveColor=base
|
||||
round=full
|
||||
roundMbTopOnly=true
|
||||
scrollbarType=kde
|
||||
shadeCheckRadio=none
|
||||
shadeMenubarOnlyWhenActive=false
|
||||
shadeMenubars=darken
|
||||
shadeSliders=none
|
||||
sliderAppearance=flat
|
||||
sliderStyle=plain
|
||||
sliderThumbs=sunken
|
||||
splitters=dashes
|
||||
stdSidebarButtons=false
|
||||
stripedProgress=false
|
||||
tabAppearance=flat
|
||||
thinnerMenuItems=false
|
||||
toolbarAppearance=flat
|
||||
toolbarBorders=light
|
||||
toolbarSeparators=sunken
|
||||
vArrows=false
|
||||
menuStripe=false
|
||||
menuStripeAppearance=flat
|
||||
titlebarAppearance=flat
|
||||
selectionAppearance=flat
|
||||
squareScrollViews=false
|
||||
sunkenScrollViews=false
|
@ -0,0 +1,74 @@
|
||||
animatedProgress=false
|
||||
appearance=splitgradient
|
||||
borderMenuitems=true
|
||||
buttonEffect=shadow
|
||||
coloredMouseOver=none
|
||||
colorSelTab=true
|
||||
colorTitlebarOnly=true
|
||||
comboSplitter=true
|
||||
crHighlight=false
|
||||
customCheckRadioColor=#000000
|
||||
customMenuNormTextColor=#000000
|
||||
customMenuSelTextColor=#000000
|
||||
customMenuTextColor=false
|
||||
customMenubarsColor=#000000
|
||||
customSlidersColor=#000000
|
||||
darkerBorders=false
|
||||
defBtnIndicator=glow
|
||||
drawStatusBarFrames=false
|
||||
embolden=false
|
||||
fadeLines=true
|
||||
fillProgress=true
|
||||
fillSlider=true
|
||||
fixParentlessDialogs=false
|
||||
focus=filled
|
||||
framelessGroupBoxes=true
|
||||
groupBoxLine=false
|
||||
gtkScrollViews=true
|
||||
gtkComboMenus=true
|
||||
gtkButtonOrder=false
|
||||
handles=dots
|
||||
highlightFactor=7
|
||||
highlightScrollViews=false
|
||||
highlightTab=false
|
||||
lighterPopupMenuBgnd=15
|
||||
lvAppearance=splitgradient
|
||||
lvLines=false
|
||||
mapKdeIcons=true
|
||||
menuDelay=225
|
||||
menubarAppearance=flat
|
||||
menubarMouseOver=true
|
||||
menuitemAppearance=splitgradient
|
||||
progressAppearance=splitgradient
|
||||
progressGrooveAppearance=flat
|
||||
progressGrooveColor=dark
|
||||
round=full
|
||||
roundMbTopOnly=true
|
||||
scrollbarType=windows
|
||||
shadeCheckRadio=none
|
||||
shadeMenubarOnlyWhenActive=false
|
||||
shadeMenubars=darken
|
||||
shadeSliders=selected
|
||||
sliderStyle=plain
|
||||
sliderAppearance=splitgradient
|
||||
sliderThumbs=flat
|
||||
splitters=dashes
|
||||
stdFocus=true
|
||||
stdSidebarButtons=false
|
||||
stripedProgress=diagonal
|
||||
tabAppearance=gradient
|
||||
thinnerMenuItems=false
|
||||
toolbarAppearance=splitgradient
|
||||
toolbarBorders=light
|
||||
toolbarSeparators=sunken
|
||||
vArrows=true
|
||||
windowApperance=gradient
|
||||
menuStripe=false
|
||||
menuStripeAppearance=flat
|
||||
titlebarAppearance=gradient
|
||||
selectionAppearance=gradient
|
||||
squareScrollViews=true
|
||||
sunkenAppearance=splitgradient
|
||||
sunkenScrollViews=false
|
||||
unifySpinBtns=true
|
||||
thinnerBtns=true
|
@ -0,0 +1,69 @@
|
||||
[Settings]
|
||||
appearance=customgradient4
|
||||
boldProgress=false
|
||||
borderProgress=false
|
||||
borderSbarGroove=false
|
||||
comboSplitter=true
|
||||
crColor=selected
|
||||
customShades=0
|
||||
customgradient1=light,0,1.2,1,1
|
||||
customgradient2=3d,0,0.75,0.3,0.9,1,1.1
|
||||
customgradient3=none,0,1.1,0.99,0.94,1,0.75
|
||||
customgradient4=none,0,1.1,1,0.9
|
||||
customgradient5=none,0,1.25,1,0.75
|
||||
defBtnIndicator=tint
|
||||
dwtSettings=40
|
||||
fixParentlessDialogs=false
|
||||
forceAlternateLvCols=true
|
||||
grooveAppearance=customgradient2
|
||||
gtkComboMenus=true
|
||||
gtkScrollViews=false
|
||||
highlightFactor=7
|
||||
inactiveTitlebarAppearance=customgradient3
|
||||
lvAppearance=bevelled
|
||||
menuDelay=225
|
||||
menubarAppearance=customgradient3
|
||||
menubarHiding=3
|
||||
menuitemAppearance=customgradient5
|
||||
progressAppearance=customgradient5
|
||||
progressColor=selected
|
||||
progressGrooveAppearance=customgradient4
|
||||
progressGrooveColor=background
|
||||
reorderGtkButtons=true
|
||||
round=max
|
||||
sbarBgndAppearance=gradient
|
||||
shadeMenubars=wborder
|
||||
shadeSliders=selected
|
||||
sliderAppearance=customgradient4
|
||||
sliderStyle=circular
|
||||
sliderThumbs=none
|
||||
square=31
|
||||
statusbarHiding=3
|
||||
stdBtnSizes=true
|
||||
sunkenAppearance=inverted
|
||||
thinSbarGroove=false
|
||||
titlebarAppearance=customgradient3
|
||||
titlebarButtonAppearance=customgradient4
|
||||
titlebarButtonColors=#BA0D0D,#D6BA48,#40BA3A,#444FC4,#8282C3,#D6D5D1,#D6D5D1,#D6D5D1,#D6D5D1
|
||||
titlebarButtons=3605
|
||||
titlebarEffect=etch
|
||||
useHighlightForMenu=true
|
||||
version=1.5.0
|
||||
windowBorder=1
|
||||
windowDrag=3
|
||||
|
||||
[KWin]
|
||||
BorderSize=0
|
||||
CloseOnMenuDoubleClick=true
|
||||
ColorTitleOnly=true
|
||||
ColoredShadow=false
|
||||
CustomShadows=true
|
||||
DrawBottom=true
|
||||
Grouping=false
|
||||
OpaqueBorder=false
|
||||
RoundBottom=false
|
||||
ShowResizeGrip=true
|
||||
TitleBarPad=1
|
||||
|
||||
[InactiveShadows]
|
||||
Size=35
|
@ -0,0 +1,170 @@
|
||||
[InactiveShadows]
|
||||
Size=35
|
||||
|
||||
[KWin]
|
||||
BorderSize=3
|
||||
CustomShadows=true
|
||||
EdgePad=0
|
||||
Grouping=false
|
||||
OpaqueBorder=false
|
||||
OuterBorder=2
|
||||
InnerBorder=0
|
||||
RoundBottom=true
|
||||
TitleBarPad=0
|
||||
|
||||
[Settings]
|
||||
customAlphas=0.4,0.1
|
||||
activeTabAppearance=soft
|
||||
animatedProgress=false
|
||||
appearance=customgradient5
|
||||
bgndAppearance=customgradient4
|
||||
bgndGrad=horiz
|
||||
bgndImage=none
|
||||
bgndOpacity=100
|
||||
boldProgress=false
|
||||
borderInactiveTab=true
|
||||
borderMenuitems=false
|
||||
borderProgress=true
|
||||
borderSbarGroove=true
|
||||
borderSelection=false
|
||||
borderTab=true
|
||||
buttonEffect=shadow
|
||||
centerTabText=true
|
||||
colorMenubarMouseOver=true
|
||||
colorSelTab=0
|
||||
colorSliderMouseOver=false
|
||||
coloredMouseOver=glow
|
||||
coloredTbarMo=false
|
||||
comboBtn=none
|
||||
comboSplitter=false
|
||||
crButton=true
|
||||
crColor=none
|
||||
crHighlight=0
|
||||
crSize=15
|
||||
customMenuNormTextColor=#000000
|
||||
customMenuSelTextColor=#000000
|
||||
customMenuTextColor=false
|
||||
customShades=1.16,1.07,0.9,0.78,0.84,0.75
|
||||
customgradient1=3d,0,1.2,0.5,1,1,1
|
||||
customgradient2=3d,0,0.9,0.5,1,1,1
|
||||
customgradient3=none,0,1.12,1,1.15
|
||||
customgradient4=shine,0,1.05,1,0.92
|
||||
customgradient5=light,0,1.04,1,0.92
|
||||
darkerBorders=false
|
||||
defBtnIndicator=glow
|
||||
dlgOpacity=100
|
||||
doubleGtkComboArrow=true
|
||||
drawStatusBarFrames=false
|
||||
dwtAppearance=flat
|
||||
dwtSettings=0
|
||||
embolden=false
|
||||
etchEntry=false
|
||||
expanderHighlight=3
|
||||
fadeLines=true
|
||||
fillProgress=true
|
||||
fillSlider=false
|
||||
fixParentlessDialogs=false
|
||||
flatSbarButtons=true
|
||||
focus=glow
|
||||
forceAlternateLvCols=false
|
||||
gbFactor=-3
|
||||
gbLabel=9
|
||||
glowProgress=middle
|
||||
grooveAppearance=inverted
|
||||
groupBox=faded
|
||||
gtkButtonOrder=false
|
||||
gtkComboMenus=false
|
||||
gtkScrollViews=true
|
||||
handles=sunken
|
||||
highlightFactor=3
|
||||
highlightScrollViews=true
|
||||
highlightTab=false
|
||||
inactiveTitlebarAppearance=none
|
||||
invertBotTab=true
|
||||
lighterPopupMenuBgnd=0
|
||||
lvAppearance=bevelled
|
||||
lvButton=false
|
||||
lvLines=old
|
||||
mapKdeIcons=true
|
||||
menuBgndAppearance=harsh
|
||||
menuBgndGrad=horiz
|
||||
menuBgndImage=none
|
||||
menuBgndOpacity=100
|
||||
menuDelay=225
|
||||
menuIcons=true
|
||||
menuStripe=none
|
||||
menuStripeAppearance=darkinverted
|
||||
menubarAppearance=flat
|
||||
menubarApps=VirtualBox,smplayer,amarok,arora,kcalc,kaffeine
|
||||
menubarHiding=0
|
||||
menubarMouseOver=true
|
||||
menuitemAppearance=fade
|
||||
noBgndGradientApps=
|
||||
noBgndImageApps=
|
||||
noBgndOpacityApps=dragon,smplayer,inkscape,totem,kaffeine,kscreenlocker,sonata
|
||||
noDlgFixApps=plasma-netbook,plasma,plasma-desktop,kate
|
||||
noMenuBgndOpacityApps=inkscape,totem,sonata
|
||||
noMenuStripeApps=soffice.bin,gtk
|
||||
passwordChar=9679
|
||||
popupBorder=true
|
||||
progressAppearance=dullglass
|
||||
progressColor=origselected
|
||||
progressGrooveAppearance=inverted
|
||||
progressGrooveColor=dark
|
||||
reorderGtkButtons=false
|
||||
round=extra
|
||||
roundAllTabs=false
|
||||
roundMbTopOnly=false
|
||||
sbarBgndAppearance=flat
|
||||
scrollbarType=kde
|
||||
selectionAppearance=harsh
|
||||
shadeCheckRadio=none
|
||||
shadeMenubarOnlyWhenActive=false
|
||||
shadeMenubars=none
|
||||
shadePopupMenu=false
|
||||
shadeSliders=none
|
||||
shading=hsl
|
||||
sliderAppearance=soft
|
||||
sliderFill=true
|
||||
sliderStyle=r-plain
|
||||
sliderThumbs=none
|
||||
sliderWidth=15
|
||||
smallRadio=true
|
||||
sortedLv=none
|
||||
splitterHighlight=0
|
||||
splitters=flat
|
||||
square=0
|
||||
statusbarApps=kde
|
||||
statusbarHiding=0
|
||||
stdBtnSizes=false
|
||||
stdSidebarButtons=false
|
||||
stripedProgress=none
|
||||
stripedSbar=false
|
||||
sunkenAppearance=customgradient3
|
||||
tabAppearance=soft
|
||||
tabBgnd=0
|
||||
tabMouseOver=glow
|
||||
thinSbarGroove=false
|
||||
thinnerBtns=true
|
||||
thinnerMenuItems=false
|
||||
titlebarAlignment=center-full
|
||||
titlebarAppearance=none
|
||||
titlebarButtonAppearance=gradient
|
||||
titlebarButtons=2117
|
||||
titlebarEffect=shadow
|
||||
titlebarIcon=title
|
||||
toolbarAppearance=flat
|
||||
toolbarBorders=none
|
||||
toolbarSeparators=sunken
|
||||
toolbarTabs=false
|
||||
unifyCombo=true
|
||||
unifySpin=true
|
||||
unifySpinBtns=false
|
||||
useHighlightForMenu=false
|
||||
useQtFileDialogApps=googleearth-bin
|
||||
vArrows=true
|
||||
version=1.6.1
|
||||
windowBorder=1
|
||||
windowDrag=3
|
||||
xCheck=false
|
||||
xbar=false
|
@ -1,54 +1,160 @@
|
||||
[KWin]
|
||||
BorderSize=3
|
||||
Grouping=false
|
||||
OpaqueBorder=false
|
||||
OuterBorder=true
|
||||
TitleBarPad=1
|
||||
|
||||
[Settings]
|
||||
animatedProgress=true
|
||||
activeTabAppearance=flat
|
||||
animatedProgress=false
|
||||
appearance=gradient
|
||||
borderMenuitems=true
|
||||
bgndAppearance=flat
|
||||
bgndGrad=horiz
|
||||
bgndImage=none
|
||||
bgndOpacity=100
|
||||
boldProgress=true
|
||||
borderInactiveTab=false
|
||||
borderMenuitems=false
|
||||
borderProgress=true
|
||||
borderSbarGroove=true
|
||||
borderSelection=false
|
||||
borderTab=false
|
||||
buttonEffect=none
|
||||
centerTabText=false
|
||||
colorMenubarMouseOver=false
|
||||
colorSelTab=0
|
||||
colorSliderMouseOver=false
|
||||
coloredMouseOver=plastik
|
||||
customCheckRadioColor=#000000
|
||||
coloredTbarMo=false
|
||||
comboBtn=none
|
||||
comboSplitter=true
|
||||
crButton=false
|
||||
crColor=none
|
||||
crHighlight=0
|
||||
crSize=13
|
||||
customMenuNormTextColor=#000000
|
||||
customMenuSelTextColor=#000000
|
||||
customMenuTextColor=false
|
||||
customMenubarsColor=#000000
|
||||
customSlidersColor=#000000
|
||||
customShades=0
|
||||
customgradient1=3d,0,1.2,0.5,1,1,1
|
||||
customgradient2=3d,0,0.9,0.5,1,1,1
|
||||
darkerBorders=false
|
||||
defBtnIndicator=colored
|
||||
defBtnIndicator=fontcolor
|
||||
dlgOpacity=100
|
||||
doubleGtkComboArrow=false
|
||||
drawStatusBarFrames=false
|
||||
dwtAppearance=flat
|
||||
dwtSettings=0
|
||||
embolden=false
|
||||
fillSlider=true
|
||||
framelessGroupBoxes=false
|
||||
gradientPbGroove=true
|
||||
gtkScrollViews=false
|
||||
gtkComboMenus=false
|
||||
etchEntry=true
|
||||
expanderHighlight=3
|
||||
fadeLines=false
|
||||
fillProgress=false
|
||||
fillSlider=false
|
||||
fixParentlessDialogs=false
|
||||
flatSbarButtons=false
|
||||
focus=standard
|
||||
forceAlternateLvCols=false
|
||||
gbFactor=0
|
||||
gbLabel=0
|
||||
glowProgress=none
|
||||
grooveAppearance=inverted
|
||||
groupBox=plain
|
||||
gtkButtonOrder=false
|
||||
gtkComboMenus=false
|
||||
gtkScrollViews=false
|
||||
handles=dots
|
||||
highlightFactor=-2
|
||||
highlightTab=true
|
||||
lighterPopupMenuBgnd=true
|
||||
highlightScrollViews=false
|
||||
highlightTab=false
|
||||
inactiveTitlebarAppearance=gradient
|
||||
invertBotTab=true
|
||||
lighterPopupMenuBgnd=2
|
||||
lvAppearance=gradient
|
||||
lvLines=false
|
||||
lvButton=false
|
||||
lvLines=none
|
||||
mapKdeIcons=true
|
||||
menuBgndAppearance=flat
|
||||
menuBgndGrad=horiz
|
||||
menuBgndImage=none
|
||||
menuBgndOpacity=100
|
||||
menuDelay=225
|
||||
menuIcons=true
|
||||
menuStripe=none
|
||||
menuStripeAppearance=flat
|
||||
menubarAppearance=flat
|
||||
menubarApps=VirtualBox,smplayer,amarok,arora,kcalc,kaffeine
|
||||
menubarHiding=0
|
||||
menubarMouseOver=true
|
||||
menuitemAppearance=gradient
|
||||
noBgndGradientApps=
|
||||
noBgndImageApps=
|
||||
noBgndOpacityApps=dragon,smplayer,inkscape,kaffeine,kscreenlocker
|
||||
noDlgFixApps=plasma-netbook,plasma,plasma-desktop,kate
|
||||
noMenuBgndOpacityApps=inkscape
|
||||
noMenuStripeApps=soffice.bin,gtk
|
||||
passwordChar=9679
|
||||
popupBorder=true
|
||||
progressAppearance=flat
|
||||
progressColor=origselected
|
||||
progressGrooveAppearance=flat
|
||||
progressGrooveColor=base
|
||||
reorderGtkButtons=false
|
||||
round=full
|
||||
roundAllTabs=false
|
||||
roundMbTopOnly=false
|
||||
scrollbarType=windows
|
||||
sbarBgndAppearance=flat
|
||||
scrollbarType=kde
|
||||
selectionAppearance=flat
|
||||
shadeCheckRadio=none
|
||||
shadeMenubarOnlyWhenActive=false
|
||||
shadeMenubars=none
|
||||
shadePopupMenu=false
|
||||
shadeSliders=none
|
||||
shading=hsl
|
||||
sliderAppearance=gradient
|
||||
sliderFill=true
|
||||
sliderStyle=triangular
|
||||
sliderThumbs=dots
|
||||
sliderWidth=15
|
||||
smallRadio=false
|
||||
sortedLv=none
|
||||
splitterHighlight=3
|
||||
splitters=dots
|
||||
stdFocus=true
|
||||
square=256
|
||||
statusbarApps=kde
|
||||
statusbarHiding=0
|
||||
stdBtnSizes=false
|
||||
stdSidebarButtons=false
|
||||
stripedProgress=true
|
||||
stripedProgress=plain
|
||||
stripedSbar=false
|
||||
sunkenAppearance=inverted
|
||||
tabAppearance=gradient
|
||||
tabBgnd=0
|
||||
tabMouseOver=top
|
||||
thinSbarGroove=false
|
||||
thinnerBtns=false
|
||||
thinnerMenuItems=false
|
||||
titlebarAlignment=left
|
||||
titlebarAppearance=gradient
|
||||
titlebarButtonAppearance=gradient
|
||||
titlebarButtons=2
|
||||
titlebarEffect=shadow
|
||||
titlebarIcon=menu
|
||||
toolbarAppearance=flat
|
||||
toolbarBorders=light-all
|
||||
toolbarSeparators=sunken
|
||||
toolbarTabs=false
|
||||
tooltipAppearance=flat
|
||||
unifyCombo=false
|
||||
unifySpin=false
|
||||
unifySpinBtns=false
|
||||
useHighlightForMenu=true
|
||||
useQtFileDialogApps=googleearth-bin
|
||||
vArrows=false
|
||||
version=1.6.0
|
||||
windowBorder=4
|
||||
windowDrag=0
|
||||
xCheck=true
|
||||
xbar=false
|
||||
|
@ -0,0 +1,89 @@
|
||||
[Misc]
|
||||
Name=Silk
|
||||
Comment=QtCurve derived style.
|
||||
[KDE]
|
||||
WidgetStyle=qtc_silk
|
||||
[Settings]
|
||||
activeTabAppearance=flat
|
||||
animatedProgress=false
|
||||
appearance=customgradient2
|
||||
borderMenuitems=false
|
||||
buttonEffect=shadow
|
||||
colorSelTab=false
|
||||
coloredMouseOver=glow
|
||||
comboSplitter=false
|
||||
crButton=true
|
||||
crHighlight=false
|
||||
customCheckRadioColor=#000000
|
||||
customMenuNormTextColor=#000000
|
||||
customMenuSelTextColor=#000000
|
||||
customMenuTextColor=false
|
||||
customMenubarsColor=#000000
|
||||
customShades=1.16,1.07,0.9,0.78,0.84,0.75
|
||||
customSlidersColor=#000000
|
||||
customShadesX=1.1,1.1,1.1,1.1,1.1,1.1
|
||||
customgradient1=false,0,1.05,0.49,1,0.5,0.95,1,1
|
||||
customgradient2=false,0,1.05,1,1
|
||||
customgradient3=false,0.85,1,1,0.92
|
||||
customgradient4=false,0,1,1,0.98
|
||||
customgradient5=false,0,1.2,0.5,1,1,1
|
||||
customgradient6=false,0,0.9,0.5,1,1,1
|
||||
darkerBorders=false
|
||||
defBtnIndicator=glow
|
||||
drawStatusBarFrames=false
|
||||
embolden=false
|
||||
fadeLines=true
|
||||
fixParentlessDialogs=false
|
||||
flatSbarButtons=true
|
||||
focus=filled
|
||||
framelessGroupBoxes=true
|
||||
groupBoxLine=true
|
||||
gtkButtonOrder=false
|
||||
gtkComboMenus=false
|
||||
gtkScrollViews=false
|
||||
handles=sunken
|
||||
highlightFactor=0
|
||||
highlightScrollViews=false
|
||||
highlightTab=false
|
||||
inactiveTitlebarAppearance=customgradient6
|
||||
lighterPopupMenuBgnd=2
|
||||
lvAppearance=customgradient3
|
||||
lvLines=false
|
||||
mapKdeIcons=true
|
||||
menuDelay=225
|
||||
menuStripe=false
|
||||
menuStripeAppearance=customgradient2
|
||||
menubarAppearance=customgradient4
|
||||
menubarMouseOver=true
|
||||
menuitemAppearance=fade
|
||||
progressAppearance=customgradient1
|
||||
progressGrooveAppearance=inverted
|
||||
progressGrooveColor=dark
|
||||
round=full
|
||||
roundMbTopOnly=true
|
||||
scrollbarType=kde
|
||||
selectionAppearance=gradient
|
||||
shadeCheckRadio=none
|
||||
shadeMenubarOnlyWhenActive=false
|
||||
shadeMenubars=none
|
||||
shadeSliders=none
|
||||
shading=hsl
|
||||
sliderAppearance=customgradient2
|
||||
sliderStyle=plain
|
||||
sliderThumbs=lines
|
||||
splitters=flat
|
||||
squareScrollViews=false
|
||||
stdSidebarButtons=false
|
||||
stripedProgress=none
|
||||
sunkengradientX=false,0,0.5,0.5,0.1,1,0.9
|
||||
sunkenScrollViews=true
|
||||
tabAppearance=flat
|
||||
thinnerMenuItems=false
|
||||
titlebarAppearance=customgradient5
|
||||
titlebarButtonAppearance=customgradient2
|
||||
toolbarAppearance=flat
|
||||
toolbarBorders=none
|
||||
toolbarSeparators=sunken
|
||||
useHighlightForMenu=false
|
||||
vArrows=true
|
||||
xCheck=false
|
Loading…
Reference in new issue