Commit graph

187 commits

Author SHA1 Message Date
Thomas Lübking
fd694c5bac Make decoration kcm more responsive
REVIEW: 105021
2012-06-07 12:37:43 +02:00
Thomas Lübking
52caeffe22 get rid of hardcoded qml ui elements
REVIEW: 105018
CCBUG: 291612
2012-06-07 12:37:32 +02:00
Martin Gräßlin
26ff05b4bd Export highlight color as context property to decoration list
Ensures that decoration list uses the defined highlight color
instead of hardcoded value.
2012-05-22 18:29:17 +02:00
Martin Gräßlin
1e231624cc Add an oxygen styled scrollbar in decoration list
Thanks to Nuno for providing the QML based scrollbar. Obviously
this does not improve the consistency with other widget styles, so
a proper solution is still required.
BUG: 291612
2012-01-20 11:11:45 +01:00
Martin Gräßlin
a1bee6f8a7 Proper button handling in Aurorae QML
Buttons are exported as a global "options" in the factory.
Additionally the theme's buttons are also exported. The thme decided
based on the custom button positions property which one to use.

In the kcm the button options are also exported.
2012-01-13 18:08:45 +01:00
Martin Gräßlin
4e07ced451 Drop unused code 2012-01-13 18:08:45 +01:00
Martin Gräßlin
5ce7381f15 Decoration KCM uses QML and loads QML based Aurorae themes
This allows to have the Aurorae themes interactive.
2012-01-13 18:08:44 +01:00
Montel Laurent
62c5a5e276 normalize signal/slots 2011-08-17 23:51:55 +02:00
Martin Gräßlin
0a7e48f7aa KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
Martin Gräßlin
5a820681aa Remove the configure and about button next to the preview. The about information is presented directly in the preview and for configure a distinct button is added, which will open the configure dialog for current selected deco.
svn path=/trunk/KDE/kdebase/workspace/; revision=1118062
2010-04-23 19:44:50 +00:00
Martin Gräßlin
cbdec6736a Adding a config dialog for Aurorae themes to change border and button size.
This one does not use the normal plugin infrastructure, but is part of the kcm directly. The plugin would require to have one dialog for all aurorae themes and that just does not work. Aurorae saves settings per theme.

svn path=/trunk/KDE/kdebase/workspace/; revision=1117280
2010-04-21 18:18:45 +00:00
Hugo Pereira Da Costa
b02f1c6d7e use selectionModel selectionChanged() signal to trigger decoration change, rather than activate
svn path=/trunk/KDE/kdebase/workspace/; revision=1081165
2010-01-27 21:09:04 +00:00
Martin Gräßlin
e92659acbf Replacing remaining tabs in kwindecoration.(h|cpp) by whitespaces to match KWin's coding style.
(Also removing indentation remark for kate)
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1077152
2010-01-19 13:56:57 +00:00
Martin Gräßlin
c9df18ab98 New decoration kcm:
* Displays list with previews instead of a dropdown with just the name.
* Configuration is moved into an own dialog accessible via a configure button for each decoration
* Button configuration is moved into a dialog, by that the tabs are removed
* Aurorae themes are listed just like normal decorations
* GHNS support to download Aurorae themes
* Semi-live preview of changed: when configure dialog is closed the preview is updated
* About Dialog added for each decoration (needs updates in desktop files - the information is missing)

