Commit graph

239 commits

Author SHA1 Message Date
Script Kiddy
3ae271ef3e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=639986

The following changes were in SVN, but were removed from git:

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/Chicken-Songs-2.jpg.desktop
M	wallpapers/No-Ones-Laughing-3.jpg.desktop
M	wallpapers/Time-For-Lunch-2.jpg.desktop
M	wallpapers/Totally-New-Product-1.jpg.desktop
M	wallpapers/Won-Ton-Soup-3.jpg.desktop
M	wallpapers/alta-badia.jpg.desktop
M	wallpapers/andes-venezolanos.svgz.desktop
M	wallpapers/aurora.svgz.desktop
M	wallpapers/blue-bend.jpg.desktop
M	wallpapers/celtic.svgz.desktop
M	wallpapers/default_blue.jpg.desktop
M	wallpapers/default_gears.jpg.desktop
M	wallpapers/floating-leaves.jpg.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/konqui.svgz.desktop
M	wallpapers/lineart.svgz.desktop
M	wallpapers/moon.svgz.desktop
M	wallpapers/seaofconero.jpg.desktop
M	wallpapers/soft-green.jpg.desktop
M	wallpapers/stelvio.jpg.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2007-03-06 13:53:59 +00:00
Luboš Luňák
8af21ee5b3 merge r635823 from trunk
svn path=/branches/work/kwin_composite/; revision=636609
2007-02-23 14:38:01 +00:00
Barış Metin
12d1b8b0fd setGroup to KConfigGroup
svn path=/trunk/KDE/kdebase/workspace/; revision=635823
2007-02-21 02:59:04 +00:00
Stephan Kulow
ab1fe691d8 merged kconfiggroup_port branch
svn path=/trunk/KDE/kdebase/workspace/; revision=635490
2007-02-20 07:00:30 +00:00
Luboš Luňák
36afaf2efc Merge r632199 from kwin_composite.
svn path=/trunk/KDE/kdebase/workspace/; revision=632843
2007-02-12 13:29:36 +00:00
Dirk Mueller
6c224134db porting simplifications regarding KConfig::readEntry
svn path=/branches/work/kwin_composite/; revision=632199
2007-02-10 09:12:35 +00:00
Alexander Neundorf
cd5d04d060 -remove kde4_install_libtool_file(), not necessary anymore since we switched away from libltdl
Alex


svn path=/trunk/KDE/kdebase/workspace/; revision=602118
2006-11-05 12:24:44 +00:00
Laurent Montel
c0e49fc3ed Port to uic4
svn path=/trunk/KDE/kdebase/workspace/; revision=601570
2006-11-03 16:58:18 +00:00
Laurent Montel
b1ce3b0b9e Apply Alex patch (now we can use enable-final argument
some module compiles with enable-final now)
As discussed with Alex it's not necessary to have program name
into automoc macro

svn path=/trunk/KDE/kdebase/workspace/; revision=598290
2006-10-23 06:53:27 +00:00
Luboš Luňák
c16d2e1dff svn merge r595039 from trunk
svn path=/branches/work/kwin_composite/; revision=597698
2006-10-21 12:01:53 +00:00
Laurent Montel
01f2a3a9f2 Necessary to change KDE4_AUTOMOC macro to support
enable-final argument

(there was not a dependancy between <name>_final.cpp file and
moc generated files => moc files were never created)

Not necessary to rebuild all kdelibs just cp kdelibs/cmake/modules/KDE4Macros.cmake <path_kde4>/share/apps/cmake/modules

I ported and tested all kde module (without enable-final argument, it compiles fines (test and program))
Don't try to use enable-final argument for the moment it doesn't compile (but dependancy works)

Regards

svn path=/trunk/KDE/kdebase/workspace/; revision=595039
2006-10-13 07:55:37 +00:00
Laurent Montel
083016d55b Add const
svn path=/trunk/KDE/kdebase/workspace/; revision=580071
2006-09-02 14:59:11 +00:00
Laurent Montel
2b3553723b Not necessary to test it
svn path=/trunk/KDE/kdebase/workspace/; revision=580068
2006-09-02 14:47:24 +00:00
Laurent Montel
4f5267e8f8 Clean up
Use cmake macro
Remove not necessary files

