Hugo Pereira Da Costa
49362532ff
kpushbutton -> qpushbutton
2013-08-01 19:38:52 +02:00
Hugo Pereira Da Costa
c00fdade17
moved dialog layout to ui
2013-08-01 19:38:52 +02:00
Hugo Pereira Da Costa
965aaabda8
moved QDialog layout to ui for DetectWidget.
2013-08-01 19:38:52 +02:00
Martin Gräßlin
1807265813
KDebug moved to KDE4Support
...
Adjust target link libraries.
2013-07-31 14:07:58 +02:00
Martin Gräßlin
728cb09c1c
Oxygen windeco doesn't need to link XRender
2013-07-31 07:28:15 +02:00
Martin Gräßlin
4141c101f1
Enable building of the Oxygen window decoration
...
Demo and config stays disabled - we are only interested in the window
decoration for now.
Seems to work :-)
CCMAIL: hugo@oxygen-icons.org
2013-07-30 07:57:15 +02:00
Martin Gräßlin
0e2b4b39cf
Adjust target link libraries for Oxygen windeco
2013-07-30 07:57:14 +02:00
Martin Gräßlin
eefdc2cedf
Port SizeGrip::embed to use xcb
...
XLib code was throwing compile errors, so just ported it over to xcb
directly.
2013-07-30 07:57:14 +02:00
Martin Gräßlin
2c7e3edcaa
Drop QByteArray argument from DecoHelper ctor
...
Has been removed from Helper parent class.
2013-07-30 07:11:28 +02:00
Martin Gräßlin
ec29f93604
Add missing includes in oxygenclient
2013-07-30 07:09:00 +02:00
Martin Gräßlin
acc6ce9092
Fix no cast from ascii in Oxygen windeco
2013-07-30 07:02:11 +02:00
Martin Gräßlin
9b6ae91011
Fix include of X11Info in Oxygen windeco
2013-07-30 06:57:02 +02:00
Martin Gräßlin
f5819656b6
Q_SLOTS/Q_SIGNALS in Oxygen windeco
2013-07-30 06:56:16 +02:00
Script Kiddy
8e8a18748d
SVN_SILENT made messages (.desktop file)
2013-04-26 08:56:47 +02:00
Martin Gräßlin
60c42b7a34
s/KLocale/KLocalizedString/g
...
Many headers included KLocale to use i18n and co. But those methods are
defined in KLocalizedString and not in KLocale.
With KF5 klocale.h does no longer include KLocalizedString causing lots
of compile errors.
2013-03-07 13:59:15 +01:00
Martin Gräßlin
32b6ef42b9
Strip module path from all Qt #include <>
...
Done with:
fixqt4headers.pl --strip-modules
REVIEW: 109176
2013-03-06 10:26:56 +01:00
Hugo Pereira Da Costa
2d9e9d6029
Fixed disabling/enabling decoration animations in non-advance mode
...
CCBUG: 313795
2013-02-22 17:39:56 +01:00
Chusslove Illich (Часлав Илић)
52a4115a9e
i18n: contexts.
2013-01-13 10:56:07 +01:00
Script Kiddy
6e267063d8
SVN_SILENT made messages (.desktop file)
2013-01-08 17:21:50 +01:00
Hugo Pereira Da Costa
d27416983d
Fixed Krazy warning about explicit constructors.
...
Fixed krazy warning about invalid ifdef guard in include
Fixed Krazy warning about signal/slot normalization.
fixed Krazy spelling warning in comments.
2013-01-07 12:12:14 +01:00
Hugo Pereira Da Costa
b0a822c85e
changed shadow offset property from int to double.
...
Removed x10 multiplicative factor when rendering shadow;
added x10 mutiplicative factors for config UIs with respect to what's actually saved in config
file;
remove kconfupdate for shadowoffset.
2013-01-07 12:12:14 +01:00
Hugo Pereira Da Costa
359e10c801
added kconfupdate script.
2013-01-07 12:12:14 +01:00
Hugo Pereira Da Costa
c32a73902c
implemented argumentless load and save slots.
2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa
9fb4194209
Improved changed state modification handling in shadow config widget, and updated rest of code accordingly.
2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa
111bf3aa00
moved some signal/slots from code to designer.
2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa
a909f9790a
check group existence and delete group using KConfig methods directly.
2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa
59e7d27757
use KSharedConfig to deal with configuration.
2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa
7a9e141e76
properly track changed state modifications from exception list widget.
2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa
8b3457e7ed
moved enable state signal/slot connections to ui, as well as initial enabled state.
...
properly track dialog modifications.
2013-01-07 12:12:12 +01:00
Hugo Pereira Da Costa
ee290bc014
Clean changed state on load();
...
properly initialize changed state in constructor.
2013-01-07 12:12:12 +01:00
Hugo Pereira Da Costa
30df048632
renamed shadowconfigurationui into shadowconfigwidget, for consistency with rest of the code
...
fixed updateChanged for closeWindowfromMenuButton
temporarily disabled updateChanged from exceptionLists.
2013-01-07 12:12:12 +01:00
Hugo Pereira Da Costa
ea639a0ec2
renamed ConfigurationUI into ConfigWidget.
...
moved all ui related stuff from oxygenConfig to oxygenConfigWidget.
Implement clean 'updateChanged' method.
2013-01-07 12:12:12 +01:00
Hugo Pereira Da Costa
fcb275abe7
- use kcfg for shadow configuration
...
- move Shadow configuration UI to libs
- removed useDropShadow and useOxygenShadow options, and replaced by activeShadow::enable and inactiveShadow::enable
- use kcfg for decoration configuration. The handling of exceptions requires dedicated readConfig and writeConfig methods, implemented in oxygenutils
- changed sizegrip combobox into a check box and rephrased for clarification
2013-01-07 12:12:12 +01:00
Albert Astals Cid
dec63fb987
Merge remote-tracking branch 'origin/KDE/4.10'
2013-01-07 11:04:39 +01:00
Script Kiddy
c6d91ac7eb
SVN_SILENT made messages (.desktop file)
2013-01-07 08:11:48 +01:00
Martin Gräßlin
533d57da60
Mark most ctors as explicit as reported by Krazy2 checker
2013-01-02 18:35:46 +01:00
Christophe Giboudeaux
e79997c9bf
Add a fixme
2013-01-01 15:01:16 +01:00
Script Kiddy
12f341712c
SVN_SILENT made messages (.desktop file)
2012-12-24 09:05:36 +01:00
Script Kiddy
d7316b9fcb
SVN_SILENT made messages (.desktop file)
2012-12-23 08:01:50 +01:00
Hugo Pereira Da Costa
6ec1e49e92
Extend window border to the masked rounded corners in non compositing mode
...
CCBUG: 230013
2012-11-26 10:57:23 +01:00
Hugo Pereira Da Costa
2023fb58f4
Fixed writting of configuration so that hidden options are not overridden by default values.
2012-11-16 11:59:58 +01:00
Montel Laurent
2ed928b5f4
Fix compile with strict iterator
2012-11-15 07:52:49 +01:00
Hugo Pereira Da Costa
6db2407334
Added hidden option to disable extended window borders.
2012-11-11 13:15:47 +01:00
Hugo Pereira Da Costa
f4cdf47c93
implemented extended border region for oxygen
2012-11-09 18:05:25 +01:00
Cedric Bellegarde
53ae2b91e2
GUI: Kwin appmenu support:
...
- Add support for application menu button in Kwin
- Add kded appmenu configuration in kcm_style
2012-11-09 13:44:50 +01:00
Martin Gräßlin
9308028fa4
Decoration can announce whether it currently requires an alpha channel
...
A decoration can provide the AbilityAnnounceAlphaChannel in addition to
AbilityUsesAlphaChannel. If this ability is provided the decoration can
enable/disable the use of the alpha channel through setAlphaEnabled().
The base idea behind this mechanism is to be able to tell the compositor
that currently alpha is not needed. An example is the maximized state in
which the decoration is fully opaque so that there is no need to use the
translucency code path which would render all windows behind the deco.
In addition also the blur effect honors this setting so that behind a
known opaque decoration no blurring is performed.
Oxygen is adjusted to disable translucency in maximized state and Aurorae
is adjusted to allow themes to enable/disable translucency. For Plastik
translucency and with that also blurring is disabled.
REVIEW: 106810
2012-11-09 10:36:43 +01:00
Hugo Pereira Da Costa
d5326ea461
change std::vector into QList and updated code accordingly.
...
Fixed compilation warnings.
2012-11-04 20:54:22 +01:00
Hugo Pereira Da Costa
15b51db1ab
oxygenlistmodel: Added "contains" method to generic model, to check index validity better.
...
oxygenexceptionlistwidget: better check index validity in "edit" method. Also update buttons status after removing items, since
apparently selectionChanged signal is not sent by Qt.
CCBUG: 309388
2012-11-01 19:13:16 +01:00
Hugo Pereira Da Costa
e06ca2e82c
properly deal with invalid colors when calculating cache keys.
...
using color.rgba() for an invalid color corresponds to solid black, which in turns conflicts with the cache
value for such color. We use "transparent black" instead.
CCBUG: 304868
2012-08-29 14:51:14 +02:00
Hugo Pereira Da Costa
08e9acae0d
Fixed positioning of tabs when manually reordering with right mouse button
...
Made 'drop target' animation consistent with where tab is actually dropped
Cleanup code.
CCBUG: 305443
2012-08-28 09:26:04 +02:00
Hugo Pereira Da Costa
f28d4ef91a
Added Option to enable window close on menu double click.
...
CCBUG: 305738
2012-08-27 23:00:44 +02:00
Hugo Pereira Da Costa
6efd6bc702
fixed indentation.
2012-08-27 23:00:32 +02:00
Hugo Pereira Da Costa
ff1ba460ec
added suffix (px) to shadow spinboxes.
2012-07-20 14:28:51 +02:00
Hugo Pereira Da Costa
46d0116dd5
Added hidden configuration option to enable/disable closing windows by clicking on menu button.
...
Option is called "CloseFromMenuButton"
It is false by default.
To turn it on, add
CloseFromMenuButton=true
in [Windeco] section of $HOME/.kde4/share/config/oxygenrc.
Note that it results in poor usability of the menu button, if enabled.
CCBUG: 301237
2012-06-07 12:28:25 -07:00
Thomas Lübking
e2553bd842
add deco API versioning support
...
REVIEW: 104978
BUG: 299141
FIXED-IN: 4.9
2012-05-17 23:26:43 +02:00
Hugo Pereira Da Costa
fb361b3d35
Cleanup radial gradient definition and offsets.
...
Fixed bug on shading windows with large buttons.
2012-05-03 20:09:45 +02:00
Hugo Pereira Da Costa
ba573c60ed
Check that widget style supports "SH_ArgbDndWindow" to decide whether or not to draw a shadow around
...
ItemTag drag-and-drop icon.
2012-05-01 17:32:28 +02:00
Hugo Pereira Da Costa
83255bed73
fixed rect adjustment.
2012-05-01 17:32:28 +02:00
Hugo Pereira Da Costa
aab88cc10d
re-implemented compositing-off dnd calculation properly.
2012-05-01 17:32:28 +02:00
Hugo Pereira Da Costa
ba3b445231
fixed hotspot.
2012-05-01 17:32:28 +02:00
Hugo Pereira Da Costa
27f1f45391
implemented (partially) shadows for drag pixmaps.
2012-05-01 17:32:28 +02:00
Hugo Pereira Da Costa
06820d7c77
fixed active item detection when rendering drag pixmap.
2012-05-01 17:32:28 +02:00
Hugo Pereira Da Costa
f76b087b33
mark title transition as dirty when resizing client, to avoid flicker.
...
CCBUG: 298428
2012-04-23 11:48:30 +02:00
Hugo Pereira Da Costa
0b1f4fc1d6
cosmetics.
2012-02-29 17:17:25 +01:00
Hugo Pereira Da Costa
2eb4b96a8c
Fixed warning when rendering text on invalid rectangle;
...
Fixed painting of buttons in preview.
(thanks Martin :) )
2012-02-29 17:10:23 +01:00
Hugo Pereira Da Costa
0a7195fe22
removed unneeded check.
2012-02-29 16:54:52 +01:00
Hugo Pereira Da Costa
8f28376274
fixed tabbing order
2012-02-29 08:57:41 +01:00
Thomas Lübking
85635dd485
fix tabbing
...
BUG: 290959
BUG: 265160
BUG: 229292
BUG: 238279
BUG: 290758
BUG: 222831
BUG: 278275
BUG: 245747
BUG: 230000
BUG: 253697
BUG: 230570
BUG: 265977
BUG: 225337
BUG: 225339
REVIEW: 103855
2012-02-11 16:30:22 +01:00
Thomas Lübking
bf88ec09ac
Revert "fix tabbing"
...
pushed out of branch, not master - leading to absent revision, found hash collision??
This reverts commit 94b2ad7b85801e37e2df4671cdc4f26b6d7e5506.
2012-02-11 16:29:14 +01:00
Thomas Lübking
d245035a17
fix tabbing
...
BUG: 290959
BUG: 265160
BUG: 229292
BUG: 238279
BUG: 290758
BUG: 222831
BUG: 278275
BUG: 245747
BUG: 230000
BUG: 253697
BUG: 230570
BUG: 265977
BUG: 225337
BUG: 225339
REVIEW: 103855
2012-02-11 16:01:41 +01:00
Hugo Pereira Da Costa
2b2a21e4d4
manually reduce shadow size in preview for better rendering.
2012-01-16 10:16:29 +01:00
Hugo Pereira Da Costa
955aa09050
removed other instances of QSharedPointer (damn Qt)
...
CCBUG: 290965
2012-01-09 09:49:44 +01:00
Hugo Pereira Da Costa
736a54b308
Changed QSharedPointer -> QPointer
...
CCBUG: 290965
2012-01-09 09:42:37 +01:00
Script Kiddy
8979af0a5f
SVN_SILENT made messages (.desktop file)
2011-12-18 09:55:30 +01:00
Hugo Pereira Da Costa
12bcd08871
do not fade separator when it is drawn for both active and inactive windows.
2011-11-08 19:01:02 +01:00
Christophe Giboudeaux
f76c40c424
Fix the -Wmissing-include-dirs warnings
2011-10-19 23:53:13 +02:00
Hugo Pereira Da Costa
885e42142f
Fixed glow animation for outlined windows.
2011-10-05 23:01:13 +02:00
Hugo Pereira Da Costa
066927ebfb
More fine tuning of window borders in outline mode.
2011-10-05 19:56:00 +02:00
Hugo Pereira Da Costa
e8addb2596
Turn off antialiasing when rendering window outline borders.
...
CCBUG: 283398
2011-10-05 18:55:45 +02:00
Luboš Luňák
2f1bb4f4a3
do not access possibly deleted memory
2011-09-30 19:24:42 +02:00
Hugo Pereira Da Costa
f435f716b8
do not paint buttons (from parent) if hidden.
2011-09-23 15:46:29 +02:00
Hugo Pereira Da Costa
c9ed76be6f
set bottom border to zero when shading windows. This makes buttons and title vertically
...
centered.
2011-09-22 22:28:24 +02:00
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