Marco Martin
1d7144e6f7
die hardcoded colors, die!
...
svn path=/trunk/KDE/kdelibs/; revision=894466
2008-12-08 17:51:53 +00:00
Rob Scheepmaker
7a90f822a5
Resize Plasma::Meter not to it's native size, since larger fonts will get cut off. Instead count the amount of label rows and multiply with the font height.
...
svn path=/trunk/KDE/kdelibs/; revision=893992
2008-12-07 16:45:49 +00:00
Marco Martin
b47c32869f
use elements dimensions to resize the scrollbar
...
svn path=/trunk/KDE/kdelibs/; revision=893050
2008-12-05 21:04:33 +00:00
Marco Martin
1c4f777dd4
hide and unhide the icon when its action visibility changes (no more
...
ghost lockers with zoomed out desktop:)
svn path=/trunk/KDE/kdelibs/; revision=892159
2008-12-03 17:53:13 +00:00
Rob Scheepmaker
ab56a3a388
Couple of fixes:
...
* Close empty extender when clicking in it.
BUG:176545
* Saner size policy for Plasma::Meter. (the height should never be able to be smaller then svg's height because labels could otherwise overlap, actually, the whole current approach doesn't consider font size, I think we should think of a better approach for 4.3)
* Use the same spacer as used in the panel for extenders. I think we would want some svg themable shared spacer widget for 4.3, but at least this adds some consistency.
svn path=/trunk/KDE/kdelibs/; revision=891328
2008-12-01 18:30:42 +00:00
Aaron J. Seigo
258a749f36
fix build on arm
...
svn path=/trunk/KDE/kdelibs/; revision=891099
2008-12-01 08:48:25 +00:00
Aaron J. Seigo
807b2cf637
make wheel events work, based on a patch by afiestas
...
CCMAIL:alex@eyeos.org
svn path=/trunk/KDE/kdelibs/; revision=890354
2008-11-29 00:03:08 +00:00
Marco Martin
069dc43c79
forward hover events, so the a:hover properties and such works
...
accept keyboard focus->forms works :)
svn path=/trunk/KDE/kdelibs/; revision=886923
2008-11-20 15:38:51 +00:00
Marco Martin
33e2b141ef
why i don't read them before committing?
...
svn path=/trunk/KDE/kdelibs/; revision=886280
2008-11-18 22:24:43 +00:00
Marco Martin
d72387aff2
...buut still delete the style, hope more correct this time
...
svn path=/trunk/KDE/kdelibs/; revision=886265
2008-11-18 22:09:50 +00:00
Marco Martin
e3268fa145
setStyle(0) in the dtor isn't such a good idea...
...
svn path=/trunk/KDE/kdelibs/; revision=886254
2008-11-18 21:49:30 +00:00
Marco Martin
9cfe6246ec
make the tabbar widget stretch also in height (thus umbreaking it in the
...
panel), with a dirty hack on minimum/maximum sizes, but i think it's the
only way for now, since minimumTabSizeHint() and maximumTabSizeHint()
are private in QTabBar and will be protected probably not before Qt5 O.o
svn path=/trunk/KDE/kdelibs/; revision=886098
2008-11-18 15:27:04 +00:00
Aaron J. Seigo
5dbc0a7da0
don't hang onto deleted actions
...
svn path=/trunk/KDE/kdelibs/; revision=885851
2008-11-18 00:33:44 +00:00
Laurent Montel
720c589cc4
...and don't leak private class :)
...
svn path=/trunk/KDE/kdelibs/; revision=884509
2008-11-15 07:39:59 +00:00
Aaron J. Seigo
74acdc9534
don't leak the style.
...
svn path=/trunk/KDE/kdelibs/; revision=884504
2008-11-15 07:08:30 +00:00
Aaron J. Seigo
1376b1dc9b
consistent mocing
...
svn path=/trunk/KDE/kdelibs/; revision=884497
2008-11-15 06:11:17 +00:00
Aaron J. Seigo
2fc960f455
disconnect if the page changes but we don't own it
...
svn path=/trunk/KDE/kdelibs/; revision=884087
2008-11-14 08:04:23 +00:00
Marco Martin
c94f93e4ef
making the theme more complex wasn't such a good idea
...
svn path=/trunk/KDE/kdelibs/; revision=882952
2008-11-11 18:31:21 +00:00
Marco Martin
ff775cfaf0
SVN_SILENT: whoops slipped a copypasted copyright in the header :)
...
svn path=/trunk/KDE/kdelibs/; revision=882819
2008-11-11 12:52:25 +00:00
Marco Martin
ec70aa7179
paint correctly not autoraise buttons (default behaviour is autoraise)
...
and expose setautoraise in the api
svn path=/trunk/KDE/kdelibs/; revision=882816
2008-11-11 12:50:42 +00:00
Marco Martin
bf6ef3f41d
pushbutton has a glow also when pressed, toolbutton not.
...
svn path=/trunk/KDE/kdelibs/; revision=882769
2008-11-11 12:15:35 +00:00
Marco Martin
3cc9af418d
as the name says, ehi, it's a toolbutton :)
...
svn path=/trunk/KDE/kdelibs/; revision=882689
2008-11-11 09:30:05 +00:00
Marco Martin
0c5a17b624
don't animate pressed buttons, avoids flicker
...
svn path=/trunk/KDE/kdelibs/; revision=882058
2008-11-09 17:00:49 +00:00
Aaron J. Seigo
271b20924e
tonights shinyness: make meters progress smoothly instead of jump if the change is both large enough and animations are enabled
...
also: keep the value within the min/max bounds and don't update if the value hasn't actually changed.
svn path=/trunk/KDE/kdelibs/; revision=881849
2008-11-09 04:16:27 +00:00
Aaron J. Seigo
4a23952936
get krazy off my back
...
svn path=/trunk/KDE/kdelibs/; revision=881296
2008-11-07 18:04:32 +00:00
Rob Scheepmaker
4cb5e7857c
Added labelRect function to meter to allow applets to create correctly elided text.
...
svn path=/trunk/KDE/kdelibs/; revision=881275
2008-11-07 17:19:47 +00:00
Marco Martin
3e275d8b05
support for a shadow element
...
svn path=/trunk/KDE/kdelibs/; revision=880936
2008-11-06 22:07:42 +00:00
Aaron J. Seigo
6b1a604743
use kurls
...
svn path=/trunk/KDE/kdelibs/; revision=880625
2008-11-05 23:39:30 +00:00
Aaron J. Seigo
c948455956
use ktabbar here, as per krazy's suggestion
...
svn path=/trunk/KDE/kdelibs/; revision=880622
2008-11-05 23:28:07 +00:00
Aaron J. Seigo
98585afd6e
explicit
...
svn path=/trunk/KDE/kdelibs/; revision=880607
2008-11-05 23:00:53 +00:00
Aaron J. Seigo
ef3b16f6ea
dptr
...
svn path=/trunk/KDE/kdelibs/; revision=880606
2008-11-05 23:00:14 +00:00
Marco Martin
34f2f49a87
when the svg element id changes the pixmap must be generated again
...
svn path=/trunk/KDE/kdelibs/; revision=880555
2008-11-05 20:43:53 +00:00
Marco Martin
27238f17b7
shadow element is optional
...
cache frame pixmaps since qpainter rtation is expensive
svn path=/trunk/KDE/kdelibs/; revision=879936
2008-11-04 12:04:54 +00:00
Aaron J. Seigo
df73771a1b
++compile
...
svn path=/trunk/KDE/kdelibs/; revision=879801
2008-11-04 02:55:37 +00:00
Aaron J. Seigo
1b523b9054
ok, this time JUST the plasma dir ;)
...
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9
bum-de-dum! plasma to kdelibs.
...
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Marco Martin
8a29bcddc8
adds a busy indicator spinning widget
...
to be used to indicate a wait of unknown duration
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879671
2008-11-03 19:50:21 +00:00
Aaron J. Seigo
8c7ed93278
if we're given a layout, don't create another layout for it to live in
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879360
2008-11-03 04:15:34 +00:00
Marco Martin
aaf39fc289
SVN_SILENT: Label->frame
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878986
2008-11-02 11:18:21 +00:00
Kevin Ottens
ef6cefb06c
WebContent becomes WebView.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877511
2008-10-29 17:53:30 +00:00
Kevin Ottens
f66b4d819b
API changes as announced:
...
* ConfigXml becomes ConfigLoader
* Containment::(add|remove)ToolBoxTool(QAction *action) becomes
Containment::(add|remove)ToolBoxAction(QAction *action)
* Flash becomes FlashingLabel
* Icon becomes IconWidget
* PanelSvg becomes FrameSvg
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877504
2008-10-29 17:46:33 +00:00
Aaron J. Seigo
b4e741c3f0
something i've wanted for a bit: autohide on fade. perfect kind of "i don't have to think to add this" kind of feature to fill in my boredom during meetings full of powerpoint presentations ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876852
2008-10-28 09:25:57 +00:00
Marco Martin
8560092760
don't try to paint when there is no image
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876828
2008-10-28 08:29:39 +00:00
Marco Martin
0cc762d4a0
a bit more doc
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876535
2008-10-27 13:28:55 +00:00
Marco Martin
9dfd938d17
new theming capabilities into the bar meter widget
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876149
2008-10-26 16:00:32 +00:00
Pino Toscano
930f16f881
- signals -> Q_SIGNALS
...
- fix include guard name
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874665
2008-10-22 07:47:44 +00:00
Davide Bettio
9ed5641257
Added click signal to SvgWidget.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874074
2008-10-20 18:26:25 +00:00
Aaron J. Seigo
d2a6019704
where's the Q_OBJECT macro? ah, there it is! ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873687
2008-10-19 23:20:27 +00:00
Pino Toscano
f33695a670
use relative path to the header (the CamelCase is not installed at this point yet)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873170
2008-10-18 22:57:50 +00:00
Aaron J. Seigo
43b749901e
ws fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873139
2008-10-18 21:36:36 +00:00
Aaron J. Seigo
2839ebec00
style fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873137
2008-10-18 21:35:40 +00:00
Davide Bettio
dd9445d885
Added svgwidget.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873133
2008-10-18 21:30:02 +00:00
Aaron J. Seigo
771c946872
remove a bit of nonesense =)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871924
2008-10-16 04:27:20 +00:00
Marco Martin
9c6184b1bf
a bit more cleaner
...
more fitts law friendly when is in a top panel (still some resizing
issues)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871308
2008-10-14 13:16:56 +00:00
Allen Winter
8716f930ec
use split('x') instead of split("x")
...
add single chars instead of single char strings
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870295
2008-10-12 10:57:42 +00:00
Allen Winter
492fe0e8aa
fixup include guards
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870291
2008-10-12 10:48:53 +00:00
Allen Winter
214ac5f91f
clean up some kDebugs and kWarnings.
...
shorten some extra long lines.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870290
2008-10-12 10:20:02 +00:00
Allen Winter
eae853582b
coding style fixes.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870205
2008-10-12 01:31:54 +00:00
Marco Martin
0dc100928d
style the tabbar scroll buttons with plasma colors
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=868202
2008-10-05 17:53:37 +00:00
Marco Martin
5c45bf09e8
implement a sizehint that permits to use the frame just as a simple
...
header (i.e when empty return the height of the title font+margins)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867107
2008-10-02 20:07:49 +00:00
Marco Martin
1f7a0f7560
combobox uses PaintUtils::transition
...
some cleanups in PushButton
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867098
2008-10-02 19:39:00 +00:00
Aaron J. Seigo
7f134e04fe
update when the theme does
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866855
2008-10-02 03:55:01 +00:00
Sebastian Kügler
5c7e5ab2e3
Respect Plasma's colour scheme
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866848
2008-10-02 03:36:11 +00:00
Marco Martin
e0bd985045
use PaintUtils::transition
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866781
2008-10-01 21:40:38 +00:00
Aaron J. Seigo
835035a94d
forward the link activated signal; common one
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866468
2008-09-30 23:21:22 +00:00
Marco Martin
1e12bfe8ca
style with the PushButton svg elements when is not editable
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866345
2008-09-30 16:17:49 +00:00
Marco Martin
c1a7cb7ce7
pixmap fading transition effect in paintutils taken from
...
KFileItemDelegate::Private::transition()
now icon widget uses it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866344
2008-09-30 16:15:00 +00:00
Laurent Montel
22a1c819b3
Don't leak QPixmap
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863136
2008-09-21 09:30:23 +00:00
Aaron J. Seigo
afb72ab0c7
* make flash not reset the flash every time the text/pixmap is set if it already in the process of showing.
...
* clean up a lot of the code
* don't use single shots, as they may need to be interupted
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862833
2008-09-20 01:03:30 +00:00
Marco Martin
04d513894b
draw the slider with plasma theme svgs
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857080
2008-09-04 16:20:49 +00:00
Aaron J. Seigo
9367d50a83
simplify ..
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856475
2008-09-02 23:28:59 +00:00
Marco Martin
e037260031
this patch removes the centering and makes the tabbar to take up all the
...
width when it's not like a tabwidget and there is some
sizepolicy/preferred sizes setting fixes that makes it behave better in
a panel (especially vertical ones)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854953
2008-08-30 18:14:45 +00:00
Alex Merry
e293d7d785
Specify includes in apidocs, so we get
...
#include <Plasma/Foo>
at the top of the apidocs pages.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Marco Martin
3f3b9eddcc
documentation and qproperties
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851721
2008-08-24 12:24:36 +00:00
Marco Martin
a4704a44fc
#ifndef PLASMA_SCROLLBAR_H
...
wooops :)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851706
2008-08-24 11:55:39 +00:00
Marco Martin
0d8fbe145b
ask for a repaint of the area that is scrolled
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851011
2008-08-22 18:38:50 +00:00
Laurent Montel
0027f8b90d
Pedantic
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850254
2008-08-21 06:24:40 +00:00
Marco Martin
ce21b61ab0
whoops, PLASMA_EXPORT
...
and remove some settings that belongs more to the applet that uses it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850051
2008-08-20 18:14:20 +00:00
Marco Martin
7fb9508d80
a tree view widget for now there is only this one that should be enough
...
also for simple lists to not overpopulate the widget list
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850021
2008-08-20 16:54:35 +00:00
Pino Toscano
3f368be2c1
initialize in the correct order
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849708
2008-08-19 23:10:50 +00:00
Alex Merry
8427acfc83
Better initialisation/destruction.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849654
2008-08-19 21:34:23 +00:00
Marco Martin
df487ae43c
should behave a bit better when the pages are empty
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849643
2008-08-19 21:09:06 +00:00
Marco Martin
3a008feb23
revert a bit of stuff that wasn't supposed to be committed in the first
...
place
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848389
2008-08-17 15:34:46 +00:00
Pino Toscano
2c9a99df6a
Qt includes in public header go in the form <QtModule/QClass>
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=847450
2008-08-15 12:16:18 +00:00
Marco Martin
9751d6c59d
setcontainnsmultiple images when rendering a single sub element into the icon
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=847270
2008-08-15 07:59:07 +00:00
Laurent Montel
46c8f7306b
Fix pedentic
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846662
2008-08-13 20:24:37 +00:00
Marco Martin
76d6071e46
svg themed scrollbars:
...
scrollbar widget in libplasma
private qstyle that draws scrollbars with svg
folderview uses the scrollbar widget
textview scrollbars themed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846473
2008-08-13 14:47:27 +00:00
Dirk Mueller
93a8a87368
stop crashing due to undefined destruction order
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845983
2008-08-12 18:41:56 +00:00
Alex Merry
7bd180b8bb
Catch a memory leak in Plasma::Frame, and make use of QObject parenting where possible.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845534
2008-08-11 23:26:13 +00:00
Alex Merry
1eecd3f819
Memory leak.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845526
2008-08-11 23:04:07 +00:00
Richard Dale
fbe88fb729
* Fix inconsistent naming of the styleSheet property
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842921
2008-08-06 09:17:40 +00:00
Aaron J. Seigo
dfb38b00f3
fix slider ctors
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842555
2008-08-05 14:29:51 +00:00
Marco Martin
37be252250
add button text and button background colors
...
accessible by the ButtonTextColor and ButtonBackgroundColor color roles
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842203
2008-08-04 21:23:40 +00:00
Marco Martin
fba82f41bc
build the tabbar and install the header, so not it can be actually used
...
:)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842109
2008-08-04 18:16:13 +00:00
Aaron J. Seigo
b123a8e8b1
integrate TabBar into the build
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841797
2008-08-04 05:30:32 +00:00
Aaron J. Seigo
7d0cd60391
moving tabbar to libplasma
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841792
2008-08-04 05:22:29 +00:00
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
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
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
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
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
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
8eb05ee061
let's not crash.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838918
2008-07-29 03:02:04 +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
Bram Schoenmakers
2fc6f26c86
Remove unused variable.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838503
2008-07-28 00:33:41 +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
Anne-Marie Mahfouf
4ce38c254d
consistency with Qt: stylesheet() -> styleSheet() and setStylesheet() -> setStyleSheet()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833427
2008-07-16 20:07:34 +00:00
Alexis Ménard
44c8ede79e
remove old stuff of tooltips
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833275
2008-07-16 15:17:57 +00:00
William Viana Soares
b828a0efd4
Repaint the widget on request. Among other things now the scroll works well.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=832013
2008-07-13 20:50:53 +00:00
Andrew Lake
5fd5e739d2
painter translation in drawTextLayout causes text to be draw slightly lower than shadow.
...
Adjusted shadow offset to compensate. Result is closer pixel-wise to folderview text.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827897
2008-07-04 05:06:57 +00:00
Aaron J. Seigo
922c85c705
it makes no sense to have the blur stuff in one header/namespace and the roundedRectangle stuff in another: it's all painting related. putting them together, however, makes "ImageEffects" really not accurate. ImageEffects will also clash, concept-wise, with a real effects lib.
...
therefore, introducing Plasma::PaintUtils.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827859
2008-07-03 23:50:13 +00:00
Aaron J. Seigo
1c0edaceb7
you can't include CamelCase includes from files in kdebase: the CamelCase includes aren't available until kdebase is installed.
...
CCMAIL:notmart@gmail.com
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827810
2008-07-03 20:43:00 +00:00
Marco Martin
c6d8e7e8c1
blur radius and displacement same as folderview, and when the shadow is
...
light it becomes an halo (displacement 0)
this could even be decided by the theme?
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827783
2008-07-03 19:22:49 +00:00
Marco Martin
4c7e3d1d0b
drop shadow behind the icon text,
...
so now the icon background is gone and appears only on mouse over
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827715
2008-07-03 17:04:56 +00:00
Marijn Kruisselbrink
21b148b963
change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Aaron J. Seigo
a4ba7d48f2
put dataUpdated magic back into the text displayers
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826536
2008-06-30 22:05:11 +00:00
Laurent Montel
c4b662c910
Fix mem leak
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826237
2008-06-30 07:15:37 +00:00
Aaron J. Seigo
6db6dafee6
sync the api with QtWebkit changes in 4.4.0
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825691
2008-06-29 00:20:31 +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
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
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
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
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
Gilles Chauvin
834003d0dc
Make widgets aware of qresources.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816435
2008-06-03 21:08:52 +00:00
Anne-Marie Mahfouf
4f2624b36a
more consistency in naming: stylesheet -> styleSheet
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815812
2008-06-02 15:36:44 +00:00
Anne-Marie Mahfouf
b2b1283fa6
consistency with Qt naming, using same CamelCase
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815775
2008-06-02 15:09:10 +00:00
Anne-Marie Mahfouf
4c0377428f
typo
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815705
2008-06-02 14:36:31 +00:00
Pau Garcia i Quiles
71c0cee2fa
MSVC
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814860
2008-05-31 13:58:05 +00:00
Pino Toscano
f706960801
QtModule/QClass for Qt includes in public headers
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812730
2008-05-26 09:10:11 +00:00
Aaron J. Seigo
83a0bdac74
and unhover without anims.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812650
2008-05-25 21:47:09 +00:00
Aaron J. Seigo
f0da40111e
don't draw multiple times if we aren't going to actually fade anything in
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812647
2008-05-25 21:38:22 +00:00
Chani Armitage
3dcf445db4
convert the toolbox to use qactions. this makes the toolbox act a bit more reliably, makes some other bugs more annoying, and makes it easier to fix them.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811914
2008-05-24 01:48:36 +00:00
Alex Merry
9178353bb4
Fix inclusion guards for future widgets.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810532
2008-05-20 22:36:28 +00:00
Richard Dale
c3aa6bec48
* Fix the broken guard macros in the widget* headers
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810412
2008-05-20 17:29:23 +00:00
Laurent Montel
47183f095f
SVN_SILENT:
...
Typo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810151
2008-05-20 06:24:52 +00:00
Aaron J. Seigo
c413c02ca7
export these files too
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810070
2008-05-19 23:25:56 +00:00
Aaron J. Seigo
9abfe2e1d0
export the classes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810061
2008-05-19 23:17:44 +00:00
Chani Armitage
f6d290849f
add groupbox
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809979
2008-05-19 20:18:46 +00:00
Chani Armitage
50889239d6
add combobox
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809932
2008-05-19 19:10:58 +00:00
Chani Armitage
ec2bcd9010
add textedit
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809903
2008-05-19 18:17:12 +00:00
Pino Toscano
a2e1e54c73
add quotes around #include file name
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809700
2008-05-19 09:31:40 +00:00
Chani Armitage
ec8c013149
add checkbox
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809581
2008-05-19 06:12:48 +00:00
Aaron J. Seigo
43e837c8c7
* add RadioButton
...
* install PushButton headers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809577
2008-05-19 05:56:42 +00:00
Chani Armitage
0906a09ae9
return of the son of pushbutton
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809575
2008-05-19 05:44:32 +00:00
Aaron J. Seigo
69435a397f
forward signals, no need for image setting
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809574
2008-05-19 05:42:44 +00:00
Aaron J. Seigo
51bb717cae
a little more help
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809573
2008-05-19 05:26:53 +00:00
Aaron J. Seigo
5c7589a741
call the parent class' resizeEvent as well
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809571
2008-05-19 05:25:33 +00:00
Aaron J. Seigo
9d619d61c6
add some widgets. it works! no more explicit proxy widget usage, and a nice simplified api that makes the baby jesus happy
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809503
2008-05-19 01:24:12 +00:00
Aaron J. Seigo
b4c0e2ea4d
more fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809501
2008-05-19 01:23:04 +00:00
Aaron J. Seigo
6455a32abf
template fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809476
2008-05-18 23:18:08 +00:00
Aaron J. Seigo
01387b3014
svn add too
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809472
2008-05-18 23:11:44 +00:00
Aaron J. Seigo
c0244c2c68
a little system for making widgets quickly
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809454
2008-05-18 22:27:29 +00:00
Aaron J. Seigo
d7e2844da3
not built anyways
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809361
2008-05-18 19:32:08 +00:00
Aaron J. Seigo
102cd5b748
no longer used
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807767
2008-05-14 17:16:36 +00:00
Dan Meltzer
f57cc1c623
Lotsa little ebn fixes.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805672
2008-05-09 05:32:15 +00:00
Andre Duffeck
4e793192de
port Plasma::Flash
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805377
2008-05-08 11:45:49 +00:00
Aaron J. Seigo
a7fd1ce868
clean this up a bit
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=804345
2008-05-05 18:37:18 +00:00
Pino Toscano
5df3e2846b
Qt includes in public headers needs the QtModule/QClass form
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803730
2008-05-04 06:13:17 +00:00
Albert Astals Cid
4068f45cf9
const & in foreach
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801430
2008-04-26 16:19:00 +00:00
Aaron J. Seigo
72db181c7c
Phase -> Animator
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800875
2008-04-25 03:23:31 +00:00
Aaron J. Seigo
6e80fe4354
Phase becomes Animator
...
Animator becomes AnimationDriver
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800870
2008-04-25 03:11:59 +00:00
Davide Bettio
aa5f747305
API REVIEW: Phase -> AnimatorDriver
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800840
2008-04-24 23:21:17 +00:00
Davide Bettio
3bfaf57014
API REVIEW: Animation merges with ElementAnimation.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800825
2008-04-24 22:30:53 +00:00
Davide Bettio
175cf065e7
API REVIEW: AnimId -> int
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800804
2008-04-24 21:26:36 +00:00
Davide Bettio
d6995254db
API REVIEW: animationResult() -> currentPixmap()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800784
2008-04-24 20:44:16 +00:00
Davide Bettio
3a150a6f6b
API REVIEW: setAnimationPixmap() -> setInitialPixmap()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800782
2008-04-24 20:37:26 +00:00
Dan Meltzer
f24d1efa28
Plasma::WebContent::geometry should return a qrectf, not a qsizef
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800379
2008-04-24 02:56:48 +00:00
Aaron J. Seigo
d28a4c277a
consolidate color and font methods into one method for each with a role enumeration
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800334
2008-04-23 22:36:00 +00:00
Anne-Marie Mahfouf
970e72245c
API review
...
more SIGNAL changed() -> themeChanged()
thanks Alexis for your vigilance!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800244
2008-04-23 18:35:03 +00:00
Marco Martin
d0ba4e77ec
Api change:
...
Plasma::Svg(imagePath, parent) -> Plasma::Svg(parent) and
Plasma::PanelSvg(imagePath, parent) -> Plasma::PanelSvg(parent)
updated as needed every class that was using Svg or PanelSvg
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800143
2008-04-23 13:07:41 +00:00
Anne-Marie Mahfouf
36bc2c4e97
Plasma::Theme::self() -> Plasma::Theme::defaultTheme() as planned during the sprint
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799919
2008-04-22 21:10:14 +00:00
Petri Damstén
77e66bc8fb
Convert Meter and SignalPlotter to QGraphicsWidget based widgets
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799477
2008-04-21 16:26:18 +00:00
Marco Martin
f522c38eeb
file() and setFile() -> imagePath() and setImagePath()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797772
2008-04-16 20:48:53 +00:00
Marco Martin
d07a60c581
Rename SvnPanel into PanelSvg and update accordingly who is using that,
...
as discussed in api reviews
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797663
2008-04-16 17:23:58 +00:00
Alexis Ménard
d5dd4e16ac
Ammmaaziiing grace!!
...
Widget class is dead..
still in the repo for tooltip code
CCMAIL : aseigo@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796973
2008-04-14 16:02:23 +00:00
Alexis Ménard
d91b8a94d4
remove useless function
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796939
2008-04-14 15:15:26 +00:00
Alexis Ménard
1b7a9a14e0
+bye bye paintwidget method
...
+remove tooltip that will be replaced by the tooltip manager
+port some used stuff in applet class
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796924
2008-04-14 14:50:02 +00:00
Alexis Ménard
1e8d0d6051
API clean : bye bye cache mode wich is managed by qt
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796903
2008-04-14 14:18:17 +00:00
Alexis Ménard
1b15d951a9
API clean : bye bye opacity, wich is bas implemented in all cases
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796900
2008-04-14 14:09:13 +00:00
Laurent Montel
f8ddf5cfc6
Fix include
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796796
2008-04-14 10:33:37 +00:00
Alexis Ménard
67758e04a6
fix future compile issues
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796777
2008-04-14 09:50:39 +00:00
Alexis Ménard
aa3c3eccce
no more old layouts in libplasma, new stuff on API can start
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796624
2008-04-13 22:01:18 +00:00
Alexis Ménard
2cc5870dd6
port ++
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796617
2008-04-13 21:47:47 +00:00
Alexis Ménard
1605283e9e
port ++
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796610
2008-04-13 21:21:50 +00:00
Alexis Ménard
4467261c95
Merge woc branch to trunk, say good bye to old plasma, there is a lot of stuff to port
...
applets,
please update to another revision to use the version that works
green flag from aaron
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796368
2008-04-13 13:23:39 +00:00
Chani Armitage
be10ede60a
save space
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=795838
2008-04-11 14:57:48 +00:00
Aaron J. Seigo
1f6d6175a7
avoid recursive calls to updateToolTip by doing what we *really* want to be doing here, which is updating the data. this also prevents the case where a tooltip is updated randomly, causing the tooltip to show. i wonder if that's what has been the cause of the occasional taskbar tooltip showing when it shouldn't?
...
reviewed by Rafał Miłecki
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=794638
2008-04-08 07:20:36 +00:00