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