Commit Graph

7001 Commits

Author SHA1 Message Date
Aleix Pol
463d467f85 Translate \n into <br/> for error messages
This way we can display the error message like it was meant to be read.

REVIEW: 108123
2013-01-10 04:54:31 +01:00
Script Kiddy
362ba9245c SVN_SILENT made messages (.desktop file) 2013-01-03 07:37:34 +01:00
Aleix Pol
d391a907e1 Reduce warning
Don't add graphics items twice to the scene.
Reparenting already sets the scene.

REVIEW: 108079
2013-01-02 18:38:04 +01:00
Marco Martin
8db20e64c7 consider also declarative items for parentSize
this fixes applets collapse in the new qml systray
2012-12-28 18:45:37 +01:00
Weng Xuetian
cc24f1839a fix tooltip shadow problem.
avoid confusations between the deleted window size and the "dirty" area.

BUG: 311502
REVIEW: 107905
2012-12-26 11:28:35 -05:00
Till Adam
4a2ed6f47e Fix the non-x11 build. 2012-12-24 17:03:09 +01:00
Script Kiddy
5fb13bf6a3 SVN_SILENT made messages (.desktop file) 2012-12-24 09:00:41 +01:00
Script Kiddy
94cc720c8e SVN_SILENT made messages (.desktop file) 2012-12-23 07:56:22 +01:00
David Faure
c8734602b8 Use non-deprecated types and methods:
WFlags -> WindowFlags (it's a typedef, and it's BC, nm says QFlags<Qt::WindowType>)
toAscii -> toLatin1
fromAscii -> fromLatin1
as suggested by Treeve Jelbert on kde-frameworks-devel
2012-12-13 11:58:53 +01:00
Aurélien Gâteau
aaa7ea1580 Not being able to load an applet is worth a kWarning()
Especially since the error message is not exposed anywhere else.
2012-12-11 16:50:12 +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
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
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
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
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
Aleix Pol
bb2688392a Reduce many connect() warnings when loading Declarative plasmoids.
Right now, every QML plasmoid can provide a number of properties
(6, actually) to specify some size hints (maximum, minimum and
preferred).
If you don't provide those properties you get many warnings because
of the missing changed connections. This patch removes such warnings
by making sure the property is present before connecting and querying
the property at all.

REVIEW: 107261
2012-11-09 13:42:01 +01:00
Marco Martin
e74f60745a revert 1d167ffa8fe1e79aec2f7b94b78e6910fb7a42bf 2012-11-06 00:32:22 +01:00
David Faure
2857183e22 Merge remote-tracking branch 'origin/KDE/4.10' 2012-11-02 14:26:38 +01:00
Aaron Seigo
e30067518f required to lower memory consumption for PA4 2012-11-02 13:46:55 +01:00
Aaron Seigo
259c155c9b prepend "platformcontents" as per the plan 2012-10-31 15:59:01 +01:00
Aaron Seigo
70e4734eda use KDeclarative to determine the platform paths 2012-10-30 21:32:01 +01:00
Aaron Seigo
80ca71fd98 minor improvements 2012-10-30 21:32:01 +01:00
Aaron Seigo
6cbf841376 ensure that prefixes all have a trailing slash
why? because the rest of the code assumes that (for performance reasons)
2012-10-30 21:32:00 +01:00
David Faure
d38be6f572 Merge remote-tracking branch 'origin/KDE/4.10' 2012-10-30 17:00:29 +01:00
Aaron Seigo
8af1a4d2f1 prep newly loaded runners if we're running a match 2012-10-25 21:18:59 +02:00
Christoph Feck
3f1e310891 Merge branch 'KDE/4.9' into KDE/4.10 2012-10-25 04:27:27 +02:00
Marco Martin
c91905047b check for applet 2012-10-22 16:39:32 +02:00
David Faure
3b2a1d8d71 Merge remote-tracking branch 'origin/KDE/4.10' 2012-10-19 11:57:19 +02:00
Montel Laurent
fead6ece87 Merge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10 2012-10-18 20:49:50 +02:00
Marco Martin
acdbe4556c for small sizes, paint icons in a standard size
fixes blurry icons in the panel
2012-10-18 19:41:56 +02:00
David Faure
445ccb0bc7 Merge remote-tracking branch 'origin/KDE/4.10' 2012-10-13 18:31:40 +02:00
Montel Laurent
4eeaf0d718 erge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10 2012-10-11 22:35:29 +02:00
Marco Martin
3c55ec6a25 manage buttons even if they are under applet shadow 2012-10-11 21:09:14 +02:00
Montel Laurent
2118a77f73 Merge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10 2012-10-10 23:18:56 +02:00
Jaime Torres
0e45385db4 avoid a possible null pointer ussage
propAnim has been already checked for not being null, but was not
checked here.

REVIEW: 106782
2012-10-10 19:11:21 +02:00
Jaime Torres
7209fa02e8 set directly this to the variable
instead of o=null and o=this
2012-10-10 19:10:25 +02:00
Jaime Torres
a4f54d65dd change order between delete d and assign property to parent d
probably nothing changes
2012-10-10 19:09:29 +02:00
Jaime Torres
fe259f19bb include missing initializations
an uninitialized variable can be the origin of several bugs.
unfortunately, not the one I suffer.

REVIEW: 106781
2012-10-10 19:07:06 +02:00
Marco Martin
3cd6781dca fix handle geometry
in case of big shadows check for a hint about shadow size
always draw full frame for applets with no background
2012-10-10 15:38:43 +02:00
Montel Laurent
8aae14cde8 Merge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10 2012-10-09 22:01:47 +02:00
Marco Martin
bab9b0a1a3 don't put buttons if the theme doesn't have any 2012-10-09 18:21:01 +02:00
Marco Martin
95682718bf hint-scrollbar-size element for scrollbar width/height 2012-10-09 17:49:23 +02:00