Commit graph

61 commits

Author SHA1 Message Date
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