Hugo Pereira Da Costa
e3aefe524a
fixed gradient ranges to avoid warning from Qt at runtime
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1107187
2010-03-25 01:02:05 +00:00
Hugo Pereira Da Costa
49411bcda5
Added checkbox to disable shadow drawing (as a replacement to setting shadow size to zero), consistently with the checkbox used to
...
disable the active window glow.
svn path=/trunk/KDE/kdebase/workspace/; revision=1107183
2010-03-25 00:51:27 +00:00
Hugo Pereira Da Costa
f0e2ceab7d
reorganized button painting code to avoid code duplication
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1107181
2010-03-25 00:45:33 +00:00
Hugo Pereira Da Costa
4d33600a19
Revert r1101759, after discussion with Lubos and Nuno. Will work on having stronger glow for close button, and possibly reduce button hit area as an alternative
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1102002
2010-03-11 15:24:28 +00:00
Hugo Pereira Da Costa
a733f36b2e
Removed customized default buttons layout
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1101759
2010-03-10 21:01:21 +00:00
Hugo Pereira Da Costa
bfa031170e
Removed use of kglobalsettings to decide whether animations should be enabled or not.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1100594
2010-03-08 00:29:00 +00:00
Hugo Pereira Da Costa
6f788c9fdd
fixed use of oxygendecohelper
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1099040
2010-03-04 22:57:33 +00:00
Hugo Pereira Da Costa
84868a37c6
explicitely use oxygendecohelper rather than oxygenhelper
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1099031
2010-03-04 22:51:08 +00:00
Hugo Pereira Da Costa
8d1314a26b
added local oxygendecohelper, that derives from libs/oxygen/oxygenhelper and implements methods used here but not in the style. Modified relevant headers accordingly
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1099028
2010-03-04 22:49:18 +00:00
Script Kiddy
cf3c3d17b8
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1098905
The following changes were in SVN, but were removed from git:
M wallpapers/Aghi/metadata.desktop
M wallpapers/Code_Poets_Dream/metadata.desktop
M wallpapers/Curls_on_Green/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/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
2010-03-04 16:46:17 +00:00
Aaron J. Seigo
bfbe44dacc
* move kstyles from runtime into workspace
...
* make a proper library out of the oxygen helper lib
* make the oxygen widget and kwin style link against it
svn path=/trunk/KDE/kdebase/workspace/; revision=1097791
2010-03-02 03:40:34 +00:00
Hugo Pereira Da Costa
935b40d436
Use KGlobalSettings::graphicEffectsLevel in conjunction with OxygenConfiguration to
...
determine if animations should be enabled.
This allows to turn off all animations if the "graphical effects" combobox in
"systemsettings->appearance->style->fine tunning" is set to either
- Low display resolution and low CPU
- High display resolution and low CPU
BUG: 226668
svn path=/trunk/KDE/kdebase/workspace/; revision=1090208
2010-02-14 21:59:14 +00:00
Hugo Pereira Da Costa
ce74308765
added checkbox to enable/disable decoration animations
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1088959
2010-02-12 01:18:46 +00:00
Hugo Pereira Da Costa
fa03ee04a2
condition tabbing animations to the 'useAnimation' flag, for consistancy with other animations. begin and final animation states are kept visually unchanged. Only the smooth transition between the two is disabled.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1088957
2010-02-12 01:14:43 +00:00
Hugo Pereira Da Costa
c896faa443
re-enabled title transition animation. Add animation 'lock' in case title is changed to frequently (e.g. in kmail/thunderbird new mail window). Set the lock duration to 300 milliseconds.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1088954
2010-02-12 00:42:25 +00:00
Hugo Pereira Da Costa
58b8722a6b
fixed calculation of title bounding rects when there is only one title being shown, to avoid issues when smooth title transition is enabled
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1088001
2010-02-09 23:07:34 +00:00
Script Kiddy
39829f28e0
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1085566
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/Ethais/metadata.desktop
M wallpapers/Evening/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/Spring_Sunray/metadata.desktop
M wallpapers/The_Rings_of_Saturn/metadata.desktop
2010-02-05 13:31:20 +00:00
Christophe Giboudeaux
a316811db0
Also let scripty replace the 'name' translations.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1085082
2010-02-04 10:59:45 +00:00
Christophe Giboudeaux
5f79d4d407
Let scripty handle the translations.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1085077
2010-02-04 10:56:18 +00:00
Christophe Giboudeaux
a10818af7c
save as utf-8. fixes a packaging error.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1085009
2010-02-04 10:14:18 +00:00
Hugo Pereira Da Costa
5a852ac75b
make sure that the (hidden) useAnimation flag also disables button hover animated glow
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1084320
2010-02-02 21:55:56 +00:00
Roman Shtylman
20650bc139
oops. accidental git commit with lib symlink
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1083876
2010-02-02 06:04:21 +00:00
Roman Shtylman
eeb83912de
symlink for git repos
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1083873
2010-02-02 05:43:28 +00:00
Hugo Pereira Da Costa
b674835c6c
added needed metaData to name people behind oxygen-windeco. Feel free to correct directly or contact me, if I missed someone, or miss-typed any information (no offense meant)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1083308
2010-02-01 01:48:37 +00:00
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
Hugo Pereira Da Costa
f08d982b15
- made distance between window border and first button smaller by 2 pixels
...
- set default spacing between buttons to 3 pixels
- added 'hidden' option to disable the above
- removed extra spacing before close button in default button layout, since the 3
pixels above should be enough
svn path=/trunk/KDE/kdebase/workspace/; revision=1047309
2009-11-10 23:11:08 +00:00
Hugo Pereira Da Costa
92a21a8ee2
fixed bug on bottom border when window is maximized
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1046964
2009-11-10 02:44:19 +00:00
Hugo Pereira Da Costa
d4344b7bba
added the possibility to hide decoration 'titlebar', but not decoration 'border' in window-specific override rules
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1046005
2009-11-07 03:33:53 +00:00
Laurent Montel
966c616f34
Fix ui files
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1043304
2009-11-01 10:24:33 +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
Hugo Pereira Da Costa
23493a6dee
used radiobuttons in place of checkboxes for windo property
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1042933
2009-10-31 05:33:00 +00:00
Hugo Pereira Da Costa
cbdda06f1d
fixed incorrect header
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1042930
2009-10-31 04:36:42 +00:00
Hugo Pereira Da Costa
83c5c770fa
used UI for main config dialog
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1042928
2009-10-31 04:25:38 +00:00
Hugo Pereira Da Costa
cc91de00aa
used UI for exceptionListWidget
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1042922
2009-10-31 03:54:11 +00:00
Hugo Pereira Da Costa
5d2b90f5d4
use UI file for shadowConfiguration
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1042919
2009-10-31 03:16:51 +00:00
Hugo Pereira Da Costa
326407d993
use UI for exception dialog
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1042918
2009-10-31 02:46:37 +00:00
Lucas Murray
8a8428e41c
Less Krazy warnings please.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1042572
2009-10-30 06:51:59 +00:00
Laurent Montel
5d854c7237
Fix ui files
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1042106
2009-10-29 08:04:36 +00:00
Hugo Pereira Da Costa
af01b788dc
used ui file for detectWidget
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1042063
2009-10-29 02:55:41 +00:00
Hugo Pereira Da Costa
3e5959d829
fixed filename in comment header
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1042062
2009-10-29 02:54:06 +00:00
Hugo Pereira Da Costa
4a31a25b40
removed useless oxygen/CVS tags
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1042061
2009-10-29 02:53:29 +00:00
Hugo Pereira Da Costa
d3f6aca4ee
re-enabled sizeGrip in preview mode, with correct handling of parent windowID
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1037767
2009-10-19 22:51:31 +00:00
Hugo Pereira Da Costa
393b37e211
temporarily disabled painting of size grip in preview widget, cause it crashes systemsettings randomly - due to X11 hack
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1037743
2009-10-19 21:35:38 +00:00
Hugo Pereira Da Costa
60bf914cee
fixed bug on shadow rendering when size < 5 - in which case only the round corner should be rendered
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1037681
2009-10-19 19:43:59 +00:00
Hugo Pereira Da Costa
64b80fc1fe
Fixed background role for button icon. CCBUG: 156518
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1037374
2009-10-18 21:14:40 +00:00
Hugo Pereira Da Costa
f761aceb8b
removed background window rendering from button paintEvent, as transparent background is good enough. Moved all corresponding method in oxygenClient to 'protected'. This allows faster repaint.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1036357
2009-10-17 06:57:17 +00:00
Hugo Pereira Da Costa
2d88428b6d
removed 'x11util'. Use kdecoration API instead
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1036345
2009-10-17 03:56:04 +00:00
Hugo Pereira Da Costa
4e1fd9e494
Do not create sizeGrip as a child of KDecoration::Widget since it is reparented. That allows one not to make it a Qt::ToolTip (which for some reason makes kwin use 100% cpu), and prevents it to be registered by paintRedirector
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1036320
2009-10-17 00:18:40 +00:00
Hugo Pereira Da Costa
07cab1bae9
optimized painting in outline mode (by avoiding unnecessary painting over) and added contrast pixel between window body and outlined border
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1036214
2009-10-16 20:27:43 +00:00
Hugo Pereira Da Costa
c2706aa181
set Qt::ToolTip flag for QSizeGrip, so that it gets hidden to paintRedirector
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1036155
2009-10-16 18:01:01 +00:00
Hugo Pereira Da Costa
444427464b
removed useless kdebug messages
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1036118
2009-10-16 16:32:51 +00:00
Hugo Pereira Da Costa
88cfb2df63
changed back 'setDirty' method into 'update' method. kwin/paintRedirector should be fixed though, so that buttons created after the deco is registered for redirection are properly accounted for
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1036114
2009-10-16 16:25:02 +00:00
Hugo Pereira Da Costa
c0c3189ef2
simplified color handling in renderFloatFrame
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1035784
2009-10-15 20:59:24 +00:00
Hugo Pereira Da Costa
5286a2f849
fixed colors to use oxygenHelper
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1035714
2009-10-15 17:47:55 +00:00
Hugo Pereira Da Costa
e26538e368
port design changes from tabbing branch to trunk: new title outline design; simplification of layout metrics; proper handling of text ellision; simplification of shadow cache; addition of to local button types. In oxygen.h also temporarily added missing enumeration to ease compilation against kde4.3
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1035658
2009-10-15 16:03:30 +00:00
Hugo Pereira Da Costa
253892d5dd
More code cleanup: moved declaration of 'reduceContrast' and 'renderDot' global functions to oxygenclient.h. Added 'renderFlags' to control which part of the button is to be drawn. Also added flag to force button as 'inactive' even if belonging to an active window (needed for window tabs)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1035245
2009-10-14 15:36:38 +00:00
Hugo Pereira Da Costa
e748b5244b
More code cleanup: moved declaration of 'reduceContrast' and 'renderDot' global functions to oxygenclient.h. Added 'renderFlags' to control which part of the button is to be drawn. Also added flag to force button as 'inactive' even if belonging to an active window (needed for window tabs)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1035241
2009-10-14 15:36:08 +00:00
Hugo Pereira Da Costa
f898d1193f
more cleanup. Made sure methods are declared and implemented in the same order (blush)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1035206
2009-10-14 14:37:58 +00:00
Hugo Pereira Da Costa
01ae18d6a7
moved dots and float frame rendering to separate methods (for clean-up and to make merging with tab branch easier)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1035200
2009-10-14 14:28:37 +00:00
Hugo Pereira Da Costa
cef60f90cb
removed useless colorCacheInvalid_ member
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1034964
2009-10-14 02:55:40 +00:00
Hugo Pereira Da Costa
bd80aaceb1
fixed very stupid bug that would prevent to add new exceptions to the list
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1034958
2009-10-14 01:24:09 +00:00
Hugo Pereira Da Costa
9044453b35
fixed (tiny) glitch for bottom corners in 'no side border' mode
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1034926
2009-10-13 23:21:34 +00:00
Hugo Pereira Da Costa
7d7d986428
fixed vertical translation of buttons and title when compositing is disabled; Added an extra pixel to borderTiny when compositing is disabled (otherwise one can't draw the resize 'dots' due to the float frame; and used helper::roundedMask and helper::rounderRegion to minimize code duplication with style
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1034562
2009-10-13 03:38:26 +00:00
Hugo Pereira Da Costa
7f6ff0dd02
removed usage of static global variables (static is bad afaik). Everything is controled by the factory.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1034554
2009-10-13 01:45:01 +00:00
Hugo Pereira Da Costa
c5641a3827
modified activeChange animation so that it seems to start earlier (e.g. with first step being a non-zero fraction of the final glow)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1034229
2009-10-12 07:26:07 +00:00
Hugo Pereira Da Costa
3c3d093d2b
set local reference to client as const. Safer
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1034053
2009-10-11 20:30:38 +00:00
Hugo Pereira Da Costa
d736178bb5
fixed drawFloatFrame issue in titleoutline mode
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1034042
2009-10-11 20:00:14 +00:00
Hugo Pereira Da Costa
00e9cbd9a9
changed 'default' button size from 22 to 20
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1034014
2009-10-11 19:03:47 +00:00
Hugo Pereira Da Costa
7bfdee649b
changed default glow configuration to have larger glow and lighter colors
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1034011
2009-10-11 19:02:39 +00:00
Hugo Pereira Da Costa
d614414bac
removed color overwrite for checked sticky button: it conflicts with icon contrast pixel
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1034010
2009-10-11 19:01:07 +00:00
Hugo Pereira Da Costa
a528f0e7ac
made 'on all desktops' button appear 'pressed' when checked, to be more visible
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1034009
2009-10-11 18:56:30 +00:00
Hugo Pereira Da Costa
09364cdac0
removed unnecessary block braces
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1033971
2009-10-11 17:13:50 +00:00
Hugo Pereira Da Costa
3d531bf4b2
redesign active window glow following Nuno's SVG; Changed default shadow parameters accordingly; and Changed scale of shadowSize in config dialog to physical scale.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1033963
2009-10-11 17:10:08 +00:00
Andrew Coles
bc10bae07e
More proof-reading in recent strings (have been out the loop for a while).
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1033231
2009-10-09 19:15:18 +00:00
Hugo Pereira Da Costa
3a155c8f8c
do not translate buttons up for maximized windows, because it collides with screen border otherwise
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1032967
2009-10-09 00:26:57 +00:00
Hugo Pereira Da Costa
458ded5de1
moved title and buttons one pixel up, adjusted title outline and window border (in outline mode) accordingly. Also added a 'shadow' pixel on the sides and at the bottom of the active window border outline, and removed an unnecessary 'if( true )'.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1032966
2009-10-09 00:19:32 +00:00
Hugo Pereira Da Costa
90f10f219a
implemented new buttons (from nuno)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1032950
2009-10-08 23:01:35 +00:00
Hugo Pereira Da Costa
a6db3e0b09
more subtle changes to drawFloatFrame
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1032457
2009-10-07 21:24:23 +00:00
Hugo Pereira Da Costa
6532a7445c
re-enabled shadow transitions (disabled due to a bug in logics)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1032348
2009-10-07 15:38:18 +00:00
Hugo Pereira Da Costa
5fdf18e65f
readded '-1' pixel offset; reverted to old CMakeList.txt; removed unecessary ifdef in oxygen.h (should not have been commited in the first place.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1032315
2009-10-07 14:26:52 +00:00
Hugo Pereira Da Costa
f957a7b7cd
fixed drawFloatFrame for shaded maximized windows
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1032310
2009-10-07 14:23:14 +00:00
Hugo Pereira Da Costa
388d2c8b16
uses small size QRect for floatframe in no-side-border and no-border mode
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1032145
2009-10-07 01:52:36 +00:00
Hugo Pereira Da Costa
ee9a1c1e0a
re-added the 1 pixel contrast on the top and sides of the titlebar, for 'no-border' and 'no-side-border' window border sizes. This requires svn external update of lib/helper.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1032139
2009-10-07 00:54:15 +00:00
Burkhard Lück
4d4c8d91e7
typo fix reported by marce <mvillarino@gmail.com> on kde-i18n-doc
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1032056
2009-10-06 18:44:40 +00:00
Hugo Pereira Da Costa
967720ecbe
fixed regression concerning title vertical alignment
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1031812
2009-10-06 07:33:44 +00:00
Hugo Pereira Da Costa
8df96b21ba
removed unused light/dark colors; moved painter translation before drawing of menu icon for consistency with other buttons
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1031800
2009-10-06 06:36:52 +00:00
Hugo Pereira Da Costa
36e2deba85
fixed upper/lower case mismatch
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1031797
2009-10-06 05:40:12 +00:00
Hugo Pereira Da Costa
3e7a0f9fce
fixed bug on title alignment when left/right centered, and put titleRect calculation in separate method for clean-up
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1031796
2009-10-06 05:35:24 +00:00
Hugo Pereira Da Costa
e03269be68
moved title text bounding rect calculation to separate dedicated method
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1031121
2009-10-04 01:36:14 +00:00
Hugo Pereira Da Costa
e7cdbe7e0d
added 'use animations' and 'animations duration' to configuration (although not shown in configuration dialog). added smooth fading of window title when changed
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1030276
2009-10-02 02:52:41 +00:00
Hugo Pereira Da Costa
67f1fa6451
removed useless kdebug
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1030275
2009-10-02 02:49:31 +00:00
Hugo Pereira Da Costa
3856909aab
fixed bug with shaded|maximized window and sizeGrip (reported on kde-look)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1028753
2009-09-28 05:04:23 +00:00
Hugo Pereira Da Costa
89453d5147
removed use of QPainter::setOpacity to render transitions. This makes the code faster
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1028374
2009-09-26 21:21:39 +00:00
Hugo Pereira Da Costa
edf8167f3c
improved animated transition in title-outline mode, by using mixed color rather than painter opacity
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1028173
2009-09-26 04:57:27 +00:00
Hugo Pereira Da Costa
4e0f2a4d08
code cleanup: moved singletons from oxigenclient.cpp to oxygen.cpp; added relevant prototypes to oxygen.h and removed from .cpp files
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1028170
2009-09-26 04:23:27 +00:00
Hugo Pereira Da Costa
01e5f22553
fixed (harmless) compilation warnings
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1027373
2009-09-23 22:53:01 +00:00
Hugo Pereira Da Costa
955f04ae8e
simplified x11util::isSupported( Atom ) code, needed for the size grip, so that it calls XGetWindowProperty only once, in a way that is similar to what netwm.cpp does.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1027369
2009-09-23 22:44:35 +00:00
Hugo Pereira Da Costa
aedaa73dc4
Fixed painting of maximized shaded window to show bottom border and shadow.
...
BUG: 207926
svn path=/trunk/KDE/kdebase/workspace/; revision=1026061
2009-09-20 17:51:06 +00:00
Hugo Pereira Da Costa
b4f63cb440
fixed Qt headers; removed WX11 defines; removed 'using namespace std'
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025937
2009-09-20 07:42:03 +00:00
Hugo Pereira Da Costa
81174a9301
oops. Missing parenthesis
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025936
2009-09-20 06:54:09 +00:00
Hugo Pereira Da Costa
38a10045bc
More shadow issues fixed: removed unnecessary clipping. Fixed "square" corners when non-zero offsets. Fixed corner
...
bevel to handle rounding errors.
svn path=/trunk/KDE/kdebase/workspace/; revision=1025935
2009-09-20 06:50:42 +00:00