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
Sebastian Kügler
dfbd1456e5
update porting script
2014-01-23 01:49:13 +01:00
Sebastian Kügler
a70dd8c299
theme.defaultIconSize moves to units.iconSizes.default
2014-01-23 01:47:42 +01:00
Sebastian Kügler
f6e495c76c
Spacing moves from theme to units
2014-01-23 01:30:28 +01:00
Sebastian Kügler
4da01ebce0
spacing hints move from theme to units
2014-01-23 01:26:19 +01:00
Sebastian Kügler
4094f01e22
Add theme iconsizes to units.iconSizes to porting script
2014-01-23 01:15:27 +01:00
Sebastian Kügler
d4902e2df2
Remove icon sizes from Plasma::Theme
...
They've moved into Units
2014-01-23 00:43:21 +01:00
Sebastian Kügler
cc7bd8e11e
Port from theme iconsize to units.iconSizes.*
2014-01-23 00:24:38 +01:00
Sebastian Kügler
e10b77f236
Move units from PlasmaComponents into PlasmaCore
2014-01-23 00:06:43 +01:00
Sebastian Kügler
7e5604cc56
icon sizes move into Units
...
They go into the propertymap, so are accessible now with
units.iconSizes.huge, units.iconSizes.large, etc.
2014-01-22 23:59:23 +01:00
Sebastian Kügler
34e66fa80e
add theme.iconSizes -> units.iconSizes to porting script
2014-01-22 01:47:59 +01:00
Sebastian Kügler
d51711edc6
Add dpi function from theme
...
printScreenInfo() has the debugging prints for now, removes random crap
from the shell output.
2014-01-22 01:36:30 +01:00
Sebastian Kügler
b89902c3e7
use units.* in testtheme applet
...
These calls have moved out of theme.
2014-01-22 01:35:20 +01:00
Sebastian Kügler
847a61b3d8
Delete ThemeProxy
2014-01-22 01:34:56 +01:00
Sebastian Kügler
e81db11f05
Export Plasma::Theme as theme, remove proxy class
...
The last bits have moved out of ThemeProxy, units is used for iconSizes,
which means we can finally directly use Plasma::Theme, and don't need a
ThemeProxy class anymore.
2014-01-22 01:33:26 +01:00
Sebastian Kügler
0c3e49866a
Add dpiScale property to dynamically scale the whole ui
2014-01-22 01:18:54 +01:00
Sebastian Kügler
53b4608327
Port examples to units.iconSizes
2014-01-22 00:41:02 +01:00