Aaron J. Seigo
6ccaa814b3
* add getter for targetItem
...
* add property for targetItem
svn path=/trunk/KDE/kdelibs/; revision=1031688
2009-10-05 18:59:21 +00:00
Marco Martin
0e59e70583
move correctly the pages at the first animation
...
svn path=/trunk/KDE/kdelibs/; revision=1031682
2009-10-05 18:40:58 +00:00
Aaron J. Seigo
e4f20fdba8
* add a targetReached(QRectF) signal for completeness
...
* emit the targetReached signals in all cases that the target is reached, not just when there is an animation
* only emit targetReached(QGrahpicsItem*) when there is a target item
* provide a getter for the target rect
* register setTarget as a property
svn path=/trunk/KDE/kdelibs/; revision=1031661
2009-10-05 18:00:06 +00:00
Marco Martin
8587a9dd47
forward pressed
...
svn path=/trunk/KDE/kdelibs/; revision=1031647
2009-10-05 17:20:05 +00:00
Marco Martin
3db6d84c03
provide isDown as well
...
svn path=/trunk/KDE/kdelibs/; revision=1031646
2009-10-05 17:16:09 +00:00
Aaron J. Seigo
23d1402a5d
--compile_warnings;
...
svn path=/trunk/KDE/kdelibs/; revision=1031625
2009-10-05 16:08:31 +00:00
Giulio Camuffo
81b39250cb
added ensureItemVisible(QGraphicsItem*)
...
svn path=/trunk/KDE/kdelibs/; revision=1031380
2009-10-04 20:08:37 +00:00
Igor Trindade Oliveira
2147d8e090
put return return d->widget->boundingRect(); in ScrollWidget::viewport() and everything starts to work -perfectly-
...
notmart
svn path=/trunk/KDE/kdelibs/; revision=1030979
2009-10-03 16:51:52 +00:00
Marco Martin
c47fdfefbe
set the disabled color as a transparent version of the text color
...
svn path=/trunk/KDE/kdelibs/; revision=1030948
2009-10-03 15:20:56 +00:00
Igor Trindade Oliveira
a7ac1feaf2
add support for kinetic scrolling
...
svn path=/trunk/KDE/kdelibs/; revision=1030944
2009-10-03 15:06:41 +00:00
Jacopo De Simoi
e90a75ec51
Unbreak the fadeIn animation, add a temporary workaround until trunk depends on 4.6
...
svn path=/trunk/KDE/kdelibs/; revision=1030871
2009-10-03 11:37:19 +00:00
Igor Trindade Oliveira
cab81476e3
fix: rounded-off errors
...
svn path=/trunk/KDE/kdelibs/; revision=1030709
2009-10-03 03:27:52 +00:00
Marco Martin
faa91ca8e5
don't make borders appear and disappear each resize
...
svn path=/trunk/KDE/kdelibs/; revision=1030637
2009-10-02 20:17:45 +00:00
Marco Martin
8c1408f179
apparently if the label is hidden it doesn't receive font change events,
...
so at show event i have to check if the font is different from
QApplication::font() :/
now: is this the intended behaviour of qt or is a bug?
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1030634
2009-10-02 20:14:40 +00:00
Jacopo De Simoi
9a1a247591
postpone refreshing of the currently selected item
...
svn path=/trunk/KDE/kdelibs/; revision=1030620
2009-10-02 19:08:36 +00:00
Jacopo De Simoi
b8d35a709c
Add signals targetReached and animationStep
...
svn path=/trunk/KDE/kdelibs/; revision=1030619
2009-10-02 19:06:14 +00:00
Marco Martin
7387d79cbd
give d->widget the focus when the focus arrives on us
...
svn path=/trunk/KDE/kdelibs/; revision=1030582
2009-10-02 16:07:06 +00:00
Adenilson Cavalcanti Da Silva
99cdc241c3
Making kinetic scrolling class generic.
...
The current design uses 3 properties to calculate movement (horizontal/vertical
position and the viewport size) being up to the client class (e.g. ScrollWidget)
move its widgets when the position property changed.
It will allow to reuse the kinetic scrolling class with other plasmoids.
svn path=/trunk/KDE/kdelibs/; revision=1030136
2009-10-01 16:47:19 +00:00
Aaron J. Seigo
d2e3cf28cb
do some caching
...
svn path=/trunk/KDE/kdelibs/; revision=1029904
2009-10-01 00:58:41 +00:00
Jacopo De Simoi
225cab4ef4
workaround some qt bug which makes children items disappear when toggling the ItemClipsChildrenToShape flag
...
svn path=/trunk/KDE/kdelibs/; revision=1029853
2009-09-30 22:10:35 +00:00
Marco Martin
2d2c2ea22f
better logic to enable/disable borders
...
svn path=/trunk/KDE/kdelibs/; revision=1029755
2009-09-30 17:05:40 +00:00
Marco Martin
e550837212
apidocs++
...
svn path=/trunk/KDE/kdelibs/; revision=1029643
2009-09-30 12:40:07 +00:00
Marco Martin
c134158608
better logic to show/hide borders, still seems to not delete them in
...
some cases
svn path=/trunk/KDE/kdelibs/; revision=1029416
2009-09-29 17:36:56 +00:00
Marco Martin
f99025da70
unbreak svg element loading as button icon
...
svn path=/trunk/KDE/kdelibs/; revision=1028676
2009-09-27 21:26:46 +00:00
Marco Martin
14fed09f70
give a really light gradient to the text background, it gives a more
...
finished look
svn path=/trunk/KDE/kdelibs/; revision=1028591
2009-09-27 17:32:49 +00:00
Giulio Camuffo
1d1cd9ab47
install event filters for new target again
...
svn path=/trunk/KDE/kdelibs/; revision=1028104
2009-09-25 21:28:07 +00:00
Marco Martin
b7768c774c
check for null widget
...
bound the passed rect to the widget bounding rect
svn path=/trunk/KDE/kdelibs/; revision=1027836
2009-09-24 21:27:40 +00:00
Marco Martin
80f675df0d
setX, not setY
...
svn path=/trunk/KDE/kdelibs/; revision=1027831
2009-09-24 21:15:47 +00:00
Marco Martin
a4d591e6fd
ensureRectVisible() a rect in internal widget coordinates will cause an
...
animated scroll until the rect becomes visible
it should not collide with kinetic scroll since the anim is stopped as
soon as amouse or wheel event is triggered
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1027814
2009-09-24 20:40:16 +00:00
Marco Martin
bb11bbf81b
another null pointer check
...
svn path=/trunk/KDE/kdelibs/; revision=1027780
2009-09-24 18:52:58 +00:00
Marco Martin
03c1fca71d
properly fix previous commit don't crash setting an active page < 0
...
don't crash setting a new one if the old one was 0
svn path=/trunk/KDE/kdelibs/; revision=1027767
2009-09-24 18:26:48 +00:00
Marco Martin
1ae2f714bb
don't explode on setCurrentIndex(index<0)
...
svn path=/trunk/KDE/kdelibs/; revision=1027763
2009-09-24 17:57:53 +00:00
Albert Astals Cid
376e23e095
const & in foreach variables
...
svn path=/trunk/KDE/kdelibs/; revision=1027710
2009-09-24 14:24:46 +00:00
Giulio Camuffo
b363df741e
using installEventFilter if the target is a QGraphicsWidget, else
...
installSceneEventFilter because sceneEventFilter doesn't get GraphicsSceneResize events
svn path=/trunk/KDE/kdelibs/; revision=1027316
2009-09-23 20:29:56 +00:00
Marco Martin
cfb045bf3d
use the glow to indicate focus/hover
...
svn path=/trunk/KDE/kdelibs/; revision=1027297
2009-09-23 19:15:51 +00:00
Michał Dutkiewicz
034e5a4a62
Support for using custom native widgets with ComboBox, LineEdit and TextEdit
...
svn path=/trunk/KDE/kdelibs/; revision=1027285
2009-09-23 18:42:19 +00:00
Marco Martin
56ac584338
use the focus and over glows for editable mode
...
svn path=/trunk/KDE/kdelibs/; revision=1027264
2009-09-23 17:25:53 +00:00
Marco Martin
e17155505a
use the lineedit element
...
have a glow on mouseover
and a stronger one for focus
svn path=/trunk/KDE/kdelibs/; revision=1027174
2009-09-23 13:23:03 +00:00
Marco Martin
eedf3c47ff
update the current index when inserting tabs
...
svn path=/trunk/KDE/kdelibs/; revision=1026753
2009-09-22 14:04:20 +00:00
Marco Martin
b16ed00bc4
off by one, crash--
...
svn path=/trunk/KDE/kdelibs/; revision=1026750
2009-09-22 13:53:29 +00:00
Adenilson Cavalcanti Da Silva
304469cb0a
Keeping scrollwheel events within the scrollwidget. This allows to use
...
scrollwheel to roll the widget (e.g. uBlog) and not the whole
plasma-netbook newspaper screen.
svn path=/trunk/KDE/kdelibs/; revision=1026749
2009-09-22 13:47:24 +00:00
Marco Martin
66fb9378c0
fix size hints
...
svn path=/trunk/KDE/kdelibs/; revision=1026340
2009-09-21 14:14:38 +00:00
Marco Martin
819a0f6dbc
proper namespace, fix build
...
svn path=/trunk/KDE/kdelibs/; revision=1026330
2009-09-21 14:00:53 +00:00
Marco Martin
1bf822a0a1
meaningful size hints
...
svn path=/trunk/KDE/kdelibs/; revision=1026328
2009-09-21 13:57:32 +00:00
Aaron J. Seigo
7ad7bfd634
set d->target sooner so that the code in setTarget(QRectF) works properly
...
svn path=/trunk/KDE/kdelibs/; revision=1026219
2009-09-21 06:17:04 +00:00
Aaron J. Seigo
76dfb7c57e
be able to set the borders of the frame to show/paint; one of the things i really dislike about QFrame, now solved in Plasma::Frame
...
svn path=/trunk/KDE/kdelibs/; revision=1026213
2009-09-21 05:29:47 +00:00
Aaron J. Seigo
7b5f1d4e35
since the target is destroyed, reset our internal pointer so we don't subsequently access it in setTargetItem and die a horrible death. corrects crashes in SAL.
...
svn path=/trunk/KDE/kdelibs/; revision=1026212
2009-09-21 05:26:12 +00:00
Marco Martin
e24e0294e3
was width, not height
...
svn path=/trunk/KDE/kdelibs/; revision=1025763
2009-09-19 16:06:41 +00:00
Marco Martin
7e23f237c6
correctly align the button pixmap
...
svn path=/trunk/KDE/kdelibs/; revision=1025760
2009-09-19 15:59:20 +00:00
Marco Martin
48fe7cee90
assign d->target later or the comparison is always false, connect to
...
destroyed and crash--
svn path=/trunk/KDE/kdelibs/; revision=1025756
2009-09-19 15:50:06 +00:00
Marco Martin
efbe7150fd
enable/disable shadows and scrollbard indipendently
...
svn path=/trunk/KDE/kdelibs/; revision=1025749
2009-09-19 15:35:16 +00:00
Jacopo De Simoi
94b684c01c
make sure to disconnect the _old_ target from the itembackground, not the new one with itself
...
svn path=/trunk/KDE/kdelibs/; revision=1025709
2009-09-19 13:30:58 +00:00
Aaron J. Seigo
1b05349652
textchanged signal
...
svn path=/trunk/KDE/kdelibs/; revision=1025553
2009-09-19 03:27:56 +00:00
Aaron J. Seigo
2f535d5516
if we have a target item and the target is visible but the background item isn't, show the background item and just move it into place
...
svn path=/trunk/KDE/kdelibs/; revision=1025473
2009-09-18 21:24:14 +00:00
Adenilson Cavalcanti Da Silva
974df6773a
Adding a kinetic scrolling class and using it in plasma::ScrollWidget.
...
ATM, it uses timers to do the animation, the idea is to use factory pattern
and implement the animation with QProperyAnimation too (using Qt 4.6).
svn path=/trunk/KDE/kdelibs/; revision=1024929
2009-09-17 16:24:19 +00:00
Laurent Montel
35a5992edc
Pedanti
...
svn path=/trunk/KDE/kdelibs/; revision=1023178
2009-09-14 06:08:46 +00:00
Marco Martin
58b8324d0e
now it is setPixmap(RadioButton *)
...
svn path=/trunk/KDE/kdelibs/; revision=1023069
2009-09-13 20:16:32 +00:00
Marco Martin
67515c758a
always use plasma::theme font, unless somebody call setFont on the
...
widget
round two: sync the native widgets fonts with the plasma::theme font,
unless setFont was called
svn path=/trunk/KDE/kdelibs/; revision=1023050
2009-09-13 19:18:29 +00:00
Aaron J. Seigo
1730d86a73
add some properties and isDown()
...
svn path=/trunk/KDE/kdelibs/; revision=1023016
2009-09-13 18:12:32 +00:00
Aaron J. Seigo
f2af7e8087
kicon and qicon are treated differnetly internally by KPushButton, so we unforunately we need to provide an overload here
...
svn path=/trunk/KDE/kdelibs/; revision=1022998
2009-09-13 17:37:36 +00:00
Aaron J. Seigo
1b53393043
put it in the template too
...
svn path=/trunk/KDE/kdelibs/; revision=1022991
2009-09-13 17:17:02 +00:00
Aaron J. Seigo
9525a9a267
clean up the svg if we change the image strategy
...
svn path=/trunk/KDE/kdelibs/; revision=1022990
2009-09-13 17:15:56 +00:00
Aaron J. Seigo
45b39e84c4
* repaint the svg when the theme changes
...
* delete the svg before creating a new one
* only create a new svg object if the path has changed
svn path=/trunk/KDE/kdelibs/; revision=1022989
2009-09-13 17:13:55 +00:00
Aaron J. Seigo
0ab4b19c25
add press/release signals
...
svn path=/trunk/KDE/kdelibs/; revision=1022977
2009-09-13 16:50:00 +00:00
Marco Martin
5cc2ddf8ad
always use plasma::theme font, unless somebody call setFont on the
...
widget
round one:widgets that draws themselves without native()-render()
and don't have a setFont function themselves
svn path=/trunk/KDE/kdelibs/; revision=1022897
2009-09-13 13:13:55 +00:00
Marco Martin
a827d621f8
use the plasma font...
...
unless someone called QGraphicsWidget::setFont()
svn path=/trunk/KDE/kdelibs/; revision=1022790
2009-09-12 15:05:39 +00:00
Aaron J. Seigo
a859eb502a
use the font for the fontmetrics that it's actually painting with
...
svn path=/trunk/KDE/kdelibs/; revision=1022199
2009-09-11 03:17:42 +00:00
Marco Martin
664a262df2
use the width of the largest word as the width size hint
...
svn path=/trunk/KDE/kdelibs/; revision=1022099
2009-09-10 19:55:29 +00:00
Marco Martin
1e4746035f
set margins around the icon dependent on the svg margins or on the
...
widget's contentsmargins if set
svn path=/trunk/KDE/kdelibs/; revision=1021623
2009-09-09 17:03:22 +00:00
Marco Martin
7ef4b04838
sensible size hints
...
svn path=/trunk/KDE/kdelibs/; revision=1019577
2009-09-03 22:24:29 +00:00
Marco Martin
f25dda51df
when there are no scrollbars just ignore wheel events
...
BUG:205879
svn path=/trunk/KDE/kdelibs/; revision=1019292
2009-09-03 09:58:01 +00:00
Marco Martin
462f323042
add tabAt(int) function
...
actually the correspondent qtabwidget is widget(), but on a
qgraphicsproxywidget it is taken, maybe needs a beter name?
CCMAIL: plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1019013
2009-09-02 15:54:18 +00:00
Rob Scheepmaker
9cb9cfe65e
Push in remote widgets
...
svn path=/trunk/KDE/kdelibs/; revision=1018655
2009-09-02 02:27:16 +00:00
Beat Wolf
03d8572ae4
fix a double delete bug
...
svn path=/trunk/KDE/kdelibs/; revision=1018485
2009-09-01 18:42:09 +00:00
Riccardo Iaconelli
339a5f84e4
fix a huge leak :-)
...
Signed-off-by: Riccardo Iaconelli <riccardo@kde.org>
svn path=/trunk/KDE/kdelibs/; revision=1018177
2009-09-01 12:01:30 +00:00
Aaron J. Seigo
eb5b7d040c
order and parent the background according to the item
...
svn path=/trunk/KDE/kdelibs/; revision=1017945
2009-08-31 23:47:11 +00:00
Aaron J. Seigo
dc1045b8cb
* proper sizes
...
* don't crash on null target
svn path=/trunk/KDE/kdelibs/; revision=1017771
2009-08-31 12:29:44 +00:00
Aaron J. Seigo
feea867bd3
make it possible to do contntx resct syncing
...
svn path=/trunk/KDE/kdelibs/; revision=1017768
2009-08-31 12:14:47 +00:00
Aaron J. Seigo
b4fa1b3859
use the resize event
...
svn path=/trunk/KDE/kdelibs/; revision=1017755
2009-08-31 11:35:37 +00:00
Aaron J. Seigo
a36b7045f9
track item deletion as well
...
svn path=/trunk/KDE/kdelibs/; revision=1017735
2009-08-31 10:13:44 +00:00
Aaron J. Seigo
bf26e35f5c
move/resize the background when the target item does so
...
svn path=/trunk/KDE/kdelibs/; revision=1017728
2009-08-31 10:04:17 +00:00
Aaron J. Seigo
27b2236e2d
* move the private slot to the dptr
...
* don't crash when handed a null pointer to setTargetItem
svn path=/trunk/KDE/kdelibs/; revision=1017705
2009-08-31 09:19:00 +00:00
Laurent Montel
55187668a8
Fix mem leak
...
svn path=/trunk/KDE/kdelibs/; revision=1017674
2009-08-31 07:22:56 +00:00
Marco Martin
663feaa341
restore fade in/out
...
svn path=/trunk/KDE/kdelibs/; revision=1017614
2009-08-31 00:47:24 +00:00
Marco Martin
082f5f1a93
sorry for the camels :)
...
svn path=/trunk/KDE/kdelibs/; revision=1017602
2009-08-31 00:18:14 +00:00
Marco Martin
43506a6962
fix setTargetItem
...
svn path=/trunk/KDE/kdelibs/; revision=1017598
2009-08-30 23:52:13 +00:00
Marco Martin
c76be95adb
create the dpointer, doh!
...
svn path=/trunk/KDE/kdelibs/; revision=1017588
2009-08-30 23:34:25 +00:00
Marco Martin
d04a5b7624
if you export it maybe then you can actually use it right?
...
svn path=/trunk/KDE/kdelibs/; revision=1017581
2009-08-30 23:11:04 +00:00
Marco Martin
087e42ead7
fix itemChange
...
svn path=/trunk/KDE/kdelibs/; revision=1017574
2009-08-30 22:44:47 +00:00
Marco Martin
a93ab19864
fix setTarget and setTargetItem behaviour
...
svn path=/trunk/KDE/kdelibs/; revision=1017557
2009-08-30 21:56:33 +00:00
Marco Martin
40db26d969
use Plasma namespace
...
svn path=/trunk/KDE/kdelibs/; revision=1017553
2009-08-30 21:41:06 +00:00
Marco Martin
77160a9e50
new widget: ItemBackground.
...
can be used for all fake item views based on qgraphicswidgets
svn path=/trunk/KDE/kdelibs/; revision=1017544
2009-08-30 21:17:52 +00:00
Davide Bettio
9c17a0b105
Added separator widget that has been posted in the reviewboard some months ago.
...
http://reviewboard.kde.org/r/672/
svn path=/trunk/KDE/kdelibs/; revision=1017364
2009-08-30 11:28:34 +00:00
Marco Martin
d6eb165ee5
setTextSelectable, to be able to select text XOR drag the widget with
...
the mouse
svn path=/trunk/KDE/kdelibs/; revision=1017058
2009-08-29 16:59:28 +00:00
Allen Winter
07f11ce056
compile++
...
CCMAIL: notmart@gmail.com
svn path=/trunk/KDE/kdelibs/; revision=1016997
2009-08-29 14:22:52 +00:00
Marco Martin
9ee071c5e3
decent icon size
...
svn path=/trunk/KDE/kdelibs/; revision=1016957
2009-08-29 13:00:22 +00:00
Aaron J. Seigo
1e8fc7272f
only reset the sizes when we have no tabs
...
BUG:205457
svn path=/trunk/KDE/kdelibs/; revision=1016724
2009-08-28 17:28:15 +00:00
Marco Martin
c67decb4d9
fade out the end of the text when there is not enough room (and wordwrap
...
is off)
svn path=/trunk/KDE/kdelibs/; revision=1012310
2009-08-17 12:24:33 +00:00
Marco Martin
bd352af269
resize at the hint when the orientation is set. useful when it's not in
...
a layout
BUG:203908
svn path=/trunk/KDE/kdelibs/; revision=1012110
2009-08-16 20:15:25 +00:00
Marco Martin
afad9ce8a2
take the proper elements
...
svn path=/trunk/KDE/kdelibs/; revision=1011453
2009-08-14 17:26:15 +00:00
Marco Martin
1fe4e538f0
don't bother to draw the rect if the text bounding rect is empty
...
svn path=/trunk/KDE/kdelibs/; revision=1008830
2009-08-08 13:10:37 +00:00
Marco Martin
fd28c2f7db
was custom for the netbook thinghie, but realized that cutted away
...
contents are quite ugly everywhere, so generalizing: when a scrollbar is
on, enable borders that gives a sunken feel on it, making a
justification for the text brutally clipped
svn path=/trunk/KDE/kdelibs/; revision=1006503
2009-08-03 20:41:42 +00:00
Marco Martin
bb659e280c
set containsmultipleimages when an id is set
...
better size hint
svn path=/trunk/KDE/kdelibs/; revision=1005679
2009-08-01 18:48:09 +00:00
Marco Martin
c6bab8100d
add a sensible size hint
...
svn path=/trunk/KDE/kdelibs/; revision=1005675
2009-08-01 18:36:01 +00:00
Marco Martin
6257d4b7a8
takeTab(), removes a tab and returns the tab contents
...
svn path=/trunk/KDE/kdelibs/; revision=1004310
2009-07-29 20:30:07 +00:00
Arthur Renato Mello
f8580b442d
Add support to load a single element from a svg as icon
...
svn path=/trunk/KDE/kdelibs/; revision=1003809
2009-07-28 21:07:19 +00:00
Marco Martin
9e278bbe78
playPauseButton doesn't always exist, crash--
...
svn path=/trunk/KDE/kdelibs/; revision=1002603
2009-07-26 14:23:29 +00:00
Marco Martin
af839dc89c
when the scrolbar visibility is udated activate the layout and do
...
resize, this should avoid the unnecessary horizontal scrollbar in the
microblog applet
svn path=/trunk/KDE/kdelibs/; revision=1002239
2009-07-25 13:14:19 +00:00
Marco Martin
c702490625
resize the widget -after- hadjusting the scrollbar visibility
...
svn path=/trunk/KDE/kdelibs/; revision=1002234
2009-07-25 12:48:30 +00:00
Aaron J. Seigo
16bf535e5e
forward port r999260 by Ade
...
CCBUG:199899
svn path=/trunk/KDE/kdelibs/; revision=1002146
2009-07-25 07:21:14 +00:00
Arthur Renato Mello
d9d08c94e0
Fix svg support on Plasma::ToolButton, setting correct path and size of svg
...
svn path=/trunk/KDE/kdelibs/; revision=997953
2009-07-16 18:03:22 +00:00
Marco Martin
dcd418a3e8
use kio for access, so we can haz kioslaves, cookies and proxies
...
svn path=/trunk/KDE/kdelibs/; revision=994537
2009-07-10 17:47:08 +00:00
Aaron J. Seigo
47b8b802ac
standardize link colors
...
svn path=/trunk/KDE/kdelibs/; revision=993491
2009-07-08 19:25:20 +00:00
Aaron J. Seigo
367140c8e1
base the size on the option rect
...
svn path=/trunk/KDE/kdelibs/; revision=986456
2009-06-24 16:54:51 +00:00
Pascal Létourneau
a42e0c2f92
Use the correct type
...
svn path=/trunk/KDE/kdelibs/; revision=983688
2009-06-18 19:46:11 +00:00
Aaron J. Seigo
55a8682576
constify
...
svn path=/trunk/KDE/kdelibs/; revision=982723
2009-06-16 17:49:27 +00:00
Marco Martin
46f6571eea
export isClearButtonShown
...
svn path=/trunk/KDE/kdelibs/; revision=982630
2009-06-16 13:45:11 +00:00
Marco Martin
d55d16976e
don't paint button background if it's disabled
...
svn path=/trunk/KDE/kdelibs/; revision=982337
2009-06-15 14:35:00 +00:00
Alan Alpert
390a8931d5
Add NOTIFYs to Q_PROPERTYs for plasma widgets
...
See http://reviewboard.kde.org/r/844/ for more details.
svn path=/trunk/KDE/kdelibs/; revision=982204
2009-06-15 09:47:14 +00:00
Aaron J. Seigo
b16294bdec
it looks far, far better with that margin, i'm afraid.
...
svn path=/trunk/KDE/kdelibs/; revision=982045
2009-06-14 20:14:28 +00:00
Aaron J. Seigo
c9f6055a93
SVN_SILENT: @since
...
svn path=/trunk/KDE/kdelibs/; revision=982009
2009-06-14 18:09:54 +00:00
Aaron J. Seigo
c7c841e33a
SVN_SILENT: sshh
...
svn path=/trunk/KDE/kdelibs/; revision=982008
2009-06-14 18:09:41 +00:00
Laurent Montel
7f7557b781
Add missing svg function
...
svn path=/trunk/KDE/kdelibs/; revision=981750
2009-06-14 09:53:12 +00:00
Laurent Montel
5dd9e528fa
Add missing read function
...
svn path=/trunk/KDE/kdelibs/; revision=981749
2009-06-14 09:51:10 +00:00
Aaron J. Seigo
23638e7f84
only return a curved shape if we are drawing the curved background
...
svn path=/trunk/KDE/kdelibs/; revision=979520
2009-06-10 02:18:41 +00:00
Aaron J. Seigo
c2717ed3f2
not sure if i like this (visually) yet, but let's try with a zero px border
...
BUG:177871
svn path=/trunk/KDE/kdelibs/; revision=979507
2009-06-10 00:06:51 +00:00
Marco Martin
75e7968ae5
don't make a loop of scrollbar updating->position updating
...
svn path=/trunk/KDE/kdelibs/; revision=979074
2009-06-08 21:06:23 +00:00
Marco Martin
49043d7f49
update scrollbars position if the widget gets moved
...
svn path=/trunk/KDE/kdelibs/; revision=979057
2009-06-08 20:33:56 +00:00
Aaron J. Seigo
64d02688f9
add some api widgets are using and which seems semi-common
...
svn path=/trunk/KDE/kdelibs/; revision=977687
2009-06-05 01:29:19 +00:00
Marco Martin
856b4664fe
HighlightColor is a background, we need a text color
...
svn path=/trunk/KDE/kdelibs/; revision=976834
2009-06-02 19:01:46 +00:00
Fathi Boudra
9078536006
Plasma::ToolButton::setIcon()/icon() since 4.3
...
CCMAIL: notmart@gmail.com
svn path=/trunk/KDE/kdelibs/; revision=975842
2009-05-31 12:20:57 +00:00
Marco Martin
c96b3739db
use klocale to kill mnemonics
...
svn path=/trunk/KDE/kdelibs/; revision=971913
2009-05-23 17:16:15 +00:00
Marco Martin
80621aa1a7
pretty important textbrowser functions, le's export them
...
svn path=/trunk/KDE/kdelibs/; revision=971727
2009-05-23 10:23:07 +00:00
Marco Martin
9622b2cfe8
qtextayout can't show mnemonics, so when there is a qaction use
...
painter.drawtext
(unlikely we will have a multiline caption in this case)
this should fix the & appearing in the desktop toolbox
svn path=/trunk/KDE/kdelibs/; revision=969532
2009-05-18 13:20:32 +00:00
Aaron J. Seigo
b967d0944e
turn off caching when we are rending the bar
...
BUG:185642
svn path=/trunk/KDE/kdelibs/; revision=967637
2009-05-13 16:40:51 +00:00
Laurent Montel
efbba51e0a
Necessary to fix compile with enable-final
...
svn path=/trunk/KDE/kdelibs/; revision=966210
2009-05-10 16:15:42 +00:00
Marco Martin
30620609ae
unbreak glow animation
...
svn path=/trunk/KDE/kdelibs/; revision=966173
2009-05-10 14:46:46 +00:00
Marco Martin
9b40257b21
sinc link colors
...
svn path=/trunk/KDE/kdelibs/; revision=966171
2009-05-10 14:38:00 +00:00
Marco Martin
92b51d7751
set a tooltip only when the main text is elided
...
BUG: 189716
svn path=/trunk/KDE/kdelibs/; revision=964973
2009-05-07 18:49:22 +00:00
Aaron J. Seigo
ef6d0641dd
disabled and paused state support
...
svn path=/trunk/KDE/kdelibs/; revision=964482
2009-05-06 18:35:31 +00:00
Aaron J. Seigo
6ca62962e2
do a sweep for kapplication usage
...
svn path=/trunk/KDE/kdelibs/; revision=963961
2009-05-05 18:11:50 +00:00
Marco Martin
359c2145b3
use the brand new slider svg
...
svn path=/trunk/KDE/kdelibs/; revision=962188
2009-05-01 17:44:31 +00:00
Marco Martin
540090a1b7
use the shared style on slider
...
dinamically resize controls widget of videoplayer depending on the
player size
svn path=/trunk/KDE/kdelibs/; revision=962181
2009-05-01 17:10:14 +00:00
Marco Martin
f2ba67f0b1
volume slider is smaller than the progress
...
svn path=/trunk/KDE/kdelibs/; revision=961832
2009-04-30 19:43:01 +00:00
Aaron J. Seigo
12000ecad1
no more white background, huzzah
...
svn path=/trunk/KDE/kdelibs/; revision=960564
2009-04-28 16:47:50 +00:00
Aaron J. Seigo
9ddc33a663
allow setting a QAction on push and tool buttons
...
svn path=/trunk/KDE/kdelibs/; revision=958514
2009-04-24 07:40:52 +00:00
Andrew Coles
c54617a1bd
Hypothetically, if you run through the conditions on the if, there's an implicit third branch that isn't matched,
...
corresponding to the first but with the != changed to a ==. Of course, in practice, I can't see why this would /ever/
happen, but the compiler picked up on it. Hence, to shut the damned thing up and in case I'm wrong, the pointer is
now initialised to zero and a Q_ASSERT used to make sure it isn't zero at the point where we try to use it. Quiet
compiler, and a modicum more robustness.
svn path=/trunk/KDE/kdelibs/; revision=957515
2009-04-22 10:11:01 +00:00
Marco Martin
8a4ce887ea
why oh why i always forget @since? :)
...
svn path=/trunk/KDE/kdelibs/; revision=957272
2009-04-21 17:58:51 +00:00
Marco Martin
04a722f05b
provide a nextRequested and previousRequested signals, don't make the
...
widget too heavy with an internal management of the playlist
svn path=/trunk/KDE/kdelibs/; revision=957136
2009-04-21 13:35:42 +00:00
Davide Bettio
eb7617ab4e
Added 2 missing update()s.
...
svn path=/trunk/KDE/kdelibs/; revision=956845
2009-04-20 19:07:40 +00:00