Commit Graph

980 Commits

Author SHA1 Message Date
Till Adam
4a2ed6f47e Fix the non-x11 build. 2012-12-24 17:03:09 +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
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
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
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
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
David Faure
d38be6f572 Merge remote-tracking branch 'origin/KDE/4.10' 2012-10-30 17:00:29 +01: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
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
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
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
David Faure
a10875eff2 Merge remote-tracking branch 'origin/KDE/4.10' 2012-09-28 10:33:44 +02:00
Giorgos Tsiapaliokas
737650febb expand the theme package in order to include *.svgz files
REVIEW: 106557
2012-09-25 01:06:02 +03:00
David Faure
ff40c9121d Merge remote-tracking branch 'origin/KDE/4.8' 2012-06-10 15:40:31 +02:00
Alex Merry
23b50f2dee Allow QML items to be associated with operations in Plasma::Service
QML items derive from QGraphicsObject, but not QGraphicsWidget.  We
actually only need QGraphicsObject (for the enabled property).

This allows calling (dis)associateWidget from QML (eg: in javascript
plasmoids) and passing in a QML item.
2012-05-11 11:55:48 +01:00
David Faure
ec0a040a4b Merge remote-tracking branch 'origin/KDE/4.8' 2012-02-16 12:05:02 +01:00
Dawit Alemayehu
fb0b49af8c Normalize all signal/slot connections.
REVIEW: 103728
2012-02-13 14:27:21 -05:00
David Faure
588300ee2d Merge remote-tracking branch 'origin/KDE/4.8' 2012-02-07 13:13:13 +01:00
Aaron Seigo
64f687dda0 hide tooltips on the applet when the handle is hovered 2012-01-27 15:34:01 +01:00
David Faure
3f743186cf Merge remote-tracking branch 'origin/KDE/4.7'
Conflicts:
	experimental/libkactivities
2011-12-20 11:16:18 +01:00
Aaron Seigo
ca915b0e6c allow resizing from both relevant corners of a popup dialog
also significantly cleans up the popup positioning code and fixes a
lurking bug where width() was used instead of height()

BUG:227095
2011-12-16 14:58:39 +01:00
Aaron Seigo
d6e06ff92d allow controlling the resize a bit more
this allows e.g. popupapplet to put constraints on where the edges of the window can resize to
and react differently when the user is actively resizing the dialog.

CCBUG:227095
2011-12-16 14:57:20 +01:00
Aaron Seigo
1b2d92c085 delay showing popups until the next processing of events
allows things like hidden panels to show before calculating where to show the popup

BUG:288999
2011-12-16 12:52:29 +01:00
Aaron Seigo
359cc3d68a the effect watcher is not blur specific 2011-12-08 12:54:28 +01:00
Aaron Seigo
fe2286c5da remove unecessary painting 2011-12-07 14:43:07 +01:00
Aaron Seigo
abd1d9ddba make shortcuts and sharing settings enable Apply; use a QWeakPointer forthe shortcuts widget 2011-12-06 17:36:39 +01:00
Aaron Seigo
27531a3173 the palette gets updated by all sorts of events on the scene now (incl. reparenting!), so make sure the palette is _really_ changing before marking it as custom
this fixes widget colours not updating with theme changes -> if, for instance, an offscreen widget is created, this results in a reparenting (to null)
and that in turn creates a palette changed event ... which was being intepretted as a custom palette being set and that would disable future updates
due to theme changes.

this also introduces a small helper which computes the palettes once for use by all widgets as a small performance improvement.

BUG:261967
2011-12-04 14:00:32 +01:00
Jaime Torres
2c5ec1a56a change return by break and then add a common return
removing dead code (part of review 103323)
2011-12-04 12:27:01 +01:00
Jaime Torres
be08974bfe remove dead code
remove dead code (see review 103323)
2011-12-04 12:25:46 +01:00
Aaron Seigo
97e4bd53d3 don't delete the kns3 dialog on application shutdown
BUG:288153
2011-12-03 21:22:45 +01:00
Aaron Seigo
f0498a9973 fix spinboxes
BUG:285224
2011-12-02 10:45:47 +01:00
David Faure
7cb65fb04e Merge remote branch 'origin/KDE/4.7' 2011-12-01 14:29:14 +01:00
Aaron Seigo
822243288d get rid of the text halos
they are (relatively) expensive and should be unnecessary now:
we have blur, it works well, and when we don't blur we use different backgrounds.

one more "take one thing off" while i'm futzing around in tooltips
2011-11-30 15:44:29 +01:00
Aaron Seigo
7e4883f3bb handle titles a little nicer: centered, no wrap for short titles 2011-11-30 15:39:29 +01:00
Aaron Seigo
3bf1d0d63d hide the label completely when no image is set. makes sure there isn't layout().spacing() extra padding 2011-11-30 15:19:29 +01:00
Aaron Seigo
9775682bef use a QWeakPointer with the graphics widget handed in as we don't own it 2011-11-22 13:29:02 +01:00
Aaron Seigo
0ac08ef001 Merge remote-tracking branch 'origin/KDE/4.7' 2011-11-22 12:54:36 +01:00
Aaron Seigo
f6f8d8b2ee when setAllowedRunners is called, call loadRunners, which now also allows for being called while a search is in progress
loadRunners intelligently only unloads those runners with are no longer to be loaded, so this is a performance win.
it now also checks to see if there are pending jobs for the runners to be deleted (if any) and if so it creates a delayed
deleter for them -> no crashes
2011-11-22 12:17:06 +01:00