Commit graph

177 commits

Author SHA1 Message Date
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
f80c129100 thinner symbols for windeco buttons, pinheiro, boemann and I agree this is a better look; 2.5 was a bit much
svn path=/trunk/KDE/kdebase/workspace/; revision=723761
2007-10-10 17:05:11 +00:00
Matthew Woehlke
865ea8e9d7 use round caps for windeco button symbols... not really visible at width=2.5px, but still more correct
svn path=/trunk/KDE/kdebase/workspace/; revision=723570
2007-10-10 01:28:33 +00:00
Matthew Woehlke
5cc9ad5e9e more windeco button fiddling... reduce need for QPainter::translate, improve the deco gradient (more of that coming shortly), move 'maximize' up a bit so it is symmetrical with minimize (looks better), and make line thickness a little more so it looks closer to the mockups
svn path=/trunk/KDE/kdebase/workspace/; revision=723568
2007-10-10 01:12:46 +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
06137e0518 change normalize button from a - to a diamond
do the ? sign for the help button

svn path=/trunk/KDE/kdebase/workspace/; revision=723548
2007-10-09 23:26:29 +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
Script Kiddy
9ba06500ca SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=723243
2007-10-09 05:45:29 +00:00
Casper Boemann
f1ae14343e center signs on buttons a bit more
svn path=/trunk/KDE/kdebase/workspace/; revision=723041
2007-10-08 16:06:16 +00:00
Casper Boemann
fd6cac7877 move signs in windec buttons to correct place
svn path=/trunk/KDE/kdebase/workspace/; revision=722466
2007-10-07 11:55:11 +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
Matthew Woehlke
231fa45a2b adapt to new windeco button size stuffs (but glyphs are still 1 px off)
svn path=/trunk/KDE/kdebase/workspace/; revision=721736
2007-10-06 00:06:05 +00:00
Andreas Pakulat
39e322fc83 Merge the KConfig branch. This are the 3 main modules (+kdeadmin), which are
needed now because friday is the last BC day. The rest of the modules will
follow as fast as my laptop allows.

svn path=/trunk/KDE/kdebase/workspace/; revision=721704
2007-10-05 22:21:25 +00:00
Laurent Montel
6f410196a0 Fix compile enable final
svn path=/trunk/KDE/kdebase/workspace/; revision=720823
2007-10-03 20:14:14 +00:00
Matthew Woehlke
9e34414113 don't link to kdefx, which is no more
svn path=/trunk/KDE/kdebase/workspace/; revision=719906
2007-10-02 03:31:32 +00:00
Script Kiddy
18759f4fc9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=719466

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/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
2007-10-01 06:24:51 +00:00
Script Kiddy
39d217e170 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=718575
2007-09-29 06:00:08 +00:00
Script Kiddy
10de671bc9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=718158
2007-09-28 06:44:06 +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
b67a883b5e left align title on windows
svn path=/trunk/KDE/kdebase/workspace/; revision=717379
2007-09-26 19:35:55 +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
Script Kiddy
54f9fcf7da SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=713327
2007-09-17 05:47:40 +00:00
Casper Boemann
4449f0b214 playing with symbols on windeco buttons
also fix compile

svn path=/trunk/KDE/kdebase/workspace/; revision=713206
2007-09-16 17:08:43 +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
Script Kiddy
d9d648e579 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=710142

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

M	wallpapers/kde_box.png.desktop
M	wallpapers/konqui.svgz.desktop
2007-09-09 06:15:09 +00:00
Script Kiddy
a36edf7b62 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=709300
2007-09-07 05:45:38 +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
Arto Hytönen
f3fbc3665b explicit ctors
svn path=/trunk/KDE/kdebase/workspace/; revision=707717
2007-09-02 19:11:09 +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
Script Kiddy
e8e02db3f1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=706753

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

