Commit Graph

10624 Commits

Author SHA1 Message Date
Sebastian Gottfried
0ed74e50d0 QML Plasma Components: fix a bug in scrollbar anchoring
Scrollbars can only be anchored to the associated flickable if it is
their parent or they share the same parent. The plausibility check
for this condition had a bug exluding also the latter case. That's fixed
now.
2012-12-09 18:43:29 +01:00
Marco Martin
1fe39f1101 import the new default theme 2012-12-09 18:05:25 +01:00
Sebastian Kügler
ed54091b61 fix build of tests 2012-12-09 14:33:24 +01:00
Sebastian Kügler
e0fe19e5fb Implementation for async non-static package installation 2012-12-09 14:16:25 +01:00
Sebastian Kügler
8b6a248033 Package install and uninstall are now non-static async
Installation and uninstallation of packages is now done in an instance
of the package. The methods return a KJob* which can be used to track
progress and result. The real work is done in a thread in order to make
it possible to not block the UI.
2012-12-09 14:12:55 +01:00
David Faure
eaa9afe7e6 Merge remote-tracking branch 'origin/KDE/4.10' into origin-frameworks
Conflicts:
	kdeui/colors/kcolorbutton.cpp [ported to QColorDialog, let's hope it handle double-click...]
	kdeui/xmlgui/kxmlguiclient.cpp
	kio/kio/kprotocolmanager.cpp [reverted...]
	kioslave/file/file_unix.cpp [minor]
	plasma/dialog.cpp [gone -> changes ignored]
	plasma/tooltipmanager.cpp [gone -> changes ignored]
2012-12-07 16:04:32 +01:00
Marco Martin
d113473c2d don't look for kdewebkit
get rid of dialogshadows
2012-12-07 14:45:40 +01:00
Burkhard Lück
baf6c0ad84 rm man pages, moved to doc dir 2012-12-05 17:25:02 +01:00
Jacopo De Simoi
679d2f7cd8 "grey out" disabled labels 2012-12-04 17:34:57 +01:00
Marco Martin
45583af880 add clicked() signal
behavior more compatible with MouseArea
2012-12-04 13:39:19 +01:00
Marco Martin
0b5dece0f0 implicitWidthChanged is a signal, not a slot 2012-12-03 18:10:25 +01:00
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