Commit graph

809 commits

Author SHA1 Message Date
Script Kiddy
aed91ffc39 CVS_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/kwin/; revision=412974
2005-05-13 03:20:54 +00:00
Luboš Luňák
ced5ab580a Die, window type override, die! Since nobody really knows what this window
type means anyway, let's simply consider it to be a legacy way of saying "noborder"
and nothing more.


svn path=/trunk/KDE/kdebase/kwin/; revision=412372
2005-05-11 14:20:54 +00:00
Luboš Luňák
75ff6d1d80 Add Encoding= .
svn path=/trunk/KDE/kdebase/kwin/; revision=411424
2005-05-09 09:28:23 +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
Luboš Luňák
fc90a04635 Make it possible to do all kinds of strange things when mousewheeling
the titlebar or Alt+mousewheeling the window.
FEATURE:44318
FEATURE:66519
FEATURE:76188


svn path=/trunk/KDE/kdebase/kwin/; revision=410058
2005-05-06 15:20:49 +00:00
Luboš Luňák
8bc13480e3 No warning.
svn path=/trunk/KDE/kdebase/kwin/; revision=409959
2005-05-06 09:20:08 +00:00
Luboš Luňák
cc7ab636af Make the titlebar double-click operation react only the LMB.
BUG: 96079


svn path=/trunk/KDE/kdebase/kwin/; revision=409714
2005-05-05 12:43:19 +00:00
André Wöbbeking
841b7887a1 --warnings: unused variable
svn path=/trunk/kdebase/kwin/; revision=406133
2005-04-17 18:05:08 +00:00
Sandro Giessl
33e72465bd fix two warnings
svn path=/trunk/kdebase/kwin/; revision=405521
2005-04-14 10:57:54 +00:00
Script Kiddy
7abbaf3bc8 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=405178

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

M	wallpapers/Blkmarble.jpg.desktop
M	wallpapers/No-Ones-Laughing-3.jpg.desktop
M	wallpapers/Planning-And-Probing-1.jpg.desktop
M	wallpapers/Time-For-Lunch-2.jpg.desktop
M	wallpapers/Won-Ton-Soup-3.jpg.desktop
M	wallpapers/andes-venezolanos.svgz.desktop
M	wallpapers/celtic.svgz.desktop
M	wallpapers/default_blue.jpg.desktop
M	wallpapers/default_gears.jpg.desktop
M	wallpapers/fulmine.jpg.desktop
M	wallpapers/gear-flowers.svgz.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/lineart.svgz.desktop
M	wallpapers/seaofconero.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2005-04-12 22:04:49 +00:00
Script Kiddy
6e125c8da2 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kwin/; revision=401480
2005-03-29 03:02:37 +00:00
Sandro Giessl
314e5d6f0a port KDE2 to KCommonDecoration
svn path=/trunk/kdebase/kwin/; revision=401260
2005-03-28 13:43:49 +00:00
Luciano Montanaro
7f5bb05567 Fix the preview rendering bug, some cleanup.
svn path=/trunk/kdebase/kwin/; revision=400989
2005-03-27 14:01:20 +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
Sandro Giessl
b63d495fb9 Port to KCommonDecoration and add custom button position support.
svn path=/trunk/kdebase/kwin/; revision=400660
2005-03-25 23:31:21 +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
b356373b1e remove unnecessary includes
svn path=/trunk/kdebase/kwin/; revision=400264
2005-03-24 16:34:08 +00:00
Sandro Giessl
a8eb2711fa Port to KCommonDecoration; add menu button; less flicker in the titlebar
svn path=/trunk/kdebase/kwin/; revision=400263
2005-03-24 16:33:13 +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
e70e385bf9 add copyright...
svn path=/trunk/kdebase/kwin/; revision=399851
2005-03-22 23:06:32 +00:00
Sandro Giessl
f8f7122877 Port to KCommonDecoration. Also tried to eliminate the flickering by
not using PaletteBackground background mode for the widget anymore and instead
painting everything myself (also results in ~35% less rendering time for
100000 repaints).

