Commit Graph

6805 Commits

Author SHA1 Message Date
Aaron J. Seigo
f2af7e8087 kicon and qicon are treated differnetly internally by KPushButton, so we unforunately we need to provide an overload here
svn path=/trunk/KDE/kdelibs/; revision=1022998
2009-09-13 17:37:36 +00:00
Aaron J. Seigo
1b53393043 put it in the template too
svn path=/trunk/KDE/kdelibs/; revision=1022991
2009-09-13 17:17:02 +00:00
Aaron J. Seigo
9525a9a267 clean up the svg if we change the image strategy
svn path=/trunk/KDE/kdelibs/; revision=1022990
2009-09-13 17:15:56 +00:00
Aaron J. Seigo
45b39e84c4 * repaint the svg when the theme changes
* delete the svg before creating a new one
* only create a new svg object if the path has changed

svn path=/trunk/KDE/kdelibs/; revision=1022989
2009-09-13 17:13:55 +00:00
Aaron J. Seigo
0ab4b19c25 add press/release signals
svn path=/trunk/KDE/kdelibs/; revision=1022977
2009-09-13 16:50:00 +00:00
Marco Martin
5cc2ddf8ad always use plasma::theme font, unless somebody call setFont on the
widget
round one:widgets that draws themselves without native()-render()
and don't have a setFont function themselves

svn path=/trunk/KDE/kdelibs/; revision=1022897
2009-09-13 13:13:55 +00:00
Marco Martin
a827d621f8 use the plasma font...
unless someone called QGraphicsWidget::setFont()

svn path=/trunk/KDE/kdelibs/; revision=1022790
2009-09-12 15:05:39 +00:00
Andreas Kling
6e412aedd9 Fixed crash upon exiting a config dialog when compiled without ENABLE_REMOTE_WIDGETS
svn path=/trunk/KDE/kdelibs/; revision=1022715
2009-09-12 11:07:11 +00:00
Aaron J. Seigo
7d23823095 label the widgets section with a title as well
svn path=/trunk/KDE/kdelibs/; revision=1022572
2009-09-12 03:48:56 +00:00
Aaron J. Seigo
432ad10dbe clean up after a drop
svn path=/trunk/KDE/kdelibs/; revision=1022560
2009-09-12 02:38:10 +00:00
Sebastian Kügler
36b30b8751 Don't special-case local files for dropped content
Now all (local and remote) file drops use KIO to retrieve the mimetype.

svn path=/trunk/KDE/kdelibs/; revision=1022557
2009-09-12 01:44:01 +00:00
Aaron J. Seigo
0dca592af9 * use the size hint of the message and the size of the applet to decide whether or not to embed the message or pop it out
* parent the widgets properly (fewer warnings at runtime, yay!)
* --unhelpfulKDebug();

svn path=/trunk/KDE/kdelibs/; revision=1022545
2009-09-12 00:37:32 +00:00
Aaron J. Seigo
229deb1d29 if the applet is a popup applet and is in the panel and has a dialog then show messages in a popup as well
svn path=/trunk/KDE/kdelibs/; revision=1022543
2009-09-12 00:19:42 +00:00
Aaron J. Seigo
6297027cba harmonize this code a bit
svn path=/trunk/KDE/kdelibs/; revision=1022541
2009-09-12 00:18:57 +00:00
Aaron J. Seigo
b5d5a9a924 remove a bunch of dead code and some dptr member vars thanks to reliance on the kwin effects
svn path=/trunk/KDE/kdelibs/; revision=1022539
2009-09-12 00:18:26 +00:00
Script Kiddy
01f4349a78 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1022246
2009-09-11 09:37:48 +00:00
Aaron J. Seigo
a859eb502a use the font for the fontmetrics that it's actually painting with
svn path=/trunk/KDE/kdelibs/; revision=1022199
2009-09-11 03:17:42 +00:00
Artur Duque de Souza
6dab30af74 Use KUrl instead of plain QString to enable the use of
full urls like nepomuksearch:/ .

