Commit Graph

1377 Commits

Author SHA1 Message Date
Script Kiddy
ec2f627333 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764649
2008-01-22 10:05:53 +00:00
Aaron J. Seigo
2f479c7084 * require a SearchContext in exec since the context may have shifted during matching due to multithreading
* differentiate between resetSearchTerm and just setSearchTerm (to be used with the above)
* remove the SearchContext ptr from SearchMatch's dptr as it isn't used; don't want to mislead people or waste memory
* more const correctness

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764593
2008-01-22 04:38:03 +00:00
Aaron J. Seigo
ddadcc6765 SVN_SILENT: whitespace fix; committing to get it off my hd
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764592
2008-01-22 04:34:49 +00:00
İsmail Dönmez
251dd87666 avoid division by zero
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764517
2008-01-21 23:55:28 +00:00
İsmail Dönmez
730266dc65 if m_toolBacker would be true this line would crash, thanks to Christoph Bartoschek for reporting
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764515
2008-01-21 23:52:42 +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
Stephan Binner
404b0b74d1 open toolbox when the dashboard view starts (to show the
user a way how to "Hide Dashboard" again)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764361
2008-01-21 15:10:19 +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
Script Kiddy
e77d0a39a9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764257
2008-01-21 10:32:13 +00:00
Aaron J. Seigo
910ef16b79 my grammar capabilities work inversely to how many high in the air and how hung over i am.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764150
2008-01-21 07:06:51 +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
Olivier Goffart
9d5697924d Make sure the height of row is always enough to have one line of text
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=763953
2008-01-20 17:11:56 +00:00
Olivier Goffart
2f14830745 Taskbar: Use severals rows if there is too much items to fit in one row
FEATURE: 155974


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=763873
2008-01-20 14:14:35 +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
Riccardo Iaconelli
baf6fb0b13 SVN_SILENT
Fix spelling error

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=763279
2008-01-19 07:14:42 +00:00
Riccardo Iaconelli
8c6436d69c Fix up aaron's... ehm... interesting doc :P
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=763266
2008-01-19 02:45:55 +00:00
Script Kiddy
7075c86aa2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=763015
2008-01-18 10:23:06 +00:00
Aaron J. Seigo
940ccf63e9 show the path that we failed to find as well as the abstract key
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=762850
2008-01-18 00:10:27 +00:00
Aaron J. Seigo
467eadedda api fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=762849
2008-01-18 00:09:33 +00:00
Aaron J. Seigo
840888d9d5 clarity in apidox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=762848
2008-01-18 00:08:50 +00:00
Riccardo Iaconelli
566e1bdff2 Get rid of the (now useless) warning
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=762713
2008-01-17 18:35:23 +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
Anne-Marie Mahfouf
39b5eb33ce bug fixe - no need to backport
BUG=155784

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=761618
2008-01-15 09:09:00 +00:00
Aaron J. Seigo
6a26e85e1a make the colorization effect more noticeable, which in turn makes it feel smoother.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=761575
2008-01-15 07:09:21 +00:00
Aaron J. Seigo
47fbc5aa5a unused var that snuck in nastily. thanks cowstats.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760678
2008-01-13 09:33:02 +00:00
Aaron J. Seigo
755efb64e8 when setting an animator, we need to associate our children with it.
this probably needs to be done to the other layouts too.
BUG:155596

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760655
2008-01-13 08:22:04 +00:00
Aaron J. Seigo
d191de06d3 to be easily usable outside of libplasma, signals need full namespace usage. we really ought to do a good review of libplasma for this issue
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760653
2008-01-13 08:18:26 +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
d53ccc3b00 * another, perhaps slightly paranoiac, removeSceneEventFilter
* don't paint the handle behind the applet, based on its shape(). this prevents it from interfering with translucency, etc of the applet itself

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760188
2008-01-12 06:03:54 +00:00
Aaron J. Seigo
16dab9574f * move the header bits around a bit for a more logical ordering (e.g. all static methods together, all reimp'd methods that are really imp details together at the bottom, etc)
* implement a generic shape() method. this is experimental, so will be interesting to see how it goes. it does show we need a good shape hint in the applet background svg =)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760187
2008-01-12 06:02:29 +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
f02a65c95e make globalConfig() work properly even for containments
BUG:155454

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760003
2008-01-11 18:21:53 +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
Alex Merry
0cac630a79 Get rid of those jagged lines straight away.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759888
2008-01-11 12:11:16 +00:00
Aaron J. Seigo
e8eca7eb2a stop the timer when we start the anim to prevent timer/hide/shows anyways ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759692
2008-01-11 05:11:08 +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
Aaron J. Seigo
06bc11af8c nice solution for no flicker, no jerky hurkey jerky jerk in the toolbox; put an invisible item behind all the tools ;)
BUG:154828

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759555
2008-01-10 21:05:56 +00:00
Marco Martin
1c5074c7c3 search for different background svgs when composite is disabled
squared edges without shadows are preferred without composite

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759551
2008-01-10 20:53:13 +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
12c0a9ae7e resize now listens to Applet::aspectRatioMode(), reversable with Ctrl
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759499
2008-01-10 19:03:31 +00:00
Aaron J. Seigo
311f2380ce per applet aspect ratio guidance with setAspectRatioMode
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759497
2008-01-10 19:02:05 +00:00
Aaron J. Seigo
45e31f3aee need to map from the scene, since we may be rotated or otherwise transformed.
BUG:155372

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759228
2008-01-10 08:21:37 +00:00
Aaron J. Seigo
8c7a064bf8 remove the event filter on both re-show (just in case) and on dtor (prevents a crash)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759161
2008-01-10 07:28:33 +00:00