svn path=/trunk/kdebase/kwin/; revision=399849
2005-03-22 23:03:13 +00:00
Sandro Giessl
6b0a36f911 Port Web to KCommonDecoration, add buttons keep above/below others, shade, menu while I'm at it...
svn path=/trunk/kdebase/kwin/; revision=399527
2005-03-21 19:57:25 +00:00
Sandro Giessl
77567c923c port quartz to KCommonDecoration
svn path=/trunk/kdebase/kwin/; revision=399465
2005-03-21 15:53:41 +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
c8a3be9b0c CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=392535

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

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/Blkmarble.jpg.desktop
M	wallpapers/Chicken-Songs-2.jpg.desktop
M	wallpapers/Circuit.jpg.desktop
M	wallpapers/Foggy1.jpg.desktop
M	wallpapers/Island-of-Elba.jpg.desktop
M	wallpapers/KDE34.png.desktop
M	wallpapers/Marble01.jpg.desktop
M	wallpapers/No-Ones-Laughing-3.jpg.desktop
M	wallpapers/Paper01.jpg.desktop
M	wallpapers/Planning-And-Probing-1.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/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/fulmine.jpg.desktop
M	wallpapers/gear-flowers.svgz.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/kde_passion.jpg.desktop
M	wallpapers/konqui.svgz.desktop
M	wallpapers/lineart.svgz.desktop
M	wallpapers/moon.svgz.desktop
M	wallpapers/only_k.jpg.desktop
M	wallpapers/seaofconero.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2005-02-23 05:08:44 +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
a71d1d57dd CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=386301
2005-02-05 04:17:59 +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
dc5ad94cf6 Another patch by Knut Johansson:
- Respect custom button positions
- Correct button Abilities

The only thing I changed was to replace the qlayout.h include with a
simple class declaration... otherwise looks good to me.

CCMAIL: knut@johansson.com

svn path=/trunk/kdebase/kwin/; revision=383321
2005-01-28 17:06:35 +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
Andrew Coles
bcbd5ab29c CVS_SILENT
Corrected typo.

svn path=/trunk/kdebase/kwin/; revision=379395
2005-01-17 12:54:08 +00:00
Sandro Giessl
da873a6d88 (corrected) patch by abraendle@gmx.de: "Quartz extra slim" option
CCBUG: 74967

svn path=/trunk/kdebase/kwin/; revision=378488
2005-01-14 17:56:02 +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
Script Kiddy
98c47af908 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kwin/; revision=369788
2004-12-11 06:41:41 +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
Aaron J. Seigo
df1d389be8 no margin for the config widget.
svn path=/trunk/kdebase/kwin/; revision=360562
2004-11-05 00:51:11 +00:00
Script Kiddy
273d07c8f6 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kwin/; revision=359745
2004-11-02 04:22:33 +00:00
Luciano Montanaro
4ae63db942 Worked around the isResizable() problem: check if the window is resizable
only when initializing the decoration for a given window.
CCMAIL: kwin@kde.org

svn path=/trunk/kdebase/kwin/; revision=357517
2004-10-25 10:17:59 +00:00
Luciano Montanaro
6dc8a25ebe Cleaned up a bit.
svn path=/trunk/kdebase/kwin/; revision=357339
2004-10-24 14:49:26 +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
Stefan Asserhäll
756bb763ca Added extraction of strings from .ui files
svn path=/trunk/kdebase/kwin/; revision=355249
2004-10-17 11:48:28 +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
André Wöbbeking
23b2927e0c make it compile
CCMAIL: mikelima@cirulla.net

svn path=/trunk/kdebase/kwin/; revision=349559
2004-09-26 20:47:47 +00:00
Luciano Montanaro
136f98c24e Fixed glitch on first uresizable window opening.
svn path=/trunk/kdebase/kwin/; revision=349364
2004-09-26 10:29:23 +00:00
Luboš Luňák
4e52fbebdc With transparent moving/resizing, make sure the outline is not larger
than the window (#88567).

svn path=/trunk/kdebase/kwin/; revision=348501
2004-09-22 15:09:42 +00:00
Andrew Coles
d76ee99c2e CVS_SILENT
Corrected typos.

svn path=/trunk/kdebase/kwin/; revision=348126
2004-09-21 11:12:01 +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
David Faure
9116c6345f plastik moved here
Why is there a "default" subdir here btw, with another style in it? :)

