Commit Graph

4786 Commits

Author SHA1 Message Date
Aaron J. Seigo
1a7416e23b avoid hitting disk repeatedly on svg find failure
svn path=/trunk/KDE/kdelibs/; revision=1029044
2009-09-28 20:41:37 +00:00
Michał Dutkiewicz
4d051d8f86 Added possibility to set pop up (menu, dialog or other widgets) alignment to left, center or right
Translate left and right alignment for vertical form factors
Swap right and left alignment in case of RTL layout
Use center alignment for tool tips

svn path=/trunk/KDE/kdelibs/; revision=1028983
2009-09-28 17:28:17 +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
65a85e7a3d fade out the tabs text at the edges of the tabbar if the tabs are too
many for the space 

svn path=/trunk/KDE/kdelibs/; revision=1028649
2009-09-27 20:23:13 +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
Script Kiddy
74a5fff673 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1028204
2009-09-26 09:08:32 +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
d9d71fcb93 use the toolbox background svg for the toolbox background
svn path=/trunk/KDE/kdelibs/; revision=1028014
2009-09-25 13:30:30 +00:00
Laurent Montel
b3b520f1aa Fix crash when urlLists is empty (for example when frame applet is not configuring)
svn path=/trunk/KDE/kdelibs/; revision=1027917
2009-09-25 06:58:32 +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
Marco Martin
9936c19eae when setting a new widget or graphicswidget, update the main layout or the
dialog, depending the status of the applet was collapsed or not

svn path=/trunk/KDE/kdelibs/; revision=1027670
2009-09-24 13:28:56 +00:00
Script Kiddy
1f6582093f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1027539
2009-09-24 09:33:49 +00:00
Chani Armitage
8581d2b45c remove the hack.
I'm not seeing the addItem crash any more; if anyone else gets it, tell
me.

svn path=/trunk/KDE/kdelibs/; revision=1027322
2009-09-23 20:37:29 +00:00
Chani Armitage
c786e17ba1 since this hack wasn't helping, try without it
svn path=/trunk/KDE/kdelibs/; revision=1027321
2009-09-23 20:37:25 +00:00
Chani Armitage
ba3b1b753b merge-squash of first containment-removal branch
svn path=/trunk/KDE/kdelibs/; revision=1027320
2009-09-23 20:37:17 +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
d733458a0d be sure be sure we're using the !base" prefix
svn path=/trunk/KDE/kdelibs/; revision=1027242
2009-09-23 16:37:47 +00:00
Marco Martin
6c4ec4f091 use the lineedit element
svn path=/trunk/KDE/kdelibs/; revision=1027232
2009-09-23 16:18:38 +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
Script Kiddy
73e61fa25f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1027107
2009-09-23 10:21:18 +00:00
Laurent Montel
064de857dc Pedantic
svn path=/trunk/KDE/kdelibs/; revision=1026898
2009-09-22 19:35:21 +00:00
Marco Martin
01b7db4fa0 don't reset the timer for 0 distance hover move events
BUG:193155

svn path=/trunk/KDE/kdelibs/; revision=1026853
2009-09-22 18:31:36 +00:00
Rob Scheepmaker
5b56a34dfa Support drag & drop of plasma:// and plasma+zeroconf:// urls onto plasma containments.
svn path=/trunk/KDE/kdelibs/; revision=1026777
2009-09-22 15:29:08 +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
Script Kiddy
2202fe5e47 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1026685
2009-09-22 09:04:51 +00:00
Aaron J. Seigo
2a04ddc6fe missing @since
svn path=/trunk/KDE/kdelibs/; revision=1026534
2009-09-22 00:55:30 +00:00
Aaron J. Seigo
d73831e8f0 * hash() -> contentsHash()
* add the metadata file to the hash as well
* update test

svn path=/trunk/KDE/kdelibs/; revision=1026497
2009-09-21 21:48:19 +00:00
Aaron J. Seigo
19f55f804b packages can now generate a hash of their contents; inc unit test
svn path=/trunk/KDE/kdelibs/; revision=1026489
2009-09-21 21:37:44 +00:00
Aaron J. Seigo
72c4534396 SVN_SILENT: more ws
svn path=/trunk/KDE/kdelibs/; revision=1026461
2009-09-21 20:37:06 +00:00
Adenilson Cavalcanti Da Silva
da3ece21e8 Fixing kinetic scrolling with thinkpad 'scrollwheel'
Since it generates lots of wheel events, it was re-triggering the bouncer
animation before it was completed. The result was a 'jittering' (d)effect.

I also increased the friction factor to make it scroll slower.


svn path=/trunk/KDE/kdelibs/; revision=1026404
2009-09-21 18:38:53 +00:00
Aaron J. Seigo
543f6fa81c SVN_SILENT: --warnings
svn path=/trunk/KDE/kdelibs/; revision=1026397
2009-09-21 18:15:42 +00:00
Aaron J. Seigo
2590b21978 SVN_SILENT: style fixes
svn path=/trunk/KDE/kdelibs/; revision=1026383
2009-09-21 16:48:19 +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
bd7cbf7773 use the popup only when the applet isn't our parent
svn path=/trunk/KDE/kdelibs/; revision=1026224
2009-09-21 06:58:24 +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