12019 Commits (ceecc5be27ad8b2add0ddb9bc9771617c64c4d7e)
 

Author SHA1 Message Date
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
11 years ago
Martin Gräßlin 388cd21adf Add Reset, Default and Apply button to config dialog
Makes it more like when starting KCMShell.

REVIEW: 117110
11 years ago
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
11 years ago
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
11 years ago
Martin Gräßlin 1b7f66243d qtextracomponents becomes kquickcontrolsaddons 11 years ago
l10n daemon script a50e5da307 SVN_SILENT made messages (.desktop file) 11 years ago
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
11 years ago
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
11 years ago
l10n daemon script e5ef7602ba SVN_SILENT made messages (.desktop file) 11 years ago
l10n daemon script 1cbdb96c9a SVN_SILENT made messages (.desktop file) 11 years ago
l10n daemon script 5ef9359f6f SVN_SILENT made messages (.desktop file) 11 years ago
l10n daemon script de968730e3 SVN_SILENT made messages (.desktop file) 11 years ago
l10n daemon script 75ccceef47 SVN_SILENT made messages (.desktop file) 11 years ago
l10n daemon script 211e5c2ab9 SVN_SILENT made messages (.desktop file) 11 years ago
Martin Gräßlin cd5c5498af Fix spacing of Effect row
Using implicitHeight of the row layout as the height.

REVIEW: 116757
11 years ago
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
11 years ago
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
11 years ago
l10n daemon script b9f00690e6 SVN_SILENT made messages (.desktop file) 11 years ago
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
11 years ago
Martin Gräßlin 8573bb6bed Fix i18n in about item 11 years ago
Martin Gräßlin f934829e0f Remove the enableWindowManagement functionality
It's all dead code as the glue in the view got removed.
11 years ago
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
11 years ago
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
11 years ago
l10n daemon script b70928fce6 SVN_SILENT made messages (.desktop file) 11 years ago
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
11 years ago
l10n daemon script 5c9ddcfff2 SVN_SILENT made messages (.desktop file) 11 years ago
Martin Gräßlin d0ee2ca0d1 Boldify effect name 11 years ago
Martin Gräßlin 86748a4bc8 Use "Search" as placeholder text 11 years ago
Martin Gräßlin 05db7b9f7c Use xml interfaces to interact with KWin's DBus interfaces
It's a little bit more type safe.

REVIEW: 116649
11 years ago
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
11 years ago
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
11 years ago
Martin Gräßlin e551e34403 Use TextField of QtQuickControls instead of Plasma
Prefer the native widget. Disadvantage: clear button is missing.

REVIEW: 116691
11 years ago
Martin Gräßlin a31efea704 Export CompositingTypeIndex enum to QML
Use the dedicated enum values instead of trying to map the indices.

REVIEW: 116690
11 years ago
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
11 years ago
l10n daemon script 02d4d039ce SVN_SILENT made messages (.desktop file) 11 years ago
Antonis Tsiapaliokas f590506818 Add Get-Hot-New-Stuff support
REVIEW: 114477
11 years ago
Martin Gräßlin b48ebd300c Add a .reviewboardrc 11 years ago
l10n daemon script 18b352f0d2 SVN_SILENT made messages (.desktop file) 11 years ago
l10n daemon script 30e58bbba3 SVN_SILENT made messages (.desktop file) 11 years ago
l10n daemon script 6abb7b7874 SVN_SILENT made messages (.desktop file) 11 years ago
l10n daemon script 2f0cb89078 SVN_SILENT made messages (.desktop file) 11 years ago
l10n daemon script 81c171e6c8 SVN_SILENT made messages (.desktop file) 11 years ago
l10n daemon script 0543714532 SVN_SILENT made messages (.desktop file) 11 years ago
Martin Gräßlin b1429c0d60 Adjust to KDeclarative changes 11 years ago
Hrvoje Senjan 9042431106 Be less noisy when Qt5Multimedia is not present in build enviroment 11 years ago
Hrvoje Senjan 95ac83921b Declare runtime dependency on Qt5Multimedia via CMake
It's imports are needed for the effect video playback

REVIEW: 114918
11 years ago
Hrvoje Senjan e3a83463a1 Fix includes...
...and thus, build.
Jenkins will still fail due to:
"set(CMAKE_CXX_FLAGS "${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}")"

REVIEW: 114902
11 years ago
Mathieu Tarral be506dee30 This patch adds a checkbox to enable/disable effects on startup
REVIEW: 114046
11 years ago
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
11 years ago
Martin Gräßlin 9e00284158 Show busy indicator during loading of video
We need to provide some feedback during downloading the video.

REVIEW: 114431
11 years ago