Commit graph

33 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
d27416983d Fixed Krazy warning about explicit constructors.
Fixed krazy warning about invalid ifdef guard in include
Fixed Krazy warning about signal/slot normalization.
fixed Krazy spelling warning in comments.
2013-01-07 12:12:14 +01:00
Hugo Pereira Da Costa
c32a73902c implemented argumentless load and save slots. 2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa
59e7d27757 use KSharedConfig to deal with configuration. 2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa
7a9e141e76 properly track changed state modifications from exception list widget. 2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa
30df048632 renamed shadowconfigurationui into shadowconfigwidget, for consistency with rest of the code
fixed updateChanged for closeWindowfromMenuButton
temporarily disabled updateChanged from exceptionLists.
2013-01-07 12:12:12 +01:00
Hugo Pereira Da Costa
ea639a0ec2 renamed ConfigurationUI into ConfigWidget.
moved all ui related stuff from oxygenConfig to oxygenConfigWidget.
Implement clean 'updateChanged' method.
2013-01-07 12:12:12 +01:00
Hugo Pereira Da Costa
fcb275abe7 - use kcfg for shadow configuration
- move Shadow configuration UI to libs
- removed useDropShadow and useOxygenShadow options, and replaced by activeShadow::enable and inactiveShadow::enable
- use kcfg for decoration configuration. The handling of exceptions requires dedicated readConfig and writeConfig methods, implemented in oxygenutils
- changed sizegrip combobox into a check box and rephrased for clarification
2013-01-07 12:12:12 +01:00
Hugo Pereira Da Costa
2023fb58f4 Fixed writting of configuration so that hidden options are not overridden by default values. 2012-11-16 11:59:58 +01:00
Hugo Pereira Da Costa
f28d4ef91a Added Option to enable window close on menu double click.
CCBUG: 305738
2012-08-27 23:00:44 +02:00
Montel Laurent
62c5a5e276 normalize signal/slots 2011-08-17 23:51:55 +02:00
Hugo Pereira Da Costa
3637caf68c minor code cleanup. 2011-07-18 10:21:17 +02:00
Hugo Pereira Da Costa
43cae07762 fixed saving of animations configuration based on expertMode(). 2011-07-18 10:09:22 +02:00
Hugo Pereira Da Costa
9f12ecd91d fix updateChanged() method. 2011-07-18 10:06:13 +02:00
Hugo Pereira Da Costa
a6ffa920e4 implemented individual animations configuration. 2011-07-18 09:49:15 +02:00
Hugo Pereira Da Costa
c21122c863 added necessary options to configure all type of animations individually. 2011-07-18 07:36:44 +02:00
Hugo Pereira Da Costa
0ae4d9489f always enable window grouping, when available.
removed corresponding config option.
2011-07-17 16:12:30 +02:00
Hugo Pereira Da Costa
5c95478e56 removed shadowCacheMode option.
Default mode (variable) is what's kept.
2011-07-17 13:13:44 +02:00
Hugo Pereira Da Costa
810a750d25 removed some unneeded empty lines. 2011-05-11 10:23:36 +02:00
Hugo Pereira Da Costa
c5766a5e3a removed "shadowMode" option, since it has been obsoleted by kwin's new shadow system. 2011-05-01 11:52:22 +02:00
Hugo Pereira Da Costa
3c290e07cd cleanup variable names. 2011-02-24 17:47:38 +01:00
Hugo Pereira Da Costa
3c5c517220 Oxygen::Config - fixed writting of shadowMode. 2011-02-24 08:24:00 +01:00
Hugo Pereira Da Costa
98b415db93 Oxygen::Config - Fixed saving of ShadowCacheMode. 2011-02-24 08:22:49 +01:00
Hugo Pereira Da Costa
2099e9dab0 moved Oxygen::ShadowCache and Oxygen::ShadowConfiguration from kwin/clients/oxygen to libs/oxygen
This is necessary to implement client-side shadows (for menus and drop-down lists)
2011-02-23 10:04:00 +01:00
Hugo Pereira Da Costa
71d4bdd45d added dbus signal+connection to update shadows on fly in demo.
svn path=/trunk/KDE/kdebase/workspace/; revision=1217941
2011-01-29 18:33:01 +00:00
Hugo Pereira Da Costa
5a41506500 Fixed typo on saving offsets.
svn path=/trunk/KDE/kdebase/workspace/; revision=1217908
2011-01-29 14:55:14 +00:00
Hugo Pereira Da Costa
6bfb3dacfe Added (still unused) option to center title on full window width.
svn path=/trunk/KDE/kdebase/workspace/; revision=1209927
2010-12-28 15:14:18 +00:00
Hugo Pereira Da Costa
fd4c9ce6a7 use ShadowConfiguration::write() to write config to file.
Do not write options which have default value.
This is consistent with what kconfigskeleton does.

svn path=/trunk/KDE/kdebase/workspace/; revision=1208709
2010-12-22 22:24:09 +00:00
Hugo Pereira Da Costa
8f1c262c40 use Configuration::write to write config from UI.
svn path=/trunk/KDE/kdebase/workspace/; revision=1208700
2010-12-22 22:08:15 +00:00
Hugo Pereira Da Costa
6a7368175b re-ordered option loading
svn path=/trunk/KDE/kdebase/workspace/; revision=1195626
2010-11-11 16:37:52 +00:00
Hugo Pereira Da Costa
881a43a191 Changed 'drawSeparator' boolean value into a combobox, for which 3 choices are available:
- never draw separator
- draw separator when window is active
- always draw separator.

This is usefull for e.g. firefox, when a flat background is used, in which case one might 
want the separator to always be enabled.


svn path=/trunk/KDE/kdebase/workspace/; revision=1182027
2010-10-03 02:22:56 +00:00
Hugo Pereira Da Costa
aff64607bf fixed shadow configuration updateChanged handling
svn path=/trunk/KDE/kdebase/workspace/; revision=1124750
2010-05-10 02:19:52 +00:00
Hugo Pereira Da Costa
c5bf8d012e Changed all "Oxygen::OxygenXXX" classnames into "Oxygen::XXX" for consistancy with style class
naming scheme. Also made indentation consistent.

svn path=/trunk/KDE/kdebase/workspace/; revision=1121935
2010-05-02 18:34:08 +00:00
Hugo Pereira Da Costa
055b595850 renamed filenames for consistency with other classes. Plus it makes krazy happy.
svn path=/trunk/KDE/kdebase/workspace/; revision=1121630
2010-05-01 23:44:27 +00:00
Renamed from clients/oxygen/config/config.cpp (Browse further)