Commit Graph

7240 Commits

Author SHA1 Message Date
Aaron J. Seigo
f2674c9a51 * setRemainSquare(bool) to allow applets to say "yes, keep my width == height, thank you"
* use AppletScript

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765975
2008-01-25 00:08:25 +00:00
Aaron J. Seigo
0e0d1122ca BINARY INCOMPATIBLE CHANGE
* create a subdir for our scripting classes
* break ScriptEngine into two: a base class and AppletScript
* add stub classes for RunnerScript and DataEngineScript
* provide generic loading methods for all three

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765971
2008-01-25 00:04:03 +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
Chani Armitage
a083df39d5 clean up after a mouse release even if we had passed over some other window
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765268
2008-01-23 18:07:42 +00:00
Chani Armitage
9580b6a463 improve code readability and fix a tiny misalignment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765189
2008-01-23 12:12:57 +00:00
Script Kiddy
75f7be985e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765161
2008-01-23 11:37:15 +00:00
Chani Armitage
593a6c8103 prettify code spacing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765102
2008-01-23 07:01:03 +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
0dfb81a617 BINARY INCOMPATIBLE CHANGES
* const correctness in Animator
* remove the vestiges of the FrameAppear stuff in Phase we never used
* introduce FastSlide[In|Out]
* put the duration in the hands of the Animator with duration methods

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765004
2008-01-22 23:37:48 +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
Chani Armitage
17ddc75c3a fix bug where one signalrelay requests an update right after another and gets nothing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764821
2008-01-22 17:03:34 +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
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