Marco Martin
308f59bc68
port to new api
2014-02-04 17:29:28 +01:00
Marco Martin
9275e84a99
add a Wallpaper attached property for wallpapers
2014-02-04 17:23:22 +01:00
Marco Martin
be4c13e627
call the import org.kde.plasma.plasmoid
2014-02-04 17:01:28 +01:00
Marco Martin
2a0384c3c7
keep locally applet and corona packages
...
less references to the corona()
2014-02-04 16:43:47 +01:00
Marco Martin
68f2de9ec3
correctly export containment properties
2014-02-04 16:18:45 +01:00
Marco Martin
362a5017b6
support a corona child of an applet
...
this is an ad-hoc thing for the systray, would be better not having something like that
2014-02-03 18:47:51 +01:00
Marco Martin
b68bbca6c8
check for validity
2014-01-31 20:03:33 +01:00
Marco Martin
89cb417e9f
propagate sizehints from mainItem
2014-01-31 19:59:45 +01:00
Marco Martin
856e16e803
safer sizehint propagation
2014-01-31 16:56:16 +01:00
Marco Martin
9e65dbc789
export compactRepresentationExpander
...
still have to decide if this is a really bad idea
2014-01-30 22:38:44 +01:00
Marco Martin
bf648ceeb6
default full component as the root component
...
if a fullrepresentation wasn't specified, use the root as fullrepresentation: item and component
2014-01-29 20:07:29 +01:00
Marco Martin
3a4093f15f
update porting script
2014-01-29 17:35:33 +01:00
Marco Martin
428c10e24c
fullrepresentation and the expander are created on demand
2014-01-29 17:09:43 +01:00
Marco Martin
2a37efbdb7
cleanups
...
move qmlobject initialization in appletloader
2014-01-29 16:20:39 +01:00
Marco Martin
012554d8d9
get rid of the old sizehint mechanism
2014-01-29 11:11:43 +01:00
Marco Martin
075d55c842
entation switching done by appletloader
2014-01-28 22:55:02 +01:00
Marco Martin
866fe43120
experiment with AppletInterface to be attached
...
Plasmoid.title etc would be attached properties to the root object instead of being a component itself
2014-01-28 18:26:46 +01:00
Aleix Pol
87a7db3063
Create a MimeDatabase component that maps QMimeDatabase
...
Makes it possible to figure out mimetypes from QML.
REVIEW: 115348
2014-01-28 15:04:19 +01:00
Sebastian Kügler
6dfb4f240b
Make setDevicePixelRatio(qreal) a simple slot
2014-01-28 13:49:23 +01:00
l10n daemon script
831357d98f
SVN_SILENT made messages (.desktop file)
2014-01-28 04:22:11 +00:00
Sebastian Kügler
789a40f15f
Merge branch 'master' into sebas/hidpi
2014-01-28 01:17:19 +01:00
Sebastian Kügler
2a217dff0a
Remove unneeded API
...
- dpi(QQI*) and printScreenInfo(QQI*) goes away, they're mainly useful for
testing.
- setDevicePixelRatio goes private
- clarify DPI computation
2014-01-28 01:15:38 +01:00
Sebastian Kügler
b7fcea471c
Add comment why we read the DPI the way we do
2014-01-28 00:17:32 +01:00
Sebastian Kügler
b102ae5e45
Complete apidocs for Units.
2014-01-27 19:51:08 +01:00
David Edmundson
3abddd8d99
Move python and ruby dataengine bindings from kde-workspace
2014-01-27 19:48:08 +01:00
Sebastian Kügler
b3a5d65580
Complete apidocs for Plasma::Theme
2014-01-27 19:41:39 +01:00
Marco Martin
2f4867bf0c
get rid of the old QtScript bindings
2014-01-27 19:27:59 +01:00
Aleix Pol
e019e293fa
Fix broken substitution expression
2014-01-27 19:00:40 +01:00
Sebastian Kügler
0928741416
A bit more text, conditional alignment
2014-01-27 18:22:54 +01:00
Sebastian Kügler
f374d2880d
Merge branch 'master' into sebas/hidpi
2014-01-26 23:39:00 +01:00
Sebastian Kügler
94540a4262
Workaround seems to have been accidentally disabled
...
This workaround is needed for applet internal qmldirs to be loaded.
Fixes crasher in notifications applet.
2014-01-26 23:24:07 +01:00
Sebastian Kügler
dfd1b554ad
disable enormous icon for now, it's a bit annoying at high settings :)
2014-01-25 03:41:45 +01:00
Sebastian Kügler
b1bc20259a
units.dp and units.du be gone
...
- They're not used
- They're conceptually broken and arbitrary to our scaling concepts
- The implementation as Q_INVOKABLE isn't very useful
2014-01-25 03:35:00 +01:00
Sebastian Kügler
c8ba9746f2
iconSizes.default be gone
...
This is used nowhere, so better get rid of it before someone gets the
idea.
Leaves us with only one non-scaled icon size. Maybe worth considering to
get rid of this as well, and let Folderview decide?
2014-01-25 03:30:45 +01:00
Sebastian Kügler
11e3d687d9
Remove dialog and toolbar icon sizes
...
Add FIXME for small icon alignment
2014-01-25 03:25:07 +01:00
Sebastian Kügler
da3a724634
units.dialog and .toolbar remove-by-script
2014-01-25 03:20:00 +01:00
Sebastian Kügler
f5d2066e76
Icons to test icon sizing in theme test plasmoid
2014-01-25 02:51:56 +01:00
Sebastian Kügler
124ae423c1
Scale units.iconSizes with dpi
...
This is still pretty rough. It seems to work fine for larger icons, but
smaller ones get misaligned. This will need some corrections, such as
locking the smaller sizes to 16, 22, 32, 48, 64, which should take care
of this issue.
With this change, parts of Plasma scale depending on the DPI. This is
noticeable in Kickoff.
2014-01-25 02:40:52 +01:00
Sebastian Kügler
a2baa1c7c7
Merge branch 'master' into sebas/hidpi
2014-01-24 23:38:37 +01:00
Bhushan Shah
3c0007db22
Provide KFormat wrapper in PlasmaCore for unit conversion
...
REVIEW: 115284
2014-01-24 22:28:04 +05:30
Sebastian Kügler
6d9022dca2
Use int for units.gridUnit
...
It was an int already anyway, so let's be true about this and also
return an int. This reflects pixel-alignment in the API, not just in the
implementation.
2014-01-24 12:33:39 +01:00
Martin Klapetek
c0f53545eb
Provide look&feel package by ShellCorona
...
REVIEW: 115256
2014-01-23 16:23:28 +01:00
Martin Klapetek
fc30bc6b52
Add OSD to look&feel package definition
...
REVIEW: 115257
2014-01-23 15:40:31 +01:00
Marco Martin
e0676f7501
use the new backgroundcontrast effect
2014-01-23 15:17:41 +01:00
Martin Gräßlin
188e421956
Do not overwrite the window type by calling setFlags
...
QWindow::setFlags is manipulating the same X property as
KWindowSystem::setType. Thus our setType never succeeded as the
setFlags overwrote the window type again. In the same way we
have to call setFlags when reverting to the default Normal type.
REVIEW: 115258
2014-01-23 14:26:59 +01:00
Sebastian Kügler
2a3a546f80
Play around with devicePixelRatio
...
This shows how the UI can react when used with different
devicePixelRatios.
2014-01-23 04:07:05 +01:00
Sebastian Kügler
e346c751ec
Allow to reset devicePixelRatio
...
Setting devicePixelRatio to 0 re-reads it and resets it to its default
value.
2014-01-23 04:05:45 +01:00
Sebastian Kügler
979dc0c25f
Add test for devicePixelRatio
2014-01-23 02:18:58 +01:00
Sebastian Kügler
cca8a86f98
Rename units.dpiScale to units.devicePixelRatio
2014-01-23 02:18:06 +01:00
Sebastian Kügler
f305950a80
Fix tooltip spacing
2014-01-23 01:50:37 +01:00