Commit graph

6279 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
76104a522a fixed preview event painting, to use pixmap as intermediate painting device, in order to proper account for event clip rect, and avoid decorations appearing out of the widget rect
svn path=/trunk/KDE/kdebase/workspace/; revision=1018742
2009-09-02 05:28:38 +00:00
Hugo Pereira Da Costa
b0769ebdb8 fixed (again) sizegrip position in preview mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1018676
2009-09-02 04:26:59 +00:00
Lucas Murray
da37b1f16d Don't const effect proxies.
svn path=/trunk/KDE/kdebase/workspace/; revision=1018656
2009-09-02 02:30:22 +00:00
Hugo Pereira Da Costa
1b76934880 try clarify the 'what's this' text associated to the extra size grip
svn path=/trunk/KDE/kdebase/workspace/; revision=1018654
2009-09-02 02:26:30 +00:00
Hugo Pereira Da Costa
88a559c23b changed size-grip options to have a 'always/when needed/never' behavior, rather than 'yes/no'. The default is 'when needed'. Also set option 'name' to 'extra size grip display'
svn path=/trunk/KDE/kdebase/workspace/; revision=1018652
2009-09-02 02:19:26 +00:00
Hugo Pereira Da Costa
8bc71b5b3c changed size-grip options to have a 'always/when needed/never' behavior, rather than 'yes/no'. The default is 'when needed'.
svn path=/trunk/KDE/kdebase/workspace/; revision=1018651
2009-09-02 02:18:25 +00:00
Hugo Pereira Da Costa
ccafe11f81 changed size-grip options to have a 'always/when needed/never' behavior, rather than 'yes/no'. The default is 'when needed', meaning that the size grip is shown only when 'No-Border' option is selected. This is similar to the 'tab bar display' setting in konsole
svn path=/trunk/KDE/kdebase/workspace/; revision=1018649
2009-09-02 02:15:53 +00:00
Hugo Pereira Da Costa
ea09386c42 fixed bug on storing 'blend with window contents' exception value
svn path=/trunk/KDE/kdebase/workspace/; revision=1018639
2009-09-02 00:49:52 +00:00
Script Kiddy
0c5bddc159 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=1018441
2009-09-01 17:52:51 +00:00
Hugo Pereira Da Costa
ad7c40d516 removed useless (and misleading) ::borderWidth and ::borderHeight methods; update call to nitrogensizegrip::activeChange
svn path=/trunk/KDE/kdebase/workspace/; revision=1018254
2009-09-01 14:10:46 +00:00
Hugo Pereira Da Costa
46284060f3 removed useless (and misleading) ::borderWidth and ::borderHeight methods
svn path=/trunk/KDE/kdebase/workspace/; revision=1018251
2009-09-01 14:09:40 +00:00
Hugo Pereira Da Costa
22bfe6a4b3 renamed ::updatebackgroundcolor to ::activeChange, for consistency with client, and removed useless color manipulations from there; fixed window attributes to optimize painting; fixed color manipulation in 'paintevent', and rationalized layout metric manipulation in ::updatePosition
svn path=/trunk/KDE/kdebase/workspace/; revision=1018246
2009-09-01 14:05:56 +00:00
Hugo Pereira Da Costa
7e3a920edb ::updatebackgroundcolor renamed to ::activeChange, for consistency with client
svn path=/trunk/KDE/kdebase/workspace/; revision=1018242
2009-09-01 14:03:51 +00:00
Hugo Pereira Da Costa
de4713e634 removed 'cout'
svn path=/trunk/KDE/kdebase/workspace/; revision=1018241
2009-09-01 13:59:45 +00:00
Marco Martin
a9a2108182 make it execute after fade and force opacity=1
svn path=/trunk/KDE/kdebase/workspace/; revision=1018158
2009-09-01 11:34:52 +00:00
Laurent Montel
3ce5dd0ffc Fix includes
svn path=/trunk/KDE/kdebase/workspace/; revision=1018077
2009-09-01 07:05:48 +00:00
Script Kiddy
39ea19f79f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1017703
2009-08-31 09:17:36 +00:00
Hugo Pereira Da Costa
fbf5d4d438 removed 'hackish' checks on running compiz. Assume kwin
svn path=/trunk/KDE/kdebase/workspace/; revision=1017618
2009-08-31 00:58:10 +00:00
Hugo Pereira Da Costa
cd52e656b5 removed 'hackish' checks on running compiz. Assume kwin
svn path=/trunk/KDE/kdebase/workspace/; revision=1017617
2009-08-31 00:54:44 +00:00
Hugo Pereira Da Costa
7bf1793f32 removed 'hackish' checks on running compiz. Assume kwin
svn path=/trunk/KDE/kdebase/workspace/; revision=1017616
2009-08-31 00:54:04 +00:00
Hugo Pereira Da Costa
91d68e395b changed margin and spacing for consistency with other tabs; changed list size policy to minimize amount of vertical space used for the configuration
svn path=/trunk/KDE/kdebase/workspace/; revision=1017510
2009-08-30 19:43:21 +00:00
Hugo Pereira Da Costa
2ac48283c3 removed nitrogenexceptionlistdialog.cpp; added nitrogenexceptionlistwidget.cpp for configuration redesign
svn path=/trunk/KDE/kdebase/workspace/; revision=1017460
2009-08-30 17:53:51 +00:00
Hugo Pereira Da Costa
fdd6b45ea6 changed exception handling so that it is handled in nitrogenconfigurationui directly rather than in a separate dialog
svn path=/trunk/KDE/kdebase/workspace/; revision=1017456
2009-08-30 17:42:04 +00:00
Hugo Pereira Da Costa
abbefd0c71 redesigned configuration to use 'basic' and 'advanced' tabs. Also moved decoration exception handling to a dedicated tab, rather than in separate dialog
svn path=/trunk/KDE/kdebase/workspace/; revision=1017455
2009-08-30 17:39:31 +00:00
Hugo Pereira Da Costa
1b7acbc6bb removed exception list handling from separate dialog. Use a different tab instead
svn path=/trunk/KDE/kdebase/workspace/; revision=1017451
2009-08-30 17:37:07 +00:00
Hugo Pereira Da Costa
ffb68de1ac redesign handling of 'checkbox' options in exception dialog to have a more consistent look between various options
svn path=/trunk/KDE/kdebase/workspace/; revision=1017445
2009-08-30 17:26:47 +00:00
Marco Martin
5b61e0909c sync with the fade popup, looks less weird
svn path=/trunk/KDE/kdebase/workspace/; revision=1017403
2009-08-30 15:15:52 +00:00
Hugo Pereira Da Costa
906503c2f2 set WA_NoSystemBackground flag and removed (useless) setting of WA_OpaquePaintEvent flag
svn path=/trunk/KDE/kdebase/workspace/; revision=1017186
2009-08-29 21:37:08 +00:00
Hugo Pereira Da Costa
2c181abd37 fixed button rendering using QPainterPath, as done for kde2 windeco; fixed corner painting in preview mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1017185
2009-08-29 21:25:31 +00:00
Hugo Pereira Da Costa
bc78e76281 put mask calculation in separate method, to be used in preview mode. In preview mode, set painter clipMask so that it matches widget mask, to fix corner painting
svn path=/trunk/KDE/kdebase/workspace/; revision=1017184
2009-08-29 21:24:07 +00:00
Hugo Pereira Da Costa
6d329bb015 fixed button rendering using QPainterPath, as done for kde2 windeco
svn path=/trunk/KDE/kdebase/workspace/; revision=1017181
2009-08-29 20:55:36 +00:00
Hugo Pereira Da Costa
e7c34fb913 fixed button rendering using QPainterPath, as done for kde2 windeco
svn path=/trunk/KDE/kdebase/workspace/; revision=1017180
2009-08-29 20:49:15 +00:00
Hugo Pereira Da Costa
b51ce3fc34 fixed button rendering using QPainterPath, as done for kde2 windeco
svn path=/trunk/KDE/kdebase/workspace/; revision=1017178
2009-08-29 20:38:43 +00:00
Hugo Pereira Da Costa
313bc152f2 fixed button rendering using QPainterPath, as done for kde2 windeco
svn path=/trunk/KDE/kdebase/workspace/; revision=1017171
2009-08-29 20:25:21 +00:00
Hugo Pereira Da Costa
0f9de2a3a8 fixed button rendering using QPainterPath, as done for kde2 windeco
svn path=/trunk/KDE/kdebase/workspace/; revision=1017168
2009-08-29 20:16:46 +00:00
Hugo Pereira Da Costa
bbb66d7a7d Fixed size-grip visibility when shading windows
svn path=/trunk/KDE/kdebase/workspace/; revision=1017165
2009-08-29 20:04:24 +00:00
Hugo Pereira Da Costa
a56de50f0d implemented drawing of size-grip (when enabled) in preview mode, and fixed mettrics accordingly. also removed extra pixel in preview mode when 'border none' is selected and compositing is active
svn path=/trunk/KDE/kdebase/workspace/; revision=1017158
2009-08-29 19:31:24 +00:00
Script Kiddy
795a45fbc2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1017136
2009-08-29 19:10:42 +00:00
Hugo Pereira Da Costa
6a9212e77d fixed indentation for last commit (r1017015.)
svn path=/trunk/KDE/kdebase/workspace/; revision=1017018
2009-08-29 15:27:33 +00:00
Hugo Pereira Da Costa
29fec15b4a filled titlePix with transparent color before painting pattern, to fix title-bar appearance
svn path=/trunk/KDE/kdebase/workspace/; revision=1017016
2009-08-29 15:21:33 +00:00
Hugo Pereira Da Costa
a0c0e4f085 filled titlePix with transparent color before painting pattern, to fix decoration appearance
svn path=/trunk/KDE/kdebase/workspace/; revision=1017015
2009-08-29 15:18:22 +00:00
Martin Gräßlin
465fd0fbca We have to keep track of the currentTabBoxWindowList in tabbox effects:
when a client closes, windowClosed is called before it is removed from the list.
So we have to remove it from our list and make sure it isn't used any more.
And just to be sure we reference the window and unref after the effect closes.
The windowList is only changed in tabBoxAdded and tabBoxUpdated.
BUG: 184602

