Commit Graph

10902 Commits

Author SHA1 Message Date
Sebastian Kügler
c536aa4006 kill useless files 2013-03-09 03:45:57 +01:00
Sebastian Kügler
365628c648 UI cleanup and reorg, one page per example 2013-03-09 03:44:02 +01:00
Sebastian Kügler
749e88af02 New test applet for shader experiments 2013-03-09 01:57:42 +01:00
Sebastian Kügler
64892e1c4e Use hideSource, Luke
And, dear Luke, don't implement the same in twenty eight lines that are
just one property away. RTFM, Luke.
2013-03-09 01:53:24 +01:00
Marco Martin
af6e538fa4 make the desktop scripting finally work
completely migrate to X-Plasma-ContainmentType from the desktop file, use it to set the containment type as soon as possible (in Containment::init())
in this way the desktop script can recognize panels as what they are immediately
2013-03-07 21:25:30 +01:00
Marco Martin
0830c5047b X-Plasma-ContainmentType is Desktop by default
so when searching for desktops also search those who don't have
2013-03-07 19:55:45 +01:00
Marco Martin
dc9075f157 ContainmentCategories -> X-Plasma-ContainmentType
containments can have one and only one type
2013-03-07 19:28:06 +01:00
Marco Martin
28a93f2c14 fully build panel.cpp except hiding 2013-03-07 17:56:57 +01:00
Marco Martin
cc142eddbc add desktop scripting files, use it
still partially stub
2013-03-07 17:39:10 +01:00
Marco Martin
5b7af5f117 make wallpaper configuration work after wallpaper switch 2013-03-07 16:59:32 +01:00
Marco Martin
f7e8fd5bcf reorganize and add config page for autumn 2013-03-07 15:40:49 +01:00
Marco Martin
18a663228f switch wallpaper plugins 2013-03-07 15:27:53 +01:00
Marco Martin
647e265b0e highlight current item 2013-03-07 12:47:34 +01:00
Marco Martin
5d05d06ae2 color picker collapsed by default 2013-03-07 12:01:29 +01:00
Marco Martin
4a5648edbc sync dialog size 2013-03-07 12:01:29 +01:00
Marco Martin
a4b22cc7d4 warnings-- 2013-03-07 12:01:29 +01:00
Marco Martin
e6eae78f06 propagate size hints 2013-03-07 12:01:29 +01:00
Marco Martin
7d79041e2a propagate size hints 2013-03-07 12:01:29 +01:00
Sebastian Kügler
b4fb6a0bde Falling leaves wallpaper plugin
Using QtQuick's particle shader to render a wallpaper.

change the wallpaperPlugin in your appletsrc to org.kde.autumn to try
it.

The code for the wallpaper has been borrowed from QtDeclarative
examples.
2013-03-07 05:50:01 +01:00
Sebastian Kügler
9bbb2f33f5 Use a shader to animate the applet's busy state
This is just an experiment to show how we can use shaders for our
animations within the containment. It seems to work nicely.

The shader code has been borrowed from the shadereffects example in Qt's
declarative module.
2013-03-07 05:37:48 +01:00
Sebastian Kügler
239fe72c47 Bigger buttons in Plasmoid Page
Easier to hit when the thing wobbles.
2013-03-07 05:28:44 +01:00
Sebastian Kügler
8856c16d1a show it's html 2013-03-07 02:43:51 +01:00
Sebastian Kügler
1a31c22e57 debug-- 2013-03-07 02:42:13 +01:00
Sebastian Kügler
5a30426e07 test mimedata attachment and transport from drag to drop area
Works for me.
2013-03-07 01:08:55 +01:00
Sebastian Kügler
37e3ef99f0 Make mouse interaction work
- events need to be accepted, otherwise they don't have effect on the
  drag, and it doesn't get released
- slightly more intelligent starting of drag, saves quite some cycles
  and is way more correct this way

