Marco Martin
827876bab0
when the view is zoomed out show all desktop toolboxes as toolbars,
...
makes the thing way more usable
prettier background
and disable the text on maximum zoom out level
svn path=/trunk/KDE/kdelibs/; revision=890259
2008-11-28 17:32:21 +00:00
Rob Scheepmaker
2d4971eb46
Extender Polishing time! The following problems have been adressed:
...
* Far more correct spacer implementation. This avoids the spacer jumping around while dragging an item. Also adjustSizeHints is now only called once/spacer move.
* Avoid spacer related memleak.
* Only load extenderItems that are actually detached. This way, attached items won't linger around in case of a plasma crash.
* Use utilities-desktop-extra as icon for items with no saved icon (e.g. items where the icon is set using setIcon(QIcon) instead of setIcon(QString)). Sure beats the questionmark.
* Update mask when offscreen extender items are resized when being dragged to avoid screwed up masks (white borders).
* Start the drag only aften being moved a minimum of QApplication::startDragDistance().
* Correct transformation for calls to showDropZone.
* Use the mouse position for positioning items in extenders or panels, the topleft corner for positioning in a desktop containment. This feels the most natural.
* Move items back to the extender they came from when they're dropped into nowhere.
* Some small code style fixes.
svn path=/trunk/KDE/kdelibs/; revision=890249
2008-11-28 17:06:00 +00:00
Marco Martin
4d962352a9
respect drawBase()
...
svn path=/trunk/KDE/kdelibs/; revision=889814
2008-11-27 18:36:42 +00:00
Aaron J. Seigo
057d7693fe
sshhhh
...
svn path=/trunk/KDE/kdelibs/; revision=889813
2008-11-27 18:33:11 +00:00
Aaron J. Seigo
4659724790
don't create an unused button
...
svn path=/trunk/KDE/kdelibs/; revision=889542
2008-11-27 06:03:53 +00:00
Aaron J. Seigo
7b4de980b8
clarify this code a wee bit more and call positionContainments() in all necessary cases
...
svn path=/trunk/KDE/kdelibs/; revision=888637
2008-11-25 00:23:43 +00:00
Marco Martin
75dcbe9413
initialize this value, that's why toolbox sometimes was going to left in
...
an unpredictable way
BUG:175796
CCMAIL:release-team@kde.org
svn path=/trunk/KDE/kdelibs/; revision=888589
2008-11-24 22:27:42 +00:00
Adriaan de Groot
5959236882
Match up the declaration of setCorner with its definition (missing const)
...
svn path=/trunk/KDE/kdelibs/; revision=888512
2008-11-24 17:39:03 +00:00
Rob Scheepmaker
4fe87fcfea
Avoid screwing up the panel when dropping extenderitems in it: make extenderapplet a popupapplet! And use pinheiro's nice and amazingly weird icon as popupicon. I think I'm gonna call it 'the snowman'.
...
svn path=/trunk/KDE/kdelibs/; revision=887651
2008-11-22 14:32:43 +00:00
Aaron J. Seigo
82ab4794bd
add file
...
svn path=/trunk/KDE/kdelibs/; revision=887091
2008-11-21 03:45:03 +00:00
Aaron J. Seigo
23a7c83164
clear the shortcuts editor pointer only when the dialog is actually dead and gone
...
BUG:175722
svn path=/trunk/KDE/kdelibs/; revision=887090
2008-11-21 03:43:45 +00:00
Rob Scheepmaker
47dcbf47b9
By default, use an empty string as empty extender label, and don't display that label if that string is empty. The idea is that having that label there is weird when the extender is used in a dialog. The case in which the label is useful, is when the extender is embedded in an applet on the desktop, and the applet should only set the label, if this is the case.
...
svn path=/trunk/KDE/kdelibs/; revision=886937
2008-11-20 16:37:30 +00:00
Aaron J. Seigo
ece148395c
make sure screen is valid before asking for i
...
svn path=/trunk/KDE/kdelibs/; revision=886708
2008-11-19 21:18:37 +00:00
Aaron J. Seigo
4f72717a26
cleanups
...
svn path=/trunk/KDE/kdelibs/; revision=886707
2008-11-19 21:18:12 +00:00
Aaron J. Seigo
73a23ddf48
keep the tools in the allowed area
...
svn path=/trunk/KDE/kdelibs/; revision=886384
2008-11-19 05:35:34 +00:00
Aaron J. Seigo
cb4ac7b6ce
proper size
...
BUG:175209
svn path=/trunk/KDE/kdelibs/; revision=886381
2008-11-19 05:08:38 +00:00
Aaron J. Seigo
b4a67cda4b
remove some todos, add some debug ... though now i can't reproduce the problem where my cashew scoots over the left randomly. hum hum hum
...
svn path=/trunk/KDE/kdelibs/; revision=886331
2008-11-19 00:40:38 +00:00
Aaron J. Seigo
c027fb3886
remove some more dead code due to c-n-p from DesktopToolBox
...
svn path=/trunk/KDE/kdelibs/; revision=886220
2008-11-18 20:47:04 +00:00
Marco Martin
2eb6b3ed9c
hide the view on rmb click
...
BUG: 166902
svn path=/trunk/KDE/kdelibs/; revision=886216
2008-11-18 20:39:05 +00:00
Marco Martin
9cfe6246ec
make the tabbar widget stretch also in height (thus umbreaking it in the
...
panel), with a dirty hack on minimum/maximum sizes, but i think it's the
only way for now, since minimumTabSizeHint() and maximumTabSizeHint()
are private in QTabBar and will be protected probably not before Qt5 O.o
svn path=/trunk/KDE/kdelibs/; revision=886098
2008-11-18 15:27:04 +00:00
Aaron J. Seigo
4f36ceb235
we don't need the timer on this one; it's only useful for the desktop toolbox.
...
BUG:167782
svn path=/trunk/KDE/kdelibs/; revision=885897
2008-11-18 03:37:43 +00:00
Aaron J. Seigo
1171ef67d8
deleteLater is unecessary in this case and it just screws up some of our use cases such as the screen saver toolbox
...
svn path=/trunk/KDE/kdelibs/; revision=885859
2008-11-18 00:43:52 +00:00
Aaron J. Seigo
649057791d
clean this up a little bit
...
svn path=/trunk/KDE/kdelibs/; revision=885858
2008-11-18 00:43:11 +00:00
Aaron J. Seigo
1b04d7b8b0
make panel toolboxes position and paint properly; essentially do what i did earlier for the desktop one by caching the colors from the theme and getting rid of the negative coordinates
...
svn path=/trunk/KDE/kdelibs/; revision=885840
2008-11-18 00:12:05 +00:00
Aaron J. Seigo
160e70ccd0
add proper support for virtual desktops, which really requires more than just the View being aware of it; given the default parameters, it's a detail most plasma based apps can ignore (just like screens in general, actually =)
...
svn path=/trunk/KDE/kdelibs/; revision=885330
2008-11-17 04:34:55 +00:00
Aaron J. Seigo
34ab711509
global shortcut configuration for all applets =)
...
svn path=/trunk/KDE/kdelibs/; revision=884810
2008-11-15 21:23:56 +00:00
Aaron J. Seigo
74acdc9534
don't leak the style.
...
svn path=/trunk/KDE/kdelibs/; revision=884504
2008-11-15 07:08:30 +00:00
Aaron J. Seigo
dfa5462c82
mark the header private and do the moc'ing the way we do the rest
...
svn path=/trunk/KDE/kdelibs/; revision=884503
2008-11-15 07:08:08 +00:00
Aaron J. Seigo
9329ce25a2
handle all corners on load
...
svn path=/trunk/KDE/kdelibs/; revision=884088
2008-11-14 08:04:46 +00:00
Aaron J. Seigo
c7cb88677c
draw the toolbox so i can see where it is while working on this stuff
...
svn path=/trunk/KDE/kdelibs/; revision=884083
2008-11-14 07:54:49 +00:00
Aaron J. Seigo
004f5e0276
save move when it's finished; should make reposition() feel less random
...
svn path=/trunk/KDE/kdelibs/; revision=884075
2008-11-14 07:30:35 +00:00
Aaron J. Seigo
d0c7968b18
load and save toolbox position between restarts!
...
still to come:
* don't paint when zoomed, replace with tool strip instead
* respect available area during drag
* smarter positioning (right now it just loads the saved position whenever it needs to reposition)
svn path=/trunk/KDE/kdelibs/; revision=884072
2008-11-14 07:28:02 +00:00
Aaron J. Seigo
18885bd0f0
some tooltip regression fixes from moving to QTextDocument; as an added bonus we don't copy the tooltip content anymore!
...
svn path=/trunk/KDE/kdelibs/; revision=884063
2008-11-14 06:06:15 +00:00
Aaron J. Seigo
2de1e10c67
try and avoid, really hard, to allow constraintsUpdatedEvents before we get the StartupCompelted constraint through
...
svn path=/trunk/KDE/kdelibs/; revision=884053
2008-11-14 04:34:52 +00:00
Aaron J. Seigo
0bc65a788d
allow custom image, html and css resources in tooltips
...
svn path=/trunk/KDE/kdelibs/; revision=884026
2008-11-14 00:52:29 +00:00
Beat Wolf
a387ff3a29
correct import for kmenu
...
svn path=/trunk/KDE/kdelibs/; revision=884024
2008-11-14 00:34:36 +00:00
Beat Wolf
675b4b59b8
add general way to add context menus to containments. Reviewed by aseigo
...
svn path=/trunk/KDE/kdelibs/; revision=884003
2008-11-13 23:08:58 +00:00
Aaron J. Seigo
51c912969b
don't move the tools more than they need to move; makes it possible to hit the buttons agian!
...
i see several issues with this method, however, that already existed and will fix that along with implementing save/hide and available space respect later tonight.
svn path=/trunk/KDE/kdelibs/; revision=883080
2008-11-12 03:57:01 +00:00
Aaron J. Seigo
cdf562df11
simplify toolbox positioining and drawing
...
svn path=/trunk/KDE/kdelibs/; revision=882672
2008-11-11 08:12:20 +00:00
Aaron J. Seigo
0eb079d33b
ensure the toolbox fits in the panel; makes small panels work better
...
svn path=/trunk/KDE/kdelibs/; revision=882654
2008-11-11 05:26:52 +00:00
Aaron J. Seigo
4e964a2ec8
update the hover pos to make the entry point the last hovered location
...
BUG:172075
svn path=/trunk/KDE/kdelibs/; revision=882611
2008-11-11 00:57:08 +00:00
Aaron J. Seigo
e8eb11a3b7
tell the tooltip widget about the source so it can tel it when it disappears and to prompt it for updates appropriately
...
svn path=/trunk/KDE/kdelibs/; revision=882588
2008-11-10 23:30:19 +00:00
Rob Scheepmaker
cfb43a7632
Correct sizehints for extender containing applets on the desktop. Also renamed the private adjustSize() function to adjustSizeHints() to avoid confusion.
...
svn path=/trunk/KDE/kdelibs/; revision=882356
2008-11-10 15:49:31 +00:00
Aaron J. Seigo
7afd2e9d99
first draft of draggable toolbox; doesn't work quite properly yet due to historical oddnesses of the toolbox itself. will finish up in the days to comes; all TODOs are documented
...
svn path=/trunk/KDE/kdelibs/; revision=882217
2008-11-10 03:53:35 +00:00
Aaron J. Seigo
249a44ab8d
don't overload the meaning of hasConfigurationInterface for containments, since that makes things difficult for applets-that-are-containments, e.g. folderview
...
svn path=/trunk/KDE/kdelibs/; revision=882205
2008-11-10 01:26:27 +00:00
Aaron J. Seigo
d6ac15c20f
4->2, makes amarokers more happy too
...
svn path=/trunk/KDE/kdelibs/; revision=882103
2008-11-09 19:51:31 +00:00
Aaron J. Seigo
89f4735cc9
call the right parent class methods
...
svn path=/trunk/KDE/kdelibs/; revision=881295
2008-11-07 18:03:16 +00:00
Aaron J. Seigo
aca23afb4a
a bit of a clean up on the overlay stuff; makes it easy to add overlay messages in the future (planned for 4.3)
...
svn path=/trunk/KDE/kdelibs/; revision=880833
2008-11-06 15:52:13 +00:00
Aaron J. Seigo
c948455956
use ktabbar here, as per krazy's suggestion
...
svn path=/trunk/KDE/kdelibs/; revision=880622
2008-11-05 23:28:07 +00:00
Aaron J. Seigo
cf1dfdaf31
SVN_SILENT: shut up krazy
...
svn path=/trunk/KDE/kdelibs/; revision=880621
2008-11-05 23:27:43 +00:00
Kevin Ottens
f29bbbab07
Comply to the new version of SODEP.
...
svn path=/branches/work/~ervin/sodep/; revision=880515
2008-11-05 18:48:16 +00:00
Marco Martin
d9a77cf958
add functions setBusy(bool) and isBusy()
...
used to easily display a busy indicator as an overlay of the applet when
is loading stuff
svn path=/trunk/KDE/kdelibs/; revision=880089
2008-11-04 18:22:55 +00:00
Aaron J. Seigo
beaa49aeb2
++compile
...
svn path=/trunk/KDE/kdelibs/; revision=879800
2008-11-04 02:39:56 +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
Rob Scheepmaker
babf165d5d
A last couple of api changes before the move to kdelibs:
...
* in class Extender rename setExtenderAppearance to setAppearance.
* in class ExtenderItem rename moveBackToSource to returnToSource.
* in class ExtenderItem addition of showCloseAction() and hideCloseAction().
... and some minor tweaks in the implementation.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879670
2008-11-03 19:49:14 +00:00
Aaron J. Seigo
e603f32c33
some more fiddling; doesn't really accomplish anything but doesn't hurt either. at least now i know why it "jitters" at times. going to be annoying to fix ...
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879374
2008-11-03 06:14:26 +00:00
Aaron J. Seigo
80874e9ad7
put the code in a central place, back out the NET stuff as it breaks more than it fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879365
2008-11-03 05:03:36 +00:00
Aaron J. Seigo
ce90860d4d
combine the move+resize on x11
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879364
2008-11-03 04:52:34 +00:00
Albert Astals Cid
45edd84dfc
add context
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879206
2008-11-02 17:38:52 +00:00
Aaron J. Seigo
4b8da2000a
give it a bit of a curve
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878942
2008-11-02 07:31:51 +00:00
Aaron J. Seigo
7d5c604245
animate that mofo tip!
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878938
2008-11-02 07:25:56 +00:00
Aaron J. Seigo
d8f1ce657c
use only one actual tip widget, store the data otherwise
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878933
2008-11-02 06:55:10 +00:00
Aaron J. Seigo
1c75cca9e2
break out Plasma::ToolTipManager::Content to Plasma::ToolTipContent and prep it for BC
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878923
2008-11-02 05:58:42 +00:00
Kevin Ottens
f66b4d819b
API changes as announced:
...
* ConfigXml becomes ConfigLoader
* Containment::(add|remove)ToolBoxTool(QAction *action) becomes
Containment::(add|remove)ToolBoxAction(QAction *action)
* Flash becomes FlashingLabel
* Icon becomes IconWidget
* PanelSvg becomes FrameSvg
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877504
2008-10-29 17:46:33 +00:00
Aaron J. Seigo
5eb18a635b
allow tips to autohide; having them just stay there forever and ever is an annoyance. some tips need to be permanent to be useful though (e.g. on the clock) so introduced a way to make that happen. needed to get this in before we go BC =)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876166
2008-10-26 16:55:54 +00:00
Rob Scheepmaker
241d38ad65
A bit more sourceApplet correctness:
...
* Removed sourceApplet() function, it has no place in public api. That was also discussed in the api review, but I forgot to actually remove it.
* Update sourceApplet's pointer and remove the "return to source" button when the source applet is removed.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875290
2008-10-23 22:42:58 +00:00
Alexis Ménard
fdbafa0337
Fix a crash when you change between desktops with tooltip activated
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874774
2008-10-22 12:54:04 +00:00
Simon Edwards
2b932160e6
Added a pluginName() method to DataEngine to match the one in Applet. (Useful for scripting.)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874609
2008-10-21 22:22:57 +00:00
Aaron J. Seigo
b56a365200
tell the user we failed if we fail
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874562
2008-10-21 20:19:57 +00:00
Aaron J. Seigo
195cfe61a4
move this somewhere i can get to for testing purposes again
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874555
2008-10-21 20:13:00 +00:00
Aaron J. Seigo
6fe3502be7
we have workspace/libs/ for a reason
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874257
2008-10-21 02:31:43 +00:00
Aaron J. Seigo
7abb5164a5
remove gratuitous "ToolTip"s
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874244
2008-10-21 01:33:32 +00:00
Rob Scheepmaker
a26b73b6bb
Give extenders the 'stacked' look from Pinheiro's mockup. It still needs some minor tweaks, but it allready looks quite sexy.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873867
2008-10-20 10:58:37 +00:00
Aaron J. Seigo
b31b4da0ba
ok, this is a much, much easier way to approach the grouping and doesn't require QDesktopWidget either
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873703
2008-10-20 00:42:50 +00:00
Aaron J. Seigo
3fb4975896
swap the magic number for a constant
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873689
2008-10-19 23:21:03 +00:00
Marco Martin
42d446525d
fix scrollbar arrows
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872652
2008-10-17 18:42:44 +00:00
Aaron J. Seigo
59b5ac3080
allow PackageStructures to provide their own online browsers
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871119
2008-10-13 22:40:00 +00:00
Allen Winter
81d09742bb
fix spelling
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870322
2008-10-12 11:12:24 +00:00
Allen Winter
3674a94a99
more coding style fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870169
2008-10-11 23:28:20 +00:00
Rob Scheepmaker
51e03dc5e3
Add return to source icon the the plasma theme, and use this in extender items.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870089
2008-10-11 17:56:07 +00:00
Rob Scheepmaker
3824adb381
Allow theming the background of ExtenderItems, and react to theme changes. Capabilities still
...
have to be improved to make it look like the lovely pinheiro mockup.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=868933
2008-10-07 16:15:33 +00:00
Marco Martin
0dc100928d
style the tabbar scroll buttons with plasma colors
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=868202
2008-10-05 17:53:37 +00:00
Fredrik Höglund
5da0fde1b3
Fix the crash on exit bug in PopupApplet.
...
The Plasma::Dialog is initially created without a parent, but can later be
reparented to the Plasma::View. The problem with this is that when plasma
quits, the view and its children are deleted before the scene and its children.
So when the PopupApplet destructor is invoked, it tries to delete what is now
a dangling pointer.
Solve this problem by wrapping the dialog pointer in a QPointer.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867830
2008-10-04 15:36:09 +00:00
Aaron J. Seigo
22919a4b27
* remove an unused member (d->layout)
...
* try harder to create a layout when we might need one
* remove the "setting a default icon" stuff in the ctor; it was misguided and really just covering up for a bug in popupConstraintsEvent
* fix said bug in popupConstraintsEvent (don't check for icon before laying things out in non-vert/horiz formfactors)
* don't put an event filter on the graphics item. i have no idea what the idea behind that was (hooray for no comments! =), perhaps Richard S. can enlighten us as it was one of his commits ..
CCMAIL:r.scheepmaker@student.utwente.nl
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867506
2008-10-03 17:20:01 +00:00
Aaron J. Seigo
2f87c469f7
the contents rect check is a cheap cop out mostly, but it works a lot. when it doesn't, also make sure we aren't dealing with an applets whose shape is the bounding rect
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866793
2008-10-01 22:26:43 +00:00
Marco Martin
5f51803436
e PaintUtils::transition
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866417
2008-09-30 19:54:04 +00:00
Aaron J. Seigo
e1a0d5bb9c
* save the size/rotation shortly after it's made .. should help preserve those changes in cases of crashes mor consistently
...
* delete the script before deleting the items it might rely on (e.g. the package!)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864835
2008-09-25 16:26:04 +00:00
Aaron J. Seigo
b28cd641ce
more careful
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864514
2008-09-24 21:55:37 +00:00
Marco Martin
7e975d764c
make it compile on arm
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864367
2008-09-24 15:59:29 +00:00
Laurent Montel
8e9aed75a6
Be sure to delete it
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864270
2008-09-24 11:44:39 +00:00
Marco Martin
2e8dba5df2
smooth animation until the end ensuring the repaint is scheduled before
...
the delete by emitting the signal in the paint event and with a
singleshot timer
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863664
2008-09-22 19:28:11 +00:00
Aaron J. Seigo
56a9ad52ce
make it harder for people to fall into the temptation of nesting containments
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863619
2008-09-22 17:50:23 +00:00
Aaron J. Seigo
b4b2a4a96a
qFuzzyCompare doesn't work well with 0.0, so compare against 1.0 instead; interesting to know
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863599
2008-09-22 16:37:36 +00:00
Marco Martin
b2e27747b9
move the gradient to the opposite side of the sliding animation, so acts
...
like a clip but with a smooth edge
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863334
2008-09-21 20:55:18 +00:00
Marco Martin
da12953de9
don't pre-render the configure button when it's not needed
...
no more configure instead of close icon on applets that don't have
config options
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863126
2008-09-21 08:02:54 +00:00
Aaron J. Seigo
de163b5e37
proper fix; now if we take the offset into consideration, they should even disappear perfectly behind translucent things =)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862853
2008-09-20 06:26:26 +00:00
Aaron J. Seigo
c302aa3ff4
* try not to call view() if possible
...
* code clarifications, simplicity++
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862852
2008-09-20 06:08:28 +00:00
Aaron J. Seigo
f9244362a4
we cache the view for a reason
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862851
2008-09-20 05:48:38 +00:00
Aaron J. Seigo
b9bd00fdae
smoooooooth, faaaaaaaaaast
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862849
2008-09-20 05:47:18 +00:00
Aaron J. Seigo
8d1e6cdf85
call a private constraints event on the PopupApplet so that subclasses don't have to think about it
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862502
2008-09-19 03:26:24 +00:00
Aaron J. Seigo
832782fa73
* proper invokeMethod call, now items actually get notified when the tip is hidden
...
* allow throttling of the show call to prevent multiple method invokations on create->show
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862467
2008-09-18 21:53:52 +00:00
Marco Martin
1cb382a09a
new look and animation for applet handles, based on an old Nuno mockup,
...
that uses the standard applet background (will have new graphics).
also, don't use painter->setOpacity anymore, so should be a bit faster
the look is slightly different in 3 cases:
-the applet is smaller than the handle, the panelsvg gets drawn
completely and looks like the old thing
-shape not rectangular: the panelsvg is wider, so it's visible also for
instance behind the clock circle
-normal: only a bit of the panelsvg exits from the applet and is
visible, the hidden part has a few pixels fade out gradient to look less wrong with
transparent backgrounds like folderview or themes with all backgrounds
more transparent
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862411
2008-09-18 19:40:46 +00:00
Marco Martin
0e4ad264c3
a new widget that contains little monocrome svg icons to be used around
...
plasma and make the applet handle use that
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861319
2008-09-15 20:08:21 +00:00
Petri Damstén
e5fe5ed0c2
add FixedSize to AspectRatioMode and don't show resize button when FixedSize.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860649
2008-09-13 17:09:34 +00:00
Petri Damstén
e58d973b10
mainconfiggui -> mainconfigui
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860297
2008-09-12 15:14:05 +00:00
Rob Scheepmaker
cb4d610219
Move ExtenderApplet to libplasma. This doesn't work just yet, but aseigo will take a look at
...
it, so it will soon. ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860007
2008-09-11 19:26:05 +00:00
Aaron J. Seigo
81ff908a3e
* for ghost painting, used when dragging, we only need to know true or false .. we don't need to check the view
...
* cache the current view as this gets called on every mouse move event when dragging something by the handle.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858901
2008-09-09 00:23:02 +00:00
Alex Merry
33f7e1e3d6
Actually relicense the files this time. Last time, I managed to change the text from GPL to... GPL.
...
Again, plasma-devel@kde.org mail archives have the permissions.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858780
2008-09-08 17:32:25 +00:00
Alex Merry
90f5feb1a6
Relicense files. See plasma-devel@kde.org mailing list archives for permissions.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858364
2008-09-07 21:33:02 +00:00
Aaron J. Seigo
99e664d0c5
make is possible to ask for the containment's own context menu
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857605
2008-09-05 20:06:30 +00:00
Aaron J. Seigo
d89ad4cba0
context API adjustments
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857207
2008-09-05 00:22:42 +00:00
Aaron J. Seigo
be440d788a
* always set up a job to run when an operation call is made, even if it fails
...
* call emitResult() from setResult
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856872
2008-09-03 23:55:06 +00:00
Aaron J. Seigo
6774525044
preserve the target information with NullService
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856771
2008-09-03 18:51:41 +00:00
Marco Martin
e037260031
this patch removes the centering and makes the tabbar to take up all the
...
width when it's not like a tabwidget and there is some
sizepolicy/preferred sizes setting fixes that makes it behave better in
a panel (especially vertical ones)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854953
2008-08-30 18:14:45 +00:00
Alexis Ménard
384f31bf82
add an activate method to specify if the tooltip has to be displayed or not.
...
Use-case : Display it on demand, when hovering. ie Kickoff
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854098
2008-08-28 20:23:39 +00:00
Alexis Ménard
a32ca528f0
sometimes the tooltip is shown before it take his correct position
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854008
2008-08-28 17:02:42 +00:00
Marco Martin
0df88727ef
allows the Desktop toolbox to be positioned in the four corners or four
...
edges, rendering the right bits of the arc.
this now is used by the containment to render a non cutted toolbox when
there is a panel on top or on right
and to put the toolbox on the left with RTL layouts
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853991
2008-08-28 15:59:03 +00:00
Alex Merry
7ee88a1007
We shouldn't be doing this. Containment deletes us itself.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853474
2008-08-27 19:15:59 +00:00
Aaron J. Seigo
16ee834701
set signal relays to be queued upon creation, so that if they are not immediately updated (e.g. the first relay) but then data becomes immediately available afterwards, an update still occurs. this addresses the connecting-using-a-relay-to-an-async-process issue; it's a bit of an odd case, but we've found at least one use case for it and there's no reason not to make it work in the code.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853470
2008-08-27 19:08:46 +00:00
Aaron J. Seigo
3d6b183011
try to keep updateSourcEvents to a minimum by only triggering an immediate update from the SignalRelay object if it is not the first visualization connected to the source
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852899
2008-08-26 20:37:53 +00:00
Alex Merry
9293cbaba6
memory leak--
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851461
2008-08-23 17:42:36 +00:00
Alex Merry
1aec75e5e6
SVN_SILENT:
...
whitespace fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851432
2008-08-23 16:27:52 +00:00
Alex Merry
15b36b0bfe
SVN_SILENT:
...
Source files shouldn't be executable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851428
2008-08-23 16:23:09 +00:00
Alex Merry
bfe6bd2906
Stack allocation is better than heap.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851427
2008-08-23 16:21:49 +00:00
Alex Merry
1edb8aab86
Clean up tooltips a little, and fix some memory leaks.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851425
2008-08-23 16:17:04 +00:00
Marco Martin
150bf97172
mouseover and mousepressed effects by choosing different svg elements
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850598
2008-08-21 20:15:32 +00:00
Aaron J. Seigo
6101f26c52
update to context->activity changes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849913
2008-08-20 13:13:31 +00:00
Ambroz Bizjak
b7e61e34c4
Fix a rare bug when a new applet handle is created before the previous one is
...
destroyed, causing the applet not to follow the handle when moved or fail to appear.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849828
2008-08-20 09:14:27 +00:00
Petri Damstén
0a2eb79e61
Wallpaper API changes:
...
- modes -> renderingModes
- remove modeName & modeIcon
- add config group to init for reading config
- add save for config saving
Update containment for api changes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849801
2008-08-20 08:06:34 +00:00
Marco Martin
23839efb30
translate the painter to draw in a less blurry way, this was getting way
...
too annoying...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848919
2008-08-18 17:57:37 +00:00
Aaron J. Seigo
46ef63168e
allow applets to query for their context, update the context via a constraint (we're running out of them!)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848820
2008-08-18 14:04:30 +00:00
Laurent Montel
4271ebeba9
Fix mem leak
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846780
2008-08-14 06:39:58 +00:00
Laurent Montel
655d71a588
Pedentic
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846659
2008-08-13 20:21:06 +00:00
Marco Martin
76d6071e46
svg themed scrollbars:
...
scrollbar widget in libplasma
private qstyle that draws scrollbars with svg
folderview uses the scrollbar widget
textview scrollbars themed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846473
2008-08-13 14:47:27 +00:00
Ambroz Bizjak
b91b722dc2
Fade applet handle back in if the mouse reenters the applet while it's already fading out.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845999
2008-08-12 19:08:55 +00:00
Dirk Mueller
a79d6d5be2
make this at least somewhat work
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845980
2008-08-12 18:40:45 +00:00
Aaron J. Seigo
3461b97edc
support enabling and disabling operations in services
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845852
2008-08-12 13:58:58 +00:00
Petri Damstén
0183db7d30
Base for Plasma::Wallpaper plugins.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842590
2008-08-05 15:27:48 +00:00
Marco Martin
37be252250
add button text and button background colors
...
accessible by the ButtonTextColor and ButtonBackgroundColor color roles
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842203
2008-08-04 21:23:40 +00:00
Aaron J. Seigo
0d175ab165
* signal when operations change
...
* allow associating widgets with specific operations
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841832
2008-08-04 08:00:47 +00:00
Laurent Montel
cc7db99997
Mem leak--
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841816
2008-08-04 06:40:35 +00:00
Aaron J. Seigo
b123a8e8b1
integrate TabBar into the build
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841797
2008-08-04 05:30:32 +00:00
Aaron J. Seigo
4ea39f7a28
native tabbar header
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841794
2008-08-04 05:24:15 +00:00
Aaron J. Seigo
8e43410243
private impl of a tabwidget that works with QGraphicsWidget
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841793
2008-08-04 05:23:49 +00:00
Aaron J. Seigo
577a64f563
extender is not a Plasma Widget (it doesn't follow the API pattern, isn't a button/menu/etc, isn't meant to be used as a general widget in a random layout...)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841164
2008-08-02 17:46:32 +00:00
Rob Scheepmaker
a6293d363f
Extenders enter trunk! The implementation still has some rough edges and fixmes, but the api
...
is in quite nice shape and basides a couple of bugs, it basically works. So what are you
still doing reading this? Port your favourite applet to extenders today! ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840978
2008-08-02 11:48:56 +00:00
Aaron J. Seigo
a039cc7302
don't lose marco's last fix here; svn mv + svn commits made in the meantime == annoying times with svn
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839796
2008-07-30 20:39:58 +00:00
Aaron J. Seigo
63bce9d1b4
move all the prive code into private/; makes it much clearer with the division lines are
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839792
2008-07-30 20:35:42 +00:00
Kevin Ottens
d712c2d2c9
Qt implementation of SODEP.
...
svn path=/branches/work/~ervin/sodep/; revision=806026
2008-05-09 21:11:35 +00:00