Commit Graph

2798 Commits

Author SHA1 Message Date
Aaron J. Seigo
8f41f4c68e use a hash instead of a map as we don't care about sorting; don't loop through all items in the list once we have found our match; move the check for existence in the registration map to regsiterWidget
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862120
2008-09-18 06:21:33 +00:00
Aaron J. Seigo
73f816a63a update the apidox to reflect the current reality
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862111
2008-09-18 05:28:27 +00:00
Aaron J. Seigo
66ddad6aac being replaced by the new ontology from the nepomukians
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862108
2008-09-18 05:08:01 +00:00
Aaron J. Seigo
e7e0914a11 SVN_SILENT: i don't look for XXX unless i'm looking for a lap dance. ;) FIXME is better...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862106
2008-09-18 04:57:50 +00:00
Aaron J. Seigo
0fb739c044 SVN_SILENT: sshh
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862105
2008-09-18 04:57:18 +00:00
Aaron J. Seigo
c7bbfea29e actually open the temp file so we don't write into the app's rc file
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862102
2008-09-18 04:40:28 +00:00
Aaron J. Seigo
13698abc51 SVN_SILENT: shh
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862101
2008-09-18 04:11:33 +00:00
Aaron J. Seigo
f24df9f3ed nasty little hack for when PopupApplet is in a focussable window; prior to this, a PopupApplet in plasmoidviewer would show the popup over and over and over
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862100
2008-09-18 04:11:03 +00:00
Aaron J. Seigo
2a979b4e00 it's perfectly valid to get no view at a random screen position; not all plasma apps are full screen after all
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862097
2008-09-18 03:56:41 +00:00
Aaron J. Seigo
1459f1cd32 don't implicitly create the extender in the default implementation of graphicsWidget()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862090
2008-09-18 02:49:14 +00:00
Aaron J. Seigo
6e2506d5cc * use d->extender instead of extender() to prevent accidently creating extenders
* make PopupApplet a friend (PopupAppletPrivate already is)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862089
2008-09-18 02:47:25 +00:00
Aaron J. Seigo
d5820171d8 * cache value of widget() as we do graphicsWidget()
* have graphicsWidget() return the extender by default

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862088
2008-09-18 02:44:53 +00:00
Aaron J. Seigo
0ae78795da don't use Applet::extender(); we're friends, after all
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862087
2008-09-18 02:44:08 +00:00
Aaron J. Seigo
c5fe5cb285 automatically create a new extender if we don't have one and an extender is requested
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862085
2008-09-18 02:38:27 +00:00
Sebastian Kügler
482c6a9f01 warnings--
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862051
2008-09-17 22:38:05 +00:00
Aaron J. Seigo
8db733b45a * forget the global shorcut on applet destruction; prevents issues with collisions in the future
* be more agressive with claiming global shortcuts
* add some debug output to track global shorcut registration

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862007
2008-09-17 19:16:36 +00:00
Aaron J. Seigo
04d66c614a connect activate to the togglePopup signal
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862006
2008-09-17 19:15:24 +00:00
Rob Scheepmaker
ec98e6c6ba Avoid making extenderitems dissapear when moving them from an internal:extender to the
same internal:extender.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861903
2008-09-17 13:30:18 +00:00
Marco Martin
b424645a31 when a popupapplet is in the panel automatically switch between full
view and icons wiew when the containment size is enough to display all
the applet

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861877
2008-09-17 11:31:26 +00:00
Aaron J. Seigo
874870aaee because KGlobalShorcuts is not exactly what i'd call symmetrical, we need to ensure the object name is constant at all costs. that design really needs to be rethough in KDE5 as it lacks.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861708
2008-09-16 22:55:21 +00:00
André Wöbbeking
80e89dff6f compile
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861634
2008-09-16 17:16:26 +00:00
Rob Scheepmaker
c4733af68b Removed some debug spam, some obsolete stuff, and avoid creating 2 calendars in clocks.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861613
2008-09-16 16:26:57 +00:00
Marco Martin
0f73af6f73 add missing camelcase include
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861589
2008-09-16 14:48:30 +00:00
Script Kiddy
706c945fc3 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861509
2008-09-16 11:34: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
Aaron J. Seigo
0d9957048c it's imagePath, not filePath =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861254
2008-09-15 15:32:01 +00:00
Petri Damstén
7fefa21903 return valid path also for package root.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861218
2008-09-15 13:35:17 +00:00
Script Kiddy
f13d5127b8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861162
2008-09-15 11:01:35 +00:00
Rob Scheepmaker
f24cd77e45 Close popup after detaching the last item.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861034
2008-09-14 22:43:53 +00:00
Rob Scheepmaker
635ec0419c Add some margins around the widget in an extenderitem. Removed some commented out code.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861032
2008-09-14 22:10:55 +00:00
Rob Scheepmaker
982c940f55 Don't insert emptyExtenderLabel if there's allready a spacer in the extender.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860906
2008-09-14 15:38:30 +00:00
Script Kiddy
f6272211fe SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860795
2008-09-14 11:13:09 +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
Script Kiddy
4c0fcd80f7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860579
2008-09-13 12:22:42 +00:00
Richard Dale
99c4e2d034 * The Plasma::Wallpaper class has two properties called 'boundingRect', so drop
one of them

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860368
2008-09-12 20:14:51 +00:00
Marco Martin
604aef6bd1 based upon a patch by aaron,
now if an empty icon is set the popup is always shown also in the
desktop and the applet area painting has to be done by the
implementation
first using it also in this patch is libplasmaclock
also, api change:
pupApplet::setIcon and icon() became setPopupIcon() and popupIcon()


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860338
2008-09-12 18:32:01 +00:00
Loic Marteau
b6cb43398d - add a "popupPosition" support to PopupApplet so applets can use it to deal with
fitt law optimisation
- also save the new size of the popup (Plasma::Dialog) in the config file when user 
resize it
- use popupPosition facilities in kickoff and remove the resize stuff on it since it 
can be now directly dealed in Plasma::Dialog


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860323
2008-09-12 17:16:58 +00:00
Rob Scheepmaker
ca2a86dc2e Move the calls to destroy() from save() to Applets dtor. This fixes the crashes with the popup
applet patch on reviewboard (r182).
CCMAIL: notmart@gmail.com


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860301
2008-09-12 15:50:17 +00:00
Petri Damstén
11317e0d7e add configChanged to Applet and AppletScript
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860299
2008-09-12 15:21:58 +00:00
Petri Damstén
b4818c5cac Fix icon path in services (not in plasmoid dir)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860298
2008-09-12 15:15:38 +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
Sebastian Kügler
7335ef2e00 warnings--
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860267
2008-09-12 13:19:37 +00:00
Rob Scheepmaker
11a5a957d0 Renamed extender to internal:extender to avoid possible name clashes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860083
2008-09-11 22:51:43 +00:00
Rob Scheepmaker
7d9f3e29c1 The in libplasma embedded ExtenderApplet actually works now!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860069
2008-09-11 21:21:18 +00:00
Aaron J. Seigo
4156bbaed4 see if this works better for people
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860046
2008-09-11 20:25:11 +00:00
Aaron J. Seigo
d0936f32a2 missing file
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860029
2008-09-11 19:55:18 +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
Ryan P. Bitanga
d0863e43e8 Remove cruft and fix style in RunnerManager
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859706
2008-09-11 06:37:09 +00:00
Alex Merry
057ad8b01a Fix the calendar dialog popping up in the wrong place the first time.
The issue is that we are using a QProxyWidget, and it seems that QWidgets don't have a sensible size() until they're shown for the first time.  So we use sizeHint() (or effectiveSizeHint() in this case) instead.

The only issue I can see is that if the widget passed to the dialog is in a layout, its size() and effectiveSizeHint(Qt::PreferredSize) might not match.  Is this something we need to deal with?  If so, how?

CCMAIL: plasma-devel@kde.org


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859660
2008-09-10 21:28:16 +00:00
Aaron J. Seigo
12443b7d98 curves ... no longer just a place for women to work out.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859643
2008-09-10 20:51:53 +00:00