Commit Graph

2678 Commits

Author SHA1 Message Date
Aaron J. Seigo
8accd83373 moving tabbar to libplasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841791
2008-08-04 05:21:52 +00:00
Rob Scheepmaker
cfcda8ddf3 Removed the default value in setAutoExpireDelay, and allow the auto expire timer to be
cancelled by calling setAutoExpireDelay(0).


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841701
2008-08-03 21:47:21 +00:00
Aaron J. Seigo
bfb9e05b91 --deprecation warnings
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841644
2008-08-03 19:50:45 +00:00
Aaron J. Seigo
5bc2abcb3e BIC changes happening (e.g. extenders modification to Applet), so bump the major number once again (but for the last time in a long, long while. how momentous feeling)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841627
2008-08-03 17:44:13 +00:00
Rob Scheepmaker
549b0648d3 Avoid screwing up when setAutoExpireDelay is called more then once.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841620
2008-08-03 17:34:47 +00:00
Rob Scheepmaker
704d0904e5 Respect the sizepolicy set on the widget wrapped in this extenderitem.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841512
2008-08-03 12:27:19 +00:00
Rob Scheepmaker
3bfb1bf662 Fixed a type, making destroy() function again. Move the destruction of temporary extender
items to applet, since in extender's dtor, applet's config isn't accessible anymore. Only 
fire itemDetached when an item is really moved, not only when being dragged away.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841509
2008-08-03 12:16:41 +00:00
Alex Merry
d109b09bf3 Delay the execution of start(), so ServiceJob implementors don't have to worry about it.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841266
2008-08-02 22:29:19 +00:00
Pino Toscano
5b52bc7922 Qt includes in public headers go in the form <QtModule/QFoo>
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841217
2008-08-02 19:36:54 +00:00
Aaron J. Seigo
577a64f563 extender is not a Plasma Widget (it doesn't follow the API pattern, isn't a button/menu/etc, isn't meant to be used as a general widget in a random layout...)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841164
2008-08-02 17:46:32 +00:00
Marco Martin
0dd6b99014 Plasma::Label should be able to actually display svgs from the theme
now
cleaning some juck debug stuff in label

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841020
2008-08-02 13:01:16 +00:00
Marco Martin
886d5c7124 fix build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841013
2008-08-02 12:51:50 +00:00
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