svn path=/trunk/KDE/kdebase/workspace/; revision=578784
2006-08-30 08:33:11 +00:00
Laurent Montel
9310382fd5 Clean up
svn path=/trunk/KDE/kdebase/workspace/; revision=566946
2006-07-27 16:21:45 +00:00
Dirk Mueller
e12b8f755a merge bleeding edge. bleeding edge is now again dead
svn path=/trunk/KDE/kdebase/workspace/; revision=558082

The following changes were in SVN, but were removed from git:

M	wallpapers/CMakeLists.txt
2006-07-04 17:09:53 +00:00
Thorsten Roeder
d68dafda6b fixed some EBN issues
svn path=/trunk/KDE/kdebase/workspace/; revision=546993
2006-05-31 16:23:36 +00:00
Laurent Montel
5725624c8b #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=540496
2006-05-13 16:33:18 +00:00
Alexander Neundorf
a9fc0d54c7 kde4_header and kde4_footer() are gone now
svn path=/trunk/KDE/kdebase/workspace/; revision=540215

The following changes were in SVN, but were removed from git:

M	wallpapers/CMakeLists.txt
2006-05-12 18:12:37 +00:00
Alexander Neundorf
e4e2266d9c -add FONTCONFIG_INCLUDE_DIR where required
-cleanup the toplevel CMakeLists.txt a bit
-remove include_directories( CMAKE_CURRENT_SOURCE_DIR CMAKE_CURRENT_BINARY_DIR)
in the subdirs, since this is done now automatically by cmake (the CMAKE_INCLUDE_CURRENT_DIR option
-include_directories(KDE4_INCLUDES) in the toplevel CMakeLists.txt, so it
doesn't have to be done in every subdir

Alex


svn path=/trunk/KDE/kdebase/workspace/; revision=539914

The following changes were in SVN, but were removed from git:

M	wallpapers/CMakeLists.txt
2006-05-12 00:08:30 +00:00
Laurent Montel
7f7ce52d78 #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=539617
2006-05-11 08:04:23 +00:00
Laurent Montel
9c5a5fd6ea KPixmap was removed
svn path=/trunk/KDE/kdebase/workspace/; revision=538507
2006-05-08 08:14:01 +00:00
Stephan Kulow
dee1917849 revert broken commit
svn path=/trunk/KDE/kdebase/workspace/; revision=536543
2006-05-02 12:40:25 +00:00
Bernhard Rosenkraenzer
1fd35c1cf9 Compile fixes (KPixmap)
svn path=/trunk/KDE/kdebase/workspace/; revision=536502
2006-05-02 10:35:34 +00:00
Thorsten Roeder
5f4822c3c6 fix my stupid commit from yesterday.
thx.

CCMAIL: Woebbeking@onlinehome.de

svn path=/trunk/KDE/kdebase/workspace/; revision=535315
2006-04-29 09:21:48 +00:00
Thorsten Roeder
86d995aec4 avoid unnecessary conversion: QPixmap->QImage->QPixmap
svn path=/trunk/KDE/kdebase/workspace/; revision=535225
2006-04-28 21:29:59 +00:00
Stephan Kulow
072a101a10 removed quite some deprecated functions around pixmaps
(crossing fingers I didn't overlook some use of ::resize that
need the old pixmap data copied)

svn path=/trunk/KDE/kdebase/workspace/; revision=534212
2006-04-26 16:05:58 +00:00
Frank Osterfeld
86d79b7414 replace LIB_INSTALL_DIR/kde4 with PLUGIN_INSTALL_DIR
svn path=/trunk/KDE/kdebase/workspace/; revision=531059
2006-04-18 14:21:54 +00:00
Tobias Koenig
848bc14335 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=529106
2006-04-12 15:13:31 +00:00
Thorsten Roeder
98fa3320c5 deprecated--
basically:
QRegExp::search() --> QRegExp::indexIn()
QString::find() --> QString::indexOf()
QString::findRev() --> QString::lastIndexOf()
QString::lower() --> QString::toLower()
QString::upper() --> QString::toUpper()
QString::setLength() --> QString::resize()
QByteArray::find() --> QByteArray::indexOf()
QByteArray::findRev() --> QByteArray::lastIndexof()
QTimer::start(ms,sShot) --> {QTimer::setSingleShot() ; QTimer::start()}
QList::remove() --> QList::removeAll()
iterator QList::remove() --> iterator QList::erase()
QComboBox::text() --> QComboBox::itemText()
QByteArray::upper() --> QByteArray::toUpper()
QByteArray::lower() --> QByteArray::toLower()
QString::contains() --> QString::contains()
QEvent::accept(bool) --> QEvent::setAccepted(bool)


svn path=/trunk/KDE/kdebase/workspace/; revision=528719
2006-04-11 17:12:05 +00:00
Alexander Neundorf
d3fe666661 -use KDE4_INCLUDES instead of KDE4_INCLUDE_DIR and QT_INCLUDES
Alex

svn path=/trunk/KDE/kdebase/workspace/; revision=522728

The following changes were in SVN, but were removed from git:

M	wallpapers/CMakeLists.txt
2006-03-26 14:52:52 +00:00
Laurent Montel
f96f1e4493 Fix cmake variable
svn path=/trunk/KDE/kdebase/workspace/; revision=522126
2006-03-24 14:59:45 +00:00
David Faure
090f6dcbfa Use set(CMAKE_INCLUDE_CURRENT_DIR ON) in the toplevel CMakeLists.txt, and we don't need to include
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} in each and every file anymore [only when subdirs might depend on that].

