Marco Martin
938b6291fc
use always qreal and convert to int just at the last moment, should
...
avoid some nice divide by 0
CCBUG:178746
svn path=/trunk/KDE/kdelibs/; revision=901542
2008-12-25 21:23:26 +00:00
Marco Martin
614c2252d1
add alignment/setAlignment wrapping in the api
...
svn path=/trunk/KDE/kdelibs/; revision=900868
2008-12-23 20:39:59 +00:00
Marco Martin
0ea6365356
restore the svg size, oops
...
svn path=/trunk/KDE/kdelibs/; revision=900801
2008-12-23 16:41:34 +00:00
Marco Martin
d1e083f211
paint the background as the same size of the progress bar, no more empty
...
areas before and after
support for stretched bars
svn path=/trunk/KDE/kdelibs/; revision=900723
2008-12-23 13:05:37 +00:00
Marco Martin
1b7bf8cdb9
use plasma font in some more widgets
...
svn path=/trunk/KDE/kdelibs/; revision=899830
2008-12-21 17:17:35 +00:00
Marco Martin
11da4f11f8
use the plasma font
...
svn path=/trunk/KDE/kdelibs/; revision=899819
2008-12-21 16:55:19 +00:00
Aaron J. Seigo
bad9871ccf
* remove some dead code
...
* set a 1px margin only if there is no background
* use width, not height, went horizontal and there is no text
BUG:177871
svn path=/trunk/KDE/kdelibs/; revision=897398
2008-12-15 23:42:29 +00:00
Aaron J. Seigo
9c25aa59a5
share one style amongst all the widgets
...
svn path=/trunk/KDE/kdelibs/; revision=897366
2008-12-15 21:17:43 +00:00
Aaron J. Seigo
adaed62351
* forward the valueChanged signal
...
* simplify the ctor to be more in line with the other widgets
* add setOrientation
combined, this elminates the need pretty much everywhere its used for nativeWidget() to be accessed. woo!
svn path=/trunk/KDE/kdelibs/; revision=897341
2008-12-15 20:34:03 +00:00
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