Matthew Woehlke
9c6358396e
SVN_SILENT: '.color()' -> get QColor not QBrush (Qt seems to do this implicitly, but let's be explicit), also use stored color instead of doing palette.window().color() many times, especially as we already stored it
...
svn path=/trunk/KDE/kdebase/workspace/; revision=742003
2007-11-26 22:06:07 +00:00
Casper Boemann
2f0c893194
Add a more distinctive outline to windows, making it easier to tell two
...
overlaping windows apart.
svn path=/trunk/KDE/kdebase/workspace/; revision=740761
2007-11-24 03:49:12 +00:00
Aaron J. Seigo
9048abe173
take advantage of KDecorationOptions::defaultTitleButtons[Left|Right]
...
svn path=/trunk/KDE/kdebase/workspace/; revision=737210
2007-11-15 20:14:41 +00:00
Luboš Luňák
222d60acf8
Put in changes reverted by r732026 again.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=733454
2007-11-06 11:13:09 +00:00
Matthew Woehlke
b60d4e187a
SVN_SILENT: comment update, since I convinced Lubos kwin should nicely set palette group, but haven't gotten around to fixing kwin yet :-(
...
Bah, should've done at least this a long time ago, sorry Lubos.
svn path=/trunk/KDE/kdebase/workspace/; revision=733209
2007-11-05 21:10:59 +00:00
Riccardo Iaconelli
843839c21d
SVN_SILENT
...
Changing email address from ruphy@fsfe.org to riccardo@kde.org
svn path=/trunk/KDE/kdebase/workspace/; revision=732026
2007-11-02 15:30:53 +00:00
Luboš Luňák
f55b1056a2
Make KDecorationFactory::supports() const, and also pure virtual to force
...
changing this signature in reimplementations, as -Woverloaded-virtual is
not in default flags :(.
svn path=/trunk/KDE/kdebase/workspace/; revision=731695
2007-11-01 16:07:38 +00:00
Casper Boemann
0e65033534
Add hover effect to win deco buttons
...
svn path=/trunk/KDE/kdebase/workspace/; revision=727100
2007-10-19 19:56:50 +00:00
Casper Boemann
759cbbb8ff
Add dividing line below titlebar
...
Fiddle with metrics of buttons ad text a bit
We are mostly done with win dec now - Only hover on buttons missing
svn path=/trunk/KDE/kdebase/workspace/; revision=726799
2007-10-18 23:56:46 +00:00
Casper Boemann
a454357d4e
Paint buttons of inactive windows different too
...
Prepare for caching of those colors - doesn't connect to actual KGS
signal yet - so are never invalidated
svn path=/trunk/KDE/kdebase/workspace/; revision=726729
2007-10-18 19:09:41 +00:00
Matthew Woehlke
1bd2d4c10f
enforce minimum contrast for titlebar fade effect
...
svn path=/trunk/KDE/kdebase/workspace/; revision=726726
2007-10-18 18:40:06 +00:00
Matthew Woehlke
c8c7e6e04b
SVN_SILENT: debug--
...
svn path=/trunk/KDE/kdebase/workspace/; revision=726719
2007-10-18 18:12:08 +00:00
Matthew Woehlke
3aa0759a24
first crack at intelligently fading out inactive text
...
svn path=/trunk/KDE/kdebase/workspace/; revision=726717
2007-10-18 18:09:31 +00:00
Casper Boemann
3180c8c0b6
Fix closebutton not being clickable by moving the mouse to the corner in
...
maximized mode.
svn path=/trunk/KDE/kdebase/workspace/; revision=726270
2007-10-17 11:50:34 +00:00
Matthew Woehlke
dbb842f9aa
use deco gradient from helper for consistency, also add palette state hack to buttons which need it also
...
svn path=/trunk/KDE/kdebase/workspace/; revision=723561
2007-10-10 00:25:48 +00:00
Matthew Woehlke
cb8d764ba1
Keep around the helper as a reference member of OxygenClient and OxygenButton, instead of having two global statics. Also refer to the client (from the button) as a reference to ensure that it exists (namely, so that we can grab our own reference to its helper).
...
svn path=/trunk/KDE/kdebase/workspace/; revision=723558
2007-10-10 00:05:24 +00:00
Casper Boemann
42ecf61546
Better rounded corners of our windows
...
svn path=/trunk/KDE/kdebase/workspace/; revision=723510
2007-10-09 21:01:18 +00:00
Matthew Woehlke
2b6691ce0f
make titlebars big enough for buttons
...
boemann: feel free to revert if you have a better idea
svn path=/trunk/KDE/kdebase/workspace/; revision=721747
2007-10-06 00:39:16 +00:00
Casper Boemann
d9557f50d1
make the resize dots smaller
...
svn path=/trunk/KDE/kdebase/workspace/; revision=717923
2007-09-27 18:30:17 +00:00
Casper Boemann
a717c047a3
respect colorsetting for window title
...
svn path=/trunk/KDE/kdebase/workspace/; revision=715938
2007-09-23 14:30:37 +00:00
Casper Boemann
f5c53e76d6
change windec to inherit kcommondecoration, which brings us several
...
pleasenties
svn path=/trunk/KDE/kdebase/workspace/; revision=713524
2007-09-17 18:16:26 +00:00
Matthew Woehlke
9fc9231483
Set palette's currentColorGroup since apparently kwin doesn't give us one with the right color group. This fixes the bug where the oxygen windeco always uses the inactive colors.
...
Is this something that can be fixed in kwin?
CCMAIL: kwin@kde.org
svn path=/trunk/KDE/kdebase/workspace/; revision=710741
2007-09-10 19:09:39 +00:00
Luciano Montanaro
a1e92ce714
Make the titlebar height depend on the title font -- like all other shipped
...
decorations
svn path=/trunk/KDE/kdebase/workspace/; revision=708669
2007-09-05 10:55:05 +00:00
Pino Toscano
44bab7a4eb
set the autoFillBackground for the preview widget, so it's painted correctly clearing the garbage below
...
svn path=/trunk/KDE/kdebase/workspace/; revision=707412
2007-09-01 20:04:10 +00:00
Matthew Woehlke
1cfffc602e
move oxygen code that will be shared by the style into its own .cpp/.h
...
svn path=/trunk/KDE/kdebase/workspace/; revision=689747
2007-07-19 01:32:16 +00:00
Matthew Woehlke
ca0838643d
fix lower color, thanks for keeping me honest boemann :-)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=689245
2007-07-17 23:50:33 +00:00
Matthew Woehlke
1768ac296c
fix windeco to use KColorScheme also, see r689219
...
TODO: share this code so it doesn't need to be fixed twice :-)
svn path=/trunk/KDE/kdebase/workspace/; revision=689244
2007-07-17 23:35:44 +00:00
Casper Boemann
3e024ce5e6
fix small visual error in upper right corner
...
svn path=/trunk/KDE/kdebase/workspace/; revision=688743
2007-07-16 18:52:40 +00:00
Casper Boemann
f153aad996
change the background as nuno wants
...
svn path=/trunk/KDE/kdebase/workspace/; revision=688728
2007-07-16 18:01:27 +00:00
Casper Boemann
fb78c8f6ad
update windec to have same background as new style
...
get rid of xrender stuff
did this to get smooth painting:
widget()->setAttribute( Qt::WA_PaintOnScreen, false);
svn path=/trunk/KDE/kdebase/workspace/; revision=688425
2007-07-16 02:12:45 +00:00
Casper Boemann
994a11916c
Move it correctly this time
...
svn path=/trunk/KDE/kdebase/workspace/; revision=676058
2007-06-15 20:48:52 +00:00