Also ran a script which makes sure that ${KDE4_INCLUDE_DIR} and ${QT_INCLUDES} are added -last-,
so that installed headers are not preferred over (possibly more uptodate) local headers.

svn path=/trunk/KDE/kdebase/workspace/; revision=521887

The following changes were in SVN, but were removed from git:

M	wallpapers/CMakeLists.txt
2006-03-23 19:24:10 +00:00
Laurent Montel
2d72d205be Fix typo
svn path=/trunk/KDE/kdebase/workspace/; revision=521451
2006-03-22 16:06:38 +00:00
Laurent Montel
938178b594 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=516259
2006-03-06 13:26:07 +00:00
Sandro Giessl
fdb1b61473 Make kwin decorations API free of Qt3 support members
svn path=/trunk/KDE/kdebase/workspace/; revision=515804
2006-03-04 22:27:27 +00:00
Laurent Montel
65d7d827a0 Compile++
svn path=/trunk/KDE/kdebase/workspace/; revision=514732
2006-03-01 09:00:52 +00:00
Laurent Montel
03725a7d66 Add module to compile kdebase with kdelibs-cmake.
BE CARREFULL: Don't try to compile it for the moment (in progress)
Don't use kdelibs trunk for compile it (there is not again test to disable
compile when we compile with kdelibs trunk)
For the moment there was a lot of missing test etc.
I commit it just to allow to lose my changes if there is a pb on my HD.
I will sync cmake from kdelibs trunk to kdelibs-snapshot.
I hope to fix compile today or tomorrow.
CCMAIL: neundorf@kde.org

