Commit graph

554 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
acf1ba4717 keep button hover state even when pressed. 2011-09-22 22:22:37 +02:00
Hugo Pereira Da Costa
f931cd22f9 Use Client::layoutMetric to access shadowSize instead of shadowCache. This fixes some painting issues for maximized
windows.
2011-09-20 14:08:34 +02:00
Hugo Pereira Da Costa
f2e93e1b73 Revert "fine tune button shadows."
This reverts commit 8c2841a58f75466c5ad87aff35bad8859f9c6822.
2011-09-20 09:14:24 +02:00
Hugo Pereira Da Costa
c62bd64896 fine tune button shadows. 2011-09-20 09:10:09 +02:00
Hugo Pereira Da Costa
2ced9ec941 added comments in ::paintEvent. 2011-09-20 09:09:42 +02:00
Hugo Pereira Da Costa
58e2393d56 re-ordered button.
No "parentUpdate" in non-compositing mode (cause unneeded)
2011-09-19 16:23:29 +02:00
Hugo Pereira Da Costa
e22573e586 buttons 2011-09-19 15:31:18 +02:00
Hugo Pereira Da Costa
b8a767e3cf properly update parent when button state is changed. 2011-09-19 15:20:07 +02:00
Hugo Pereira Da Costa
01da5bb015 moved all button painting to client. 2011-09-19 15:16:43 +02:00
Hugo Pereira Da Costa
3f8b4de381 try install better glow. 2011-09-16 18:31:12 +02:00
Hugo Pereira Da Costa
4732070efa only define Shadow in scope where it is used. 2011-09-16 18:26:30 +02:00
Hugo Pereira Da Costa
a05eecf4f0 improved and simplified window decoration buttons. 2011-09-16 17:49:45 +02:00
Hugo Pereira Da Costa
0393983755 use QPainter::setWindow to actually perform scaling. 2011-09-16 17:19:02 +02:00
Hugo Pereira Da Costa
bd6653ef59 Moved painting of windeco buttons to own cache in Style and deco helper;
Simplified decoration windeco buttons painting to use only one cache;
Renamed windeco button painting to dockWidgetButton painting for style.
2011-09-15 23:22:45 +02:00
Hugo Pereira Da Costa
c5365e287a fixed indentation. 2011-09-13 14:19:47 +02:00
Script Kiddy
4cbbf921d4 SVN_SILENT made messages (.desktop file) 2011-09-09 09:21:44 +02:00
Script Kiddy
157f51ce85 SVN_SILENT made messages (.desktop file) 2011-09-08 09:04:13 +02:00
Montel Laurent
62c5a5e276 normalize signal/slots 2011-08-17 23:51:55 +02:00
Hugo Pereira Da Costa
ce0862d726 Merge branch 'master' of git.kde.org:kde-workspace 2011-08-05 17:02:41 +02:00
Jaime Torres
664aaa1b60 ++ prefix for non-trivial data-types
change suffix ++ to prefix ++ to speed up a little bit not-trivial
data-types. discovered by cppcheck

REVIEW: 102057
2011-08-02 17:21:56 +02:00
Hugo Pereira Da Costa
f256f62ad0 Merge branch 'master' of git.kde.org:kde-workspace 2011-07-27 09:48:42 -04:00
Script Kiddy
ff5707c91b SVN_SILENT made messages (.desktop file) 2011-07-27 09:34:28 +02:00
Hugo Pereira Da Costa
cfdfe9251c git pull Revert "use QWeakPointer (and explicit deletion, if needed)
instead of QSharedPointer"

This reverts commit 73da3a77f2041ac3de44842a162243c036fd32f9.
CCBUG: 277925
2011-07-25 17:04:28 +02:00
Hugo Pereira Da Costa
14e876e4b6 changed animation text, for clarity. 2011-07-21 16:06:58 +02:00
Hugo Pereira Da Costa
bb769a9eb6 moved method from private to protected. 2011-07-18 12:20:58 +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
4e7364d9df nothing. 2011-07-18 10:06:05 +02:00
Hugo Pereira Da Costa
a6ffa920e4 implemented individual animations configuration. 2011-07-18 09:49:15 +02:00
Hugo Pereira Da Costa
92f9181db9 tabulations. 2011-07-18 07:55:17 +02:00
Hugo Pereira Da Costa
f75111622b added animation config widget to allow individual animation configuration. 2011-07-18 07:53:41 +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
6c235bbe1e removed unused header. 2011-07-17 17:55:28 +02:00
Hugo Pereira Da Costa
31d6f0e7ac tabulations. 2011-07-17 16:27:51 +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
7ca4d15919 use QWeakPointer (and explicit deletion, if needed) instead of QSharedPointer
CCBUG: 277925
2011-07-17 15:49:16 +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
Script Kiddy
976f396fc7 SVN_SILENT made messages (.desktop file) 2011-07-06 10:41:48 +02:00
Hugo Pereira Da Costa
db297dee87 fixed unbalanced save/restore 2011-07-02 13:13:58 +02:00
Hugo Pereira Da Costa
05fc073439 draw background overlay pixmap manually in preview. 2011-06-30 11:43:34 +02:00
Hugo Pereira Da Costa
18cdb220d7 Added "show advanced options" button. 2011-06-30 11:20:50 +02:00
Hugo Pereira Da Costa
dfcab17585 use backing store pixmap for buttons when compositing is not active.
Copy parent backgronud from backing store pixmap when rendering buttons.
2011-06-28 09:24:02 +02:00
Hugo Pereira Da Costa
d3d5d9b9d3 Merge branch 'master' into master-no-composite 2011-06-28 09:09:50 +02:00
Hugo Pereira Da Costa
f6a12ad1cf coding style. 2011-06-28 09:09:31 +02:00
Hugo Pereira Da Costa
8361b13de9 added double buffering to oxygen-client when compositing is off;
force update of buttons in client->paintEvent();
call _client->paint() from Button, instead of parentWidget()->render();
2011-06-28 01:27:58 +02:00
Hugo Pereira Da Costa
6e0733e0de fixed button rendering when compositing is disabled. 2011-06-28 01:09:22 +02:00
Hugo Pereira Da Costa
5194705e30 fixed detection of pressed state for decoration's 'toggle like' buttons. 2011-06-14 18:49:46 +02:00
Pino Toscano
339990dbae i18n: do not extract placeholder strings 2011-06-08 21:00:49 +02:00
Hugo Pereira Da Costa
c7f87d49d7 Set padding to 0 when client is maximized.
CCBUG: 274177
2011-05-30 17:56:50 +02:00