Commit Graph

2456 Commits

Author SHA1 Message Date
Aaron J. Seigo
bd4c5669a8 respect immutability on panel creation; there's no way to add panels at runtime anymore, but at least this way the locking is respected if somehow one manages to do so.
BUG:165139

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825672
2008-06-28 23:50:43 +00:00
Aaron J. Seigo
cd2feaca66 while writing documentation it occurred to me that the colors file is the wrong place for this: it must be possible to define a wallpaper and colors separately
also put the checking for wallpapers in the theme into theme initialization instead of doing it on every wallpaper lookup

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825612
2008-06-28 20:20:22 +00:00
Aaron J. Seigo
bb1aabc5bf add the wallpapers path to the theme package metadata
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825609
2008-06-28 20:13:28 +00:00
Aaron J. Seigo
96c004fc9d SVN_SILENT: didn't mean to leave this debug output activated
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825597
2008-06-28 19:08:14 +00:00
Aaron J. Seigo
f4b17accac Plasma::Theme::wallpaperPath(const QSize&)
a nice improvement that fixes a small handful of packaging bugs and nuisances.
it allows us to do away with harcoding the wallpaper in multiple places (previously 3 places) in application code. as an extra bonus is also allows:

* the theme to define the default wallpaper
* the theme to ship with a default wallpaper (perhaps later on we can load wallpapers shipped with a theme in the config dialog?)
* the default wallpaper to defined in the plasmarc file (so downstream doesn't have to hack the code to change it)

CCMAIL:panel-devel@kde.org
CCMAIL:kde-artists@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825592
2008-06-28 18:57:12 +00:00
Aaron J. Seigo
77214a87b3 make this public for the script writers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825545
2008-06-28 16:02:08 +00:00
Script Kiddy
443dbfce69 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825215
2008-06-27 16:03:42 +00:00
Laurent Montel
17d7e040ff Tag as devel element
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825016
2008-06-27 06:45:00 +00:00
Aaron J. Seigo
07d6548471 simplify this code, remove a bunch of duplication, re-order the calls in what should be the safest ordering and, most importantly for the bug report, remove the scene event filter from the handle immediately
CCBUG:164849

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824875
2008-06-26 19:23:07 +00:00
Richard Dale
64016f5660 * Oops, got move and copy error messages round the wrong way.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824862
2008-06-26 18:39:52 +00:00
Aaron J. Seigo
6c96501e15 make package installation work; test passes now.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824846
2008-06-26 18:09:45 +00:00
Aaron J. Seigo
3bd5f495e0 test passes now
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824841
2008-06-26 17:59:49 +00:00
Richard Dale
41d8ae9752 * If an archived package is being installed use KIO::file_copy() to move it to the destination. If
it is a directory, use KIO::copy() to copy the directory heirarchy over instead.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824785
2008-06-26 16:30:40 +00:00
Script Kiddy
2299f72880 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824402
2008-06-25 17:27:50 +00:00
Aaron J. Seigo
350bb8c48e AppletScript::shape()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824153
2008-06-25 00:33:46 +00:00
Script Kiddy
4f25215729 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823977
2008-06-24 14:18:37 +00:00
Marco Martin
ccd106ac36 let's try to fix this just another time.
don't remove the scene event filter on start fading otherwise the
previous fix will work a single time.
(really need to kill this file some day:)

BUG: 164628

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823868
2008-06-24 12:11:17 +00:00
Sebastian Sauer
1c59c73ae2 Don't assert since it's tmp and not temp ;)
But it doesn't work yet anyway cause we don't pass install/remove commands around.
BUG:164411


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823774
2008-06-24 05:22:06 +00:00
Aaron J. Seigo
2fc9fca715 make setConfigurationRequired match setFailedToLaunch by adding a reason string. this allows more than just a mysterious "Configure" button. thanks to Chani for spotting the API irregularity.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823770
2008-06-24 03:17:38 +00:00
Aaron J. Seigo
8a974f0f46 small changes that make the code more readable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823769
2008-06-24 03:16:33 +00:00
Aaron J. Seigo
03d7946373 update with the theme
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823768
2008-06-24 03:15:56 +00:00
Marco Martin
f359a0f551 removes the modifications of the maximum and minimum size hints made in
flushPendingConstraintsEvents, now it changes only the sizepolicy
and the enforcing is done by returning the proper values in sizeHint.
ConstrainedSquare behaves like square with sizes less than
Liconloader::sizeLarge, otherwise the size is not much controllable and
would be hard to have the right (not blurry) icon sizes when the panel
is not so big

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823640
2008-06-23 18:49:10 +00:00
William Viana Soares
f8aa360b28 Replaced wrong signal name from wrong class (probably qt api change). Now the widget works again.
CCMAIL: aseigo@kde.org


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823375
2008-06-23 07:50:33 +00:00
Aaron J. Seigo
0a89bbc5ea BIC change, but necessary. i found a very valid case for this being virtual (sadly)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823337
2008-06-23 04:26:13 +00:00
Aaron J. Seigo
b114545f24 don't accept drops hovered not right on us (how silly is it to have graphicsitems transparent to rejected drops?!)
BUG:164469

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823313
2008-06-23 00:13:03 +00:00
Aaron J. Seigo
587e0f8418 initialize the running applets
BUG:164397

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823260
2008-06-22 22:06:43 +00:00
Richard Dale
eb2b4126ae * Fix typo in warning message, and make the english scan a bit better
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823161
2008-06-22 17:29:59 +00:00
Marco Martin
303f63d45f control the disappear of the handle with another timer
since moving the mouse too fast over the handle could lead to a lost
hover leave event start a singleshot, when it ticks check if the mouse
is still on the handle

