Commit graph

342 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
0917db504e Added/moved itemData_.setDirty() calls to make sure clientgroupitems are reset properly in
all cases, including when the clientGroup modification request (add,remove, ...) fails.
CCBUG: 223726

svn path=/trunk/KDE/kdebase/workspace/; revision=1081125
2010-01-27 20:10:33 +00:00
Hugo Pereira Da Costa
49deef6c2e fixed vertical positioning of window background
svn path=/trunk/KDE/kdebase/workspace/; revision=1080859
2010-01-27 05:27:20 +00:00
Hugo Pereira Da Costa
c04cc31fa2 fixed title bounding rect conflict with window buttons when dragging a tab away from (or back in) a 2-tabs window, with the second tab title being very long
svn path=/trunk/KDE/kdebase/workspace/; revision=1078906
2010-01-23 06:59:55 +00:00
Hugo Pereira Da Costa
f308728d7d fixed compilation warning about 'virtual' signals
svn path=/trunk/KDE/kdebase/workspace/; revision=1075993
2010-01-17 08:07:13 +00:00
Hugo Pereira Da Costa
352a2de89a always store dragpoint in mousePressEvent, disregarding the button;
reset mouseButton_ in mouseMoveEvent only if action is actually taken.
CCBUG 221997

svn path=/trunk/KDE/kdebase/workspace/; revision=1075951
2010-01-17 03:02:44 +00:00
Hugo Pereira Da Costa
e2240a8427 Do not activate button pressed animation when no action is triggered when doing so (e.g right button press on Window-Close)
svn path=/trunk/KDE/kdebase/workspace/; revision=1073152
2010-01-11 18:32:56 +00:00
Hugo Pereira Da Costa
0e62916ccd Display client menu on mouse press in the oxygen decoration.
BUG: 221997


svn path=/trunk/KDE/kdebase/workspace/; revision=1072370
2010-01-10 03:47:25 +00:00
Hugo Pereira Da Costa
e2bd296cf7 Prevent closing of tab when tab closeButton mouseReleaseEvent occurs outside of the button rect.
svn path=/trunk/KDE/kdebase/workspace/; revision=1072363
2010-01-10 03:29:07 +00:00
Hugo Pereira Da Costa
f98c1f875c added dedicated option to enable/disable window title change animation, and disabled it by default.
It can be reenabled by adding "AnimateTitleChange=true" in oxygenrc under [Windeco].


svn path=/trunk/KDE/kdebase/workspace/; revision=1070564
2010-01-06 01:42:38 +00:00
Hugo Pereira Da Costa
4b7cfcf660 use QWeakPointer in place of QPointer
svn path=/trunk/KDE/kdebase/workspace/; revision=1069995
2010-01-04 17:00:21 +00:00
Hugo Pereira Da Costa
e49597ecd3 use QPropertyAnimation instead of QTimeLine to handle transitions
svn path=/trunk/KDE/kdebase/workspace/; revision=1069986
2010-01-04 16:42:46 +00:00
Chusslove Illich
0a497dfcec i18n: added disambiguation contexts to "none", "enabled" and "disabled" in KCMs.
Due to sharing of translation space in KCMs, translations for these strings were
randomly fetched from all over the place, including base kdelibs catalogs.

svn path=/trunk/KDE/kdebase/workspace/; revision=1068781
2010-01-02 01:01:42 +00:00
Script Kiddy
7f9f60d6b9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1068486

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Curls_on_Green/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/Media_Life/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2010-01-01 11:09:03 +00:00
Script Kiddy
63697902e3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1068118

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/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/Media_Life/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2009-12-31 11:34:58 +00:00
Hugo Pereira Da Costa
6a26dba2e0 Removed button area from grabbed pixmap in non-outline mode, for consistency
svn path=/trunk/KDE/kdebase/workspace/; revision=1066551
2009-12-27 12:00:23 +00:00
Hugo Pereira Da Costa
80b5f81f72 Moved title transitin handling to separate class (oxygentitleanimationdata).
Use blended pixmaps to do the transition instead of QPainter::drawText with alpha blended colors.
This fixes glitches when title is changed while animation is running. (thanks to Wilder for reporting). 


