Antonis Tsiapaliokas
11098706ce
Fix qml runtime errors
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
fcae304dac
Fix layout
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
c0a188b3f2
Remove Graphics System.
...
Graphics System is deprecated on Qt5 and it has been removed from KWin.
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
973a2e8f22
Remove deprecated ctor
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
fcff62c4b6
We don't neeed to reload our model anymore
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
081d1fc7c9
Don't load all the effects from the kwinrc.
...
Let KWin to handle that.
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
517e248c1c
Fix the coding style
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
4534cd03b9
EffectFilterModel::findImage should always return a QString
...
Also translate the rowIndex from the EffectFilterModel to the EffectModel
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
1f509b7c30
EffectModel is no more being exposed to the QML
...
Instead of the EffectModel we are using the FilterProxyModel
2014-04-03 07:23:13 +02:00
Martin Gräßlin
d9fcc9f9d5
Drop useless assignement
...
That's already in the property binding.
2014-04-03 07:23:13 +02:00
Martin Gräßlin
7d816f8198
Rename effectModel property to model
...
More consistant with other namings in QML.
2014-04-03 07:23:13 +02:00
Martin Gräßlin
81510d7e47
Make EffectModel a toplevel element in EffectView
...
The id is referenced all over the document which makes it nicer to
read if it is not a nested element.
2014-04-03 07:23:13 +02:00
Martin Gräßlin
5eb11849d4
Do not use a VisualDataModel
...
No need for this additional wrapper around the model.
2014-04-03 07:23:13 +02:00
Martin Gräßlin
934d675b73
Add missing Q_UNUSED
2014-04-03 07:23:13 +02:00
Martin Gräßlin
46c395e8ac
Specify override on overriden methods in model.h
...
Let's use C++11 - the good parts ;-)
2014-04-03 07:23:13 +02:00
Martin Gräßlin
cf5ba0378a
setRoleNames is deprecated
...
Instead implementing roleNames().
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
c32758c458
Add ComboBox for Compositing Type and for Graphics System
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
ed2cf5a8b5
Add Improved Window Management Support
...
When we click into the CheckBox the following effects are being enabled:
*kwin4_effect_desktopgrid
*kwin4_effect_presntwindows
*kwin4_effect_dialogparent
If one of the above effects gets disabled, then the checkbox is unchecked.
Our CheckBox can detect if our effects are enable at the start time.
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
cc375dab36
remove deprecated ctor
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
609c4c5470
Add ExclusiveGroup support to the checkboxes of the ListView.
...
Only ONE of the following effects can be active at the same
time.
*kwin4_effect_slideEnabled
*kwin4_effect_cubeslideEnabled
*kwin4_effect_fadedesktopEnabled
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
3ab4e1a84a
make it build and fix linking
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
025f3eba5a
KWidgets are gone. Make it build
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
16a066db78
Check if OpenGLisBroken
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
52fd2c12a2
Make all of our unit test to pass
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
e5da335fcf
Add unit test for our model
...
Add a QSortFilterProxyModel in order to search our effects
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
dac370fc61
Move effectStatus and syncConfig from EffectView class to EffectModel
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
f9706e0734
Make our dbus call async
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
34cccc91ed
Make our model able to be reloaded.
...
Also fix the coding style and make krazy happy.
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
f44691b61c
Move findImage method from EffectView to EffectModel
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
2f30411106
Make our QAbstractListModel smarter, give better names to
...
the enumenators.
Rename struct Effect to EffectData
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
abaf03c1d0
We should have only 1 proxy, not 2
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
8081e2eb53
Add buttons to the effect config dialog
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
fc662d175d
Add method findImage
...
Qt QuickControls require an abosolute path to the image
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
2431da8222
Buttons are enable only when they have something to do
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
837c44434d
Load the configuration UI for the Effects
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
51549d3ec9
Make our effects able to be enable and disable
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
32ee949a8d
Add an about button for the author and the license of the effect
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
738f730a62
Load the real effects from the system
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
e816a0823c
Replace -std=c++11 with -std=c++0x
...
c++0x is being supported for gcc < 4.6
2014-04-03 07:23:12 +02:00
Antonis Tsiapaliokas
4305fb79b8
Add support for c++11 and fix building issues
2014-04-03 07:23:12 +02:00
Antonis Tsiapaliokas
52326ac892
Fix license
2014-04-03 07:23:12 +02:00
Antonis Tsiapaliokas
1d6dee92fc
Initial commit
2014-04-03 07:23:12 +02:00
Martin Gräßlin
5339d28389
[kwin] Drop old kwincompositing KCM
...
It's going to be replaced by kwin-compositing-kcm, see
https://projects.kde.org/projects/playground/base/kwin-compositing-kcm
2013-12-16 13:27:56 +01:00
Martin Klapetek
54bc491c46
Port to KF5 renaming changes
2013-12-11 21:41:47 +01:00
l10n daemon script
8484628fd0
SVN_SILENT made messages (.desktop file)
2013-11-24 04:09:32 +00:00
Aleix Pol
7b110f0671
Improve CMake usage
...
It's basically a run of the port-cmake.sh script in here, mostly the changes
are the following:
- Using KF5::* targets
- Using the proper macros, following recent developments in frameworks
2013-11-15 13:37:47 +01:00
l10n daemon script
4edf01bd62
SVN_SILENT made messages (.desktop file)
2013-11-13 03:59:37 +00:00
l10n daemon script
865bcdce38
SVN_SILENT made messages (.desktop file)
2013-11-03 03:52:50 +00:00
Bhushan Shah
935851a2b5
kDebug -> qDebug in kwin
2013-11-01 17:00:41 +05:30
Anselmo L. S. Melo
d258759ac9
Port from KTemporaryFile to QTemporaryFile
...
REVIEW: 112742
2013-09-24 08:07:41 -03:00
Martin Gräßlin
969e6b85e7
Merge branch 'master' into frameworks-scratch
...
Conflicts:
CMakeLists.txt
kwin/client.cpp
kwin/effects/highlightwindow/highlightwindow.cpp
kwin/libkwineffects/kwingltexture.cpp
kwin/libkwineffects/kwinxrenderutils.cpp
kwin/scene_opengl.cpp
kwin/workspace.cpp
plasma/desktop/applets/kickoff/CMakeLists.txt
plasma/desktop/applets/taskmanager/package/contents/code/tools.js
plasma/desktop/applets/taskmanager/package/contents/ui/Task.qml
plasma/desktop/applets/taskmanager/package/contents/ui/main.qml
plasma/desktop/applets/taskmanager/package/metadata.desktop
plasma/desktop/applets/taskmanager/plugin/textlabel.h
plasma/desktop/applets/tasks/CMakeLists.txt
plasma/desktop/applets/tasks/package/metadata.desktop
plasma/desktop/applets/tasks/tasks.cpp
plasma/desktop/toolboxes/plasma-toolbox-desktoptoolbox.desktop
plasma/generic/applets/activitybar/activitybar.cpp
plasma/generic/wallpapers/color/plasma-wallpaper-color.desktop
plasma/generic/wallpapers/image/plasma-wallpaper-image.desktop
2013-09-24 11:28:38 +02:00
l10n daemon script
52cea9285d
SVN_SILENT made messages (.desktop file)
2013-09-09 04:11:16 +00:00
Sebastian Kügler
08a53e6a11
Remove K_EXPORT_PLUGIN macros
...
Include .moc file in configs_builtins.cpp, and reenable the build of the
configs.
REVIEW:111940
2013-08-08 13:47:25 +02:00
l10n daemon script
ba0be05c78
SVN_SILENT made messages (.desktop file)
2013-08-04 04:29:45 +00:00
l10n daemon script
205c557f89
SVN_SILENT made messages (.desktop file)
2013-07-05 03:48:50 +00:00
Casian Andrei
0c20edb250
Enable color correction check box for the appropriate compositing types
...
REVIEW: 111055
2013-06-24 21:33:12 +03:00
l10n daemon script
5510335da9
SVN_SILENT made messages (.desktop file)
2013-06-24 03:57:22 +00:00
l10n daemon script
a2e9957860
SVN_SILENT made messages (.desktop file)
2013-06-10 03:46:39 +00:00
l10n daemon script
31fb163a07
SVN_SILENT made messages (.desktop file)
2013-06-07 03:40:35 +00:00
Martin Gräßlin
0ccb774309
Fix Typo
2013-05-21 09:27:38 +02:00
Script Kiddy
e5316fa9d9
SVN_SILENT made messages (.desktop file)
2013-05-17 09:43:27 +02:00
Fredrik Höglund
f06990a7e7
kwin: Refactor the UI for compositing type selection
...
Remove the "Use OpenGL 2 shaders" checkbox, and add "OpenGL 2.0"
and "OpenGL 3.1" options in the compositing type combobox.
2013-05-08 18:33:01 +02:00
Script Kiddy
dfd72523b1
SVN_SILENT made messages (.desktop file)
2013-05-02 09:17:01 +02:00
Ralf Jung
8b2b48b966
Fix Lanczos filter description
...
REVIEW: 109750
2013-03-27 09:49:53 +01:00
Yuri Chornoivan
e8806dfe56
Fix typo: stragtegy->strategy
2013-03-25 08:20:07 +02:00
Thomas Lübking
903c95dd52
add GUI config to select the swapstrategy
...
REVIEW: 109322
2013-03-24 22:26:48 +01: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
Martin Gräßlin
898e120be9
Extract messages from scripts and scripting module
...
Messages in scripts are written to kwin_scripts.pot, messages in
scripting are written to kwin_scripting.pot. The cataloges are loaded in
the configuration interfaces and in main kwin.
REVIEW: 108975
2013-03-04 10:29:25 +01:00
Marco Martin
baf21f6b34
Merge branch 'KDE/4.10'
...
Conflicts:
plasma/generic/applets/batterymonitor/metadata.desktop
plasma/generic/applets/lock_logout/metadata.desktop
2013-01-31 17:00:02 +01:00
Script Kiddy
f193c56957
SVN_SILENT made messages (.desktop file)
2013-01-31 16:31:28 +01:00
Script Kiddy
ca2cf4d697
SVN_SILENT made messages (.desktop file)
2013-01-31 12:00:36 +01:00
Script Kiddy
1416c8d62c
SVN_SILENT made messages (.desktop file)
2013-01-30 16:27:26 +01:00
Script Kiddy
2ea65eb18e
SVN_SILENT made messages (.desktop file)
2013-01-26 13:21:28 +01:00
Script Kiddy
7d821f3814
SVN_SILENT made messages (.desktop file)
2013-01-26 09:04:17 +01:00
Thomas Lübking
36378925e7
Check max viewport and texture dimensions
...
REVIEW: 106917
2013-01-23 21:27:46 +01:00
Martin Gräßlin
11f9d9f5c1
Use KPushButton for GHNS in Effects KCM
...
Also rename to proper name "Get New Effects ...".
BUG: 309724
FIXED-IN: 4.11
REVIEW: 108286
2013-01-10 08:25:45 +01:00
Thomas Lübking
fa29b4141b
fix dbus service registration/invocation
...
REVIEW: 108016
2013-01-02 19:05:11 +01:00
Thomas Lübking
c6d411d939
activate layout, no idea why doesn't happen implicitly
...
BUG: 311553
FIXED-IN: 4.10
REVIEW: 107851
2013-01-02 18:43:14 +01:00
Thomas Lübking
2f18371e27
fix dbus service registration/invocation
...
REVIEW: 108016
2013-01-02 18:25:58 +01:00
Thomas Lübking
f2226adca9
activate layout, no idea why doesn't happen implicitly
...
BUG: 311553
FIXED-IN: 4.10
REVIEW: 107851
2013-01-02 18:23:45 +01:00
Script Kiddy
ae597bcb4e
SVN_SILENT made messages (.desktop file)
2012-12-28 07:45:01 +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
Script Kiddy
dc5da9b081
SVN_SILENT made messages (.desktop file)
2012-12-22 08:12:14 +01:00
Script Kiddy
ef0cae8dab
SVN_SILENT made messages (.desktop file)
2012-12-18 15:28:22 +01:00
Script Kiddy
068419656f
SVN_SILENT made messages (.desktop file)
2012-12-03 07:26:16 +01:00
Script Kiddy
49a373b681
SVN_SILENT made messages (.desktop file)
2012-12-01 08:03:43 +01:00
Script Kiddy
2b0453d82c
SVN_SILENT made messages (.desktop file)
2012-11-17 07:39:31 +01:00
Casian Andrei
01adbe6dc5
Implement color correction (per output)
...
Add an option to kcmcompositing in the 'Advanced' tab, to enable or
disable color correction. It is specified that it's experimental and it
needs Kolor Manager.
Before painting for a particular screen, ColorCorrection::setupForOutput
should be called.
A screen property is added for WindowPaintData.
In kwinglutils, The fragment shaders are intercepted before being
compiled and they get a couple of lines of code inserted in order to do
the color correction. This happens only when color correction is enabled, of
course.
For D-Bus communication with KolorServer, everything is async.
The implementation basically manages a set of color lookup tables for
different outputs and for different window regions. These are taken via
D-Bus. Each lookup table has around 700 KB.
This commit reintroduces the changes from the former merge with the
"color2" branch. In this form, it can be easily reverted.
REVIEW: 106141
2012-11-13 22:47:09 +02:00
Casian Andrei
a46d247702
Revert "Merge branch 'color2'"
...
This merge is incomplete and it does not include the review number of
the associated review request. It should have been pushed as a single
commit, because the merged commits were not intended to be published in
their form.
This reverts commit dcba90263069a221a5489b1915c5cf1ca39d090c, reversing
changes made to 50ae07525c7fde07794e7548c3d6e5a69cb1a89d.
Conflicts:
kwin/scene_opengl.cpp
kwin/scene_opengl.h
2012-11-13 22:19:32 +02:00
Kai-Uwe Behrmann
479be668d7
Merge branch 'color2'
...
Conflicts:
kwin/libkwineffects/kwinglplatform.cpp
2012-11-07 23:54:18 +01:00
Martin Gräßlin
6417246358
Add GHNS support for Scripted KWin Effects
...
BUG: 296773
FIXED-IN: 4.10
REVIEW: 107051
2012-10-28 09:49:02 +01:00
Casian Andrei
8341d4406b
Merge remote-tracking branch 'origin/master' into color2
...
Results in cleaner changes.
Put all the color correction stuff from SceneOpenGL in SceneOpenGL2.
Conflicts:
kwin/eglonxbackend.cpp
kwin/glxbackend.cpp
kwin/scene.h
kwin/scene_opengl.cpp
kwin/scene_opengl.h
2012-09-23 11:57:38 +03:00
Script Kiddy
cb86f3e0f5
SVN_SILENT made messages (.desktop file)
2012-09-20 10:06:35 +02:00
Script Kiddy
31464244e1
SVN_SILENT made messages (.desktop file)
2012-09-18 19:14:07 +02:00
Casian Andrei
fadb6636af
CC: No html translatable text. Only <p> and <strong> remaining
2012-08-24 17:07:13 +03:00
Casian Andrei
17965a9fd9
Merge branch 'master' into color2
2012-08-22 21:56:44 +03:00
Casian Andrei
a417888b0e
Implement color correction support
...
The implementation consists of a class in libkwineffects.
There are some slight modifications in the compositor. Regions for
different outputs are drawn at different times.
Currently only per output color correction is implemented. However, the
grounds are prepared for implementing per window color correction
easily.
The ColorCorrection class needs to communicate via D-Bus with a KDED
module, KolorServer, which is a part of KolorManager.
The only visible part for the user consists of a check box in the
advanced tab for the compositing KCM.
The actual correction is done by injecting a piece of code in the
fragment shader, code that does a 3D lookup into a special color lookup
texture. The data for these textures is obtained from KolorServer. All
D-Bus calls are async.
2012-08-20 20:37:25 +03:00
Script Kiddy
3e920d34ef
SVN_SILENT made messages (.desktop file)
2012-08-12 10:22:00 +02:00