BUG: 152797

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823054
2008-06-22 13:47:04 +00:00
Script Kiddy
ea91d7aeec SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=822978
2008-06-22 10:35:45 +00:00
Pino Toscano
9c0bfd3e6f initialize in the correct order
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=822748
2008-06-21 10:39:03 +00:00
Pino Toscano
abcf85970e QUrl is needed here
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=822732
2008-06-21 09:32:15 +00:00
Marco Martin
7d0889002c only emit pressed when the press event is inside the widget, don't know
why it got passed in the first place but caused kickoff to being
activated when clicking on the taskbar on some circumstances

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=822626
2008-06-20 20:48:49 +00:00
Marco Martin
b79b52624e when no element id is specified paint the svg with its own size
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=822139
2008-06-19 10:15:09 +00:00
Script Kiddy
04ff38bba3 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=822007
2008-06-18 21:37:23 +00:00
Aaron J. Seigo
bc20a02b4a respond when sycoca changes. sorting goes all to hell at this point, but i don't have time right now to figure out why. at least we respond to new entries =)
BUG:152530

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821611
2008-06-17 23:33:27 +00:00
Aaron J. Seigo
2fd0d567cc don't need the #s
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821610
2008-06-17 23:32:36 +00:00
Aaron J. Seigo
67a38e23e8 not much point in having tests if they aren't build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821607
2008-06-17 23:21:39 +00:00
Aaron J. Seigo
aa733dd6ee support multiple drag from applet browser and multiple drop on containment
someone went to all the trouble to make the pixmap painting cute for the multiple situation, but didn't do the actual drag bit =P
BUG:164342

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821594
2008-06-17 22:20:14 +00:00
Aaron J. Seigo
97be4fc11b listen to Containment::appletRemoved for the applet count
BUG:164335

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821592
2008-06-17 21:55:35 +00:00
Aaron J. Seigo
9e1a1a0ed3 emit appletRemoved when moving an applet, too.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821589
2008-06-17 21:54:43 +00:00
Aaron J. Seigo
83e1b75978 SVN_SILENT: less noise
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821585
2008-06-17 21:43:55 +00:00
Aaron J. Seigo
28a27433a4 we also want the qbytearray version; use it with QWebFrame::setContent is all. this prevents unecessary QString/QByteArray conversions.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821515
2008-06-17 17:01:08 +00:00
Davide Bettio
289941dece replaced QByteArray with a QString, using a QByteArray could be dangerous and also Qt uses a QString.
If we use a QByteArray we do something like this: QString -> QByteArray -> QString.
CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821509
2008-06-17 16:42:48 +00:00
Davide Bettio
fa1cd976ad added missing "= QUrl()".
CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821503
2008-06-17 16:23:29 +00:00
Davide Bettio
3a9f199bb7 Added missing header (Plasma/Flash).
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821471
2008-06-17 15:02:33 +00:00
Will Stephenson
0270ca3ccf Add warning to broken ctors
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821336
2008-06-17 06:13:12 +00:00
Davide Bettio
2f2efc43df QPushButton, QLineEdit, QTextEdit and QComboBox -> K*
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821270
2008-06-16 23:53:05 +00:00
Davide Bettio
e305b698b4 Added missing header (Plasma/Icon).
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821246
2008-06-16 22:31:44 +00:00
Marijn Kruisselbrink
b10a0bcbe3 fix qMax calls on platforms where qreal is not double
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821243
2008-06-16 22:20:49 +00:00
Aaron J. Seigo
659844e273 use the caching (!), don't crash if we get a 0 widget parameter
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821186
2008-06-16 19:10:38 +00:00