Commit Graph

10597 Commits

Author SHA1 Message Date
Sebastian Kügler
72ebf77b53 PlasmaExtras: switch imports to QtQuick 2.0 2013-02-15 02:11:38 +01:00
Sebastian Kügler
9ce105e692 Add a test page for MouseEventListener 2013-02-15 01:40:33 +01:00
Sebastian Kügler
cf04f4591b Port MouseEventListener to QtQuick2
All those signals work, I'm not quite sure what the eventFilter is used
for, the Item seems to work just fine without it. I've left it disabled
for now, maybe we can kill this code?

CCMAIL:mart@kde.org
2013-02-15 01:38:40 +01:00
Sebastian Kügler
57bac0cdaa register types for {QImage|QPixmap}Item 2013-02-15 00:24:30 +01:00
Sebastian Kügler
a283134b3e Port QtExtras.QImageItem to Qt5, enable build 2013-02-15 00:20:01 +01:00
Sebastian Kügler
49dee59515 Port QtExtras.QPixmapItem to Qt5, enable build 2013-02-15 00:16:21 +01:00
Sebastian Kügler
7528bbba38 Fixing the typo (leading / before src) is good enough 2013-02-14 21:28:36 +01:00
Sebastian Kügler
f7b4e76e47 Fix include path for CamelCase headers 2013-02-14 21:18:34 +01:00
Marco Martin
9089947ace use a different qml file for the panel view 2013-02-14 21:14:04 +01:00
Marco Martin
7f368317ca add camelcase include in top level 2013-02-14 20:51:49 +01:00
Marco Martin
dc5ccd2d76 be quiet 2013-02-14 19:56:36 +01:00
Marco Martin
8b5ea692b3 add another include dir 2013-02-14 19:47:08 +01:00
Marco Martin
4e44bc4c31 support for containment type in the desktop file
add a test panel containment
2013-02-14 19:12:11 +01:00
Sebastian Kügler
14e3446a10 add binarydir/src to includes, for plasma_exports.h 2013-02-14 17:41:49 +01:00
Sebastian Kügler
fe528a6fea Fix up include dirs 2013-02-14 17:32:41 +01:00
Sebastian Kügler
7dfe957e66 The Big Move
All cpp code moves into the src/ subdirectory, as the Frameworks policy
suggests.

Directory structure should now be in line with other, future frameworks.
2013-02-14 17:17:12 +01:00
Marco Martin
613f373118 attempt to make the panel work
FIXME: setting transparency doesn't seem to work.
it works correctly only if done in the View constructor, not the PanelView one
2013-02-14 15:47:52 +01:00
Sebastian Kügler
d105b1bd3f remotewidgetshelper and plasma-remote-helper be gone 2013-02-14 15:22:30 +01:00
Aaron Seigo
af4103bac1 make GenericPackage the superclass for Plasmoid
the hierarchy was a bit inverted; this allows GenericPackages to
carry a few less Plasmoid-specific items without changing any other
behaviour.

uses of Plasma/Generic will need to bear in mind that they are not
using Plasmoids. this opens doors to more appropriate and easier
flexibility for other package types we ough to have, e.g. Wallpaper
2013-02-14 14:48:13 +01:00
Aaron Seigo
18032ee658 fix test 2013-02-14 14:48:13 +01:00
Aaron Seigo
ab49b861e9 someone forgot to remove something :) 2013-02-14 14:48:13 +01:00
Marco Martin
99df361ebb basic panelView separed from the desktop view 2013-02-14 14:40:24 +01:00
Marco Martin
b2d1493e74 crash-- 2013-02-14 14:40:24 +01:00
Aaron Seigo
50d2347d2f animations are no longer separate js bits as they were in libplasma1 2013-02-14 14:13:08 +01:00
Marco Martin
db078f8b53 basic support for wallpapers 2013-02-14 14:00:31 +01:00
Marco Martin
75ca61159f remove ScriptEnv
ScriptEnv as it was cannot work anymore.
it's needed something that can replace it at least for event listeners (if we want to keep them)
2013-02-14 12:11:37 +01:00
Marco Martin
b6ae310780 toolbox works again, simplify creation 2013-02-14 12:00:53 +01:00
Marco Martin
21d96f9dbf icon in popup, plasmoid exposes icon and title 2013-02-14 11:15:14 +01:00
Sebastian Kügler
dc814d02d2 Two pages in a tabbar. Works. 2013-02-14 06:09:07 +01:00
Sebastian Kügler
2e9a8b7051 enable a stripped, non-functional mouseventlistener 2013-02-14 06:08:29 +01:00
Sebastian Kügler
81302acf9d Fix namespacing
It seems QtQuick2 is more picky about imports inside components in the
same directory (i.e. import "."). We can work around this, however, by
putting it in a namespace.

Makes all the values in enums.h accessible, and generally not error out
when we're importing ".".
2013-02-14 06:01:29 +01:00
Sebastian Kügler
5aed151284 cleanup 2013-02-14 05:17:33 +01:00
Sebastian Kügler
06db4ac521 Add a few buttons 2013-02-14 04:34:46 +01:00
Sebastian Kügler
b6715b6e6f Make zero sized icons valid
Fixes icons in Buttons

Ported from kde-runtime fbbec602e90ed8f99e93605
2013-02-14 04:33:26 +01:00
Sebastian Kügler
cdc45bc7ca Add some icons 2013-02-14 04:09:35 +01:00
Sebastian Kügler
cd162effba clean up the random items 2013-02-14 04:09:23 +01:00
Sebastian Kügler
e26434648a enable installation, add stub to add applet programatically 2013-02-14 03:39:29 +01:00
Sebastian Kügler
86d7c96a28 Applet used to test components and imports 2013-02-14 03:39:02 +01:00
Sebastian Kügler
83b8ef9ac5 small header improvement 2013-02-14 03:16:06 +01:00
Sebastian Kügler
f58243f2a5 applet geometry reacts to background changes 2013-02-14 02:24:14 +01:00
Sebastian Kügler
a43d85cf3f Add a QIconItem to the containment, works :) 2013-02-14 02:08:33 +01:00
Sebastian Kügler
1d666bfcb1 Enable build of QtExtras, make it build, install
ColumnProxyModel and QIconItem work, more pending.
2013-02-14 02:07:37 +01:00
Sebastian Kügler
9864f15c56 Use QIcon 2013-02-14 00:46:18 +01:00
Sebastian Kügler
f4dbc62264 Fix IconItem loading of icons 2013-02-14 00:43:34 +01:00
Aaron Seigo
29878b42ab header cleanup 2013-02-13 22:30:20 +01:00
Aaron Seigo
5389d11483 cleanups of headers 2013-02-13 22:30:12 +01:00
Aaron Seigo
0846a611e9 put ContainmentInterface into its own file
also try and get rid of a few unneeded headers
2013-02-13 22:26:50 +01:00
Aaron Seigo
3b6f014824 implement downloadPath, port to QStandardPaths 2013-02-13 22:26:49 +01:00
Marco Martin
55d23cddb6 undefinded warnings-- 2013-02-13 21:56:06 +01:00
Marco Martin
54f0fc4926 remove ContainmentPrivate::initApplets 2013-02-13 21:48:25 +01:00