Commit graph

448 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
1c9f4c1684 added consts
svn path=/trunk/KDE/kdebase/workspace/; revision=1198441
2010-11-18 13:14:33 +00:00
Hugo Pereira Da Costa
5e3f71614e Optimized button rendering.
svn path=/trunk/KDE/kdebase/workspace/; revision=1198423
2010-11-18 11:22:17 +00:00
Hugo Pereira Da Costa
97cf4863ff Moved exception loading from oxygenfactory to oxygenconfiguration.
svn path=/trunk/KDE/kdebase/workspace/; revision=1195628
2010-11-11 16:38:44 +00:00
Hugo Pereira Da Costa
ffb9a588b2 removed unused variable.
svn path=/trunk/KDE/kdebase/workspace/; revision=1195627
2010-11-11 16:38:17 +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
Script Kiddy
633a2ff59d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1191511

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Autumn/metadata.desktop
M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Hanami/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
2010-10-31 09:11:11 +00:00
Pavel Heimlich
2a1de10460 fix build. properly initialize QString
svn path=/trunk/KDE/kdebase/workspace/; revision=1187632
2010-10-19 22:42:05 +00:00
Hugo Pereira Da Costa
cf28eb22c7 Fixed default value for separatorMode.
svn path=/trunk/KDE/kdebase/workspace/; revision=1182029
2010-10-03 02:28:50 +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
Chusslove Illich
399b47f49e Typo fixes.
svn path=/trunk/KDE/kdebase/workspace/; revision=1180875
2010-09-29 09:38:45 +00:00
Script Kiddy
bb60cd51ce SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1177799

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

M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
2010-09-21 10:01:09 +00:00
Hugo Pereira Da Costa
85adc68a06 Added dynamically allocated debug area
fixed some coding style.
changed fabs into abs.

svn path=/trunk/KDE/kdebase/workspace/; revision=1175805
2010-09-16 01:24:56 +00:00
Hugo Pereira Da Costa
d4d985b30d Fixed indentation.
svn path=/trunk/KDE/kdebase/workspace/; revision=1174511
2010-09-12 18:05:24 +00:00
Hugo Pereira Da Costa
70f9460484 Readded helper().invalidateCaches call at each readConfig.
this is needed to properly catch 'contrast' changes in systemsettings.


svn path=/trunk/KDE/kdebase/workspace/; revision=1173169
2010-09-08 21:07:14 +00:00
Hugo Pereira Da Costa
72ebe28e12 Really disable caching when caching is disabled (hehe)
svn path=/trunk/KDE/kdebase/workspace/; revision=1171078
2010-09-02 16:34:20 +00:00
Hugo Pereira Da Costa
1adaf8c8ea remove use of QWeakPointer for the itemAnimationData_ object as it is unnecessary: the object is never used outside of the class
and is a child of the client, deleted in the client destructor, by Qt.


svn path=/trunk/KDE/kdebase/workspace/; revision=1170328
2010-08-31 14:30:17 +00:00
Hugo Pereira Da Costa
6309ac1928 OxygenClient: remove use of QWeakPointer for the glowAnimation_ as it is unnecessary: the object is never used outside of the class
and is a child of the client, deleted in the client destructor, by Qt.

Client, Button: removed useless acessor to the glowAnimation pointer.

svn path=/trunk/KDE/kdebase/workspace/; revision=1170327
2010-08-31 14:24:01 +00:00
Hugo Pereira Da Costa
1a1d2b964b Removed use of a weakPointer for storing the glowAnimation in buttons:
it is unnecessary since the object is never accessed outside of the button class, is a child and the button, and thus destroyed 
only in the button destructor, by Qt. 


svn path=/trunk/KDE/kdebase/workspace/; revision=1170321
2010-08-31 14:18:02 +00:00
Hugo Pereira Da Costa
b8137a7671 Reverted r1170209
because it causes crash when playing with shade and maximize (likely due to a lower-level bug in kwin)

svn path=/trunk/KDE/kdebase/workspace/; revision=1170211
2010-08-31 05:44:19 +00:00
Hugo Pereira Da Costa
943154f255 Always set bottom border to zero when window is shaded. This ensures that window title and buttons are
centered vertically when shading windows.

svn path=/trunk/KDE/kdebase/workspace/; revision=1170209
2010-08-31 05:16:02 +00:00
Hugo Pereira Da Costa
3ba096c34e Tried rationalize configuration changes.
svn path=/trunk/KDE/kdebase/workspace/; revision=1169281
2010-08-28 23:45:14 +00:00
Hugo Pereira Da Costa
2947ec516b - Simplified titleBar title color handling, moved to oxygenHelper, and cached.
- added some missing consts in Client.