svn path=/trunk/KDE/kdelibs/; revision=1022157
2009-09-10 22:53:41 +00:00
Aaron J. Seigo
d1c51d506d put the whitelist in its own config key
svn path=/trunk/KDE/kdelibs/; revision=1022152
2009-09-10 22:26:14 +00:00
Marco Martin
01d626b7f4 toggle toolbox only if it was visible
svn path=/trunk/KDE/kdelibs/; revision=1022111
2009-09-10 20:31:45 +00:00
Marco Martin
fb365bfbf1 when an action is triggered really close the toolbox, don't just hide it
svn path=/trunk/KDE/kdelibs/; revision=1022109
2009-09-10 20:23:07 +00:00
Marco Martin
664a262df2 use the width of the largest word as the width size hint
svn path=/trunk/KDE/kdelibs/; revision=1022099
2009-09-10 19:55:29 +00:00
Marco Martin
f3ef2e4a0f SVN_SILENT: new line
svn path=/trunk/KDE/kdelibs/; revision=1021966
2009-09-10 11:46:21 +00:00
Marco Martin
842e0349a6 map the mose movement to the rotation part of the applet transform
svn path=/trunk/KDE/kdelibs/; revision=1021964
2009-09-10 11:45:19 +00:00
Laurent Montel
c89700f775 change extension to .cmake (as for other config-* files in kde)
svn path=/trunk/KDE/kdelibs/; revision=1021824
2009-09-10 07:26:04 +00:00
Marco Martin
ae59b63602 resize of rotated applets -almost- correct.. almost..
svn path=/trunk/KDE/kdelibs/; revision=1021737
2009-09-09 22:24:49 +00:00
André Wöbbeking
e1c7e86bcf compile without QCA
CCMAIL:r.scheepmaker@student.utwente.nl

svn path=/trunk/KDE/kdelibs/; revision=1021723
2009-09-09 21:54:31 +00:00
Dirk Mueller
92fc9efd2e fix build without libqca2 being available
svn path=/trunk/KDE/kdelibs/; revision=1021661
2009-09-09 18:47:11 +00:00
Marco Martin
f56a174cd3 map the movement to the rotation transform
svn path=/trunk/KDE/kdelibs/; revision=1021647
2009-09-09 18:08:00 +00:00
Rob Scheepmaker
19e7f85056 Check for supported features in QCA before actually using the stuff.
svn path=/trunk/KDE/kdelibs/; revision=1021634
2009-09-09 17:36:17 +00:00
Marco Martin
1e4746035f set margins around the icon dependent on the svg margins or on the
widget's contentsmargins if set

svn path=/trunk/KDE/kdelibs/; revision=1021623
2009-09-09 17:03:22 +00:00
Aaron J. Seigo
85defb5470 start of making the applet handle a child of the applet, stacked behind. a lot less code, preserves the geometry caches in the scene. also removes a ton of update() calls that aren't necessary these days. result -> a lot snappier/smoother. still some positioning bugs due to the change in parenting in the code, but definitely the direction we need to be going in.
svn path=/trunk/KDE/kdelibs/; revision=1021595
2009-09-09 16:14:20 +00:00
Rob Scheepmaker
c96119f4ed Rename the config.h.in to config-plasma.h.in for some added clarity.
svn path=/trunk/KDE/kdelibs/; revision=1021587
2009-09-09 15:37:03 +00:00
Rob Scheepmaker
602ef9280f Let's just use kdewallet instead of a seperate wallet for plasma.
svn path=/trunk/KDE/kdelibs/; revision=1021548
2009-09-09 13:47:51 +00:00
Rob Scheepmaker
34b9e01ac4 Make QCA2 an optional dependency for libplasma, so QCA2 can remain optional for all of kdelibs. Just disable remote widgets functionality if QCA2 is missing.
svn path=/trunk/KDE/kdelibs/; revision=1021543
2009-09-09 13:40:16 +00:00
Script Kiddy
020c8b65c6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1021469
2009-09-09 09:49:11 +00:00
Script Kiddy
9152009ce1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1021112
2009-09-08 08:36:21 +00:00
Aaron J. Seigo
a7336dc119 * if no config group is provided, use the app global one (compat with krunner, allows comfortable usage with e.g. plasmoids)
* allow setting the applet whitelist programmaticaly vs touching the config file directly