svn path=/trunk/kdebase/kwin/; revision=347283
2004-09-17 21:00:26 +00:00
Script Kiddy
4341c5a0b8 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=334652
2004-08-01 06:58:42 +00:00
Luciano Montanaro
6417a92276 fixed maximized border size.
svn path=/trunk/kdebase/kwin/; revision=333565
2004-07-28 17:06:21 +00:00
Luciano Montanaro
1cba403dc1 Fix maximized borders.
svn path=/trunk/kdebase/kwin/; revision=333562
2004-07-28 16:55:38 +00:00
Luciano Montanaro
06fa4c69bd Fixed maximized border handling.
svn path=/trunk/kdebase/kwin/; revision=333557
2004-07-28 16:44:42 +00:00
Script Kiddy
1ca6f7a8b8 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=333160
2004-07-27 07:27:01 +00:00
Nicolas Goutte
1404fcd72b Revert (as wanted by Stephan Kulow) before that Scripty extracts
the changed strings.

Reason: we are in message freeze, 2 other KWin clients have the strings in the
upper case version, no other in the lower case version. So for KDE 3.3,
the upper case version has won.

svn path=/trunk/kdebase/kwin/; revision=332688
2004-07-25 19:32:10 +00:00
Luciano Montanaro
e94ef322f8 Resize should work on button press, not on click.
svn path=/trunk/kdebase/kwin/; revision=332574
2004-07-25 13:49:19 +00:00
Sandro Giessl
b4c946d132 above, below, shade buttons
svn path=/trunk/kdebase/kwin/; revision=332553
2004-07-25 12:39:32 +00:00
Sandro Giessl
16ada369cb style guide fix
svn path=/trunk/kdebase/kwin/; revision=332541
2004-07-25 12:20:46 +00:00
Stephan Kulow
fdbebdc4c0 fixed typo
svn path=/trunk/kdebase/kwin/; revision=332526
2004-07-25 11:55:16 +00:00
Sandro Giessl
cc6b654b6f use new maximize() overload
svn path=/trunk/kdebase/kwin/; revision=332523
2004-07-25 11:43:57 +00:00
Sandro Giessl
5f4ba9cafe use new maximize() overload
svn path=/trunk/kdebase/kwin/; revision=332521
2004-07-25 11:34:35 +00:00
Sandro Giessl
989bcfb9f0 above, below, shade buttons.
svn path=/trunk/kdebase/kwin/; revision=332515
2004-07-25 11:14:07 +00:00
Sandro Giessl
5cef676ab8 use new maximize() overload
svn path=/trunk/kdebase/kwin/; revision=332509
2004-07-25 10:46:16 +00:00
Luciano Montanaro
f97504d748 Use new common maximize() method.
svn path=/trunk/kdebase/kwin/; revision=332170
2004-07-23 23:10:19 +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
Nicolas Goutte
92949ab569 I18N: untranslatable strings
Add a central user message extraction for all KWin client.
(The config programs have already their own .pot files)
CCMAIL:kde-i18n-doc@kde.org

(Note: there is currently not much of a choice to add a new .pot file,
as KWin has already many of them and we are in message freeze.
But at least this new .pot file can be shared between all clients, which
share most of the user visible strings.)

svn path=/trunk/kdebase/kwin/; revision=332022
2004-07-23 13:09:13 +00:00
Nicolas Goutte
790b9e0de6 Disable message extraction before that Scripty can extract them for the
first time and until this problem can be clearer.

Reason: from my first test, there are mostly the same strings ("Maximize",
"Minimize"...) and therefore such mini-pot files full of duplicates
should not be created. (That the config files are even extra files is bad too.)

