Commit Graph

810 Commits

Author SHA1 Message Date
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