Commit Graph

10363 Commits

Author SHA1 Message Date
Marco Martin
d784a91655 always rewrite icon settings on signal
we can't just check the desktop icon size, another size may have been changed
2012-12-03 17:59:59 +01:00
Aaron Seigo
f0ccabbc42 remove the windows when we know they can be removed
the destroyed() connection in shadows is really just a failsafe
2012-12-03 16:57:48 +01:00
Marco Martin
296f6505bf baloon-tip-* -> balloon-tip-*
fix typo in the item naming until we still can
2012-12-03 13:26:29 +01:00
Marco Martin
4afbe498f8 baloon-tip-* -> balloon-tip-*
fix typo in the item naming until we still can
2012-12-03 13:26:29 +01:00
Marco Martin
96df4d1eab add a picker item, for date and time pickers 2012-12-03 12:41:44 +01:00
David Faure
83ef1a3a3b Remove unused QX11Info includes 2012-12-02 13:06:32 +01:00
David Faure
d9b054b3bc Fix build after bad merge, by restoring these files to their frameworks version.
Aseigo told me to use "git checkout --theirs applet.h" in order to
"take the 4.10 version of the changes where there were conflicts",
but it turns out that this was very bad advice: it loses ALL the changes
ever made to the file in the frameworks branch.
CCMAIL: aseigo@kde.org
2012-12-01 10:11:55 +01:00
David Faure
bdb7251250 Merge remote-tracking branch 'origin/KDE/4.10' into frameworks
Conflicts:
	CMakeLists.txt [version]
	README [version]
	cmake/modules/CMakeLists.txt
	cmake/modules/FindKDE4Internal.cmake
	cmake/modules/FindNepomuk.cmake [git replaying an old conflict!]
	cmake/modules/KDE4Macros.cmake [automoc4 stuff, reverted]
	interfaces/ktexteditor/* [moved out]
	kdecore/services/kmimetype.cpp [hand-merged into kio/global.cpp]
	kdeui/util/kkeyserver.h
	kdeui/widgets/ktextedit.cpp
	kdewebkit/kwebwallet.cpp
	khtml/misc/enum.h [git got confused, me thinks]
	kio/kio/accessmanager.cpp
	kio/kio/hostinfo.cpp
	kio/kio/kprotocolmanager.cpp
	kio/kio/kprotocolmanager.h
	kioslave/http/http.cpp
	kioslave/http/http.h
	kioslave/http/tests/CMakeLists.txt
	kioslave/http/tests/httpheaderdispositiontest.cpp
	nepomuk/core/* [moved out]
	plasma/CMakeLists.txt
	plasma/applet.cpp
	plasma/applet.h
	plasma/dialog.cpp
	plasma/packagestructure.cpp
	plasma/popupapplet.cpp
	plasma/private/applethandle.cpp
	plasma/private/packages.cpp
	plasma/private/tooltip.cpp
	plasma/tooltipmanager.cpp
	plasma/widgets/videowidget.h
	staging/ki18n/src/klocalizedstring.cpp
	staging/kservice/autotests/kservicetest.cpp
	staging/kwidgets/src/utils/kglobalsettings.cpp
	tier1/solid/src/solid/backends/udisks2/udisksstorageaccess.cpp
	tier1/solid/src/solid/backends/upower/upoweracadapter.cpp
	tier1/solid/src/solid/backends/upower/upowerbattery.cpp
2012-12-01 00:57:38 +01:00
Marco Martin
51f0718292 use dialogs/background as background
retrieve with fallbackcomponent the one not "transparent" and not "opaque"

is an hack that has to be fixed in plasma2 when we have
2012-11-30 20:00:02 +01:00
Marco Martin
49f763b3d4 use dialogs/background as background
retrieve with fallbackcomponent the one not "transparent" and not "opaque"

is an hack that has to be fixed in plasma2 when we have
2012-11-30 20:00:02 +01:00
Marco Martin
222c969bdd make dialog size as small as possible
also, when to title text is shown, delete the title bar
2012-11-30 12:01:25 +01:00
Marco Martin
16662d5e4b remove the kdialog based querydialog
Dialogs are always plasma-themed, and if possible are inline.
only if there is not enough space (like in a panel) they get moved in a separate window
this removes quite some c++ usage and hopefully solves some layouting problems in dialogs
2012-11-30 00:03:49 +01:00
Marco Martin
57e77a8591 remove the kdialog based querydialog
Dialogs are always plasma-themed, and if possible are inline.
only if there is not enough space (like in a panel) they get moved in a separate window
this removes quite some c++ usage and hopefully solves some layouting problems in dialogs
2012-11-30 00:03:49 +01:00
Giorgos Tsiapaliokas
59e13182cb Move the docs into the right directory
REVIEW:107449
2012-11-29 16:24:01 +02:00
Marco Martin
8fd7502b2e fix typo
ong->png
2012-11-29 12:57:25 +01:00
Marco Martin
926db8913a icon for edit-delete 2012-11-28 19:58:30 +01:00
Kevin Ottens
c9da84f2cd Moving KLocalizedString and friends in a ki18n framework
The KTranscript plugin is for now shipped with the framework, but it'll
move with the integration plugin.
2012-11-28 17:14:13 +01:00
Marco Martin
03495debc4 check for elementId besides the file name 2012-11-28 16:05:46 +01:00
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