svn path=/trunk/KDE/kdebase/workspace/; revision=1063441
2009-12-18 15:20:04 +00:00
Hugo Pereira Da Costa
43f261b6ed use K classes in place of Q classes (Krazy)
svn path=/trunk/KDE/kdebase/workspace/; revision=1063400
2009-12-18 03:05:27 +00:00
Martin Gräßlin
21821f48a4 Less krazy warnings: use prefix ++ instead of postfix.
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1063341
2009-12-17 21:35:37 +00:00
Martin Gräßlin
9715014b4d Less krazy issues: fix spelling errors in comments.
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1063337
2009-12-17 21:16:10 +00:00
Hugo Pereira Da Costa
dd3a6041de remove mouseReleaseEvent corresponding to showing the menu from the event loop.
this is a patch originally from Thomas Lubig (thanks!)
CCBUG: 218623


svn path=/trunk/KDE/kdebase/workspace/; revision=1062526
2009-12-15 01:27:50 +00:00
Hugo Pereira Da Costa
c5c464226d changed painting order of old/new caption and embossed/main text when title text transition is called, to avoid flicker. Also removed automatic text elision on old caption
svn path=/trunk/KDE/kdebase/workspace/; revision=1062149
2009-12-13 23:24:36 +00:00
Hugo Pereira Da Costa
26f153dd97 fixed location of dragging icon in outline mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1060481
2009-12-09 04:17:09 +00:00
Hugo Pereira Da Costa
0281658d1d trigger 'changed' when active window glow is enabled/disabled
svn path=/trunk/KDE/kdebase/workspace/; revision=1060064
2009-12-07 23:53:02 +00:00
Hugo Pereira Da Costa
1698f34b6f ... and set default spacer height to 1, rather than 0.
svn path=/trunk/KDE/kdebase/workspace/; revision=1060059
2009-12-07 23:41:52 +00:00
Hugo Pereira Da Costa
e03ed54f0b added spacer below buttons
svn path=/trunk/KDE/kdebase/workspace/; revision=1060055
2009-12-07 23:39:08 +00:00
Hugo Pereira Da Costa
abda43c9c9 removed the 'glow active window' checkbox and move it to the active window glow 'groupbox'. This allows one to reduce the size of the configuration dialog, leaving more space to the preview. No string change
svn path=/trunk/KDE/kdebase/workspace/; revision=1060053
2009-12-07 23:32:24 +00:00
Alexis Ménard
b014d1e56c ARM Compile fix.
svn path=/trunk/KDE/kdebase/workspace/; revision=1057628
2009-12-02 23:33:43 +00:00
Hugo Pereira Da Costa
4efdd7dda2 force update of title bounding rects at next repaint in captionChange and activeChange. This fixes issues with title being trunkated in title-outline mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1056289
2009-11-29 19:22:03 +00:00
Hugo Pereira Da Costa
ffdadc4844 Fixed corner color for shaded windows
svn path=/trunk/KDE/kdebase/workspace/; revision=1054385
2009-11-25 23:16:56 +00:00
Hugo Pereira Da Costa
f6f3d5ce3d set margins back to '4' (the default), because of bug fixed upstream (in oxygen-style)
svn path=/trunk/KDE/kdebase/workspace/; revision=1053942
2009-11-25 02:39:32 +00:00
Hugo Pereira Da Costa
646fb3aa60 fixed spacing in tabs
svn path=/trunk/KDE/kdebase/workspace/; revision=1053749
2009-11-24 18:58:57 +00:00
Hugo Pereira Da Costa
4d28de8b70 explicitely reload helper configuration in ::reset(), in order to have the correct contrast settings, that match the style
svn path=/trunk/KDE/kdebase/workspace/; revision=1053406
2009-11-24 00:36:01 +00:00
Script Kiddy
b1c9608a6a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1052700

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