svn path=/trunk/kdebase/kwin/; revision=331821
2004-07-22 18:02:59 +00:00
Luciano Montanaro
0311c26276 Simplify client by using the new maximize() method.
svn path=/trunk/kdebase/kwin/; revision=331795
2004-07-22 16:30:07 +00:00
Luboš Luňák
3bc4193b8a Simplify maximization.
svn path=/trunk/kdebase/kwin/; revision=331777
2004-07-22 15:17:54 +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
Luboš Luňák
12f4763033 Oops. KWin decoration plugins had no messages although they contain
few i18n strings.

svn path=/trunk/kdebase/kwin/; revision=331733
2004-07-22 11:48:03 +00:00
Luboš Luňák
0c4afbf8be Add support for above, below and shade buttons.
svn path=/trunk/kdebase/kwin/; revision=331725
2004-07-22 11:23:28 +00:00
Luboš Luňák
5f2d4c57de Add support for above, below and shade titlebar buttons. If somebody
doesn't like the buttons bitmaps, they can indeed try to do better.

svn path=/trunk/kdebase/kwin/; revision=331723
2004-07-22 11:22:44 +00:00
Script Kiddy
9f12a8d954 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=327792
2004-07-11 07:07:42 +00:00
Luciano Montanaro
2be6b89379 Added updateGeometry() for the titlebar when initialixing the decoration.
Seems to fix the initial titlebar size calculation.

svn path=/trunk/kdebase/kwin/; revision=325507
2004-07-03 10:35:13 +00:00
Stephan Binner
c0c7fe46d6 CVS_SILENT i18n style guide fixes
svn path=/trunk/kdebase/kwin/; revision=324065
2004-06-27 16:18:56 +00:00
Script Kiddy
aa96fece28 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=323944
2004-06-27 07:31:41 +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
Luciano Montanaro
3233fb1ed4 GUI
Fixed the resize handle tooltip (wrong corner);
use the ";" on the other similar tooltip and removed the redundant "instead".

svn path=/trunk/kdebase/kwin/; revision=323019
2004-06-23 10:03:01 +00:00
Stephan Binner
3fb1686c98 CVS_SILENT fixuifiles and i18n style guide fixes
svn path=/trunk/kdebase/kcontrol/; revision=322764
2004-06-22 10:07:48 +00:00
Andrew Coles
3932c8051b CVS_SILENT
Corrected typo.

svn path=/trunk/kdebase/kwin/; revision=322484
2004-06-21 14:26:49 +00:00
Luciano Montanaro
50e4644385 GUI
Removed a redundant "decoration".
Maybe the tooltips should be rewritten altogether.

