Vincenzo Di Massa
a2a6ed7f04
Delete the property on the parent widget :-)
...
My first bugfix, yay!
BUG: 157816
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779541
2008-02-26 13:00:49 +00:00
Aaron J. Seigo
b4722d7052
some debug to help figure out the xinerama problems; will disable once it's all good.
...
Will: can you svn up and send the output this generates for you? thanks
CCBUG:158406
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779405
2008-02-26 01:55:50 +00:00
Aaron J. Seigo
9c6dd4846b
assert on having a view before calling this ...
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779305
2008-02-25 20:50:26 +00:00
Aaron J. Seigo
ee26284ec3
fix maximum size in lieu of the WoC porting
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=778192
2008-02-22 19:40:46 +00:00
Aaron J. Seigo
756041badd
const ref fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776990
2008-02-19 09:19:02 +00:00
Aaron J. Seigo
b19eb3eaff
handful more of krazy fixes and i'm done for the night
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776988
2008-02-19 09:12:34 +00:00
Aaron J. Seigo
777b8083f8
* moves the idea of margins up to LayoutItem, allowing any LayoutItem to have a margin
...
* moves the idea of the size of the item up to LayoutItem, as both Widget and Layout implemented it separately
* provides a way in LayoutItem to adjust a rect within an item to its margins (that is what LayoutItem::topLeft() is there for)
* fix several bugs, both painting and sizing, in LineEdit
* Applet sets margins now based on the existence of setDrawBackground
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776380
2008-02-17 23:02:46 +00:00
Benjamin K. Stuhl
f78ab80d19
Call QWidget::resizeEvent() so that we get our layout recalculated. This
...
fixes the previews showing up in the wrong place.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776041
2008-02-17 07:47:52 +00:00
Marco Martin
0cfd49fb26
ok, not painterMask, maskPainter, woops :)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=775827
2008-02-16 18:47:46 +00:00
Marco Martin
1403f2d007
painter => painterMask: more descriptive name
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=775826
2008-02-16 18:43:25 +00:00
Marco Martin
bd80f41ae2
fixing a rendering problem with Qt>=4.4
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=775816
2008-02-16 18:07:28 +00:00
Marco Martin
3f937278e1
Fix IconAction animation
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=775286
2008-02-15 11:39:10 +00:00
Andreas Aardal Hanssen
7516d7ea30
Introduce QGraphicsItem::CacheMode in place of Widget::CachePaintMode.
...
This move was planned from the beginning; Widget::CachePaintMode was a
backport of the same feature in Qt 4.4. OK'ed by aseigo after post on
panel-devel. I've left CachePaintMode in there (it simply redirects to
CacheMode); I don't know if it's OK to remove these APIs or not (and
it's not monday anyway).
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=775198
2008-02-15 06:51:37 +00:00
Aaron J. Seigo
d03a381595
various geometry fixes (though somewhat depends on monday's big layout fix commit)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774336
2008-02-13 01:48:18 +00:00
Aaron J. Seigo
e27b0ca4d0
ok, second try based on tzander's response. i think this should work better and be a nice come back from lunch toy for him to play/test with.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773999
2008-02-12 10:07:45 +00:00
Aaron J. Seigo
5b394a752f
make popup location calcs xinerama aware. i bet this even closes some BRs. i'm too tired to look for them though. =P
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773980
2008-02-12 09:41:49 +00:00
Andre Duffeck
c42f0593ba
Fix broken usage of Plasma::Phase
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773933
2008-02-12 05:52:49 +00:00
Aaron J. Seigo
22c8b77b34
this is not a Plasma::Widget. now styling is back. looks as nasty as ever, though.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773813
2008-02-11 20:50:13 +00:00
Aaron J. Seigo
c7fe098480
avoid flicker
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773744
2008-02-11 17:35:21 +00:00
Aaron J. Seigo
a438b53373
die, setSize, die, and all the problems you represent. silly duplicated, not-like-qwidget API anyways. ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773505
2008-02-11 08:24:09 +00:00
Aaron J. Seigo
eed0410c56
* make setSize virtual as well since it sets d->size internally, so Applet needs to intercept that call
...
* remove some dead code in widgets.cpp
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773475
2008-02-11 06:11:13 +00:00
Chani Armitage
1c4bdb9408
don't set d->size directly; this fixes the weird issues with setting minimum size before contentsize and makes sure the svg is updated
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773472
2008-02-11 05:53:19 +00:00
Marco Martin
2f6a8de658
recalculate all the margin sizes when the plasma theme changes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772465
2008-02-08 20:50:55 +00:00
Marco Martin
253f892b99
Now tooltips are svg-themed, the svg background for tooltips can be found on desktoptheme/widgets/tooltip.svg and when compositing is disabled desktoptheme/opaque/widgets/tooltip.svg is used
...
at the moment the svgs are the usual ones from the applet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772132
2008-02-07 21:24:20 +00:00
Aaron J. Seigo
462c52af51
be a little more paranoid about setting the info.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771449
2008-02-06 01:25:59 +00:00
Aaron J. Seigo
476eb885cb
return on emptying the tooltip
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771375
2008-02-05 20:10:53 +00:00
Aaron J. Seigo
c7779d983e
helps to make it an actual slot, no?
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771348
2008-02-05 19:17:50 +00:00
Aaron J. Seigo
9aa26c5e35
* set the palette on theme changes only
...
* don't grab the data until actually shown
* show the right size and position when we are showing the tip
* allow the tooltip to figure out it's size with the help of the widget (it knows when to do this, the widget only knows how)
* don't show the tip on every item's mouse over, respect the small timeout
* only create a ToolTipData struct for those items that actually use it (memory savings as well as makes the check for showing the tip a lot simpler)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771314
2008-02-05 18:26:17 +00:00
Sebastian Kügler
886eb24647
Ooops. Didn't mean to sneak this in.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771018
2008-02-05 00:13:37 +00:00
Sebastian Kügler
576a655b05
Tooltip uses Plasma:Theme now ... and turns black here.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771014
2008-02-05 00:01:15 +00:00
Aaron J. Seigo
abd8d94daa
while getting the size wrong is bad, flickering like crazy is even worse =)
...
resize after the contents have been set to get a rational size out of the widget.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=770966
2008-02-04 20:59:39 +00:00
Riccardo Iaconelli
2434a31f69
Reset tooltip's size when changing text.
...
BUG: 157059
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=770405
2008-02-03 16:57:00 +00:00
Riccardo Iaconelli
08771bb763
Align to grid, and slightly smaller frame
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=770404
2008-02-03 16:56:53 +00:00
Bill Egert
29215641ef
Reveiwed from http://matt.rogers.name/r/42/
...
Set windowSize only from readWindowSize()
It looks like that function has some logic to determine what windowSize should really be.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=770330
2008-02-03 13:06:34 +00:00
Marco Martin
fb5ad56937
some tweaks in popupPosition()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=766629
2008-01-26 12:37:17 +00:00
Aaron J. Seigo
74a5773d79
use the Theme::*Color methods. another place we really need Plasma::ThemeColor, apparently.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=766075
2008-01-25 07:36:33 +00:00
Marco Martin
b39fa0c7db
white semitransparent border of icon background for better contrast
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765805
2008-01-24 18:35:22 +00:00
Marco Martin
92ecb186df
in popupPosition() calculating if we are out of screen with the actual screen size instead of graphicsview size
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765724
2008-01-24 15:44:11 +00:00
Aaron J. Seigo
11f9ad3064
BINARY INCOMPATIBLE CHANGE
...
make it possible to use the context menu event hack with non-Plasma::Widgets.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765005
2008-01-22 23:39:15 +00:00
Aaron J. Seigo
76747db2d9
--compiler.warningsCount();
...
--compiler.warningsCount();
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765001
2008-01-22 23:31:57 +00:00
Marco Martin
e8b62a6ceb
move popupleft when there is not enough room (it looks like the windowmanager doesn't always do it automatically)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764755
2008-01-22 14:06:37 +00:00
Aaron J. Seigo
08812eeb00
setFont is not on the agenda; Plasma::Theme is there for that now
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764402
2008-01-21 17:35:01 +00:00
Marco Martin
6d362861e0
SVN_SILENT: micro cosmetic style fix
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764302
2008-01-21 11:51:04 +00:00
Marco Martin
ee37d19811
better positioning of tooltips in case of panels not in bottom position and a new function in widget called popupPosition(const QSize s) this will be used every time a tooltip or popup menu has to be positioned
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764299
2008-01-21 11:42:08 +00:00
Marco Martin
d3b203777c
use a text color from plasma color scheme when the lineedit is not styled
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764029
2008-01-20 20:59:34 +00:00
Marco Martin
4b8a510837
-less magic numbers on calculation of the position of IconAction
...
-don't paint IconAction when the icon is too tiny and there is not enough room
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764014
2008-01-20 20:07:22 +00:00
Shane King
2d697cbfa9
Plasma compile fixes for non-X11 platforms. Not sure if the X11 stuff even needs an implementation on other platforms or whether this is sufficient.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=763632
2008-01-19 23:30:14 +00:00
Volker Krause
6f89539ced
compile with -pedantic
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=762324
2008-01-16 20:21:47 +00:00
Marco Martin
9cc8eabf9b
SVN_SILENT: don't pass click also on action icons when the mouse was moved
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=761954
2008-01-15 18:56:23 +00:00
Marco Martin
67844a4190
SVN_SILENT: don't pass click on main icon when clicking on an action icon
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=761952
2008-01-15 18:51:43 +00:00
Aaron J. Seigo
6329570f8f
icons moving doesn't trigger a click action
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760630
2008-01-13 05:33:05 +00:00
Jason Stubbs
c4399a67cb
Have the icon applet explicitly tell the icon widget that a clicked() signal
...
isn't wanted after a mouse move rather than the widget assuming so. This means
that icon applets that can't be dragged act like regular buttons again.
Ok to commit this to 4.0 as well?
BUG: 155531
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760441
2008-01-12 17:07:19 +00:00
Aaron J. Seigo
8801af70e5
in case a tooltip becomes permanent, allow clicking it away
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760180
2008-01-12 05:32:07 +00:00
Marco Martin
834ce37f54
implement activated() slot for Plasma::Icon
...
and use it in IconApplet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760054
2008-01-11 20:30:25 +00:00
Aaron J. Seigo
3d6c1c5527
give some shape to the icon
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760002
2008-01-11 18:17:24 +00:00
Christopher Blauvelt
f46a6a269c
Use mouseDoubleClickEvent instead of a custom implementation.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759629
2008-01-10 23:29:05 +00:00
Aurélien Gâteau
0d4a6be225
Nicer tooltips:
...
- No more big font
- Use full width for text label
- Removed gap between main and sub texts
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759530
2008-01-10 20:25:37 +00:00
Aaron J. Seigo
d2a5c1a7af
implement a doubleClicked signal.
...
i must admit that using signals that don't exist to implement needed features in applets is an inventive way to force me to implement stuff in libplasma ;)
BUG:155413
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759525
2008-01-10 20:18:11 +00:00
Aaron J. Seigo
ee32d3c996
remove the use of 1209 explicitly now that i have Winter's Magic Formula for default debug space. makes backporting way easier; sorry for the noise of the earlier commit. suppose i should read planetkde.org more closely ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758498
2008-01-08 01:25:09 +00:00
Aaron J. Seigo
12ef6308cb
use the plasma debug area (1209); i considered wrapping this in Plasma::debug() but that seems overkill ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758415
2008-01-07 20:50:31 +00:00
Ryan P. Bitanga
6e46fe97ff
Use colors from palette instead of hard coded Qt::Black, keep mask functionality in resizeEvent()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758301
2008-01-07 15:03:14 +00:00
Ryan P. Bitanga
9bace0db16
Fix style
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758298
2008-01-07 14:58:50 +00:00
Aaron J. Seigo
483851b361
trigger a re-calc of the icon size when text is set. fixes icon presentation on reload at startup
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758190
2008-01-07 05:09:09 +00:00
Aaron J. Seigo
7b5c62982d
commit ryan's black border on tooltip patch so i can merge to the branch soon
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758187
2008-01-07 04:41:30 +00:00
Aaron J. Seigo
402cfc7d26
self(), not instance(), in line with all other singletons in plasma
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758186
2008-01-07 04:39:36 +00:00
Percy Leonhardt
84f2fad73e
The signalplotter needs to know when it is resized. Otherwise the plots are too short for the current width.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757903
2008-01-06 12:49:32 +00:00
Marco Martin
454d824d4f
removing sizeHint() since it's identical to Widget::sizeHint()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757897
2008-01-06 11:41:15 +00:00
Aaron J. Seigo
c00b3a9b4a
* drop the "to be hidden timer"
...
* don't immediately reset isShown, that's why we have the timer in the first place (really, it just looks like left-over code from before the hide timer)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757828
2008-01-06 00:50:56 +00:00
Aaron J. Seigo
658f0c4bb3
* 150ms delay for already shown tooltips, just as we did with kicker, to prevent overwhelming lower end cpus (or network connections, for that matter)
...
* 500ms delay for new tooltips up from 300ms which worked rather nicely in kicker as well
(trying to learn from kicker, not forget it ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757827
2008-01-06 00:43:49 +00:00
Riccardo Iaconelli
5ad643f313
Show tooltip after a shorter delay, for discoverability issues.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757769
2008-01-05 21:16:30 +00:00
Marco Martin
eff9536215
Make icon applets to work in panel:
...
sizehint of icon widget returns size() instead of the stored one to preventing returning (-1,-1) for the first time
and initialize a size in the icon applet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757756
2008-01-05 20:25:18 +00:00
Aaron J. Seigo
f07d73ff53
allow setting the background of icon on/off ... a little sad about this, but no time to do something else atm
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756868
2008-01-03 21:22:24 +00:00
Christopher Blauvelt
ac040130bf
Enable dragging of icons by clicking in the middle of the IconApplet.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756862
2008-01-03 21:10:07 +00:00
Aaron J. Seigo
dc4981ec41
include a slight mod of ryan's curved corner patch; committing directly to ensure we make the deadline
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756856
2008-01-03 21:02:32 +00:00
Marco Martin
9a0dcafb8d
Substitutes the background svg with a Plasma::roundedRectangle()
...
this makes the radius of the rounded borders of the background of the icon to look right
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756763
2008-01-03 18:38:11 +00:00
Aaron J. Seigo
9aaedf4ddc
SVN_SILENT: fix the style.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756757
2008-01-03 18:20:35 +00:00
Luboš Luňák
1ce57b1d7b
Fix last commit.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756632
2008-01-03 13:59:03 +00:00
Luboš Luňák
89ab030a89
Use KWin's TaskbarThumbnail effect to show window previews in tooltips.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756513
2008-01-03 11:35:42 +00:00
Marco Martin
bef6adb720
added
...
bool invertedLayout() const;
returns if the layout of the icons should appear inverted or not
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755891
2008-01-02 10:39:29 +00:00
Marco Martin
b6030dd8b3
added the method
...
void invertLayout(bool invert);
inverts the layout of the icons if the orientation is horizontal,
normally we get icon on the left with left-to-right languages,
this inverts the behaviour
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755564
2008-01-01 21:00:37 +00:00
Marco Martin
1ca970c48e
added the method
...
void invertLayout(bool invert);
it inverts the layout of the icons if the orientation is horizontal,
normally we get icon on the left with left-to-right languages,
this inverts the behaviour
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755562
2008-01-01 20:58:36 +00:00
Aaron J. Seigo
d5c9ab0cf6
style fix and remove the extra assignment.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755558
2008-01-01 20:53:46 +00:00
Aaron J. Seigo
627cb88ccf
all members belong in the dptr.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755512
2008-01-01 19:21:33 +00:00
Jason Stubbs
7a202c3382
Holding on to the return value of view() as it's a heavy function call. Hiding
...
the widget's tooltip when the widget is deleted. Fixed coding style.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754986
2007-12-31 01:45:48 +00:00
Richard J. Moore
48a812947b
- Better safe than sorry
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754964
2007-12-31 00:38:04 +00:00
Richard J. Moore
eb86939c77
- Ensure we don't popup a tooltip when a context menu or other mouse
...
grabbing activity is occuring as we can obscure it.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754931
2007-12-30 23:48:25 +00:00
Marco Martin
a87dcb6b19
draws iconSvg correctly
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754836
2007-12-30 21:00:38 +00:00
Jason Stubbs
b907728254
If a widget doesn't have a size yet, it's bounding rect won't intersect
...
anything, so also check if its position lies within a view's scene rect.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754627
2007-12-30 11:44:25 +00:00
Jason Stubbs
c268168eab
Overrode sceneEvent() rather than hover(Enter|Leave)Event so that subclasses
...
that use those events (such as Icon) can still have tooltips. Also behaviour
on mouse move, mouse click and mouse wheel events is also managed.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754605
2007-12-30 10:45:21 +00:00
Jason Stubbs
f3e52b76cb
Record which tooltip is being shown so that tooltip data updates don't change
...
which to another widget's tooltip.
BUG: 154719
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754590
2007-12-30 10:17:33 +00:00
Marco Martin
87429288bc
removing Icon::setAlignment again
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754369
2007-12-29 17:09:06 +00:00
Marco Martin
296069a3c1
fixed a typo
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753790
2007-12-28 14:18:52 +00:00
Marco Martin
3893a56543
bring back a dummy setAlignment, otherwise it breaks too many things
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753789
2007-12-28 14:16:59 +00:00
Marco Martin
1743b3d9ef
support for text beside icons depending of the layout direction, can be set with
...
void setOrientation(Qt::Orientation orientation);
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753744
2007-12-28 11:29:56 +00:00
Christopher Blauvelt
06295ace02
Piggyback on mart's patch. Add the ability to set the number of lines in the display, fixes
...
Icon::Private::elidedText so the display won't be truncated to one line if the whole text doesn't
fit, and fixes some crashes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753049
2007-12-26 13:44:57 +00:00
Marco Martin
27ce118c91
removed the following methods:
...
calculateSize()
Private::displaySizeHint(const QStyleOptionGraphicsItem *option)
setIconSize(QSizeF)
added layoutIcons(), similar to calculateSize() but it resizes the icon instead of the widget around the icon
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753033
2007-12-26 12:37:54 +00:00
Craig Duquette
ddc888e9c4
moved setToolTip() and toolTip() to match the updated header which moved these functions to
...
public
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=752612
2007-12-25 05:36:31 +00:00
Craig Duquette
cd216b2eb8
make setToolTip() and toolTip() public from protected
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=752611
2007-12-25 05:34:43 +00:00
Pino Toscano
0ec187a28e
include fixup
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=752169
2007-12-23 19:20:22 +00:00
Marco Martin
5952e90351
White icon text on a semitransparent black background
...
BUG: 154108
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=752098
2007-12-23 15:13:44 +00:00