Commit Graph

2454 Commits

Author SHA1 Message Date
Sebastian Sauer
5e831bce34 fix crash on startup. second part of r838918, fixes r839403
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839409
2008-07-30 00:30:03 +00:00
Sebastian Sauer
6d407b6bad initialize activeMargins, now it asserts on startup on icon_p.h#282 rather then crashing what should help to fix the prob ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839403
2008-07-30 00:11:41 +00:00
Aaron J. Seigo
f0c70f7c41 cut some fat; we don't actually use the shadow item, and haven't since before 4.0
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839264
2008-07-29 16:52:44 +00:00
Riccardo Iaconelli
bea1a12168 Bring doc up to date...
Signed-off-by: Riccardo Iaconelli <riccardo@kde.org>

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839241
2008-07-29 15:44:46 +00:00
Script Kiddy
6abbe88e89 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839172
2008-07-29 13:26:35 +00:00
Andreas Hartmetz
99709d3617 This should fix the rest of kdebase for linking with gold.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839150
2008-07-29 12:54:39 +00:00
Marco Martin
424e4e1c21 SVN_SILENT style fix
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839105
2008-07-29 11:51:57 +00:00
Marco Martin
235b643d03 fix mem leak
should i backport it to 4.1?
CCMAIL:plasma-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839007
2008-07-29 09:10:14 +00:00
Marco Martin
9eb10b594f now PushButton has a pretty animated svg theme (uses button.svgz)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838998
2008-07-29 08:37:25 +00:00
Aaron J. Seigo
34aa5d4185 apidox clarification
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838927
2008-07-29 03:28:25 +00:00
Aaron J. Seigo
9be8bbb87b queue an update when a source is added directly
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838926
2008-07-29 03:26:23 +00:00
Aaron J. Seigo
8eb05ee061 let's not crash.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838918
2008-07-29 03:02:04 +00:00
Joseph Burns
cf1d001296 Add absolute file support to PackageStructure::load
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838909
2008-07-29 02:23:14 +00:00
Alex Merry
11951249b0 Add a new Plasma::Slider widget based on QSlider.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838893
2008-07-29 00:31:28 +00:00
Alex Merry
5bda02b4c3 Make the icon adjust its size when the text changes.
CCMAIL: panel-devel@kde.org
Please backport.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838892
2008-07-29 00:28:59 +00:00
Aaron J. Seigo
42018972e6 hand hover events more responsibly in containment and applethandle; another patch by ambro
(abro: one more solid patch like this and i'll be hitting you up to get an svn account of your own ;)

BUG:167551

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838889
2008-07-29 00:07:57 +00:00
Aaron J. Seigo
e4a154743f * always re-reg when we set the name
* automatically set the name in the plugin case

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838869
2008-07-28 22:51:19 +00:00
Alex Merry
1cb7e7e771 Actually load the operations scheme when we have the information necessary to do so.
CCMAIL: plasma-devel@kde.org
Can someone backport this for 4.1.1, please?


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838833
2008-07-28 20:59:03 +00:00
Oswald Buddenhagen
c2ef8b2c6c "the usual daily unbreak compilation" EOQ
ha! dashstars! :)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838549
2008-07-28 06:59:20 +00:00
Bram Schoenmakers
2fc6f26c86 Remove unused variable.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838503
2008-07-28 00:33:41 +00:00
Loic Marteau
88b7a7022e some stuff in Plasma::PopupApplet
- add QGraphicsWidget support
- add a timer so we can show a popup during a specified time and hide it again
- let applet Notifier does a last Swan song by convert it in a PopupApplet before dying and 
reborn sooner like a phoenix

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838490
2008-07-27 23:23:57 +00:00
Chani Armitage
ac1f7e3b5b when a new activity is added, don't move more than necessary to show it
this seems to fix dragging the view around too :)
BUG: 164545
please backport.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838477
2008-07-27 22:38:58 +00:00
Marco Martin
aaab3a310a API change:
changed paintPanel(QPainter* painter, const QRectF& rect, const
QPointF& pos = QPointF(0, 0));
into
 void paintPanel(QPainter* painter, const QRectF& target, const QRectF&
source);   
and
 void paintPanel(QPainter* painter, const QPointF& pos = QPointF(0, 0));

to be more similat di QPainter::drawPixmap api

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838379
2008-07-27 17:20:27 +00:00
Marco Martin
41b82ff620 s patch makes the concept of maximum and minimum size of the panel
actually meaningful:
the idea is that an applet can change its own preferred size and ask its
containment if it can fullfill its wish on the size
so the panel tries to resize itself as it can in its maximum and minimum
size constraints.
at the moment only the taskbar uses this, also the systray could use it
(and in general all expanding applets)
it use a new signal in Plasma::Applet, called
sizeHintChanged(Qt::SizeHint)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838364
2008-07-27 16:20:56 +00:00
Alessandro Diaferia
e9386fe8dc fallback to default theme also when a plaint svg is used
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838356
2008-07-27 15:50:00 +00:00
Marco Martin
41ab1a27c1 take margins into account
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838051
2008-07-26 15:05:16 +00:00
Aaron J. Seigo
263870d46d the tip can be null
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=837827
2008-07-25 20:18:54 +00:00
Jason Stubbs
12ec0f5c2b Prevent a tooltip from showing after a user has clicked or scrolled on a
widget (until it is re-entered)

