Martin Gräßlin
52e96b41df
Ensure that the WindowThumbnail is not trying to render a thumbnail of itself
...
Recursive window thumbnails would look awesome on the screen, but reality
is that X/OpenGL or $DEITY doesn't like it at all and decided to just
freeze the view.
So let's delay all the redirecting till the WindowThumbnail has been
added to its QQuickWindow and if the window id is the one of the own
window we just render the icon instead.
2013-09-11 13:57:40 +02:00
Marco Martin
452d39a98e
add a desktop view
2013-09-11 12:18:51 +02:00
Marco Martin
5157958c00
reimplement showConfigurationInterface
2013-09-11 12:05:09 +02:00
Marco Martin
98a681a0e7
View -> PlasmaQuickView
2013-09-11 11:48:37 +02:00
Marco Martin
a94dd49b32
rename remaining plasmaview to plasmaquick
2013-09-11 11:23:56 +02:00
Marco Martin
a7e9b1261b
just use c++0x for now
...
gcc 4.6 and msvc still don't have -std=c++11
2013-09-11 11:15:29 +02:00
Marco Martin
247c01170a
libplasmaview -> libplsmaquick
...
this library will contain all the reusable qtquick and qml related bits necessary for plasma
2013-09-11 11:13:27 +02:00
Giorgos Tsiapaliokas
97ada33110
Merge branch 'plasmaview'
...
REVIEW: 112447
2013-09-11 11:51:39 +03:00
Martin Gräßlin
91d306d2e8
QQuick item for live updating window thumbnails
...
New qquick item in PlasmaCore to render a live updating window
thumbnail. The implementation uses XCB to redirect the specified
window using the composite extension. This means a running compositor
is not required. Through the damage extension the item tracks changes
to the window and triggers updates of the texture. Furthermore the
item tracks geometry changes of the window to recreate the window
pixmap.
If the pixmap of the window is valid, a texture is generated from it
using the glx texture from pixmap extension. For this a new optional
dependency for glx is added. On platform where glx is not available
(e.g. Windows, Linux with OpenGL ES) this will not get compiled and
the window's icon is used instead as a fallback.
REVIEW: 112142
2013-09-11 09:45:47 +02:00
Giorgos Tsiapaliokas
30c3e2cdc1
we don't have these headers anymore so don't install their FooBar
2013-09-11 09:21:17 +03:00
Giorgos Tsiapaliokas
ff7c854e30
remove the TODOs, they are done
2013-09-11 09:19:17 +03:00
l10n daemon script
eba2125d6e
SVN_SILENT made messages (.desktop file)
2013-09-11 04:16:36 +00:00
Marco Martin
8b627f8c01
fix build
2013-09-10 21:15:09 +02:00
Marco Martin
eccf797920
Merge branch 'plasmaview2' into plasmaview3
...
Conflicts:
src/plasmaview/shellpackage_p.cpp
src/plasmaview/shellpackage_p.h
src/plasmaview/view.cpp
src/plasmaview/view.h
src/shell/CMakeLists.txt
src/shell/desktopcorona.cpp
src/shell/shellcorona.cpp
src/shell/shellpluginloader.cpp
2013-09-10 20:59:47 +02:00
Giorgos Tsiapaliokas
70ab0cfc48
KF5::plasmaview -> KF5::PlasmaView
2013-09-10 20:47:34 +02:00
Giorgos Tsiapaliokas
bf2619a79a
move shellpluginloader back to shell
...
Conflicts:
src/plasmaview/CMakeLists.txt
src/shell/shellpluginloader.cpp
2013-09-10 20:47:25 +02:00
Giorgos Tsiapaliokas
0235eb82d5
add the missing include
2013-09-10 20:44:59 +02:00
Giorgos Tsiapaliokas
94806e9e2b
don't export ConfigCategory
2013-09-10 20:44:42 +02:00
Giorgos Tsiapaliokas
768d0c07a8
KF5::plasmaview -> KF5::PlasmaView
2013-09-10 20:44:36 +02:00
Giorgos Tsiapaliokas
2bb94a1aa0
use variable names instead of KF5::
2013-09-10 20:44:31 +02:00
Giorgos Tsiapaliokas
bae445f795
don't include the file, we don't need it
...
Conflicts:
src/shell/shellcorona.cpp
2013-09-10 20:44:02 +02:00
Giorgos Tsiapaliokas
b6db500fef
add includes/PlasmaView/ShellPluginLoader
2013-09-10 20:41:57 +02:00
Giorgos Tsiapaliokas
dc26a8a3da
add some more apidocs in the configview
2013-09-10 20:41:53 +02:00
Giorgos Tsiapaliokas
9faa53540a
add apidocs for the shellpluginloader
2013-09-10 20:41:49 +02:00
Giorgos Tsiapaliokas
ff34152432
use d_ptr in shellpluginloader
2013-09-10 20:41:44 +02:00
Giorgos Tsiapaliokas
52e57cfdd5
build the shellpackage again
2013-09-10 20:41:39 +02:00
Giorgos Tsiapaliokas
854b956fbc
shell/shellpackage.cpp -> plasmaview/shellpackage_p.cpp
...
shell/shellpackage.h -> plasmaview/shellpackage_p.h
2013-09-10 20:41:36 +02:00
Giorgos Tsiapaliokas
5714b65883
shell/shellpluginloader.cpp -> plasmaview/shellpluginloader.cpp
...
shell/shellpluginloader.h -> plasmaview/shellpluginloader.h
2013-09-10 20:41:31 +02:00
Giorgos Tsiapaliokas
f4d6c14ebc
src/plasmaview/containmentconfigview.cpp -> src/plasmaview/containmentconfigview_p.cpp
...
src/plasmaview/containmentconfigview.h -> src/plasmaview/containmentconfigview_p.h
2013-09-10 20:41:27 +02:00
Giorgos Tsiapaliokas
426d34e6e2
add some apidocs
2013-09-10 20:41:23 +02:00
Giorgos Tsiapaliokas
39d2575ce2
don't install containmentconfigview.h
2013-09-10 20:41:18 +02:00
Giorgos Tsiapaliokas
4f435ccf85
Revert "use d pointer in containmentconfigview"
...
This reverts commit 22fc5cebf449ec2a3d4f9ce8a40d11ffde1345f9.
There is no need to export it since only the View is using
it.
Conflicts:
src/plasmaview/containmentconfigview.cpp
src/plasmaview/containmentconfigview.h
2013-09-10 20:41:13 +02:00
Giorgos Tsiapaliokas
23ec4639c5
remove unneeded code
2013-09-10 20:41:09 +02:00
Giorgos Tsiapaliokas
ff79662287
add apidocs for the View
2013-09-10 20:41:05 +02:00
Giorgos Tsiapaliokas
e4810b9e95
make it protected again
2013-09-10 20:41:01 +02:00
Giorgos Tsiapaliokas
efc9356b71
include the right header
2013-09-10 20:40:56 +02:00
Giorgos Tsiapaliokas
59aaee1278
remove configview.cpp
2013-09-10 20:40:52 +02:00
Giorgos Tsiapaliokas
cba8948fa2
use d_ptr in configview
2013-09-10 20:40:47 +02:00
Giorgos Tsiapaliokas
ef865b9f45
shell/configview.cpp -> plasmaview/configview.cpp
...
shell/configview.h -> plasmaview/configview.h
2013-09-10 20:40:42 +02:00
Giorgos Tsiapaliokas
52fa3113e5
currentcontainmentactionsmodel.cpp -> currentcontainmentactionsmodel_p.cpp
2013-09-10 20:40:38 +02:00
Giorgos Tsiapaliokas
38afa72e8d
use d pointer in containmentconfigview
2013-09-10 20:40:34 +02:00
Giorgos Tsiapaliokas
8c4bbf10c2
don't install currentcontainmentactionsmodel.h
2013-09-10 20:40:29 +02:00
Giorgos Tsiapaliokas
e58ee74ff9
use d pointer in view
2013-09-10 20:40:24 +02:00
Giorgos Tsiapaliokas
4fc23e7eb8
add plasmaview/includes/
2013-09-10 20:40:20 +02:00
Giorgos Tsiapaliokas
2699ff1826
add plasmaview/PlasmaViewConfig.cmake.in
2013-09-10 20:40:16 +02:00
Giorgos Tsiapaliokas
0567075f9c
add plasmaview/CMakeLists.txt
2013-09-10 20:39:33 +02:00
Giorgos Tsiapaliokas
ba5a92a132
add the plasmaview subdir
2013-09-10 20:39:27 +02:00
Giorgos Tsiapaliokas
caa2d738fa
make use of the plasmaview
2013-09-10 20:39:15 +02:00
Giorgos Tsiapaliokas
9e4e6e2444
shell/containmentconfigview.cpp -> plasmaview/containmentconfigview.cpp
...
shell/containmentconfigview.h -> plasmaview/containmentconfigview.h
shell/currentcontainmentactionsmodel.cpp -> plasmaview/currentcontainmentactionsmodel_p.cpp
shell/currentcontainmentactionsmodel.h -> plasmaview/currentcontainmentactionsmodel_p.h
shell/view.cpp -> plasmaview/view.cpp
shell/view.h -> plasmaview/view.h
2013-09-10 20:39:10 +02:00
Marco Martin
33dae6b18c
support for setting a wallpaper trough drag and drop
2013-09-10 17:57:51 +02:00
Marco Martin
d101966f91
use a dynamic property
...
so qml doesn't see it
2013-09-10 16:38:16 +02:00
Marco Martin
52c3a27e18
support for wallpaper actions
2013-09-10 15:51:22 +02:00
Marco Martin
bfbeae9969
propagate containmentTypeChanged
2013-09-10 12:43:25 +02:00
Marco Martin
6bbc8cb420
propagate drawWallpaperChanged
2013-09-10 12:38:41 +02:00
Marco Martin
e5b2907b53
documentation in ContainmentInterface
2013-09-10 12:25:37 +02:00
Marco Martin
075395e6d1
more documentation
2013-09-10 11:58:55 +02:00
Marco Martin
bde39854d3
remove unused method
2013-09-10 11:48:34 +02:00
Marco Martin
27c9c859ef
documentation++
2013-09-10 11:45:02 +02:00
Wojciech Kapuscinski
ea835ccdb1
remove all links to kdeqt5staging
...
QCommandLineParser is now in qt5
REVIEW: 112558
2013-09-10 10:13:05 +02:00
Martin Gräßlin
97ce3dc808
Rework finding of XCB
...
Uses the new components syntax of FindXCB. So far plasma frameworks
only need the XCB component and that one is optional just like XLib.
The find xcb is moved to the toplevel CMakeLists.txt together with
the find x11 and HAVE_X11 gets set only if both X11 and XCB are found.
REVIEW: 112499
2013-09-09 06:14:35 +02:00
l10n daemon script
45879b3d0b
SVN_SILENT made messages (.desktop file)
2013-09-07 04:15:43 +00:00
Marco Martin
0f86bd5b6e
fix size hints propagation
2013-09-06 19:22:14 +02:00
Marco Martin
1b9d6cbb13
experiment support for panel auto resize
2013-09-06 18:36:12 +02:00
Marco Martin
abbe19722f
use native text rendering
2013-09-06 13:43:19 +02:00
l10n daemon script
42f4f3059e
SVN_SILENT made messages (.desktop file)
2013-09-05 04:02:11 +00:00
Marco Martin
e4bfec918e
remove color wallpaper from this repo
2013-09-04 12:28:29 +02:00
Marco Martin
3781be8f71
example wallpaper
2013-09-04 11:57:46 +02:00
Marco Martin
8f74e67f9d
old test applets live now in examples
2013-09-04 11:57:46 +02:00
Marco Martin
4291b0d20e
Revert "remove test applets"
...
This reverts commit b983ab2c72
.
2013-09-04 11:57:46 +02:00
Eike Hein
c4075ddaed
Move the screen prop up into AppletInterface.
...
This makes 'plasmoid.screen' available not just for con-
tainments, but for all applets, as required by the Task
Manager applet. Unfortunately Qt's APIs don't expose any
screen numbering, so that route was off the table.
Ack'ed by Marco Martin.
2013-09-04 11:46:28 +02:00
l10n daemon script
47efcc2f03
SVN_SILENT made messages (.desktop file)
2013-09-04 04:08:55 +00:00
Marco Martin
75d9ea6a95
hardcoded enum values--
2013-09-03 15:54:11 +02:00
Marco Martin
89ae53097f
unbreak mouse release event
2013-09-03 15:51:25 +02:00
Marco Martin
55d973385e
convert location to Plasma::Types::Location
2013-09-03 15:44:13 +02:00
Marco Martin
b983ab2c72
remove test applets
2013-09-03 14:52:41 +02:00
Marco Martin
f6cdcd3a1c
config file is plasma-org.kde.desktop-appletsrc
...
or plasma-shellname-appletsrc whatever shellname is
2013-09-03 13:46:42 +02:00
Marco Martin
9289405991
experiment with ConditionalLoader
2013-09-03 13:11:12 +02:00
Sebastian Kügler
f6c661f297
org.kde.desktop is not a containment
2013-09-03 03:31:28 +02:00
Sebastian Kügler
3535ce72b0
only reference existing packges
2013-09-03 03:29:11 +02:00
Sebastian Kügler
5479b56d67
default to org.kde.desktoptoolbox
...
This package exists, org.kde.toolbox doesn't
2013-09-03 03:28:11 +02:00
Sebastian Kügler
8915fd4004
Show package path in warning
2013-09-03 03:25:24 +02:00
Sebastian Kügler
be11b191a8
Fix include
2013-09-03 01:28:10 +02:00
Marco Martin
de6d0f12d0
Corona::packageChanged() signal
...
views listen to it to know when to reload theirview qml file
2013-09-02 21:06:35 +02:00
Marco Martin
29042ed585
remove redundancy
2013-09-02 20:54:11 +02:00
Marco Martin
800298935f
use a QmlWallpaper package type for wallpapers
2013-09-02 20:25:04 +02:00
Marco Martin
2e14e707fe
remove done todos
2013-09-02 19:43:51 +02:00
Marco Martin
9252de77f9
don't depend from shellpluginloader
2013-09-02 19:26:48 +02:00
Marco Martin
03b812ea06
move ShellPackage in libplasma
...
the shell plugin loader only has the look and feel package now
2013-09-02 19:25:03 +02:00
Marco Martin
b32a42c8e8
Corona::setPackage(QString) uses a Package
...
* symmetrical api in Corona
* there is no default package
2013-09-02 18:04:22 +02:00
Marco Martin
5005f2c879
add acceptedButtons prop as MouseArea
2013-09-02 15:38:00 +02:00
Ivan Čukić
fd9757688a
Missing files
2013-09-02 13:31:50 +02:00
Ivan Čukić
3ba0708120
Added support for shell switching
2013-09-02 11:51:44 +02:00
Ivan Čukić
7d83f87127
Removed DesktopCorona
2013-09-02 11:34:35 +02:00
Eike Hein
752faa454d
Fix build.
2013-09-02 00:11:37 +02:00
Ivan Čukić
6657090107
Added documentation for the Application class
2013-09-01 13:35:18 +02:00
Ivan Čukić
f786c74020
Ported the broken branch to a new one
2013-08-31 17:47:29 +02:00
Marco Martin
e8a4332034
re-add the calendar qml component
...
CCMAIL:heena393@gmail.com
2013-08-31 15:23:04 +02:00
Marco Martin
ea1b6374c3
add paste by default
2013-08-30 18:30:24 +02:00
Marco Martin
6b38c2c6af
port all machinery for drag and drop on containments
...
still missing wallpaper support
2013-08-30 15:47:01 +02:00
Marco Martin
7bc3fbc589
appletAdded becomes AppletAdded(applet,x,y)
2013-08-30 14:15:48 +02:00
Marco Martin
087bc4d8fe
adjust processMimeData to work with paste plugin
2013-08-30 12:50:35 +02:00
Marco Martin
5ecaf1d08b
add shadows to dialogs
2013-08-29 15:11:07 +02:00
Marco Martin
81f4ab704b
enable panel shadows
2013-08-29 14:56:29 +02:00
Marco Martin
4c79f8fcff
fix datamodel (adapt to api change)
...
also, change some connects to the new syntax, so next time a thing like
that gets catched
2013-08-28 22:11:55 +02:00
Marco Martin
68a693af67
adapt to api change
2013-08-28 21:08:23 +02:00
Marco Martin
e00070da7e
hack to make possible to set the applet position
...
when a dnd operation is done, set the applet position before emitting the appletAdded signal
2013-08-28 15:21:33 +02:00
Marco Martin
f3729cac2d
correctly filter child events
2013-08-28 14:21:51 +02:00
Marco Martin
314ba53f67
adapt to api change
2013-08-28 14:12:28 +02:00
Marco Martin
86a2847c84
revert bd6927138f
...
apparently we can't tap into the valuetype conversion of QFont at all
theme.mSize(font) it is
2013-08-28 14:07:07 +02:00
Marco Martin
82a880396f
install i18n iff hasn't been done yet
2013-08-28 13:53:42 +02:00
Marco Martin
d78fdf1e5d
imple add applet mechanism
2013-08-28 13:50:53 +02:00
Marco Martin
04f11788ea
stub for drag and drop and paste mechanism
2013-08-28 13:23:27 +02:00
Sebastian Kügler
9b1b090159
Install header for dataengineconsumer
2013-08-28 03:52:14 +02:00
Marco Martin
bd6927138f
restore mSize attached property of theme fonts
2013-08-27 17:35:10 +02:00
Eike Hein
915598dca2
Add missing returns.
...
CCMAIL:notmart@gmail.com
2013-08-27 16:02:33 +02:00
Marco Martin
8c252e6c17
translate trigger strings
2013-08-27 15:54:05 +02:00
Marco Martin
8052ed8566
use the componentized button for input
2013-08-27 15:27:02 +02:00
Marco Martin
6617a26726
correctly save and restore containmentactions config
2013-08-27 15:23:19 +02:00
Marco Martin
b44f9d17cb
make the plugin selector combobox work
2013-08-27 13:27:49 +02:00
Marco Martin
39b49bf464
get rid of containmentActions::config()
2013-08-27 12:10:51 +02:00
Marco Martin
409b38a1e5
use switch desktop by default
2013-08-27 11:58:36 +02:00
Marco Martin
5ecb5185f7
support wheel events
2013-08-27 11:56:37 +02:00
Marco Martin
7c139742a6
accept all buttons
...
so menus for all mouse events can be generated
2013-08-27 11:13:17 +02:00
Sebastian Kügler
bcbfea3576
Less debug
2013-08-27 04:27:48 +02:00
Sebastian Kügler
19c4b555d5
Less warnings in TabButton
2013-08-27 04:27:28 +02:00
Sebastian Kügler
fd7ba8497a
Use QVariantMap for data argument in newData
...
We need to pass the data as QVariantMap to the QML runtime, otherwise
the object can't be decoded client-side.
2013-08-27 04:26:00 +02:00
Sebastian Kügler
cbd1fa335c
Remove debugging rects from drag test
2013-08-26 21:43:53 +02:00
Sebastian Kügler
fa20d4b99b
Parent QDrag to Item's parent
...
This seems more in line with general semantics, although it probably
doesn't make much of a difference here.
2013-08-26 21:43:52 +02:00
Marco Martin
9a9ac9f9e5
containment actions config ui fully working
2013-08-26 21:22:06 +02:00
Marco Martin
f2f2a2b7c5
CurrentContainmentActionsModel in own file
...
working about button
2013-08-26 18:30:57 +02:00
Marco Martin
bf82942528
delete config widget when closed
2013-08-26 17:58:23 +02:00
Marco Martin
0a3eae6806
correctly show configuration ui
...
but kded5 goes berserk when it gets closed
2013-08-26 17:50:17 +02:00
Marco Martin
410fac542c
clip the scrollview for sorrect slide effect
2013-08-26 14:59:43 +02:00
Marco Martin
35748e1f1e
correct action input field
2013-08-26 14:58:59 +02:00
Marco Martin
01f041b3ef
get rid of outer scrollview
...
unbreaks wheel for modules
2013-08-26 14:57:15 +02:00
Sebastian Kügler
357c964956
Improve Drag and Drop test
2013-08-26 02:24:20 +02:00
Sebastian Kügler
acba1e9471
Fix a bunch of leftovers from porting, add debug
2013-08-26 02:23:24 +02:00
Sebastian Kügler
20e9241c3a
Remove KDE4Defaults
2013-08-26 02:21:53 +02:00
Sebastian Kügler
663b394d5e
hasColor method for mimedata
2013-08-26 02:19:31 +02:00
Sebastian Kügler
3ccf499854
Paint a row of icons for the mimetypes
2013-08-24 03:43:26 +02:00
Sebastian Kügler
7a52638408
Fix image
2013-08-24 01:17:59 +02:00
Sebastian Kügler
6628cf0a7c
Small stylistic improvement
2013-08-24 01:09:45 +02:00
Sebastian Kügler
b9723c3142
Make QCommandLineParser static
...
No need to pass it around this way to set up the containment.
2013-08-24 01:07:47 +02:00
Sebastian Kügler
7cddcb64c1
Remove fake i18n function from widgetsexplorer
2013-08-24 01:07:30 +02:00
Sebastian Kügler
4cd608d09d
Use QTextStream for output
2013-08-24 00:29:48 +02:00
Marco Martin
f5099f21fd
new model type for the current containment actions
...
qml invocable methods to add and remove entries
2013-08-23 18:52:57 +02:00
Marco Martin
0502f8f972
put the current containment actions in a ConfigModel
2013-08-23 16:31:09 +02:00
Marco Martin
d025f583b2
use kdeclarative in configview
...
export current containment actions
2013-08-23 15:35:56 +02:00
Sebastian Kügler
4fcedcbc46
Port to QCommandLineParser
2013-08-23 01:06:05 +02:00
Marco Martin
0e107c4f1f
very raw stub for containment actions config
...
correctly lists them, still not possible to config them
2013-08-22 21:45:18 +02:00