svn path=/trunk/kdebase/kwin/; revision=322401
2004-06-21 09:44:27 +00:00
Luciano Montanaro
22f4d1dced Added an option to disable the grab handle (The checkmark actually asks if the
handle has to be drawn, and it's on by default).
Added support for a new titlebar button "R" for Resize.
I have a patch pending for the kwin kcm to add that too.

svn path=/trunk/kdebase/kwin/; revision=322119
2004-06-20 10:03:04 +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
Luciano Montanaro
3989a49457 Use the new showWindowMenu() variant.
svn path=/trunk/kdebase/kwin/; revision=317634
2004-06-04 13:09:47 +00:00
Luciano Montanaro
0d986b6d48 constify graphics bits.
svn path=/trunk/kdebase/kwin/; revision=317602
2004-06-04 11:28:54 +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
Luciano Montanaro
6dde923eff Cleanup whitespace
svn path=/trunk/kdebase/kwin/; revision=317073
2004-06-02 13:46:54 +00:00
Luciano Montanaro
e36514f2b3 Use the new showWindowMenu() method.
svn path=/trunk/kdebase/kwin/; revision=317047
2004-06-02 11:41:14 +00:00
Luciano Montanaro
ba446edb4b Use new showWindowMenu() method
svn path=/trunk/kdebase/kwin/; revision=317024
2004-06-02 10:12:26 +00:00
Luciano Montanaro
e034d686fd Use the new showWindowMenu() variant.
svn path=/trunk/kdebase/kwin/; revision=317018
2004-06-02 09:53:24 +00:00
Luciano Montanaro
8b9735cfd1 Fix cursor shape over titlebar buttons.
svn path=/trunk/kdebase/kwin/; revision=316901
2004-06-01 23:32:28 +00:00
Script Kiddy
b461777ef1 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=314992
2004-05-27 06:44:41 +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
Luciano Montanaro
49b2179ed4 Implemented 'hover' effect for titlebar buttons.
svn path=/trunk/kdebase/kwin/; revision=313969
2004-05-23 22:59:13 +00:00
Luciano Montanaro
51894257c9 Added support for a custom action associated with the menu button.
svn path=/trunk/kdebase/kwin/; revision=313377
2004-05-22 00:31:07 +00:00
Luciano Montanaro
ef20b9749d Updated my mail address
svn path=/trunk/kdebase/kwin/; revision=313177
2004-05-21 10:37:36 +00:00
Luciano Montanaro
3665879171 Reindentation urge.
svn path=/trunk/kdebase/kwin/; revision=311876
2004-05-16 18:27:26 +00:00
Luciano Montanaro
5eef563549 Made the "Shade" tooltip dynamic. Now it says "Unshade" when the window is
shaded. Maybe "Roll up" and "Roll down" are better? I'm not sure, since English
is not my mothertongue.
CCMAIL: kwin@kde.org

svn path=/trunk/kdebase/kwin/; revision=311798
2004-05-16 13:21:51 +00:00
Luciano Montanaro
3330d7c0f6 Added support for the new shade button. I'd implement the foreground/background
buttons too, but I can't figure yet what kind of graphics could be used to
represent the action.
Removed some old commented out code too.

svn path=/trunk/kdebase/kwin/; revision=311718
2004-05-15 23:15:01 +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
Laurent Montel
568b06087b if (bla) delete bla; => delete bla;
svn path=/trunk/kdebase/kwin/; revision=309793
2004-05-09 16:45:04 +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
Luciano Montanaro
b20cf8bf18 Fix for bug #78739
cc:kwin@kde.org

svn path=/trunk/kdebase/kwin/; revision=308583
2004-05-04 13:59:48 +00:00
Luboš Luňák
b50995f3cf Middle-click on the maximize button also put the window into background,
because QButton::mousePressEvent() ignores mouse non-LBM clicks.

svn path=/trunk/kdebase/kwin/; revision=308562
2004-05-04 12:39:01 +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
Luboš Luňák
42b0d187ca Oops.
CCMAIL: 78231-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=297863
2004-03-22 17:06:12 +00:00
Waldo Bastian
0992665bb4 Handle shape correctly if mask is missing.
svn path=/trunk/kdebase/kwin/; revision=296847
2004-03-18 13:17:18 +00:00
Luciano Montanaro
4b28eb82db Fixed double-click on the window border behaviour.
It incorrectly triggered the titlebar double-click action.

svn path=/trunk/kdebase/kwin/; revision=293942
2004-03-06 15:21:14 +00:00
Luboš Luňák
be8387b70e sticky -> on all desktops
svn path=/trunk/kdebase/kwin/; revision=293605
2004-03-04 16:52:37 +00:00
Luboš Luňák
307ee66123 Use "Modern System" in all visible strings as the name of this
modsystem^H^H^Hmodernsys^H^H^Hmodernsystem decoration.
CCMAIL: 74346-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=290891
2004-02-24 12:34:58 +00:00
Frans Englich
4b522c51cb Remove all CVS Id tags from kdebase, if I haven't missed one.
Of course, this will multifold break compile as well as a dozen of people
will now object that they actually wanted the Id tags.

svn path=/trunk/kdebase/ksysguard/; revision=290873
2004-02-24 11:30:21 +00:00
Luciano Montanaro
c452b659d4 Removed Id line, as per KDE CVS policy.
svn path=/trunk/kdebase/kwin/; revision=289953
2004-02-21 11:49:01 +00:00
Luboš Luňák
d216898373 Really smart to say in the cvs log that kwmtheme is disabled, and
accidentally enable it by the commit.

svn path=/trunk/kdebase/kwin/; revision=289366
2004-02-19 12:35:03 +00:00
Luboš Luňák
df2f09f18e List decorations that still need porting to the new API (any volunteer
for finishing kwmtheme?).
CCMAIL: kwin@kde.org

svn path=/trunk/kdebase/kwin/; revision=289317
2004-02-19 09:52:11 +00:00
Sandro Giessl
9e9a93fe62 Corrected some typos.
svn path=/trunk/kdebase/kwin/; revision=286581
2004-02-09 19:50:09 +00:00
Andy Goossens
0d346bcebf CVS_SILENT
static const char *description   ->   static const char description[]

svn path=/trunk/kdebase/ksysguard/; revision=285713
2004-02-06 23:46:21 +00:00
Sandro Giessl
e9206bca9a Someone forgot to update the decoration after color changes, that's all.
CCMAIL: 73157-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=281630
2004-01-21 19:09:56 +00:00
Script Kiddy
6056e22fe6 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=279832
2004-01-15 08:20:08 +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
Luboš Luňák
a43fea2434 Add a note about avoiding #71531.
svn path=/trunk/kdebase/kwin/; revision=279071
2004-01-12 14:01:39 +00:00
Script Kiddy
5562570c1d CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=278628
2004-01-11 08:09:52 +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
9268d2acdb Set the current window state when initializing OnAllDesktop buttons. (#71531)
svn path=/trunk/kdebase/kwin/; revision=278218
2004-01-09 18:20:29 +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
Sandro Giessl
ee078866de "Sticky" -> "On All Desktops" (string is already present)
svn path=/trunk/kdebase/kwin/; revision=277570
2004-01-07 14:45:09 +00:00
Luboš Luňák
574104729d KWMTheme decoration ported to the new API as a check of the PORTING
document ... with two small things to do missing.
As this wasn't enabled in KDE3.1 anyway, it won't be in 3.2 either *shrug*.

svn path=/trunk/kdebase/kwin/; revision=277290
2004-01-06 15:52:50 +00:00
Luboš Luňák
d5da80faca Updated the document for porting KWin decorations to 3.2.
svn path=/trunk/kdebase/kwin/; revision=277289
2004-01-06 15:48:46 +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
Script Kiddy
7017ec8502 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=276551
2004-01-04 07:14:05 +00:00
Dirk Mueller
8d5faa18fc and the winner 2003 of the most obvious, most blatant xserver ressource leak
goes to ... tamtam... redmond!

svn path=/trunk/kdebase/kwin/; revision=275837
2004-01-01 10:52:45 +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
Luboš Luňák
569224d117 Replace the temporary MousePosition enum naming with something that
doesn't look so silly and doesn't conflict with Qt.

svn path=/trunk/kdebase/kwin/; revision=273144
2003-12-15 15:10:17 +00:00
Luboš Luňák
0ba12a0837 Perform whole new window managing with X server grab, in order to prevent
"smart" apps from doing stupid things before they get MapNotify.
This avoids the recent Java+OracleInstaller strange problem too.
The patch may look huge, but it's only adding two KWin wrappers
for X(Un)GrabServer() and uncommenting the calls in Client::manage().

svn path=/trunk/kdebase/kwin/; revision=271152
2003-12-04 13:54:10 +00:00
Luboš Luňák
d1cd1a1b18 Check for deletion while handling mouse release on the close button.
Fixes #67267.

svn path=/trunk/kdebase/kwin/; revision=268388
2003-11-20 13:31:19 +00:00
Luboš Luňák
d6721e0b7a No warnings.
svn path=/trunk/kdebase/kwin/; revision=268334
2003-11-20 09:05:00 +00:00
Laurent Montel
468633c0f7 Fix reverseLayout
Fix colors.
But title bar pixmap must be reversed

svn path=/trunk/kdebase/kwin/; revision=266089
2003-11-10 13:57:21 +00:00
Laurent Montel
7669c1296d if(bla) delete bla; -> delete bla
svn path=/trunk/kdebase/kwin/; revision=266087
2003-11-10 13:44:08 +00:00
Laurent Montel
a79264cc46 Fix reverselayout
svn path=/trunk/kdebase/kwin/; revision=266083
2003-11-10 13:21:53 +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
Luciano Montanaro
9582208fca Fixed rendering glitch in the "normalize" icon.
svn path=/trunk/kdebase/kwin/; revision=265667
2003-11-09 00:41:10 +00:00
Luciano Montanaro
6714a92f92 The border size seemed wrong in latest CVS
svn path=/trunk/kdebase/kwin/; revision=263981
2003-11-02 16:35:59 +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
69f858427e Make titlebar buttons only react on left-click, if they have one function
only.

CCMAIL: 58220-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=263874
2003-11-02 11:03:41 +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
Sandro Giessl
3726cc23fd IMHO there is something strange going on with largeTitlebar, largeCaption
etc. but the border calculation should be correct now (part 2 of Bug #65969).

svn path=/trunk/kdebase/kwin/; revision=263736
2003-11-01 16:46:18 +00:00
Sandro Giessl
50a9e9aa2e Enabled the bottom border for shaded windows like it was the case for
Keramik in KDE 3.1. Hope that's ok with everyone.
(sorry for the ugly diff - seems like kate wasn't able to handle the
characters in the empty lines...)

svn path=/trunk/kdebase/kwin/; revision=263476
2003-10-31 17:05:21 +00:00
Albert Astals Cid
f7a59dfd24 Removing 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 making it unpossible to generate errors because the & is placed in a letter and the accel is another letter.

If you don't like that blame Stephan Binner, he suggested i could do it.

svn path=/trunk/kdebase/kcontrol/; revision=263265
2003-10-30 19:01:10 +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
Luboš Luňák
abdfd596b2 And one more case of flickering ... how comes nobody complained?
svn path=/trunk/kdebase/kwin/; revision=263250
2003-10-30 18:01:43 +00:00
Luboš Luňák
b884178c99 KDecoration::unobscuredRegion(), for B2 titlebar unhiding.
svn path=/trunk/kdebase/kwin/; revision=262494
2003-10-27 16:28:53 +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
Luciano Montanaro
e510e8dd73 Forgot to make the variable static
svn path=/trunk/kdebase/kwin/; revision=261057
2003-10-22 13:52:51 +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
Luboš Luňák
43c71a8c72 No delayed deleting of decorations. They'll have to check themselves
instead, using KDecorationFactory::exists(). Fixes #66205, and it wasn't
really that good idea anyway.

svn path=/trunk/kdebase/kwin/; revision=260988
2003-10-22 08:26:09 +00:00
Luciano Montanaro
c47d64a4cc I committed too hastily. This patche is the good one!
svn path=/trunk/kdebase/kwin/; revision=260080
2003-10-19 09:26:34 +00:00
Luciano Montanaro
eaeb27fd13 Enabled titlebar dragging by shift-clicking it.
Still missing is the automatic titlebar unhiding.

svn path=/trunk/kdebase/kwin/; revision=260075
2003-10-19 09:16:11 +00:00
Luciano Montanaro
c2eacac63f Oops I didn't notice the typo.
svn path=/trunk/kdebase/kwin/; revision=259993
2003-10-18 21:03:29 +00:00
Luciano Montanaro
9ebccb978e Scale up maximize and close button if there is enough room.
Beginning to add code to try to not reset decoraton if configuration changes
are small enough.

svn path=/trunk/kdebase/kwin/; revision=259978
2003-10-18 20:37:49 +00:00
Luciano Montanaro
40b7e4a8ad Implemented Titlebar resizing based on the font height.
svn path=/trunk/kdebase/kwin/; revision=259214
2003-10-15 16:50:29 +00:00