The "attach pixmap of dragged item" is still disabled. This probably
needs to be rethought entirely. One option would be to ditch this class
in favour of QtQuick 2's Drag, DragEvent and DropArea. Food for API
discussion.
2013-03-07 00:26:39 +01:00
Sebastian Kügler
a77ae27de4 ws 2013-03-06 23:21:20 +01:00
Marco Martin
d25ba46ae7 display a color picker for wallpaper color config 2013-03-06 21:19:19 +01:00
Kevin Ottens
424868cecd Use the target name directly for now
kde4support doesn't yet use the same CMake magic than the other more
stable frameworks. So refer to it by its target name as exported by the
KDELibs4 module.
2013-03-06 19:00:10 +01:00
Marco Martin
6cede145d5 configview exposes more stuff for containments: subclass 2013-03-06 17:53:03 +01:00
Marco Martin
132adc7f21 possible to configure wallpapers != from current 2013-03-06 14:20:20 +01:00
Sebastian Kügler
068dadc6d2 this has to be k4aboutdata, after all (for now) 2013-03-06 03:41:48 +01:00
Sebastian Kügler
de312ff5d4 clean up, add myself to copyright 2013-03-06 03:40:18 +01:00
Sebastian Kügler
c777215222 show dnd status in widget 2013-03-06 01:28:26 +01:00
Sebastian Kügler
adc838008b update KAboutData semantics in shell 2013-03-06 01:28:08 +01:00
Sebastian Kügler
48447f631b link shell against kio 2013-03-06 01:27:37 +01:00
Sebastian Kügler
987d8ffc9d fix typo in includes 2013-03-06 01:22:00 +01:00
Marco Martin
67ce7f706e add kdeui 2013-03-05 20:14:01 +01:00
Marco Martin
dcd9954815 enable build of desktop scripting
it still doesn't do anything and needs porting away from deprecated classes
2013-03-05 19:17:22 +01:00
Marco Martin
0af1a25b5e move scripting into the shell 2013-03-05 17:48:01 +01:00
Marco Martin
2bbfc409fb move all in scripting 2013-03-05 17:48:01 +01:00
Aaron Seigo
1a356e638d default application: only return the executable and not the rest of the command line 2013-03-05 17:48:01 +01:00
Aaron Seigo
687babeb74 catch the new (in 4.10) Application case 2013-03-05 17:48:01 +01:00
Aaron Seigo
932e547cd9 immediately save immutability and geometry settings when setting
this prevents them getting nuked when also writing to the config with writeConfig
which in turn triggers a config reload (without those values!) later on
2013-03-05 17:48:01 +01:00
Rohan Garg
6095abcdbf Make sure the plasma desktop scripts are sorted in the correct order
Instead of sorting the scripts according to their absolute paths,
which would cause scripts installed by packages to always end at
the top, scripts should be sorted by their relative path i.e.
plasma scripts from each directory that occurs in the path
should be sorted and then merged together to form a super list

REVIEWED BY: Marco Martin
2013-03-05 17:48:01 +01:00
Marco Martin
7c6d8e8377 make sure scripts are executed sorted 2013-03-05 17:48:01 +01:00
Alex Fiestas
5f767127c7 Revert "make the type property writable (no wonder it wasn't documented on techbase!)"
This reverts commit a12d487bfc260dea2a9664a05b7c7de5e9d4593a.
2013-03-05 17:48:01 +01:00
Aaron Seigo
ffeb10641b make the type property writable (no wonder it wasn't documented on techbase!) 2013-03-05 17:48:01 +01:00
Aaron Seigo
5362e4e3b6 exclude user events during sleep
BUG:266092
2013-03-05 17:48:01 +01:00
Aaron Seigo
13164dd664 allow a subclass to define the default screen for the panel at runtime
CCBUG:262558
2013-03-05 17:48:01 +01:00
Aaron Seigo
365be18057 remove some header trash 2013-03-05 17:48:01 +01:00