Jacopo De Simoi
7879ff137c
Do not paint twice most Plasma::Label out there!
...
svn path=/trunk/KDE/kdelibs/; revision=1150751
2010-07-16 17:04:37 +00:00
Marco Martin
748d85362c
set null icons on the widgets after been put in a proxy.
...
would hopefully cause a bit less pixmap usage
svn path=/trunk/KDE/kdelibs/; revision=1149631
2010-07-13 21:32:07 +00:00
Marco Martin
3f6a5ac01a
re enable fading for long text labels
...
svn path=/trunk/KDE/kdelibs/; revision=1128895
2010-05-20 15:49:05 +00:00
Marco Martin
4ab87220a3
try to be more strict when the policy is fixed:
...
the minimum and the preferred size are the same (i.e. avoid to cut away text, always)
svn path=/trunk/KDE/kdelibs/; revision=1125673
2010-05-11 22:06:17 +00:00
Aaron J. Seigo
56d063430e
let's try this out without our "work around Qt bugs" hack and see if Qt is now well behaved
...
svn path=/trunk/KDE/kdelibs/; revision=1124321
2010-05-08 20:45:36 +00:00
Aaron J. Seigo
fb2d1cf524
respecdt the contents rect
...
svn path=/trunk/KDE/kdelibs/; revision=1124318
2010-05-08 20:43:51 +00:00
Aaron J. Seigo
5ed9e14f0e
propagate cursor changes to the native widget
...
svn path=/trunk/KDE/kdelibs/; revision=1111916
2010-04-07 01:44:56 +00:00
Marco Martin
3ba74c0fe8
export wordwrap in api and Q_PROPERTY
...
svn path=/trunk/KDE/kdelibs/; revision=1099291
2010-03-05 12:36:38 +00:00
Aaron J. Seigo
c2b211aba8
don't need this debug anymore
...
svn path=/trunk/KDE/kdelibs/; revision=1096905
2010-02-27 22:20:15 +00:00
Aaron J. Seigo
b2b72f7f2c
fix a regression with the link fix: we only want to go into text browser mode when text is selectable
...
svn path=/trunk/KDE/kdelibs/; revision=1096900
2010-02-27 22:16:05 +00:00
Aaron J. Seigo
7fb501467a
since we can't do a hit test, only accept the mouse event if text selection is turned on; when Qt is fixed, we can get rid of this
...
svn path=/trunk/KDE/kdelibs/; revision=1095481
2010-02-24 11:56:18 +00:00
Aaron J. Seigo
9e5a7b85c1
make link licking and text selection -actually- work
...
svn path=/trunk/KDE/kdelibs/; revision=1095290
2010-02-23 23:02:15 +00:00
Marco Martin
06341cfb73
put all context menus in a separate window, resolving cutting and z-order issues
...
BUG:207956
svn path=/trunk/KDE/kdelibs/; revision=1067048
2009-12-28 19:52:54 +00:00
Marco Martin
bd279b081f
update the geometry when the text changes, apparently it doesn't get done automagically :/
...
svn path=/trunk/KDE/kdelibs/; revision=1057231
2009-12-01 19:33:01 +00:00
Marco Martin
4b9e4f71cd
workaround to the random gibberish when fading:
...
use an intermediate pixmap also when opacity() < 1
svn path=/trunk/KDE/kdelibs/; revision=1052747
2009-11-22 12:49:58 +00:00
Marco Martin
8c047a91eb
don't fade the label if the width is exactly the text width
...
svn path=/trunk/KDE/kdelibs/; revision=1046037
2009-11-07 10:56:06 +00:00
Darío Andrés Rodríguez
59296fb520
- Fix several minor issues reported by Krazy2
...
(http://reviewboard.kde.org/r/1837/ )
svn path=/trunk/KDE/kdelibs/; revision=1034756
2009-10-13 12:40:13 +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
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
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
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
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
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
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
Aaron J. Seigo
47b8b802ac
standardize link colors
...
svn path=/trunk/KDE/kdelibs/; revision=993491
2009-07-08 19:25:20 +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
0d9a13405e
forward linkHovered signal too
...
svn path=/trunk/KDE/kdelibs/; revision=933384
2009-02-28 20:25:13 +00:00
Marco Martin
ccf2fef95f
hasScaledContents/setScaledcontents properties, useful for qtscript
...
svn path=/trunk/KDE/kdelibs/; revision=903557
2008-12-30 20:53:02 +00:00
Sebastian Kügler
168ae12dc5
svn path=/trunk/KDE/kdelibs/; revision=903301
2008-12-30 12:53:33 +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
1b7bf8cdb9
use plasma font in some more widgets
...
svn path=/trunk/KDE/kdelibs/; revision=899830
2008-12-21 17:17:35 +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
Allen Winter
eae853582b
coding style fixes.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870205
2008-10-12 01:31:54 +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
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
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
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
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
Pau Garcia i Quiles
71c0cee2fa
MSVC
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814860
2008-05-31 13:58:05 +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
102cd5b748
no longer used
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807767
2008-05-14 17:16:36 +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