svn path=/trunk/KDE/kdebase/workspace/; revision=1077141
2010-01-19 13:44:22 +00:00
Urs Wolfer
32b64df71b Fix issues (and port away from {QT,KDE}3SUPPORT (makes more sense IMHO than fixing Qt 3 support code, even when we are in freeze)):
* re-add icons in list widget
* fix broken coloring of text and icon in list widget when button is unsupported
* fix icon alpha channel issues (list widget and drag icon)
* use more suitable colors (btw, nice comment: // KDE 2 titlebar default colour)

* Q3StoredDrag -> QMimeData
* K3ListView -> QListWidget

svn path=/trunk/KDE/kdebase/workspace/; revision=1066614
2009-12-27 14:59:39 +00:00
Hugo Pereira Da Costa
9c2bda18d3 fixed layout of 'buttons configuration' widget, and added default margin to the tab
svn path=/trunk/KDE/kdebase/workspace/; revision=1053436
2009-11-24 05:32:51 +00:00
Burkhard Lück
1b845504f0 fix wrong what'sthis text
svn path=/trunk/KDE/kdebase/workspace/; revision=1053203
2009-11-23 16:22:55 +00:00
Lucas Murray
a6e68a5f6f Revert failed Krazy changes.
svn path=/trunk/KDE/kdebase/workspace/; revision=1043205
2009-11-01 03:36:38 +00:00
Lucas Murray
424d358fd2 Less Krazy warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1042583
2009-10-30 08:10:35 +00:00
Lucas Murray
3fd898cbf7 Less warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1031445
2009-10-05 07:58:12 +00:00
Hugo Pereira Da Costa
8eecf6375c Moved Nitrogen to Oxygen deco, and removed Nitrogen.
It is believed that Nitrogen is versatile enough to satisfy most users, and that it is 
good-looking enough to make Nuno happy.

CCMAIL: kwin@kde.org
BUG: 160627

svn path=/trunk/KDE/kdebase/workspace/; revision=1023636
2009-09-15 06:25:06 +00:00
Lucas Murray
8b19de13f0 Select the default decoration if the configured decoration doesn't exist.
svn path=/trunk/KDE/kdebase/workspace/; revision=1016905
2009-08-29 10:16:13 +00:00
Lucas Murray
47ef5f02cc Replace Ozone with Nitrogen as the default decoration and remove Ozone.
CCMAIL:kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=1016904
2009-08-29 10:12:00 +00:00
Christoph Feck
25a056e171 Fix preview margins
* limit to 10 pixels, regardless of what the client announces
* "old" clients have the same margins for consistency
* use KWindowSystem::compositingActive() instead of D-Bus

Reviewed by Lucas Murray

svn path=/trunk/KDE/kdebase/workspace/; revision=1005231
2009-07-31 15:38:12 +00:00
Christoph Feck
d06ac8ac27 Fix layout
svn path=/trunk/KDE/kdebase/workspace/; revision=959342
2009-04-26 03:41:18 +00:00
Leonardo Finetti
734c19e203 Patch by annma. Tested by me :-)
BUG: 162649


svn path=/trunk/KDE/kdebase/workspace/; revision=885645
2008-11-17 16:01:18 +00:00
Laurent Montel
5535a9de5e Fix iterator
svn path=/trunk/KDE/kdebase/workspace/; revision=883047
2008-11-11 23:09:11 +00:00
Luboš Luňák
e9b46ee24c Welcome ... er ... Ozone, the new default KWin decoration, that will
be a fork of the Oxygen decoration with additional features that
the Oxygen developers don't want to have in Oxygen. See README
or #152030 for why they prefer it this way.
CCBUG: 152030


svn path=/trunk/KDE/kdebase/workspace/; revision=795243
2008-04-09 15:32:58 +00:00
Laurent Montel
e484ffff66 Show label "Options" when we don't have options
svn path=/trunk/KDE/kdebase/workspace/; revision=777389
2008-02-20 12:50:39 +00:00
Luboš Luňák
a59f0a7f5e Revert r768755. There apparently is a need to have two calls.
The wonders of dbus ...


svn path=/trunk/KDE/kdebase/workspace/; revision=768770
2008-01-30 16:08:23 +00:00
Luboš Luňák
47bf19d978 There's really no need to have two dbus functions for reconfiguring.
svn path=/trunk/KDE/kdebase/workspace/; revision=768755
2008-01-30 15:31:44 +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
Fathi Boudra
a2a55254c7 Sync plasma desktop theme color with oxygenized color.
Use kwin3_ to be coherent with kwin/plugins.


svn path=/trunk/KDE/kdebase/workspace/; revision=732895
2007-11-05 00:36:19 +00:00
Fathi Boudra
ea2ebe5e62 Rename kwin_oxy to kwin_oxygen.
More consistent with other kwin decoration name.