M	wallpapers/No-Ones-Laughing-3.jpg.desktop
M	wallpapers/andes-venezolanos.svgz.desktop
M	wallpapers/default_gears.jpg.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2007-08-31 07:59:14 +00:00
Matthew Woehlke
d9d5dddc3b Merge nuno-approved radio buttons and windeco buttons (approved except background needs to be a touch darker) into the style/windeco, from the buttontest toy. Since the windeco button is not used by the style, this means the windeco now has a helper subclass. As well there is some significant restructuring of the helper code.
svn path=/trunk/KDE/kdebase/workspace/; revision=704482
2007-08-25 01:11:58 +00:00
Matthew Woehlke
c6b791dfda ok, use external, no ugly path
svn path=/trunk/KDE/kdebase/workspace/; revision=703082
2007-08-21 21:48:45 +00:00
Matthew Woehlke
2591f59209 Fix build now that kstyles/ moved. This made the svn external invalid, but since the style is now also in kdebase, we can use an (ugly) relative path.
svn path=/trunk/KDE/kdebase/workspace/; revision=703072
2007-08-21 21:29:00 +00:00
Matthew Woehlke
2ccf5db971 BIC: remove lib (svn won't let me re-add as external in one step)
svn path=/trunk/KDE/kdebase/workspace/; revision=703008
2007-08-21 18:55:31 +00:00
Script Kiddy
1819a26980 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=702200

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/Totally-New-Product-1.jpg.desktop
M	wallpapers/blue-bend.jpg.desktop
M	wallpapers/default_blue.jpg.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/moon.svgz.desktop
2007-08-20 07:37:38 +00:00
Script Kiddy
d781e2bff3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=699436

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

M	wallpapers/KDE34.png.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/soft-green.jpg.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
2007-08-13 05:38:36 +00:00
Casper Boemann
42639062fe Respect users choice on background color
svn path=/trunk/KDE/kdebase/workspace/; revision=699240
2007-08-12 12:20:47 +00:00
Script Kiddy
d3f83ad297 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=698492

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

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/KDE34.png.desktop
M	wallpapers/Time-For-Lunch-2.jpg.desktop
M	wallpapers/Totally-New-Product-1.jpg.desktop
M	wallpapers/kde_box.png.desktop
2007-08-10 06:30:15 +00:00
Script Kiddy
63d5be3eb6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=698098
2007-08-09 05:49:22 +00:00
Laurent Montel
994c800d79 Adapt to new KWarning/kFatal/kDebug api
svn path=/trunk/KDE/kdebase/workspace/; revision=695877
2007-08-03 06:59:24 +00:00
Matthew Woehlke
da7bff08ec background uses independent contrast (but for now no way to set it different than system contrast)
TODO: read setting from the config (and make sure we are provided good config)

svn path=/trunk/KDE/kdebase/workspace/; revision=695366
2007-08-01 22:55:37 +00:00
Matthew Woehlke
adbaf73610 lowThreshold can be static, make it so
svn path=/trunk/KDE/kdebase/workspace/; revision=695357
2007-08-01 22:26:44 +00:00
Matthew Woehlke
fe8f818942 finally fix the dark-color bg behavior like I said needed to be done in the initial commit :-) (well, we'll see what pinheior thinks but it is at least much, much better)
svn path=/trunk/KDE/kdebase/workspace/; revision=695356
2007-08-01 22:24:39 +00:00
Casper Boemann
e670b2c0ca compile
svn path=/trunk/KDE/kdebase/workspace/; revision=695321
2007-08-01 20:44:29 +00:00
Matthew Woehlke
2f4aba00cf make oxygen round buttons look better when color is very dark/light
svn path=/trunk/KDE/kdebase/workspace/; revision=695315
2007-08-01 20:28:13 +00:00
Matthew Woehlke
1508942ee9 oxyhelpers (lib): remove unused stuff, add roundButton to cache, other minor stuff
NOTE: breaks oxygen style until I fix it next commit (because I can't commit different checkouts at the same time)

svn path=/trunk/KDE/kdebase/workspace/; revision=695300
2007-08-01 20:14:58 +00:00
Casper Boemann
11c63d7ca2 Use lates version of button drawing code.
Also use the real backgroundcolor - which unfurtunately makes the 
button look bad because the bg is almost white - more tweaking needed.

svn path=/trunk/KDE/kdebase/workspace/; revision=694578
2007-07-31 05:24:21 +00:00
Casper Boemann
bc95e5f667 Use mwoehlke's code to draw round buttons in the windec
the decor on top is blank for now though

svn path=/trunk/KDE/kdebase/workspace/; revision=694568
2007-07-31 03:13:44 +00:00
Script Kiddy
9bfd158be3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=694108
2007-07-30 04:47:23 +00:00
Script Kiddy
573f2f4e07 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=693473

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

M	wallpapers/KDE34.png.desktop
M	wallpapers/No-Ones-Laughing-3.jpg.desktop
2007-07-28 05:36:34 +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
Allen Winter
5c93175949 remove kde4_automoc()
svn path=/trunk/KDE/kdebase/workspace/; revision=685984
2007-07-10 09:14:12 +00:00
Dirk Mueller
1e3214ed73 include cleanup to separate workspace
svn path=/trunk/KDE/kdebase/workspace/; revision=678951
2007-06-22 16:32:06 +00:00
Dirk Mueller
628e1a28c9 compile++
svn path=/trunk/KDE/kdebase/workspace/; revision=678540
2007-06-21 16:35:18 +00:00
Script Kiddy
8d7ed92f84 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=676551
2007-06-17 05:52:33 +00:00
Laurent Montel
c5e1b4b204 Renome not necessary forward declaration
Fix warning

svn path=/trunk/KDE/kdebase/workspace/; revision=676230
2007-06-16 10:59:08 +00:00
Tim Beaulen
4a8a26b558 Build it
svn path=/trunk/KDE/kdebase/workspace/; revision=676200
2007-06-16 09:21:24 +00:00
André Wöbbeking
08d6ebfd8d -pedantic
svn path=/trunk/KDE/kdebase/workspace/; revision=676182
2007-06-16 08:12:13 +00:00
Laurent Montel
cd90e32833 Already defined in top
svn path=/trunk/KDE/kdebase/workspace/; revision=676179
2007-06-16 08:00:24 +00:00
Script Kiddy
7935106bba SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=676131

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/andes-venezolanos.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/lineart.svgz.desktop
M	wallpapers/moon.svgz.desktop
M	wallpapers/seaofconero.jpg.desktop
M	wallpapers/soft-green.jpg.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2007-06-16 05:23:15 +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
Casper Boemann
faa0516b5d move it back for now - sorry
svn path=/trunk/KDE/kdebase/workspace/; revision=676057
2007-06-15 20:47:59 +00:00
Casper Boemann
83cd5b0ba2 Import Oxygen windec into kdebase
svn path=/trunk/KDE/kdebase/workspace/; revision=676051
2007-06-15 20:11:33 +00:00