svn path=/trunk/KDE/kdebase/workspace/; revision=1016998
2009-08-29 14:23:30 +00:00
Lucas Murray
8b19de13f0 Select the default decoration if the configured decoration doesn't exist.
svn path=/trunk/KDE/kdebase/workspace/; revision=1016905
2009-08-29 10:16:13 +00:00
Lucas Murray
47ef5f02cc Replace Ozone with Nitrogen as the default decoration and remove Ozone.
CCMAIL:kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=1016904
2009-08-29 10:12:00 +00:00
Hugo Pereira Da Costa
ebc76aa81d changed text for 'tri-state' combobox to 'default/enabled/disabled'; changed option names so that they match exactly the configuration window
svn path=/trunk/KDE/kdebase/workspace/; revision=1016862
2009-08-29 06:05:50 +00:00
Hugo Pereira Da Costa
31d8c5d8cc changed 'title bar blending' option name into 'background style'
svn path=/trunk/KDE/kdebase/workspace/; revision=1016861
2009-08-29 06:04:04 +00:00
Hugo Pereira Da Costa
bda7734df3 rationalized 'button style' and 'title bar blending style' option names
svn path=/trunk/KDE/kdebase/workspace/; revision=1016860
2009-08-29 06:03:09 +00:00
Hugo Pereira Da Costa
f825e35471 use hard-coded iconscale for menu button, and fixed centering to match oxygen windeco
svn path=/trunk/KDE/kdebase/workspace/; revision=1016858
2009-08-29 05:39:55 +00:00
Hugo Pereira Da Costa
f17068e815 added button-size dependent hard-coded icon scale (for drawing window icon in title bar)
svn path=/trunk/KDE/kdebase/workspace/; revision=1016856
2009-08-29 05:38:58 +00:00
Hugo Pereira Da Costa
66c1892947 fixed rounding of bottom corners in tiny border mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1016853
2009-08-29 05:21:54 +00:00