svn path=/trunk/KDE/kdebase/workspace/; revision=732858
2007-11-04 22:32:55 +00:00
Matthias Kretz
cec2557b3d port to KPluginFactory
svn path=/trunk/KDE/kdebase/workspace/; revision=705719
2007-08-28 12:42:05 +00:00
Gerd Fleischer
f841d20891 comment out now unneeded hacks
svn path=/trunk/KDE/kdebase/workspace/; revision=694810
2007-07-31 19:54:48 +00:00
Gerd Fleischer
d33949b4d4 make it work with systemsettings
svn path=/trunk/KDE/kdebase/workspace/; revision=691029
2007-07-22 19:29:15 +00:00
Gerd Fleischer
779d7d6bd5 make it work with systemsettings
svn path=/trunk/KDE/kdebase/workspace/; revision=690791
2007-07-22 09:11:45 +00:00
David Faure
407812ff6f Next patch from Christian Spiel, ++it instead of it++
svn path=/trunk/KDE/kdebase/workspace/; revision=684303
2007-07-06 13:39:03 +00:00
Chusslove Illich
bdb46a1769 Interface modifications to KCmdLineArgs, KAboutData and KComponentData; BIC, SIC. Most of the depending code has been auto-converted to new API.
svn path=/trunk/KDE/kdebase/workspace/; revision=682259
2007-07-02 08:49:20 +00:00
Luciano Montanaro
689b9a69d2 A bit less Qt3Compat depndency.
svn path=/trunk/KDE/kdebase/workspace/; revision=673869
2007-06-11 08:15:22 +00:00
Christian Ehrlicher
e34294972a fix for KLibrary changes
svn path=/trunk/KDE/kdebase/workspace/; revision=664745
2007-05-14 19:46:21 +00:00
Laurent Montel
1c8fa826ed Fix signal/slot
(but we don't use argument, perhaps we can cleanup it)

svn path=/trunk/KDE/kdebase/workspace/; revision=663562
2007-05-11 15:49:22 +00:00
Luboš Luňák
047ad1b80a Merging from old trunk:
r619161 | mlaurent | 2007-01-02 22:48:19 +0100 (Tue, 02 Jan 2007) | 2 lines

Use signal to refresh config into all kwin instance


svn path=/trunk/KDE/kdebase/workspace/; revision=659520
2007-04-30 11:32:47 +00:00
Luboš Luňák
ff291be58f Merging from old trunk:
r615451 | mlaurent | 2006-12-21 16:34:31 +0100 (Thu, 21 Dec 2006) | 2 lines

Use dbus interface


svn path=/trunk/KDE/kdebase/workspace/; revision=659495
2007-04-30 10:01:00 +00:00
Luboš Luňák
f52b8e48cd branches/work/kwin_composite becomes new trunk kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák
2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges
from trunk will be merged in.


svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Dirk Mueller
561fdef0ff include cleanup
svn path=/trunk/KDE/kdebase/workspace/; revision=652987
2007-04-12 13:02:58 +00:00
Luboš Luňák
3617d1bf8a Merge r649608, r649403, r649230 and r648582 from trunk (porting).
svn path=/branches/work/kwin_composite/; revision=649948
2007-04-03 13:24:05 +00:00
Stephan Kulow
9df321c98d merge in /branches/work/coolos_libloader:
returning void* for functions is bad - so introduce
resolveFunction() and resolveSymbol() to make this separation
clear.

svn path=/trunk/KDE/kdebase/workspace/; revision=649230
2007-04-02 11:07:11 +00:00
Dirk Mueller
249a84c5d9 merge in kconfig changes to make it compile
svn path=/branches/work/kwin_composite/; revision=635791
2007-02-20 22:31:26 +00:00
Stephan Kulow
ce11a2cd80 compile some more
svn path=/trunk/KDE/kdebase/workspace/; revision=635518
2007-02-20 08:18:28 +00:00
Stephan Kulow
ab1fe691d8 merged kconfiggroup_port branch
svn path=/trunk/KDE/kdebase/workspace/; revision=635490
2007-02-20 07:00:30 +00:00
Luboš Luňák
36afaf2efc Merge r632199 from kwin_composite.
svn path=/trunk/KDE/kdebase/workspace/; revision=632843
2007-02-12 13:29:36 +00:00
Dirk Mueller
6c224134db porting simplifications regarding KConfig::readEntry
svn path=/branches/work/kwin_composite/; revision=632199
2007-02-10 09:12:35 +00:00
Philip Falkner
45aeae3273 Merge from trunk (now it should build)
r581402:
 Not used.
r628276:
 merge the kinstance-redesign branch
r628350:
 This directory doesn't exist on my computer :)

svn path=/branches/work/kwin_composite/; revision=628706
2007-01-30 23:57:40 +00:00
Matthias Kretz
3003c4ecf8 merge the kinstance-redesign branch back to trunk.
svn path=/trunk/KDE/kdebase/workspace/; revision=628276
2007-01-29 17:14:20 +00:00
Laurent Montel
9350d02134 Use signal to refresh config into all kwin instance
svn path=/trunk/KDE/kdebase/workspace/; revision=619161
2007-01-02 21:48:19 +00:00
Laurent Montel
074f3342e0 Use dbus interface
svn path=/trunk/KDE/kdebase/workspace/; revision=615451
2006-12-21 15:34:31 +00:00
Luboš Luňák
626d2700c1 Merge compile fixes from trunk to work with current SVN.
svn path=/branches/work/kwin_composite/; revision=586383
2006-09-19 12:20:19 +00:00
Luboš Luňák
1b9baf8447 Not used.
svn path=/trunk/KDE/kdebase/workspace/; revision=581402
2006-09-06 10:37:46 +00:00
Stephan Kulow
4472c82d68 port to new qt 4.2 snapshot
svn path=/trunk/KDE/kdebase/workspace/; revision=575652
2006-08-21 20:18:49 +00:00
Dirk Mueller
ecd63e0d90 merge changes from bleeding edge branch
svn path=/trunk/KDE/kdebase/workspace/; revision=557225
2006-07-02 18:31:00 +00:00
David Faure
2ffa69988e Fix dbus object path to match the registerObject() in kwin's code
svn path=/trunk/KDE/kdebase/workspace/; revision=555465
2006-06-27 14:41:20 +00:00
Luboš Luňák
04c9d42dfd DBUS changes - make it compile. The DBUS HOWTO is pretty lacking
in some areas and I wonder how many things will be broken by
people not quite knowing what they're doing :-/.


svn path=/trunk/KDE/kdebase/workspace/; revision=549400
2006-06-08 13:43:23 +00:00
Laurent Montel
e8bcbc84d3 Start to port to new dbus
svn path=/trunk/KDE/kdebase/workspace/; revision=549040
2006-06-07 08:43:34 +00:00
Chris Howells
c20c64c504 remove exclamation marks in user visible strings
svn path=/trunk/KDE/kdebase/workspace/; revision=542169
2006-05-18 14:17:47 +00:00
Laurent Montel
5725624c8b #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=540496
2006-05-13 16:33:18 +00:00
Laurent Montel
7f7ce52d78 #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=539617
2006-05-11 08:04:23 +00:00
Laurent Montel
366d1ee7cf Adapt to new kdelibs
svn path=/trunk/KDE/kdebase/workspace/; revision=538512
2006-05-08 08:28:37 +00:00
Thorsten Roeder
fbd2cbeaef deprecated--
affected:
QSlider::setTickmarks()
QSlider::QSlider()
QLCDNumber::QLCDNumber()
QSlider::setSteps()
QVBoxLayout::QVBoxLayout()

svn path=/trunk/KDE/kdebase/workspace/; revision=529115
2006-04-12 15:34:39 +00:00
Tobias Koenig
848bc14335 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=529106
2006-04-12 15:13:31 +00:00
Laurent Montel
8a497afb16 Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=512360
2006-02-22 11:02:57 +00:00
Laurent Montel
d9245a4132 Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=512340
2006-02-22 10:12:16 +00:00
Laurent Montel
0fa10f318d Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=506323
2006-02-06 14:47:18 +00:00
David Faure
56036e69ac A small price to pay for qflags' type safety.
svn path=/trunk/KDE/kdebase/workspace/; revision=496328
2006-01-10 11:59:08 +00:00
Laurent Montel
b0a95318bc readBoolEntry->readEntry
svn path=/trunk/KDE/kdebase/workspace/; revision=493850
2006-01-03 14:01:15 +00:00
Script Kiddy
19e65c92dc Fix FSF address
(mainly s/Steet/Street/;s/Cambridge/Boston/ )

svn path=/trunk/KDE/kdebase/workspace/; revision=490222
2005-12-21 06:45:09 +00:00
Laurent Montel
1c3e66488b Adapt to new kde4 api
Remove some qt3support

svn path=/trunk/KDE/kdebase/workspace/; revision=478902
2005-11-08 10:20:07 +00:00
Dirk Mueller
e20f2bd6b2 SVN_SILENT: fix typo
svn path=/trunk/KDE/kdebase/kdm/; revision=467416
2005-10-05 08:44:32 +00:00
Laurent Montel
fef1c0b279 Byebye qvhbox
svn path=/trunk/KDE/kdebase/workspace/; revision=461727
2005-09-18 14:52:14 +00:00
Laurent Montel
db7d074ad1 Byebye q3valuelist
svn path=/trunk/KDE/kdebase/workspace/; revision=461499
2005-09-17 20:02:02 +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
da212229af SVN_SILENT update FSF address
svn path=/trunk/KDE/kdebase/kwin/; revision=433335
2005-07-10 13:44:16 +00:00
Luboš Luňák
c9a6891b1e Send reconfigure command to all kwin instances.
BUG: 97031


svn path=/trunk/KDE/kdebase/kwin/; revision=413200
2005-05-13 15:56:53 +00:00
Lukáš Tinkl
469ea5a9b6 show the border size name translated
svn path=/trunk/kdebase/kwin/; revision=388298
2005-02-11 11:06:08 +00:00
Sandro Giessl
56ea5484c4 FEATURE: 83499
Grey out buttons which are not supported by the decoration, put
a "(unsupported)" after the button name.

svn path=/trunk/kdebase/kwin/; revision=369684
2004-12-10 18:28:28 +00:00
Sandro Giessl
b36cbe8749 Clean things up a bit under the hood of the button position widget. Main intention
was to replace the QString/char based internal representation of buttons with a
Button-object based one.
Makes it IMHO much more extensible by removing things like global vars,
i18n(name)<-->button type mapping etc.

svn path=/trunk/kdebase/kwin/; revision=369513
2004-12-09 21:33:16 +00:00
Sandro Giessl
a43c9b585c move a few things from KWinDecorationModule into the new class ButtonPositionWidget in preparation for a few improvements on the widget I'm planing...
svn path=/trunk/kdebase/kwin/; revision=368215
2004-12-03 22:23:20 +00:00
Sandro Giessl
db5bbc67ee Replace the border size slider with a combobox.
svn path=/trunk/kdebase/kwin/; revision=368162
2004-12-03 19:32:35 +00:00
Sandro Giessl
5ad5e87db6 Add an extra margin around the preview.
svn path=/trunk/kdebase/kwin/; revision=368152
2004-12-03 18:49:35 +00:00
Sandro Giessl
1d44e0c519 Update the layout of the window decoration dialog based on Aaron's feedback
on kde-usability:
- Move the combobox back into the tab
- Move the preview below the tabbar
- Move the border size slider into the first tab to the Decoration Options
- Remove the groupbox around the custom button position widgets.

svn path=/trunk/kdebase/kwin/; revision=367949
2004-12-02 23:02:03 +00:00
Sandro Giessl
e8565670ec remove the pluginSettingsGrp groupbox
svn path=/trunk/kdebase/kwin/; revision=364650
2004-11-20 23:53:54 +00:00
Sandro Giessl
fafe39943f - Update the preview on button position/border size setting changes. Preview of
settings in the decoration's config dialogs isn't available yet.
- Move the decoration combobox and the preview out of the tab widget to be visible
  from all tabs - makes the new preview update more useful.

CCBUG:70349

svn path=/trunk/kdebase/kwin/; revision=364647
2004-11-20 23:43:16 +00:00
Sandro Giessl
3a45567573 move border size chooser from "Buttons" into new tab "Border Size"
svn path=/trunk/kdebase/kwin/; revision=361798
2004-11-09 19:34:18 +00:00
Frank Karlitschek
5640dbc81b new default window decoration
svn path=/trunk/kdebase/kwin/; revision=347287
2004-09-17 21:09:28 +00:00
Andrew Coles
09e330a30c CVS_SILENT
Corrected typos.

svn path=/trunk/kdebase/kcontrol/; revision=344423
2004-09-06 15:39:21 +00:00
Albert Astals Cid
46fb958961 More KCModule that now use setAboutData so we avoid leaking of mem
svn path=/trunk/kdebase/kwin/; revision=330728
2004-07-18 23:40:42 +00:00
Andrew Coles
20e6aebb0d Corrected typos.
svn path=/trunk/kdebase/kcontrol/; revision=312616
2004-05-19 13:27:23 +00:00
Cristian Tibirna
c2a1128757 fix kwindecoration (kcontrol module) not reseting the style preview (and configs) on pressing Reset
CCMAIL: 81532-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=311538
2004-05-15 00:38:42 +00:00