Martin Gräßlin
7292938520
[kcmkwin/compositing] Improve initialization of kdeclarative
...
We need kdeclarative for i18n support. This needs to be done before we
load the source. By that we don't need to import Plasma.Core which isn't
used by the views at all.
Also we don't need to link twice against declarative.
2014-05-26 11:34:40 +02:00
Martin Gräßlin
39d7ac71c2
[kcmkwin/compositing] Accept StrongFocus on the QuickView's WidgetContainer
...
This ensures that we can tab to the UI written in QtQuick. Unfortunately
it doesn't get initial focus, which seems to be a general problem of
KCMShell (QWidget based KCMs also do not get focus) and it's not possible
to tab out of quick ui again.
BUG: 335195
2014-05-23 11:20:45 +02:00
Martin Gräßlin
9292b7e475
[kcmkwin/compositing] Accept focus on the EffectView
...
This allows keyboard navigation with cursor keys in the list view.
CCBUG: 335195
2014-05-23 11:10:17 +02:00
l10n daemon script
979071a44c
SVN_SILENT made messages (.desktop file)
2014-05-23 08:15:19 +00:00
Martin Gräßlin
0532280689
[kcmkwin/compositing] Switch Text to Label
...
BUG: 335193
REVIEW: 118262
2014-05-22 17:09:46 +02:00
Martin Gräßlin
8ea5792677
[kcmkwin/compositing] Improve the spacing in the Effects list
...
Spacing needs to be specified on the ListView instead in the delegate.
This fixes incorrect vertical alignment of the buttons in each row.
In addition a proper background is set on the ScrollView.
CCBUG: 334372
REVIEW: 118260
2014-05-22 16:40:26 +02:00
Martin Gräßlin
45f1060da0
[kcmkwin/compositing] Set a maximumWidth on the text elements in Effect
...
By properly setting Layout.maximumWidth the buttons are not moved out of
the layout. Instead the text wraps to a new line.
BUG: 335078
REVIEW: 118222
2014-05-22 15:38:12 +02:00
l10n daemon script
203d043a09
SVN_SILENT made messages (.desktop file)
2014-05-16 08:23:41 +00:00
Martin Gräßlin
220c3caf14
[kcmkwin/compositing] Fix storing of PluginEnabled states
...
BUG: 334812
2014-05-15 17:10:40 +02:00
Martin Gräßlin
61c631c94e
[kwincompositing-kcm] Add a config option for the OpenGL Platform Interface
...
A small model is added which holds the available platform interfaces read
from KWin through DBus.
REVIEW: 117699
2014-05-13 09:23:03 +02:00
Martin Gräßlin
5e1e58d197
Enable i18n for kwincompositing
...
Was missing Messages.sh, extracts from cpp and qml.
REVIEW: 117892
2014-05-05 08:04:00 +02:00
l10n daemon script
7dec86078c
SVN_SILENT made messages (.desktop file)
2014-05-04 08:44:36 +00:00
l10n daemon script
7553c411c2
SVN_SILENT made messages (.desktop file)
2014-05-03 08:32:58 +00:00
l10n daemon script
2f28437e24
SVN_SILENT made messages (.desktop file)
2014-05-02 08:51:14 +00:00
l10n daemon script
2838a9b606
SVN_SILENT made messages (.desktop file)
2014-04-29 10:12:33 +00:00
l10n daemon script
15aa971aab
SVN_SILENT made messages (.desktop file)
2014-04-29 04:54:44 +00:00
Martin Gräßlin
336a870f5e
[kcmkwin] Fix locating the effect configurations
...
No longer in kf5/ prefix.
2014-04-28 14:06:18 +02:00
Martin Gräßlin
7fcecc616c
Drop "kwin4_effect_" prefix for BuiltIn Effects
...
This removes all the hacks to add kwin4_effect_ to the name of the Effect
and adjusts the desktop files of the effect configuration's parent
component.
Note: the scripted effects still start with kwin4_effect_ prefix.
REVIEW: 117367
2014-04-28 13:52:50 +02:00
Martin Gräßlin
a784c91844
[kcmkwin/compositing] Use BuiltinEffects to find all built-in effects
...
The EffectData in BuiltinEffects is extended by all the data needed for
the desktop effects KCM:
* display name
* comment
* category
* video-url
* exclusive group
* internal
This information is taken directly from the desktop files.
The Built-in effects are now also resolved through the BuiltInEffects
namespace and the KServiceTypeTrader query is adjusted to only find the
scripted effects.
Unfortunately this introduces another round of adding "kwin4_effect_" to
load and save the effects correctly. This will be removed once all KCMs
are adjusted to use the new BuiltInEffects.
2014-04-28 13:51:30 +02:00
l10n daemon script
e1f418f4d0
SVN_SILENT made messages (.desktop file)
2014-04-28 09:00:35 +00:00
l10n daemon script
f44575ddbf
SVN_SILENT made messages (.desktop file)
2014-04-28 05:16:52 +00:00
l10n daemon script
69c3289c18
SVN_SILENT made messages (.desktop file)
2014-04-27 21:02:43 +00:00
l10n daemon script
ac9c8f6852
SVN_SILENT made messages (.desktop file)
2014-04-27 05:24:22 +00:00
Aleix Pol
220da8a4e5
Adapt to changes in KDEInstallDirs
...
kde5/services is kservices5
kde5/servicetypes is kservicestypes5
2014-04-26 19:27:52 +02:00
Martin Gräßlin
b92f4a6991
[kwincompositing-kcm] Fix the reinit signal invocation
...
REVIEW: 117700
2014-04-25 10:04:04 +02:00
l10n daemon script
4242a0e009
SVN_SILENT made messages (.desktop file)
2014-04-23 04:57:49 +00:00
l10n daemon script
8d83f165d1
SVN_SILENT made messages (.desktop file)
2014-04-20 04:39:49 +00:00
Michael Palimaka
1bca6c3dfa
Disable testing if QtTest is not found.
...
REVIEW: 117393
2014-04-18 16:43:24 +10:00
l10n daemon script
09d421fbb4
SVN_SILENT made messages (.desktop file)
2014-04-14 05:00:20 +00:00
l10n daemon script
d117d38efa
SVN_SILENT made messages (.desktop file)
2014-04-13 05:18:57 +00:00
l10n daemon script
003ba3f343
SVN_SILENT made messages (.desktop file)
2014-04-10 05:10:58 +00:00
l10n daemon script
d630b657cd
SVN_SILENT made messages (.desktop file)
2014-04-09 04:58:31 +00:00
l10n daemon script
f13d89a9b6
SVN_SILENT made messages (.desktop file)
2014-04-08 06:22:50 +00:00
l10n daemon script
bd7047929c
SVN_SILENT made messages (.desktop file)
2014-04-07 04:54:14 +00:00
l10n daemon script
43fd082b0a
SVN_SILENT made messages (.desktop file)
2014-04-06 05:11:55 +00:00
l10n daemon script
c92da6202f
SVN_SILENT made messages (.desktop file)
2014-04-05 04:53:22 +00:00
l10n daemon script
e6db000065
SVN_SILENT made messages (.desktop file)
2014-04-04 05:29:27 +00:00
Martin Gräßlin
ceecc5be27
[kwincompositing] Integrate the new kcmkwin subdirectory into build tree
...
* root CMakeLists.txt finds Declarative and Qt5Multimedia (Runtime)
* kwincompositing CMakeLists.txt is cleaned up to not be a project
2014-04-03 07:23:17 +02:00
Martin Gräßlin
388cd21adf
Add Reset, Default and Apply button to config dialog
...
Makes it more like when starting KCMShell.
REVIEW: 117110
2014-04-03 07:23:17 +02:00
Martin Gräßlin
b14cae83a0
Translate the names of the categories
...
The category gets read from the KService and is not translated.
Because of that the KCM needs to do the translation of the categories.
This was also the case in the old KCM.
REVIEW: 117111
2014-04-03 07:23:17 +02:00
Martin Gräßlin
30dd9b7820
Fix the initial size of the KCMs
...
Both KCMs had a hard coded default which is obviously bad. Instead we
now calculate a useable implicitWidth and implicitHeight and use this
as the minimum size for the KCM. Which means we need also track changes
to these two root object properties and update the QWidget container
accordingly.
BUG: 332518
BUG: 332519
REVIEW: 117079
2014-04-03 07:23:17 +02:00
Martin Gräßlin
1b7f66243d
qtextracomponents becomes kquickcontrolsaddons
2014-04-03 07:23:16 +02:00
l10n daemon script
a50e5da307
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:16 +02:00
Martin Gräßlin
39b61238e5
Load generic scripted config plugin for scripted effects
...
We check whether the effect is scripted and provides a config. If that
is the case our normal approach for getting the config plugin fails and
we use this case to try to load it again through the generic scripted
config plugin.
REVIEW: 116863
BUG: 332186
2014-04-03 07:23:16 +02:00
Martin Gräßlin
ca725b437f
Use KPluginTrader to find the effect configuration and show it
...
The model data contains a new role ConfigurableRole. This is used to
decide whether the configure button is available.
The value for the role is set by searching for a KPlugin which has the
effect's service name as X-KDE-ParentComponents. All available configs
are expected to be in kf5/kwin/effects/configs/ and are located through
the KPluginTrader thus binary effect configs need to provide json meta
data.
REVIEW: 116855
2014-04-03 07:23:16 +02:00
l10n daemon script
e5ef7602ba
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:16 +02:00
l10n daemon script
1cbdb96c9a
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:16 +02:00
l10n daemon script
5ef9359f6f
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:16 +02:00
l10n daemon script
de968730e3
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:16 +02:00
l10n daemon script
75ccceef47
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:16 +02:00
l10n daemon script
211e5c2ab9
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:16 +02:00
Martin Gräßlin
cd5c5498af
Fix spacing of Effect row
...
Using implicitHeight of the row layout as the height.
REVIEW: 116757
2014-04-03 07:23:16 +02:00
Martin Gräßlin
7166bdad61
Filter on internal effects
...
By default internal effects are excluded from the list, but by
checking the option in the config menu, they get included in the
list.
REVIEW: 116755
2014-04-03 07:23:16 +02:00
Martin Gräßlin
24626b8cb0
Accept row if filter can be found in the Category name
...
Idea: searching for virtual did not return all effects in the
"Virtual Desktop Switching Animation" category.
REVIEW: 116752
2014-04-03 07:23:16 +02:00
l10n daemon script
b9f00690e6
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:16 +02:00
Martin Gräßlin
38e18a1d4c
Improve the sorting of the effects list
...
Sort by:
* category
** exclusive group
*** name
Thus we have an alphabetic order of all categories, in the categories
we have again an alphabetic order of all effects in the same group and
the effects in one group are listed at the bottom of the category.
REVIEW: 116753
2014-04-03 07:23:16 +02:00
Martin Gräßlin
8573bb6bed
Fix i18n in about item
2014-04-03 07:23:16 +02:00
Martin Gräßlin
f934829e0f
Remove the enableWindowManagement functionality
...
It's all dead code as the glue in the view got removed.
2014-04-03 07:23:16 +02:00
Martin Gräßlin
7d63ab03bc
Support for mutual exclusive effects
...
The new X-KWin-Exclusive-Category property is read from the service
and provided to QML through the ExclusiveRole. If an effect has such
a role the CheckBox is replaced by a RadioButton. The radio buttons of
an exclusive group take care that only one effect of the group can be
enabled. In addition the radio button acts like a check box. If one
clicks the checked radio button it gets unchecked.
At the same time this change removes the hard coded functionality for
the exclusive group of desktop switching effects. It's all handled
dynamically by creating the ExclusiveGroup when needed. For each
category there can be one ExclusiveGroup.
REVIEW: 116711
2014-04-03 07:23:16 +02:00
Martin Gräßlin
503c221733
Add supported to EffectData
...
For each effect added to the list the KWin DBus interface is queried
for whether the effect is supported.
By default all effects are set to supported, thus if the DBus service
is not around (e.g. compositing disabled) it is assumed that all effects
are supported. In fact it's not possible to figure it out at all.
REVIEW: 116667
2014-04-03 07:23:16 +02:00
l10n daemon script
b70928fce6
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:16 +02:00
Martin Gräßlin
9e81a26c2a
Improve section heading
...
Using spacing around the header and no hardcoded color by using
KColorscheme to get the base color and use the same alpha modulation
as KCategoryDrawer.
REVIEW: 116703
2014-04-03 07:23:16 +02:00
l10n daemon script
5c9ddcfff2
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:16 +02:00
Martin Gräßlin
d0ee2ca0d1
Boldify effect name
2014-04-03 07:23:16 +02:00
Martin Gräßlin
86748a4bc8
Use "Search" as placeholder text
2014-04-03 07:23:16 +02:00
Martin Gräßlin
05db7b9f7c
Use xml interfaces to interact with KWin's DBus interfaces
...
It's a little bit more type safe.
REVIEW: 116649
2014-04-03 07:23:16 +02:00
Martin Gräßlin
edc399a444
Drop OpenGL 1
...
KWin doesn't support OpenGL 1 any more so we should not allow the
user to switch to it.
REVIEW: 116636
2014-04-03 07:23:16 +02:00
Martin Gräßlin
e4fe1b360f
Improve layout of Effect View
...
* use frame in the scroll area
* remove needless anchoring for an Effect
* use one RowLayout for one Effect row
* add a left and right padding using the normal spacing
* Use a ColumnLayout for the center element consisting of
** name
** description
** (info)
** (video)
* Video moved into an own component
* Animations removed
REVIEW: 116693
2014-04-03 07:23:16 +02:00
Martin Gräßlin
e551e34403
Use TextField of QtQuickControls instead of Plasma
...
Prefer the native widget. Disadvantage: clear button is missing.
REVIEW: 116691
2014-04-03 07:23:16 +02:00
Martin Gräßlin
a31efea704
Export CompositingTypeIndex enum to QML
...
Use the dedicated enum values instead of trying to map the indices.
REVIEW: 116690
2014-04-03 07:23:16 +02:00
Martin Gräßlin
74d9185f49
Split into one KCM for Desktop Effects and one for Compositing
...
Let's try getting the KCM a little bit less scary by properly
hiding everything the user doesn't have to care about. The prominent
desktop effects KCM only contains the list of all the effects which
can be configured and nothing else. Only exception is the disabled
check after failed GL to make this easier for the user.
All the "advanced" settings are moved into a new KCM called
"Compositing" which is put under the hardware component in
systemsettings. This contains all advanced settings including
* whether compositing is enabled at all
* backend
* animation speeed
* scale filter
* unredirect fullscreen
* color correction
REVIEW: 116648
2014-04-03 07:23:16 +02:00
l10n daemon script
02d4d039ce
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:16 +02:00
Antonis Tsiapaliokas
f590506818
Add Get-Hot-New-Stuff support
...
REVIEW: 114477
2014-04-03 07:23:16 +02:00
Martin Gräßlin
b48ebd300c
Add a .reviewboardrc
2014-04-03 07:23:15 +02:00
l10n daemon script
18b352f0d2
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:15 +02:00
l10n daemon script
30e58bbba3
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:15 +02:00
l10n daemon script
6abb7b7874
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:15 +02:00
l10n daemon script
2f0cb89078
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:15 +02:00
l10n daemon script
81c171e6c8
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:15 +02:00
l10n daemon script
0543714532
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:15 +02:00
Martin Gräßlin
b1429c0d60
Adjust to KDeclarative changes
2014-04-03 07:23:15 +02:00
Hrvoje Senjan
9042431106
Be less noisy when Qt5Multimedia is not present in build enviroment
2014-04-03 07:23:15 +02:00
Hrvoje Senjan
95ac83921b
Declare runtime dependency on Qt5Multimedia via CMake
...
It's imports are needed for the effect video playback
REVIEW: 114918
2014-04-03 07:23:15 +02:00
Hrvoje Senjan
e3a83463a1
Fix includes...
...
...and thus, build.
Jenkins will still fail due to:
"set(CMAKE_CXX_FLAGS "${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}")"
REVIEW: 114902
2014-04-03 07:23:15 +02:00
Mathieu Tarral
be506dee30
This patch adds a checkbox to enable/disable effects on startup
...
REVIEW: 114046
2014-04-03 07:23:15 +02:00
Martin Gräßlin
5f1e8ec2bd
Use RowLayout for the video, configure and about buttons
...
Simplifies the code as we don't have to anchor the buttons.
REVIEW: 114432
2014-04-03 07:23:15 +02:00
Martin Gräßlin
9e00284158
Show busy indicator during loading of video
...
We need to provide some feedback during downloading the video.
REVIEW: 114431
2014-04-03 07:23:15 +02:00
Martin Gräßlin
8e1aea4ec6
Adjust CMakeList to kf5 lib renaming
2014-04-03 07:23:15 +02:00
Martin Gräßlin
ca778481b7
Integrate video into the UI
...
A video button is shown if the model provides an url for a video.
If the button is pressed the video element is added in a similar way
to the aboutInfo and starts the video directly. Once the playback
stopped a play again button is shown.
If one clicks the video button again, the video gets hidden.
Room for improvement:
* add a button to open in external player
* ensure video is centered correctly in the list view
2014-04-03 07:23:15 +02:00
Martin Gräßlin
0bd7c5e0e2
Add support for videos in the model
2014-04-03 07:23:15 +02:00
Martin Gräßlin
6006a91e8a
Invoke the reinit Compositor signal when the advanced options changed
...
Therefore we track whether the options got changed and if they did
we emit the reinit signal once the configuration is saved.
2014-04-03 07:23:15 +02:00
Martin Gräßlin
450888df50
Fix connection to KWin through DBus
...
Not 100 % perfect yet as KWin needs to have the compositor connect
to the signals.
2014-04-03 07:23:15 +02:00
Martin Gräßlin
634b400caf
Fix reseting the checkboxed in the advanced part
2014-04-03 07:23:15 +02:00
Martin Gräßlin
f19acce59d
Implement the KCModule::defaults
2014-04-03 07:23:15 +02:00
Martin Gräßlin
e3c944feb2
Implement KCModule::load
2014-04-03 07:23:15 +02:00
Martin Gräßlin
891af9cf54
Handling saving the changes of the KCM
...
Save method added to the EffectView which invokes the specific methods
on the effect model and compositing object.
2014-04-03 07:23:15 +02:00
Martin Gräßlin
1dd1c8e51d
Add the compositingType as another property to Compositing
...
Methods added to the Model to map from row index to the backend
identifier and vice versa. That way the Compositing object can do
all the saving and loading.
2014-04-03 07:23:15 +02:00
Martin Gräßlin
3a8a0d73ea
Save complete state in Compositing QObject
...
* all properties extended to be writable and emit change signals
* contains load from and save to config functionality
* Compositing object in qml view is connected to the values of the
components. So changes are directly mapped from UI to business logic
2014-04-03 07:23:15 +02:00
Martin Gräßlin
bfab98839c
Fix typo
2014-04-03 07:23:15 +02:00
Martin Gräßlin
2ed5b375ea
Make EffectView::init private
...
Called from the ctor, no need to be public.
2014-04-03 07:23:15 +02:00
Martin Gräßlin
aa39bb192f
Connect changed from QML to the C++ side
...
Connected in the view and further emited as a signal our KCM
connects to.
2014-04-03 07:23:15 +02:00
Martin Gräßlin
befb2b8e8a
Drop the Apply button from the EffectView
...
We have an Apply and OK button in the KCModule, so we don't need one
in the view. A change signal is introduced and passed from the individual
items upwards, so that we can connect to it from the C++ side.
2014-04-03 07:23:14 +02:00
Martin Gräßlin
7372a7f784
KWinCompositing becomes a KCModule
...
Instead of a binary it's a library installed as a plugin. main.cpp
defines the KCModule which just loads the EffectView into a widget
container.
2014-04-03 07:23:14 +02:00
Martin Gräßlin
dd23f40c81
Clean up CMakeLists.txt
...
Find only required modules and not everything kde-workspace used to find.
Also properly set the target link targets.
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
ca453a9939
make it build
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
bf52f952b2
make it build
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
5ab8e740d4
Fix spacing
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
bd79162710
make it build
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
af25c1d11d
Try to fix the linking issues
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
d24a463a27
make it more simple
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
99dc27e896
Change the background color
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
de7b09b011
Enable effects by the service file should always be enabled,
...
if there is not a relevant entry in the kwinrc
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
d5a6dff6dd
Remove hard coded colors
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
bd3219b5a7
Add Color Correction support
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
748d2d327f
Add glSwapStrategy support
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
5448c7ce36
We are now able to suspend desktop effects for fullscreen windows
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
c79894945c
Add glScaleFilter and xrFilterScale support
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
e1308f8b40
Add Window Thumbnail support
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
d33c2afb81
Add animation speed Slider
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
083f670719
Rename effectStatus => updateEffectStatus method
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
12f8544b0f
Make sure that the enableWindowManagement and handleWindowManagement
...
will not crash
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
50dd943e7d
Check if the m_effectsList is valid before we try to access it
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
159bccc2d5
Use the new Singal and Slot syntax, now we are able to check
...
for errors at the build time.
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
f4e412f244
Add missing i18n
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
8bc4c3c85c
Description text should not be elide
...
when we click on the description button
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
44fad963a9
Add hint Label
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
a336e51867
Add missing i18n
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
8f6e40adbb
Add clear button to Search Field
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
14b66445e3
should be const
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
11c59b7abe
We don't need anymore the effectModel PROPERTY
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
842bacab23
Fix typo
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
afcc19815e
Now we are able to search our effects based on their name
...
and their description
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
853c817c80
make it build
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
578f43292b
Fix copyright
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
932bd40cb6
rename id myCheckBox => effectStatusCheckBox
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
857182ebac
Make sure that our description will only be elide when there is not enough space
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
67144780bd
Create a new QAbstractItemModel for our CompoBox.
...
In the feature we will need to hanlde some Wayland stuff
so we need our model to be smarter.
Also remove some left overs from the graphics system
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
ff08041bed
We don't need the findImage anymore.
2014-04-03 07:23:13 +02:00
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