Marco Martin
83baa3691e
theme.defaultFont.mSize api changed
...
QML2 has QFont directly binded, but doesn't have mSize, so move it to Theme
theme.defaultFont.mSize to theme.mSize(theme.defaultFont)
2013-03-11 17:06:05 +01:00
Marco Martin
74d1a62bdd
remove fonts from Plasma::Thmeme
...
replace FontProxy with default QFont QML2 bindings
2013-03-11 16:59:39 +01:00
Marco Martin
f07387267a
remove fontMetrics()
2013-03-11 16:08:37 +01:00
Marco Martin
d0b4b462f0
remove properties and invokables from Theme
2013-03-11 16:03:05 +01:00
Aaron Seigo
961dd4d6ce
make setting a custom max cache size work
...
replaces the data member for tooltip, which API has been removed
2013-03-11 14:35:47 +01:00
Aaron Seigo
30589b391a
double the size of the cache; i find that it gets fill on desktop too fast
2013-03-11 14:35:47 +01:00
Sebastian Kügler
f429f83153
typos--
2013-03-11 13:07:54 +01:00
Aaron Seigo
224946e394
less jumping around and desktop assumptions
2013-03-11 12:49:59 +01:00
Script Kiddy
68a2d5a229
SVN_SILENT made messages (.desktop file)
2013-03-11 08:40:05 +01:00
Sebastian Kügler
958fb30760
a few touch-ups
2013-03-11 03:23:40 +01:00
Sebastian Kügler
bd452c7b92
New page in testshaderdemo showing Shadow effects
2013-03-11 03:12:06 +01:00
Sebastian Kügler
905080a416
Pages with various effects for the Demo applet
...
This demo shows very simple and slightly more complex shaders used with
Plasma Components.
2013-03-11 02:10:39 +01:00
Script Kiddy
ca81fda6e7
SVN_SILENT made messages (.desktop file)
2013-03-10 08:58:07 +01:00
Script Kiddy
06156f798f
SVN_SILENT made messages (.desktop file)
2013-03-09 09:14:19 +01:00
Sebastian Kügler
39219a6567
a few more improvements to the shadertest
2013-03-09 06:00:25 +01:00
Sebastian Kügler
91339544ab
editor now does fragment and vertex shaders
2013-03-09 04:15:17 +01:00
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
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
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
3dee256411
get default containments and toolbox from package
2013-03-05 17:22:00 +01:00
Marco Martin
9e2240bd8c
get shell package from config
2013-03-05 16:44:13 +01:00
Marco Martin
0033cb5513
port away from kglobal
2013-03-05 16:10:45 +01:00
Marco Martin
8e7b77153e
port away from kglobal
2013-03-05 16:08:09 +01:00
Marco Martin
313bdb7d5e
adapt to api changes
2013-03-05 15:32:29 +01:00
Marco Martin
6043baef89
adapt to kaboutdata api changes
2013-03-05 14:43:14 +01:00
Marco Martin
53c161fb58
packages without structure are invalid
2013-03-05 14:23:52 +01:00
Marco Martin
8646393758
shell package partly working
2013-03-05 13:58:18 +01:00
Marco Martin
4746d9074e
add apluginloader for a custom package structure
...
probably this package structure goes into libplasma
2013-03-05 13:34:18 +01:00
Marco Martin
90cf52e6c6
remove shortcutsChanged()
2013-03-04 16:50:01 +01:00
Marco Martin
e49b58c95d
remove initializeLayout()
2013-03-04 16:48:17 +01:00
Marco Martin
759780ce3f
remove releaseVisualFocus
2013-03-04 16:33:59 +01:00
Marco Martin
55add92bf8
remove actionCollections and shortcut config dlg
2013-03-04 16:28:51 +01:00
Marco Martin
9f6fbec2f3
remove updateShortcuts() and addShortcut()
2013-03-04 16:25:37 +01:00
Marco Martin
bc3c23187d
remove containmentForScreen(int, QString, QVariantList)
...
this function is redundant, you can use containmentForScreen(int) then create a containment if returns 0
2013-03-04 16:18:06 +01:00
Marco Martin
585c1ec21e
remove appletMimeType()
...
addContainment becomes createContainment
2013-03-04 16:15:04 +01:00
Marco Martin
f4de55af67
use KAction from kde4support
...
it should buld again, usingkaction as type for kactioncollection
2013-03-04 15:46:47 +01:00
Marco Martin
79256d9931
remove AbstractDialogManager
2013-03-04 15:21:26 +01:00
Marco Martin
89d7cbd648
CoronaBase->Corona
...
Corona was renamed CoronaBase in early stages of plasma2 life, then back to Corona, remove all signs of CoronaBase
2013-03-04 14:56:55 +01:00
Aaron Seigo
3edcbc51a3
better name for the method, and the setter will be replaced by package content
2013-03-04 13:51:13 +01:00
Sebastian Kügler
efb57d45b9
fix typos
2013-03-04 13:43:23 +01:00
Sebastian Kügler
a1afc6644b
Fix typos in apidocs
2013-03-04 13:10:44 +01:00
Aaron Seigo
ec82e17b41
pretty? :)
2013-03-02 00:06:34 +01:00
Aaron Seigo
e9c25137e3
add a configmodel item to the package
2013-03-02 00:05:50 +01:00
Marco Martin
d1c4de17d8
animate color transition
2013-03-01 20:05:04 +01:00
Marco Martin
7064d02e1a
expose the wallpaper config to the config ui
...
there is still a serious problem: it is possible to configure only the currently loaded wallpaper plugin
2013-03-01 20:01:54 +01:00
Marco Martin
f5664e8b3f
try to add a config
2013-03-01 16:39:47 +01:00
Marco Martin
be06b06015
support for panel icon sizes
2013-03-01 16:11:08 +01:00
Marco Martin
6f5a593d91
WallpaperInterface for wallpapers
...
will be used to provide configuration access and a configuration UI
2013-03-01 15:11:08 +01:00
Marco Martin
fda16dee08
don't export AppletPrivate
2013-03-01 14:29:14 +01:00
Marco Martin
c3924c75b7
remove createConfigurationInterface
...
configuration interface stuff is done right now in the ConfigView class, right now in the qml scriptengine (may be moved to the shell eventually)
2013-03-01 11:36:58 +01:00
Marco Martin
099319a911
preliminary list of wallpaper plugins
2013-02-28 21:24:30 +01:00
Marco Martin
552437ca62
dummy pages for wallpaper and containment actions
2013-02-28 16:39:11 +01:00
Marco Martin
b88339cb4a
attempt to load different page set for containments
2013-02-28 16:33:44 +01:00
Marco Martin
d2d4faaa3e
hide choices when there is only one
2013-02-28 15:54:02 +01:00
Marco Martin
ea710003fc
a prototype, not used here for instant apply
...
on a desktop we will probably continue to have ok/apply/cancel buttons, on a ctive we will have instant apply, this commented code is a way to achieve this in a way that require no adaptation from the config pages whatsoever
2013-02-28 15:03:42 +01:00
Marco Martin
0b6770e2b2
Containment::addApplet -> Containment::createApplet
2013-02-28 13:32:47 +01:00
Sebastian Kügler
8a386d065c
add a bit of debugging info
...
which shows that we're getting wrong events right now. :/
2013-02-27 22:13:14 +01:00
Sebastian Kügler
3be712eacd
new test page for Drag & Drop
2013-02-27 22:13:14 +01:00
Alex Neundorf
f07a425546
-fix build, find ThreadWeaver via KF5
...
I thin using the variables is safer, this way you are somewhat guarded against changes
in the names of targets, and a typo leads to an empty variable, instead to
"ld: cannot find -lkcoreaddons" which looks very much like a missing normal library
Alex
2013-02-27 21:45:35 +01:00
Sebastian Kügler
3ee1474c17
draganddrop: all classes build and are enabled
2013-02-27 19:24:44 +01:00
Sebastian Kügler
b60983ca1f
Port DeclarativeDragDropEvent
2013-02-27 18:55:53 +01:00
Marco Martin
53df27b8b7
config.qml is a pure model, search in config/
2013-02-27 18:33:09 +01:00
Marco Martin
6458522bbc
migrate page loading to ConfigModel
2013-02-27 18:33:09 +01:00
Sebastian Kügler
4fc1dbef00
draganddrop: more porting, build some bits already
2013-02-27 17:59:03 +01:00
Marco Martin
872839ecf9
a simple model to parse config categories
...
ConfigModel will be used in the plasmoid config qml that defines a model for the categories of the config dialog
2013-02-27 17:41:31 +01:00
Sebastian Kügler
2168bdec75
no i18n right now
2013-02-27 14:54:55 +01:00