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
c91905047b
check for applet
2012-10-22 16:39:32 +02:00
Marco Martin
3c55ec6a25
manage buttons even if they are under applet shadow
2012-10-11 21:09:14 +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
Giorgos Tsiapaliokas
737650febb
expand the theme package in order to include *.svgz files
...
REVIEW: 106557
2012-09-25 01:06:02 +03: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
Dawit Alemayehu
fb0b49af8c
Normalize all signal/slot connections.
...
REVIEW: 103728
2012-02-13 14:27:21 -05:00
Aaron Seigo
64f687dda0
hide tooltips on the applet when the handle is hovered
2012-01-27 15:34:01 +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
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
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
Ben Cooksley
7f0e9fb3b2
Don't crash on exit.
...
BUG:284989
REVIEW:103202
2011-11-22 21:18:04 +13:00
Marco Martin
a70c17bc59
fix drawing of focusindicator of spinbox and combobox
...
use the proper prefix for drawing the combobox focusindicator
2011-11-08 12:57:46 +01:00
Aaron Seigo
176d4b896b
delay usage checks so quite disconnect/reconnects don't result in unecessary loss of data
...
(only to reload it again immediately thereafter...)
2011-10-30 10:35:29 +01:00
Aaron Seigo
97743420a0
add a wallpaper render that takes a pre-loaded QImage. FAR FAR faster than re-loading from disk if already in memory.
...
new API (new overload, really), but required to fix iperformance issues elsewhere, so considered a bug fix
2011-10-30 10:24:57 +01:00
Aaron Seigo
23784d26bb
less profanity
2011-10-30 01:58:11 +02:00
Marco Martin
ef069ab402
RSIP_OnMouseClick as Oxygen style does
2011-10-03 17:26:12 +02:00
Marco Martin
888a5753de
export data property to make it work in QML
2011-09-24 15:54:44 +02:00
Aaron Seigo
423ce0c356
don't emit addSource for a source being added in a sourceRequest event until the event is over
2011-09-01 19:07:22 +02:00
Marco Martin
37ac5105ab
fix resolution of paths w/ only a packageRoot+name
2011-08-31 12:53:09 +02:00
Aaron Seigo
79ad385f41
give applets with no qwidget or graphicswidget a chance to do something
2011-08-25 17:35:07 +02:00
Aaron Seigo
f285745318
make extender applets freel resize
2011-08-11 00:15:05 +02:00
Montel Laurent
9e314fde8d
Pedantic
2011-08-07 00:50:21 +02:00
Aaron Seigo
ef6b65c2b1
simplify
2011-08-07 00:50:20 +02:00
Aaron Seigo
45e428dec5
--deprecatedUsage;
2011-08-07 00:50:20 +02:00
Dawit Alemayehu
10dcf8ffc0
Fixed -Wunused-parameter compiler warning.
...
REVIEW: 101881
2011-08-07 00:50:19 +02:00
Aaron Seigo
5484609cd3
consolidate creation code; use the layout; don't hide dialog if already hidden
...
fixes a few annoyances in the system tray
2011-08-03 16:45:29 +02:00
Aaron Seigo
2e0b653b48
paint in parent coords, do events in local coords
...
this makes clicking on the window previews accurate (e.g. clicking at the top of them works)
also some code consistency when iterating over the collections and some cleanups
2011-07-11 21:48:44 +02:00
Aaron Seigo
9021634a1a
prevent triggering a crash in Qt's text layouting
...
also simplifies code as a fun side effect.
2011-07-11 21:48:44 +02:00
Aaron Seigo
66142028c0
move these around nicely
2011-06-03 13:13:19 +02:00
Aaron Seigo
dd122bc011
move applet handle handling (*cough*) to applet instead of contaiment
...
much cleaner and eliminates the possibility of odd crashes
BUG:253421
2011-05-28 00:23:37 +02:00
Aaron Seigo
13adc2ddd2
remove some dead code
2011-05-26 23:13:44 +02:00
Frank Reininghaus
a85aa04ffd
Fix storing binary data in StorageThread::save()
...
This makes the unit test plasma/tests/storagetest pass again :-)
2011-05-21 14:38:08 +02:00
Jeremy Whiting
4911e4b75c
Add QByteArray and QString wrappers around + as needed.
...
Fixes kdelibs building with Qt 4.8
2011-05-11 21:46:35 -06:00
Montel Laurent
640fb68785
Fix mem leak
2011-05-06 21:51:55 +02:00