Commit Graph

10245 Commits

Author SHA1 Message Date
Marco Martin
7b6d50b3c6 fix scrollbar anchors
make scrollbar anchor to root, so the binding doesn't break at the moment of creation when they are parentless for a moment

also, clip the flickable, not the scrollares
2012-11-28 15:25:35 +01:00
Marco Martin
0d03bf21c8 get rid of the old image if we are not animating 2012-11-27 17:54:46 +01:00
Marco Martin
d177b0a31d react to enabled changed 2012-11-27 14:03:19 +01:00
Marco Martin
3d21d43182 set default meaningful implicitWidth/height
svgItem has naturalSize as implicit size
framesvgitem has the sum of their borders
2012-11-27 13:33:50 +01:00
Marco Martin
01e84b4483 make dialogs layout work a bit better 2012-11-27 12:26:35 +01:00
Marco Martin
ed4504f731 PlasmaCore.IconItem
remove the old private IconLoader
this takes care of rendering at the proper size, using a Svg when needed and animation when
2012-11-26 20:49:16 +01:00
Aurélien Gâteau
2a72e7efad Merge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10 2012-11-26 18:15:23 +01:00
Marco Martin
b353f6e7fb remove a couple of sizes 2012-11-26 11:35:53 +01:00
Marco Martin
171c795ac2 bind standard icon sizes (desktop, toolbar etc)
they should be preferred over smallIconSize, mediumIconSize etc
2012-11-26 11:24:09 +01:00
David Faure
bb64955b1c Oops, the "cache" resource is actually GenericCacheLocation
Fix porting docu and already ported code.
2012-11-23 23:38:38 +01:00
David Faure
c28900a1c0 Port EffectWatcher to QAbstractNativeEventFilter 2012-11-23 23:38:38 +01:00
Marco Martin
cafb39f1ba typo 2012-11-23 18:28:01 +01:00
Marco Martin
da4e133c6d Make enum values accessible as plasmoid.Planar etc
Any qml object that will be calles as an enum value, like Planar {} Application{}
etc will make enums inaccessible.
maintain them global, for retrocompatibility, but register them also under plasmoid
2012-11-23 18:26:02 +01:00
Marco Martin
edad4c4043 add Application formFactor 2012-11-23 17:46:52 +01:00
Marco Martin
b0bae5596c Application FormFactor 2012-11-23 17:07:48 +01:00
Jan Grulich
6a16643bf3 Delete download dialog when it is closed
When dialog is not deleted and you open it again, dialog is not re-downloaded

REVIEW:107413
2012-11-23 12:53:33 +01:00
Jan Grulich
ad15739641 Delete download dialog when it is closed
When dialog is not deleted and you open it again, dialog is not re-downloaded

REVIEW:107413
2012-11-23 12:45:22 +01:00
Marco Martin
8b313a1b79 ignore own events
only steal events of objects that are explicitely filtered
fixes the handle when is under the shadow
2012-11-22 18:58:17 +01:00
Marco Martin
7a9ca96135 move up the drag delegate 2012-11-22 13:15:46 +01:00
Marco Martin
d332669af8 call ChangeableMainScriptPackage::initPackage()
call parent method in subclass this fixes packagestructuretest
2012-11-21 18:10:51 +01:00
Marco Martin
9ad97e680a remove wallpaper files 2012-11-21 15:30:50 +01:00
Marco Martin
e15217f645 remove dependencies from WallPaper 2012-11-21 15:30:50 +01:00
Aaron Seigo
9303b7592a add missing /, now it finds platform specific qml properly 2012-11-19 18:09:51 +01:00
Aaron Seigo
f297f1fee6 if the *target* is 2x the size of the popup, then left align 2012-11-19 15:19:09 +01:00
Aaron Seigo
a265864a30 note properties that are constant 2012-11-19 13:31:14 +01:00
Marco Martin
3a307ee465 if popup is more than double icon, center align
in vertical panels, align center when the popup height is > than double the icon height
otherwise, center when is more then icon width
2012-11-19 10:57:54 +01:00
Chusslove Illich (Часлав Илић)
d60e4e5a4a ki18n framework split out of kdecore. 2012-11-18 20:26:13 +01:00
Marco Martin
2cda92af4c correct the margins
react to scrollbars being visible or invisible
correct margins of the borders
2012-11-16 17:22:38 +01:00
Marco Martin
b5eacc597d dialogshadows belongs to tooltipmanager
tooltips are created/destroyed too often, this saves same deletions and recreations
2012-11-16 16:08:46 +01:00
Marco Martin
fef6c3b7f5 less debug, element prefix in ctor 2012-11-16 16:08:46 +01:00
Marco Martin
110561fae7 send smaller pixmaps for disabled borders 2012-11-16 16:08:46 +01:00
Marco Martin
8683a0c52c use kwin for dialog shadows if possible
if the dialog svg has a separate element for shadows, use those and tell kwin to draw them
same method already used for panels
2012-11-16 16:08:45 +01:00
Aaron Seigo
4d6f91067a apidox for new methods 2012-11-14 11:36:01 +01:00
Aaron Seigo
b75080eb57 remove ContainmentActions::event, replace with triggering methods 2012-11-14 11:36:01 +01:00
Aaron Seigo
471e1b82f5 remove unused 2012-11-14 11:36:01 +01:00
Allen Winter
78848d5d50 initialize m_left, m_top, m_right and m_bottom to make valgrind happy. 2012-11-12 19:01:55 -05:00
Sebastian Kügler
74b0e0bd98 debug-- 2012-11-12 01:44:51 +01:00
Lamarque V. Souza
f711c9378d Make Keys.* event handlers work in PlasmaComponents.TextField. 2012-11-10 14:47:07 -02:00
Aaron Seigo
6662b81c58 get rid of ContainmentActions::isInitialized() 2012-11-09 18:55:23 +01:00
Aaron Seigo
95cca61920 without script support, no point 2012-11-09 18:55:23 +01:00
Aaron Seigo
a81c44d376 properties++ 2012-11-09 18:55:23 +01:00
Aaron Seigo
84b3eaf0c1 just collecting all the dead code into a pile to burn 2012-11-09 18:55:23 +01:00
Aaron Seigo
05479087de remove some now-dead code 2012-11-09 18:55:23 +01:00
Aaron Seigo
cf2858a893 no more popup position; this is handled by the GSS 2012-11-09 18:55:23 +01:00
Aaron Seigo
7d0de68cd4 method begone 2012-11-09 18:55:23 +01:00
Marco Martin
211adcff1d remove sizeHintChanged() 2012-11-09 16:48:15 +01:00
Marco Martin
b8ebd78cbc remove geometry functions from Applet
size, size hints, transform and zValue
2012-11-09 16:45:03 +01:00
Marco Martin
b828bcb578 remove acceptDrops/setAcceptDrops() 2012-11-09 16:12:05 +01:00
Marco Martin
68de44f1dd remove containment's geometry function
also remove from the config restore
2012-11-09 16:12:05 +01:00
Aaron Seigo
a265ad7dbb remove paste
this will need to be provided via a drop action from the graphical system
containment implementation
2012-11-09 15:59:52 +01:00