svn path=/trunk/KDE/kdelibs/; revision=1021048
2009-09-07 22:36:04 +00:00
Kevin Ottens
4f8e3e3333 Merging in relevant changes from the libplasma private fork. Porting
tests as required.

CCMAIL: r.scheepmaker@student.utwente.nl
CCMAIL: aseigo@kde.org

svn path=/branches/work/~ervin/qtjolie/; revision=1020942
2009-09-07 17:01:03 +00:00
Olivier Goffart
705b930ca3 Optimize the drawning of blur text.
Drawing the blur text takes 65% of the time while changing desktop on my desktop
(40 opened windows)

QImage::width() and QImage::height() are not inline, do not call them on a tight
loop or they consume 10% of the time.

Reviewed by Alexis



svn path=/trunk/KDE/kdelibs/; revision=1020918
2009-09-07 15:27:36 +00:00
Marco Martin
4fdea87216 put the overlay in popup for the setConfigurationrequired applets
busy spinner remains into the panel

svn path=/trunk/KDE/kdelibs/; revision=1020865
2009-09-07 11:59:09 +00:00
Marco Martin
38e309aec5 fix the configure overlay appearance - we want the contentsrect, not the
rect

svn path=/trunk/KDE/kdelibs/; revision=1020851
2009-09-07 11:24:35 +00:00
Dario Freddi
17970540c6 CCMAIL:kde-buildsystem@kde.org
CCMAIL:mueller@kde.org
CCMAIL:neundorf@kde.org

Commit coming after a long discussion with Alexander. Changing and moving KAuth macros,
updating documentation, fixing stuff that already used KAuth. Also, bumping up KDE revision,
KDE4WORKSPACE revision and make kdebase/workspace depend on the new 4.3.68 snapshot.

Mail me if you find anything strange, it's my first KDE version bump, so you know ;)

A big thank you to Alexander for all the help he gave on the cmake side of life.


svn path=/trunk/KDE/kdelibs/; revision=1020835
2009-09-07 10:28:45 +00:00
Aaron J. Seigo
d56c7a9106 NoBackground, so we can set it to the standar background and have it actually initialized
svn path=/trunk/KDE/kdelibs/; revision=1019994
2009-09-04 23:45:44 +00:00
Aaron J. Seigo
b32e268e15 meh; can't move these files into a subdir as-is; need to think of a more clever strategy
svn path=/trunk/KDE/kdelibs/; revision=1019657
2009-09-04 08:58:34 +00:00
Laurent Montel
f7ee34444f install runners in own directory
=> it fixes runtime/plasma/scriptengine/javascript

svn path=/trunk/KDE/kdelibs/; revision=1019631
2009-09-04 06:25:35 +00:00
Rob Scheepmaker
c69e570b68 Add "freely accessable for everybody" checkbox to the publish page in
the applet config.

svn path=/trunk/KDE/kdelibs/; revision=1019593
2009-09-04 00:08:26 +00:00
Rob Scheepmaker
fb14be1caa Add a checkbox to the publication ui.
svn path=/trunk/KDE/kdelibs/; revision=1019592
2009-09-04 00:08:22 +00:00
Aaron J. Seigo
860e54d92c support wallpaper drops
svn path=/trunk/KDE/kdelibs/; revision=1019584
2009-09-03 23:22:48 +00:00
Rob Scheepmaker
9e165484bc No more crashy crashy on timeouty timeouty.
svn path=/trunk/KDE/kdelibs/; revision=1019582
2009-09-03 23:04:10 +00:00