For the futur we must sync kdelibs/cmake/* to kdelibs-snapshot 
to compile all the time with kdelibs-snapshot

svn path=/trunk/KDE/kdebase/workspace/; revision=514380

The following changes were in SVN, but were removed from git:

A	wallpapers/CMakeLists.txt
2006-02-28 08:01:15 +00:00
Laurent Montel
1e8cf8aa59 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=512447
2006-02-22 15:08:04 +00:00
Laurent Montel
f327b7f032 Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=512331
2006-02-22 09:52:11 +00:00
Allen Winter
441523a689 Replace obsolete QMAX() and QMIN() with qMax() and qMin().
svn path=/trunk/KDE/kdebase/workspace/; revision=510739
2006-02-17 21:54:55 +00:00
Laurent Montel
9a915b2063 Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=509799
2006-02-15 16:24:28 +00:00
Laurent Montel
42937f76a7 read*entry--
svn path=/trunk/KDE/kdebase/workspace/; revision=500998
2006-01-21 19:36:31 +00:00
Script Kiddy
30cb1f9f43 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=495177

The following changes were in SVN, but were removed from git:

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/Chicken-Songs-2.jpg.desktop
M	wallpapers/KDE34.png.desktop
M	wallpapers/No-Ones-Laughing-3.jpg.desktop
M	wallpapers/Time-For-Lunch-2.jpg.desktop
M	wallpapers/Totally-New-Product-1.jpg.desktop
M	wallpapers/Won-Ton-Soup-3.jpg.desktop
M	wallpapers/alta-badia.jpg.desktop
M	wallpapers/andes-venezolanos.svgz.desktop
M	wallpapers/aurora.svgz.desktop
M	wallpapers/blue-bend.jpg.desktop
M	wallpapers/celtic.svgz.desktop
M	wallpapers/default_blue.jpg.desktop
M	wallpapers/default_gears.jpg.desktop
M	wallpapers/floating-leaves.jpg.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/konqui.svgz.desktop
M	wallpapers/lineart.svgz.desktop
M	wallpapers/moon.svgz.desktop
M	wallpapers/seaofconero.jpg.desktop
M	wallpapers/soft-green.jpg.desktop
M	wallpapers/stelvio.jpg.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2006-01-07 12:16:49 +00:00
Laurent Montel
b0a95318bc readBoolEntry->readEntry
svn path=/trunk/KDE/kdebase/workspace/; revision=493850
2006-01-03 14:01:15 +00:00
Laurent Montel
bb61c66b88 qt3support--
svn path=/trunk/KDE/kdebase/workspace/; revision=479406
2005-11-10 11:50:13 +00:00
Laurent Montel
91ea06f842 Don't use qt3 class name
svn path=/trunk/KDE/kdebase/workspace/; revision=478798
2005-11-07 22:07:49 +00:00
Dirk Mueller
e20f2bd6b2 SVN_SILENT: fix typo
svn path=/trunk/KDE/kdebase/kdm/; revision=467416
2005-10-05 08:44:32 +00:00
Stephan Kulow
7a441e1b7a the easy cases
svn path=/trunk/KDE/kdebase/workspace/; revision=466852
2005-10-03 15:13:54 +00:00
Matt Broadstone
5da7024486 rid ourselves of the Q3Buttons
svn path=/trunk/KDE/kdebase/kwin/; revision=449967
2005-08-17 09:15:59 +00:00
Stephan Kulow
b464518b3c svn merge svn+ssh://coolo@svn.kde.org/home/kde/trunk/KDE/kdebase@438057
svn+ssh://coolo@svn.kde.org/home/kde/branches/work/kde4/kdebase
          .

I couldn't resolve one kicker conflict that results from different
development directions, so I rely on Aaron to sort it out - the file
is commited with conflicts

svn path=/trunk/KDE/kdebase/kwin/; revision=439627
2005-07-28 14:59:42 +00:00
Dirk Mueller
84efa15bbd update FSF address
svn path=/trunk/KDE/kdebase/kdm/; revision=431577
2005-07-04 19:02:09 +00:00
Sandro Giessl
e1d06ecbeb Align title left by default
svn path=/trunk/KDE/kdebase/kwin/; revision=410832
2005-05-08 12:37:13 +00:00
Sandro Giessl
06e5b5b960 revert the recent change which introduced button masking as it breaks Fitt's Law..
svn path=/trunk/kdebase/kwin/; revision=400875
2005-03-26 22:52:18 +00:00
Luís Pedro Coelho
a8c2702d6c shadow.h doesn't exist anymore.
svn path=/trunk/kdebase/kwin/; revision=400829
2005-03-26 19:13:11 +00:00
Sandro Giessl
0160e12bc2 better OnAllDesktop icons
svn path=/trunk/kdebase/kwin/; revision=400827
2005-03-26 19:02:02 +00:00
Sandro Giessl
0e63cf7cef bigger icons for small buttons
svn path=/trunk/kdebase/kwin/; revision=400826
2005-03-26 19:01:40 +00:00
Sandro Giessl
b8e51cef98 Oups... bad icon cache index resulting in a crash for toolwindows.
BUG: 102544

svn path=/trunk/kdebase/kwin/; revision=400813
2005-03-26 18:06:22 +00:00
Sandro Giessl
99c7f10187 fall back to KCommonDecoration::layoutMetric
svn path=/trunk/kdebase/kwin/; revision=400746
2005-03-26 13:18:32 +00:00
Malcolm Hunter
6424908f90 CVS_SILENT Typographical corrections and changes
svn path=/trunk/kdebase/kcontrol/; revision=400361
2005-03-24 23:21:52 +00:00
Sandro Giessl
f26dffe5e3 make the button background lighter again as suggested on kde-devel...
svn path=/trunk/kdebase/kwin/; revision=400269
2005-03-24 17:01:04 +00:00
Sandro Giessl
33438df578 no need to fake the titlebar background except for the menu button
svn path=/trunk/kdebase/kwin/; revision=400268
2005-03-24 16:56:58 +00:00
Sandro Giessl
2fd48c13e9 No need for a hard reset for SettingButtons changes, KCommonDecoration can handle button reset.
svn path=/trunk/kdebase/kwin/; revision=399854
2005-03-22 23:08:50 +00:00
Sandro Giessl
6a8e5c41d8 Add an option for a titlebar-colored window border. I think it looks better than
before, enabled by default.

FEATURE: 98922

svn path=/trunk/kdebase/kwin/; revision=399363
2005-03-20 22:24:04 +00:00
Sandro Giessl
cd66337cff now do all painting through cached pixmaps and only paint things that are
in the PaintEvent region. makes it a bit easier to modify the look and saves
another ~15% for 100000 repaint resp. 10000 caption changes... :)

svn path=/trunk/kdebase/kwin/; revision=399339
2005-03-20 21:07:11 +00:00
Sandro Giessl
a80216662a oups... no shadow.cpp anymore.
svn path=/trunk/kdebase/kwin/; revision=399004
2005-03-19 16:30:34 +00:00
Sandro Giessl
ab29b1a699 forgot to remove shadow.h/.cpp
svn path=/trunk/kdebase/kwin/; revision=399002
2005-03-19 16:17:56 +00:00
Sandro Giessl
4e10228f75 - minor changes to button drawing
- button icon changes: don't use recolored+scaled .xpm files as icons, instead
  create bitmaps on the fly in code which can easily be colored and don't need
  to be scaled... looks much cleaner IMHO.

svn path=/trunk/kdebase/kwin/; revision=399001
2005-03-19 16:16:33 +00:00
Sandro Giessl
50a21c6be9 minor titlebar edge cleanup
remove the ShadowEngine... it is just too slow and even makes e.g. kmail feel
slower when dragging messages over the folder list. have a bogus shadow
instead (various drawText calls with blended colors) which also looks quite nice and
is twice as fast. Still no kwin decoration seems to feel as fast as metacity when it
comes to caption changes such as in the kmail example... This is something that should
be looked into IMHO.

svn path=/trunk/kdebase/kwin/; revision=398994
2005-03-19 16:01:36 +00:00
Sandro Giessl
b4d6b5fd91 slightly modified the look of the titlebar gradient
svn path=/trunk/kdebase/kwin/; revision=398179
2005-03-16 20:00:13 +00:00
Sandro Giessl
07540ec656 base shadow code on khtml's shadow code which is faster
svn path=/trunk/kdebase/kwin/; revision=398112
2005-03-16 15:21:34 +00:00
Sandro Giessl
87b57d4e7f no need to create as well the inactive as the active caption buffer. now only create them when needed...
svn path=/trunk/kdebase/kwin/; revision=397838
2005-03-15 16:09:49 +00:00
Sandro Giessl
5cb8a385e9 cache button icons in the handler. creation of 1000 decorations took 26s
before, now it's 10s... probably saves some memory, too.

svn path=/trunk/kdebase/kwin/; revision=397810
2005-03-15 14:07:37 +00:00
Sandro Giessl
8a64612f7b do not unnecessarily rebuild everything in reset(), makes deco recreation a bit faster. still slower than other decos due to the expensive smoothScale, image recoloring etc. - this should be cached
svn path=/trunk/kdebase/kwin/; revision=397486
2005-03-14 09:39:09 +00:00
Sandro Giessl
c62cf962d6 do not use statics to access the handler
svn path=/trunk/kdebase/kwin/; revision=397053
2005-03-12 20:13:51 +00:00
Sandro Giessl
64e8b52430 keep cached pixmaps in the handler so not every decoration needs to create its own pixmaps...
svn path=/trunk/kdebase/kwin/; revision=397041
2005-03-12 19:31:31 +00:00
Sandro Giessl
45d3cfaa36 speed up rendering a bit more by reducing the number of unnecessary QPainter calls.
svn path=/trunk/kdebase/kwin/; revision=396916
2005-03-12 09:58:35 +00:00
Sandro Giessl
6915c12e5f optimize the painting of title bar tiles a bit...
svn path=/trunk/kdebase/kwin/; revision=396915
2005-03-12 09:34:44 +00:00
Sandro Giessl
74dda10aaa Port Plastik to KCommonDecoration.
svn path=/trunk/kdebase/kwin/; revision=396773
2005-03-11 20:14:04 +00:00
Script Kiddy
ec5d466c69 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=395420
2005-03-07 09:05:40 +00:00
Script Kiddy
73522bcdce CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=388264
2005-02-11 04:54:21 +00:00
Script Kiddy
bafac3e99e CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=385197

The following changes were in SVN, but were removed from git:

M	wallpapers/aurora.svgz.desktop
M	wallpapers/gear-flowers.svgz.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
2005-02-02 05:17:44 +00:00
Sandro Giessl
1d8bbaf6ff Only show the maximized state if the maximizeMode is MaximizeFull. Other
decorations seem to do it right.

BUG: 97681

svn path=/trunk/kdebase/kwin/; revision=381966
2005-01-24 15:28:52 +00:00
Allan Sandfeld Jensen
371b40edbd Make the shadows work just a little better on dark text
svn path=/trunk/kdebase/kwin/; revision=381060
2005-01-22 01:13:39 +00:00
Sandro Giessl
61592fea4c Apply patch by Toby Dickenson (thanks a lot!):
Do not round (mask) the decoration corners if the window aligns to a screen corner.
This has two advantages:
- Fitt's Law applies for resizing windows
- Prevents accidentally hitting buttons of maximized windows behind the active window

Hasn't been tested with xinerama setups but this should work as well. Hopefully
someone can test it before KDE 3.4.

CCMAIL: toby@tarind.com
BUG: 93918

svn path=/trunk/kdebase/kwin/; revision=380112
2005-01-19 15:32:01 +00:00
Dirk Mueller
8e31c22156 grrrrr...
svn path=/trunk/kdebase/kwin/; revision=376625
2005-01-08 22:25:07 +00:00
Script Kiddy
48d3a06f1d CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=376018

The following changes were in SVN, but were removed from git:

M	wallpapers/No-Ones-Laughing-3.jpg.desktop
2005-01-07 04:29:48 +00:00
Dirk Mueller
1f509ffe24 fix export's
svn path=/trunk/kdebase/kwin/; revision=375962
2005-01-06 22:37:53 +00:00
Sandro Giessl
cf532c077d Reduce the titlebar height by 2 pixel for maximized windows to make the buttons
look a bit more centered.
FEATURE: 91461

svn path=/trunk/kdebase/kwin/; revision=369845
2004-12-11 12:53:21 +00:00
Luboš Luňák
9a5a1c5d95 Fix shading: isShade() returns the actual state of the window, and isSetShade()
returns the state set by the user - these two may differ e.g. while hover-unshaded.
Therefore titlebar buttons should use isSetShade(), otherwise they become
a bit useless with hover-unshading.
Also fix updating the button state - the styles duplicate way too much code,
and if one of them has a bug, most of them definitely have it as well. Some
of the code should probably move to the decoration lib :-/ .

svn path=/trunk/kdebase/kwin/; revision=366147
2004-11-25 16:08:46 +00:00
Dirk Mueller
5b5ab45fbf fix export's
svn path=/trunk/kdebase/kwin/; revision=364795
2004-11-21 16:19:09 +00:00
Sandro Giessl
27be3a1885 consistent preview label
svn path=/trunk/kdebase/kwin/; revision=360767
2004-11-05 17:02:03 +00:00
Sandro Giessl
e0bd1cf554 now all clients kdebase announce their supported buttons.
CCBUG: 83499

svn path=/trunk/kdebase/kwin/; revision=360736
2004-11-05 15:33:09 +00:00
Sandro Giessl
d6895baaec CVS_SILENTindentation...
svn path=/trunk/kdebase/kwin/; revision=355294
2004-10-17 14:20:15 +00:00
Sandro Giessl
6aa9273dbf this exception for shaded windows was necessary for the old decoration API...
svn path=/trunk/kdebase/kwin/; revision=355292
2004-10-17 14:19:27 +00:00
Sandro Giessl
78b5894323 Aaron has a point. This kind of things a CVS log isn't obvious enough. ;)
svn path=/trunk/kdebase/kwin/; revision=355244
2004-10-17 11:31:37 +00:00
Sandro Giessl
3e88c13677 Don't call widget()->update() in our resizeEvent()! Resizing windows with
Plastik decorations feels faster now.

There already is something which triggers PaintEvents, I don't understand why
this is. However paintEvent() has actually been called 2 (!) times for every
resize event.
It seems that other window decorations have the same problem, I will check that
later.

CCMAIL: kwin@kde.org

svn path=/trunk/kdebase/kwin/; revision=355068
2004-10-16 16:47:56 +00:00
Sandro Giessl
a9d20d0fc4 CVS_SILENT
remove unused showEvent().

svn path=/trunk/kdebase/kwin/; revision=354765
2004-10-15 14:50:48 +00:00
Sandro Giessl
4b5de39c57 CVS_SILENT
clenup, windowWrapperShowEvent seems to be a relict from pre-kwin3 times...
showEvent() doesn't seem to be used either, perhaps it could be removed as well.

svn path=/trunk/kdebase/kwin/; revision=354761
2004-10-15 14:44:33 +00:00
Nicolas Goutte
7aba5a0721 Unify the translation of KWin's clients
(The user visible strings inkdebase/kwin/clients are extracted to
kwin_client.pot)
CCMAIL:kde-i18n-doc@kde.org

svn path=/trunk/kdebase/kwin/; revision=347824
2004-09-20 11:20:12 +00:00
Nicolas Goutte
ea3550ccd4 Message extraction is done one directory above
svn path=/trunk/kdebase/kwin/; revision=347386
2004-09-18 14:10:08 +00:00
David Faure
dc49f68c35 Compile - looks like kdeartwork doesn't use -DQT_NO_ASCII_CAST ??
svn path=/trunk/kdebase/kwin/; revision=347288
2004-09-17 21:11:25 +00:00
David Faure
e3ef1b9967 Fixed after move
svn path=/trunk/kdebase/kwin/; revision=347285
2004-09-17 21:01:38 +00:00
Sandro Giessl
7e3a491809 use the new maximize() overload
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=332085
2004-07-23 17:02:25 +00:00
Sandro Giessl
8b5755fb4c check keepAboveChanged() and keepBelowChanged() signals (#84841)
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=332079
2004-07-23 16:50:02 +00:00
Luboš Luňák
1ca1275a37 Add message targets.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=331735
2004-07-22 11:50:24 +00:00
Script Kiddy
9f12a8d954 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=327792
2004-07-11 07:07:42 +00:00
Stephan Binner
0595b2d641 CVS_SILENT i18n style guide fixes
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=323402
2004-06-24 19:44:18 +00:00
Albert Astals Cid
45bdac8953 CVS_SILENT Removing not needed accelerators (<property name="accel">) from ui files. That is good because:
- Makes .ui files smaller
 - Removes not necessary setAccel( QKeySequence( ) ); from the generated *.cpp
 - Translations teams don't get the accelerator to translate as a separate entry making it unpossible to generate errors because the & is placed in a letter and the accelator entry is translated to another letter. (Examples about that in http://www.iespana.es/tsdgeos/accelerators.html)

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=319212
2004-06-09 21:49:15 +00:00
Sandro Giessl
32580f2f51 use Luciano's showWindowMenu
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=317138
2004-06-02 18:49:47 +00:00
Sandro Giessl
8602173bd4 someone wanted to be able to set a custom titlebar height
as it was possible in the kde-look version. Can be done via
MinTitleHeight and MinTitleHeightTool config file keys...

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=314472
2004-05-25 13:28:04 +00:00
Sandro Giessl
6b27d7484b Implement "Shade", "Keep Above Others", "Keep Below Others" buttons (#60369).
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=311527
2004-05-14 22:50:53 +00:00
Sandro Giessl
4b22ed1d20 Again, a patch by Wilfried Huss:
Make the menu button fade out like the other buttons.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=308892
2004-05-05 18:24:39 +00:00
Luboš Luňák
0eeaa25674 No NET::NET::Utility.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=297865
2004-03-22 17:06:49 +00:00
Sandro Giessl
0ae6966cf3 ugh, fix another small error of my last commit.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=279100
2004-01-12 17:17:02 +00:00
Grzegorz Jaskiewicz
b96ad47cd6 Small error corrected, doesn't segfault anymore.
Sandro approved change.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=279081
2004-01-12 15:01:51 +00:00
Script Kiddy
9fbfe0a925 CVS_SILENT made messages
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=278357
2004-01-10 07:36:15 +00:00
Sandro Giessl
dac6116169 Set the current window state when initializing OnAllDesktop buttons. (#71531)
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=278185
2004-01-09 16:38:08 +00:00
Luboš Luňák
8b20fbbd13 windowType() is supposed to take all types the code knows, not only
all types it wants to handle.

svn path=/trunk/kdebase/kwin/; revision=277203
2004-01-06 10:13:20 +00:00
Luboš Luňák
7224e77a6b MousePosition renaming updates.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=273146
2003-12-15 15:14:45 +00:00
Sandro Giessl
60254757fe Fix #67681: "Plastik style often displays incorrect maximize button"
CCMAIL: 67681-done@bugs.kde.org

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=265849
2003-11-09 18:47:08 +00:00
Sandro Giessl
fd896cc84d Get rid of the titlebar height slider.
- It's not really necessary for usability reasons since the titlebar grows
with bigger font sizes.
- Confusing as it overlaps with the font size setting.
- The space for the configuration dialog is quite limited. :)
I guess removing strings doesn't violate the string freeze...

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=263881
2003-11-02 11:34:32 +00:00
Sandro Giessl
7008c02051 Make titlebar buttons only react on left-click, if they have one function
only. (Bug #58220)

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=263816
2003-11-01 23:58:05 +00:00
Luboš Luňák
76c19742f4 Here as well - don't flicker.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=263257
2003-10-30 18:25:43 +00:00
Sandro Giessl
a21351b5a8 - Don't forget to update buttons on color changes...
- Replaced repaint()s with update().

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=261864
2003-10-25 13:57:28 +00:00
Malcolm Hunter
5698d10846 CVS_SILENT Typographical corrections and changes
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=261566
2003-10-24 11:24:15 +00:00
Luboš Luňák
546d2ce58c Check for being deleted ( KDecorationFactory::exists() ).
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=260991
2003-10-22 08:47:32 +00:00
Nadeem Hasan
bf4fc6b898 Fix margin.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=257799
2003-10-10 16:18:41 +00:00
Dirk Mueller
b8db522f64 fix messages target
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=257734
2003-10-10 13:08:14 +00:00
Gunnar Schmidt
556c95ec32 added the borderSizes() method to the Plastik decoration and corrected the parameters of the borderSizes() method in the KStep decoration
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253697
2003-09-24 20:02:35 +00:00
Luboš Luňák
67e894e1c6 Update for recent API change.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253675
2003-09-24 18:59:07 +00:00
Sandro Giessl
b8c3c6667b Removed pieces of Knifty which I forgot to remove earlier...
Has caused plugin loading problems for some people.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253453
2003-09-23 21:16:46 +00:00
Sandro Giessl
863057e660 - The decoration should be useable in reverse layout mode now.
- Readding the possibility to close windows by double clicking the menu
  button on request, setting disabled by default.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253432
2003-09-23 20:39:13 +00:00
Gunnar Schmidt
89601d5312 Changed the KStep and Plastik window decorations to respect the two new (extra wide) border sizes
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253351
2003-09-23 14:45:56 +00:00
Sandro Giessl
f23a3b153a - Ported to the new kwin style API.
- Don't close the window when double clicking on the menu button.
- Reorganized the settings dialog:
  * "border size" has moved to the kwin core.
  * "shrink borders for maximized windows" has moved to the kwin "allow moving and resizing of maximized windows" setting.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=251940
2003-09-17 18:43:17 +00:00
Dirk Mueller
34427cb289 compile
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=250061
2003-09-10 17:58:07 +00:00
Sandro Giessl
b7547a0a87 CVS_SILENT removed exception for KDE 3.1 which worked around a problem of "eating" window borders,
no more necessary.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=246927
2003-08-30 17:49:33 +00:00
Stephan Binner
013f743897 CVS_SILENT i18n style guide fix
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=246725
2003-08-30 08:30:08 +00:00
Sandro Giessl
7d0cb12105 Adding my Plastik window decoration to kdeartwork. :)
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=246655
2003-08-29 22:49:03 +00:00