Commit Graph

10525 Commits

Author SHA1 Message Date
Sebastian Kügler
bb32d5b080 Port eventFilter to Qt5/QtQuick2
Now all events already caught by children also propagate into the
MouseEventListener, making it work completely as it should (tested).
2013-02-15 16:34:09 +01:00
Marco Martin
672b0bdfc1 experiment for a declarative config skeleton
maps a KConfigSkeleton to a QQmlPropertyMap, allowing a "declarative" use of configs

not sure will be an efficient approach enough but it seems to work correctly
2013-02-15 16:21:58 +01:00
Sebastian Kügler
ac5a34dfe4 DeclarativeItemContainer goes the way of the Dino 2013-02-15 16:12:42 +01:00
Marco Martin
99088c6669 use Credentials in ServiceJob again 2013-02-15 15:44:17 +01:00
Marco Martin
7be75cab65 restore authentication-related files
authentication was removed by mistake together remote widgets
2013-02-15 15:37:33 +01:00
Aaron Seigo
8978db179f add the testing package 2013-02-15 15:17:32 +01:00
Aaron Seigo
aea5627ef4 fix packagestructure test 2013-02-15 15:16:54 +01:00
Marco Martin
7cabcaa9ac use the actual Applet* cor contextualActions() 2013-02-15 14:30:43 +01:00
Marco Martin
962eaa98ab with what is the applet we want actions of
for the contextmenu
2013-02-15 14:16:49 +01:00
Marco Martin
065078b9c3 applets property as a list of plasmoid objects 2013-02-15 14:07:35 +01:00
Marco Martin
4049c092be create a simple context menu
It will have to use containment action plugins
2013-02-15 14:01:53 +01:00
Marco Martin
44699e7e0d make alpha blended panels work
unfortunately all windows must have alpha channel
2013-02-15 12:31:39 +01:00
Script Kiddy
102986ac28 SVN_SILENT made messages (.desktop file) 2013-02-15 09:09:26 +01:00
Sebastian Kügler
69dbc5a202 Finalize port of Locale bindings
Small, likely irrelevant API changes:

* removed: bool useTranscript(...)
* removed: QString translateQt(...)

has been removed in kdelibs as well, and is
removeAccelerator now uses KLocalizedString, and is expected to fully
work, so is isApplicationTranslatedInto().

Another module fully ported. :)
2013-02-15 05:32:47 +01:00
Sebastian Kügler
19d9a2b88b Port, build Locale bindings
This enables 90% of the Locale bindings. Some translation-related things
need changing.
2013-02-15 05:13:53 +01:00
Sebastian Kügler
e071a0fdd0 small cleanup 2013-02-15 04:05:58 +01:00
Sebastian Kügler
7a2828c7b3 Enable dataenginebindings: QScriptValues for engines 2013-02-15 04:04:51 +01:00
Sebastian Kügler
6c6acb9944 A whole bunch of types in PlasmaCore
This enables, ports where necessary, the rest of the DataEngine classes,
ServiceJob handling, and RunnerManager.

Now, more or less only Dialog and ToolTip are unported. Those will need
reimplementations for QtQuick2.
2013-02-15 04:01:53 +01:00
Sebastian Kügler
8fa8e6675b registerType SortFilterModel 2013-02-15 03:48:53 +01:00
Sebastian Kügler
879c0d68bf Load a DataSource - works 2013-02-15 03:47:07 +01:00
Sebastian Kügler
2ef90c4a12 Port, build and register DataModel 2013-02-15 03:46:49 +01:00
Sebastian Kügler
1c3ee1168a registerType DataSource 2013-02-15 03:36:00 +01:00
Sebastian Kügler
d8f9f8be9b Port Core.DataSource to Plasma2 2013-02-15 03:33:22 +01:00
Sebastian Kügler
3781fb6f6d elide title 2013-02-15 03:07:37 +01:00
Sebastian Kügler
d7ac446c43 Enable build of PlasmaExtras 2013-02-15 02:44:21 +01:00
Sebastian Kügler
64a396be18 Use some PlasmaExtras, Title, Heading, animations, appbackground
All seem to behave correctly. Huzzah. :)
2013-02-15 02:43:17 +01:00
Sebastian Kügler
e41d77f142 Don't jump around 2013-02-15 02:42:46 +01:00
Sebastian Kügler
b8ac0c045c Port PlasmaExtras to Qt5
The only thing missing is ResourceInstance, which needs KActivities
ported to Qt5 first. Otherwise, seems to work.
2013-02-15 02:41:31 +01:00
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