Commit Graph

3016 Commits

Author SHA1 Message Date
Marco Martin
e4cde1dab5 fix build (applet_p moved in private/)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840987
2008-08-02 12:03:17 +00:00
Marco Martin
0337120602 new widget Plasma::Frame:
Can act as a qframe like or as a groupbox (with label) supports
also arbitrary pixmap/svg backgrounds
stylesheet support is still todo and the graphics for the raised version
is still temporary

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840986
2008-08-02 12:01:34 +00:00
Rob Scheepmaker
a6293d363f Extenders enter trunk! The implementation still has some rough edges and fixmes, but the api
is in quite nice shape and basides a couple of bugs, it basically works. So what are you 
still doing reading this? Port your favourite applet to extenders today! ;)


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840978
2008-08-02 11:48:56 +00:00
Chani Armitage
db8bb180e8 let's not have overzealous shorcuts.
(will this need to be changed back when we have proper qgraphicswidget shortcuts?)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840837
2008-08-01 23:25:24 +00:00
Laurent Montel
642828d7aa Add const
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840617
2008-08-01 11:23:42 +00:00
Marco Martin
ea546d6b61 relayout the icon when changing the text and the icon is not visible
this avoid "funny" sizes when the icon is shown

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840300
2008-07-31 20:50:15 +00:00
Alex Merry
4335bba59c Remove two FIXMEs: apparently this is needed after all (it screws up the device notifier at least without it).
SVN_SILENT


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840155
2008-07-31 14:03:22 +00:00
Aaron J. Seigo
483e30d6b9 now that we re-use visual items as much as possible, update the matches more agressively (makes it feel less laggy now that the UI is doing the right thing)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839872
2008-07-31 00:23:57 +00:00
Aaron J. Seigo
a039cc7302 don't lose marco's last fix here; svn mv + svn commits made in the meantime == annoying times with svn
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839796
2008-07-30 20:39:58 +00:00
Aaron J. Seigo
c6f99bd6d4 did not make it for 4.1, no suggestion of movement on it for 4.2. can be re-added if there is demand.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839794
2008-07-30 20:37:38 +00:00
Aaron J. Seigo
63bce9d1b4 move all the prive code into private/; makes it much clearer with the division lines are
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839792
2008-07-30 20:35:42 +00:00
Alex Merry
8febce6910 Now that Plasma::Icon is fixed, we don't need to enforce a maximum size any more
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839769
2008-07-30 19:13:06 +00:00
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