svn path=/trunk/KDE/kdebase/workspace/; revision=1169247
2010-08-28 19:58:22 +00:00
Hugo Pereira Da Costa
18042bba95 removed all connections to QPropertyAnimation::valueChanged() and call relevant update in the 'setValue' method directly, instead
svn path=/trunk/KDE/kdebase/workspace/; revision=1168989
2010-08-28 02:52:26 +00:00
Hugo Pereira Da Costa
393e2b86bc Removed superfluous connections to animation 'finished' signal.
svn path=/trunk/KDE/kdebase/workspace/; revision=1168969
2010-08-28 02:02:50 +00:00
Hugo Pereira Da Costa
c709f1163f use QPoint instead of QPointF for rendering dots.
svn path=/trunk/KDE/kdebase/workspace/; revision=1168961
2010-08-28 01:01:59 +00:00
Hugo Pereira Da Costa
0f3a02e265 Fixed corner tileSet color in drawTitleOutline mode.
svn path=/trunk/KDE/kdebase/workspace/; revision=1168083
2010-08-26 03:05:10 +00:00
Hugo Pereira Da Costa
dd003d527f moved sizeGripMode option to expert mode only.
svn path=/trunk/KDE/kdebase/workspace/; revision=1167843
2010-08-25 13:09:59 +00:00
Hugo Pereira Da Costa
80757b158f more cliprect fixing
svn path=/trunk/KDE/kdebase/workspace/; revision=1155774
2010-07-28 02:23:14 +00:00
Hugo Pereira Da Costa
36073d738a constification (can't make any harm can it ?)
svn path=/trunk/KDE/kdebase/workspace/; revision=1155754
2010-07-28 01:54:51 +00:00
Hugo Pereira Da Costa
5ce103a6e6 - fixed rendering glitch because updateTitleRect had too small clip region
- moved check on titleOutline to dedicated inline function
- removed some trailing spaces.

svn path=/trunk/KDE/kdebase/workspace/; revision=1155744
2010-07-28 01:07:47 +00:00
Hugo Pereira Da Costa
8762a1ac55 Tried improve performances during title transitions by triggering updates of the title area only.
svn path=/trunk/KDE/kdebase/workspace/; revision=1154145
2010-07-24 21:45:25 +00:00
Hugo Pereira Da Costa
a11fe5349b added missing include directory
svn path=/trunk/KDE/kdebase/workspace/; revision=1153670
2010-07-23 18:20:31 +00:00
Hugo Pereira Da Costa
6ef58dcfc9 Moved oxygenitemmodel and listmodel to libs.
Code clean-up.

svn path=/trunk/KDE/kdebase/workspace/; revision=1153665
2010-07-23 18:05:09 +00:00
Hugo Pereira Da Costa
289e6f5f74 Added cache to clip away center region of shadows, in order no to overlap with the decoration painting.
Changed mask for the decoration painting. 
This is needed for proper implementation of decoration translucency.

svn path=/trunk/KDE/kdebase/workspace/; revision=1151956
2010-07-20 01:39:15 +00:00
Hugo Pereira Da Costa
ed8788d3af - added utility inline functions for readability
- cleaned up color handling
- fixed appearance of toggled keep above and keep-below buttons, consistently with the 'on all desktop' 
button.

svn path=/trunk/KDE/kdebase/workspace/; revision=1146313
2010-07-05 17:39:25 +00:00
Hugo Pereira Da Costa
a07407cef9 removed unused parameter to avoid compilation warning
svn path=/trunk/KDE/kdebase/workspace/; revision=1146309
2010-07-05 17:34:44 +00:00
Hugo Pereira Da Costa
5374a70cc2 Removed unnecessary check on object in event filter.
CCBUG: 243004

svn path=/trunk/KDE/kdebase/workspace/; revision=1143677
2010-06-28 13:14:24 +00:00
Hugo Pereira Da Costa
e1669806ef Do not draw the title "slab" in "outline window title" mode, when the client title is empty (or contains
only space characters). Except when tabbed together with other windows. 


svn path=/trunk/KDE/kdebase/workspace/; revision=1138015
2010-06-15 00:05:08 +00:00
Hugo Pereira Da Costa
2e1ed41e69 moved shadow mode to expert configuration only, because kwin shadow pluggin does not work well with oxygen
svn path=/trunk/KDE/kdebase/workspace/; revision=1136155
2010-06-09 04:01:57 +00:00
Hugo Pereira Da Costa
0ec3c6bf5a use helper class to render resize handle dots, for consistency with the style.
svn path=/trunk/KDE/kdebase/workspace/; revision=1135179
2010-06-06 18:12:21 +00:00
Hugo Pereira Da Costa
07dc7a0fff Fixed outer color chooser enable state depending of parent state and
checkbox.

svn path=/trunk/KDE/kdebase/workspace/; revision=1134693
2010-06-05 00:41:07 +00:00
Hugo Pereira Da Costa
1ea223f34c added "unlockAnimations" method.
svn path=/trunk/KDE/kdebase/workspace/; revision=1134598
2010-06-04 16:59:09 +00:00
Hugo Pereira Da Costa
8d2a83d954 Set default border size to "tiny" on agreement with Nuno
svn path=/trunk/KDE/kdebase/workspace/; revision=1134332
2010-06-03 22:47:09 +00:00
Hugo Pereira Da Costa
98558973ef Fixed handling of mask, so that it is set only when either shadowMode is not OxygenShadow
or compositing is not active.


svn path=/trunk/KDE/kdebase/workspace/; revision=1133588
2010-06-02 06:04:17 +00:00
Hugo Pereira Da Costa
29320ccd26 no mask in borderless-titleless mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1133541
2010-06-01 22:44:03 +00:00
Ignat Semenov
28deb24ee0 Remove unnecessary calls to showButtonSeparator(false)
svn path=/trunk/KDE/kdebase/workspace/; revision=1130888
2010-05-26 17:51:27 +00:00
Hugo Pereira Da Costa
f688c338fc moved buddy calls to ui files
svn path=/trunk/KDE/kdebase/workspace/; revision=1130079
2010-05-24 11:53:17 +00:00
Hugo Pereira Da Costa
e2083ed8fc added missing setBuddy calls
svn path=/trunk/KDE/kdebase/workspace/; revision=1130072
2010-05-24 11:35:17 +00:00
Hugo Pereira Da Costa
7df53b2623 moved ui files to dedicated directory
svn path=/trunk/KDE/kdebase/workspace/; revision=1130071
2010-05-24 11:30:09 +00:00
Chusslove Illich
dd5d779f5e i18n: split size strings for borders and buttons (more appearances).
svn path=/trunk/KDE/kdebase/workspace/; revision=1129489
2010-05-22 15:15:11 +00:00