12019 Commits (ceecc5be27ad8b2add0ddb9bc9771617c64c4d7e)
 

Author SHA1 Message Date
Martin Gräßlin 8e1aea4ec6 Adjust CMakeList to kf5 lib renaming 11 years ago
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
11 years ago
Martin Gräßlin 0bd7c5e0e2 Add support for videos in the model 11 years ago
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.
11 years ago
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.
11 years ago
Martin Gräßlin 634b400caf Fix reseting the checkboxed in the advanced part 11 years ago
Martin Gräßlin f19acce59d Implement the KCModule::defaults 11 years ago
Martin Gräßlin e3c944feb2 Implement KCModule::load 11 years ago
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.
11 years ago
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.
11 years ago
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
11 years ago
Martin Gräßlin bfab98839c Fix typo 11 years ago
Martin Gräßlin 2ed5b375ea Make EffectView::init private
Called from the ctor, no need to be public.
11 years ago
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.
11 years ago
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.
11 years ago
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.
11 years ago
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.
11 years ago
Antonis Tsiapaliokas ca453a9939 make it build 11 years ago
Antonis Tsiapaliokas bf52f952b2 make it build 11 years ago
Antonis Tsiapaliokas 5ab8e740d4 Fix spacing 11 years ago
Antonis Tsiapaliokas bd79162710 make it build 11 years ago
Antonis Tsiapaliokas af25c1d11d Try to fix the linking issues 11 years ago
Antonis Tsiapaliokas d24a463a27 make it more simple 11 years ago
Antonis Tsiapaliokas 99dc27e896 Change the background color 11 years ago
Antonis Tsiapaliokas de7b09b011 Enable effects by the service file should always be enabled,
if there is not a relevant entry in the kwinrc
11 years ago
Antonis Tsiapaliokas d5a6dff6dd Remove hard coded colors 11 years ago
Antonis Tsiapaliokas bd3219b5a7 Add Color Correction support 11 years ago
Antonis Tsiapaliokas 748d2d327f Add glSwapStrategy support 11 years ago
Antonis Tsiapaliokas 5448c7ce36 We are now able to suspend desktop effects for fullscreen windows 11 years ago
Antonis Tsiapaliokas c79894945c Add glScaleFilter and xrFilterScale support 11 years ago
Antonis Tsiapaliokas e1308f8b40 Add Window Thumbnail support 11 years ago
Antonis Tsiapaliokas d33c2afb81 Add animation speed Slider 11 years ago
Antonis Tsiapaliokas 083f670719 Rename effectStatus => updateEffectStatus method 11 years ago
Antonis Tsiapaliokas 12f8544b0f Make sure that the enableWindowManagement and handleWindowManagement
will not crash
11 years ago
Antonis Tsiapaliokas 50dd943e7d Check if the m_effectsList is valid before we try to access it 11 years ago
Antonis Tsiapaliokas 159bccc2d5 Use the new Singal and Slot syntax, now we are able to check
for errors at the build time.
11 years ago
Antonis Tsiapaliokas f4e412f244 Add missing i18n 11 years ago
Antonis Tsiapaliokas 8bc4c3c85c Description text should not be elide
when we click on the description button
11 years ago
Antonis Tsiapaliokas 44fad963a9 Add hint Label 11 years ago
Antonis Tsiapaliokas a336e51867 Add missing i18n 11 years ago
Antonis Tsiapaliokas 8f6e40adbb Add clear button to Search Field 11 years ago
Antonis Tsiapaliokas 14b66445e3 should be const 11 years ago
Antonis Tsiapaliokas 11c59b7abe We don't need anymore the effectModel PROPERTY 11 years ago
Antonis Tsiapaliokas 842bacab23 Fix typo 11 years ago
Antonis Tsiapaliokas afcc19815e Now we are able to search our effects based on their name
and their description
11 years ago
Antonis Tsiapaliokas 853c817c80 make it build 11 years ago
Antonis Tsiapaliokas 578f43292b Fix copyright 11 years ago
Antonis Tsiapaliokas 932bd40cb6 rename id myCheckBox => effectStatusCheckBox 11 years ago
Antonis Tsiapaliokas 857182ebac Make sure that our description will only be elide when there is not enough space 11 years ago
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
11 years ago