Also fixed a small whitespace issue.

Back-port to 4.1 if so desired. :)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=837733
2008-07-25 15:20:12 +00:00
Marco Martin
bebd1cdc1c inserted a new group of hints:
prefix-hint-margin-direction where prefix (optional) is the current
rendered panel and direction is either top bottom, left or right
is used to give a panel custom margins different respect to the borders

removed the contentAtOrigin property that vas never used and actually
dead code

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=837731
2008-07-25 15:08:22 +00:00
Sebastian Sauer
19e5356bf5 Don't crash if d->toolBox is NULL.
"plasmoidviewer desktop" works now too :)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=836717
2008-07-22 20:46:34 +00:00
Laurent Montel
5e5622ddf2 Not necessary to test it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=836698
2008-07-22 20:21:41 +00:00
Aaron J. Seigo
538272d133 make Theme::currentThemeHasImage check for compressedsvg files
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=836139
2008-07-21 19:36:47 +00:00
Alexander Neundorf
f925d33c9b -also disable _KDE4_TARGET_LINK_INTERFACE_LIBRARIES() and use the renamed LINK_INTERFACE_LIBRARIES target property
instead: 
set_target_properties(foo PROPERTIES 
                          ${KDE4_DISABLE_PROPERTY_}LINK_INTERFACE_LIBRARIES  "kdeui;kdecore" 
                     )

While this doesn't look very nice, it is completely forward and backward compatible (i.e. cmake 2.4 doesn't complain,
cmake 2.6 works, both versions work as soon as the reduced link interface is the default (soon), if somebody 
uses this with kdelibs which don't have that anymore he will get the reduced interface instead of errors, so all 
should be ok)

Alex

CCMAIL: mueller@kde.org




svn path=/trunk/KDE/kdelibs/; revision=836131
2008-07-21 19:19:06 +00:00
Alexander Neundorf
daafe8f8a0 -adapt kdebase to the renaming of kde4_target_link_interface_libraries() to _kde4_target_link_interface_libraries()
Alex

CCMAIL: mueller@kde.org



svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=835652
2008-07-20 22:03:14 +00:00
Aaron J. Seigo
9732101c83 support compressed svg files
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=835219
2008-07-20 09:23:59 +00:00
Aaron J. Seigo
85275b25ea reposition the toolbox whenever changing our zoom state
BUG:166860

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=834951
2008-07-19 18:51:22 +00:00
Chani Armitage
d7bc9f3898 add security check in showConfigurationInterface too
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=834476
2008-07-19 03:22:41 +00:00
Chani Armitage
bbcc79fc0e only allow configuration while widgets are unlocked
something went wrong, very wrong, when pulling from gitorious. I don't know what or why. but this is a copy of the last commit I made on my laptop...

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=834472
2008-07-19 03:00:36 +00:00
Alex Merry
0d42d36814 Help bug-hunting devs
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=834455
2008-07-19 00:03:08 +00:00
Aaron J. Seigo
bfd552b776 add the word Activity now that we've essentially committed to using it
BUG:166875

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=834030
2008-07-17 20:52:04 +00:00
Aaron J. Seigo
910847c1f4 minimum version is MAJOR.0.0
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833999
2008-07-17 19:45:17 +00:00
Aaron J. Seigo
b5c2d8f925 build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833998
2008-07-17 19:44:29 +00:00
Pino Toscano
bec3fc7541 fix i18n() usage
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833977
2008-07-17 18:40:11 +00:00
Aaron J. Seigo
98e46ae18a watch for containment destruction; for people who like torturing plasma in weird nd wonderful ways
BUG:166824

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833976
2008-07-17 18:36:55 +00:00
Aaron J. Seigo
9fce6a940f one less string freeze todo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833969
2008-07-17 18:25:50 +00:00
Aaron J. Seigo
abf220d8db associate broken applets with the id so they will be removedable (automatically at next start, even)
BUG:166811

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833967
2008-07-17 18:21:55 +00:00
Dirk Mueller
754b000b42 also implement the plugin version checks for the other plugin types
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833940
2008-07-17 16:26:29 +00:00
David Faure
6675e4e222 SVN_SILENT pedantic
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833690
2008-07-17 10:46:02 +00:00
Aaron J. Seigo
d6e7628cb6 move PlasmaAppletDialog into libplasma as PopupApplet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833658
2008-07-17 09:30:57 +00:00
Aaron J. Seigo
e52ca538e0 styleSheet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833657
2008-07-17 09:30:19 +00:00