M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-11-22 10:43:25 +00:00
Hugo Pereira Da Costa
d5d0e8762a fixed glitch in transition from active to inactive in outline mode and non-tabbed window
svn path=/trunk/KDE/kdebase/workspace/; revision=1051757
2009-11-20 02:14:48 +00:00
Hugo Pereira Da Costa
84e7363aa0 fixed title and button alignment in maximized mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1051237
2009-11-19 04:11:21 +00:00
Hugo Pereira Da Costa
3d99880d86 fixed corner rendering to match stronger main window backgrounds
svn path=/trunk/KDE/kdebase/workspace/; revision=1050773
2009-11-18 07:31:34 +00:00
Hugo Pereira Da Costa
4b6c98b7ac use bias to set window state glow intensity and have emulate faster responding animations
svn path=/trunk/KDE/kdebase/workspace/; revision=1050705
2009-11-17 22:26:36 +00:00
Hugo Pereira Da Costa
045daadccb used external lib/oxygenanimation class to handle animations in place of QTimeLine. This will make transition to Qt Kinetic easier
svn path=/trunk/KDE/kdebase/workspace/; revision=1050690
2009-11-17 21:56:04 +00:00
Lucas Murray
00e131a1a5 Allow window tabbing titlebar actions to be configurable; Set default
middle-click titlebar action to tab drag; Fix KCM config file corruption
caused by r1015273.
BUG: 214898

svn path=/trunk/KDE/kdebase/workspace/; revision=1050309
2009-11-17 07:17:49 +00:00
Hugo Pereira Da Costa
f11a5ad36f added Q_DECLARE_OPERATORS_FOR_FLAGS for AnimationTypes and simplified calls to enum in OxygenClient accordingly
svn path=/trunk/KDE/kdebase/workspace/; revision=1050095
2009-11-16 16:11:45 +00:00
Lucas Murray
27d13ea5fb Fix compile on 64-bit systems.
svn path=/trunk/KDE/kdebase/workspace/; revision=1049438
2009-11-15 09:39:50 +00:00
Hugo Pereira Da Costa
8fb19a44e7 make sure separators are properly drawn when dragging out one tab
svn path=/trunk/KDE/kdebase/workspace/; revision=1049387
2009-11-15 09:14:43 +00:00
Hugo Pereira Da Costa
14ffab1aa5 more tab glitches fixed. Use full-width, and hide buttons and separator when there is only one tab left at drag-leave
svn path=/trunk/KDE/kdebase/workspace/; revision=1049363
2009-11-15 07:27:49 +00:00
Hugo Pereira Da Costa
592606b79c first move, then leave, when forcing dragLeave animation. This avoids glitch at shrinking active tab
svn path=/trunk/KDE/kdebase/workspace/; revision=1049359
2009-11-15 06:32:34 +00:00
Hugo Pereira Da Costa
51374ce5db added a 50ms timer when creating drag to force animation when dragMove and dragLeave events are lost
svn path=/trunk/KDE/kdebase/workspace/; revision=1049358
2009-11-15 06:28:40 +00:00
Hugo Pereira Da Costa
d5cf53c828 revert back to not starting animation in mouseMoveEvent: it creates more glitches
svn path=/trunk/KDE/kdebase/workspace/; revision=1049354
2009-11-15 05:11:58 +00:00
Hugo Pereira Da Costa
4f49140a94 start drag animation immediately in mouseMoveEvent, rather than waiting for dragMove/dragLeave event. Removed some obsolete commented lines. Removed useless Oxygen:: namespace prefix
svn path=/trunk/KDE/kdebase/workspace/; revision=1049351
2009-11-15 04:49:23 +00:00
Lucas Murray
a0d07d12a2 Merged r970865:1049322 from /branches/work/kwin-tabbing
Adds window tabbing support to KWin.
FEATURE: 42023

svn path=/trunk/KDE/kdebase/workspace/; revision=1049334
2009-11-15 03:24:04 +00:00
Hugo Pereira Da Costa
3c63918fd5 removed useless active flag from 'titlebarcontrastcolor'
svn path=/trunk/KDE/kdebase/workspace/; revision=1048900
2009-11-14 05:19:40 +00:00
Hugo Pereira Da Costa
9ff89e1768 Added contrast pixel on titlebar text. This creates 'carved-in' font, as a possible replacement to bold.
Implemented after discussion with pinheiro.

svn path=/trunk/KDE/kdebase/workspace/; revision=1048886
2009-11-14 04:19:09 +00:00