Commit Graph

2929 Commits

Author SHA1 Message Date
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
Aaron J. Seigo
c633c8ac57 hook up the containment configuration interface to the generic containment configuration mechanism; now it shows in the toolbox too! whee!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859593
2008-09-10 18:51:30 +00:00
Aaron J. Seigo
bf942582e8 support adding the configuration entry to the toolbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859589
2008-09-10 18:42:52 +00:00
Aaron J. Seigo
8b3510bf7e * fix a math error in the movement framerate calc
* increase the quality of movements (more frames)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859588
2008-09-10 18:42:11 +00:00
Script Kiddy
d8d250103a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859075
2008-09-09 10:49:24 +00:00
Aaron J. Seigo
4ae5e8bdf7 respect "null" as a containment request: no wallpaper
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858909
2008-09-09 01:16:10 +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
Aaron J. Seigo
d404d951f2 one more call using geometry rather than boundingRect
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858894
2008-09-08 23:08:25 +00:00
Aaron J. Seigo
eed04daf07 should be boundingrect; wallpapers paint relative to the containment at all times
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858893
2008-09-08 22:56:55 +00:00
Marco Martin
2c2e7ecf3b set a default wallpaper when the user creates a new containment from the
ui

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858793
2008-09-08 18:38:14 +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
Aaron J. Seigo
28a014d6fe use the standard KPluginInfo stuff for this
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858758
2008-09-08 16:55:05 +00:00
Aaron J. Seigo
d14e6c63bb add setHasConfigurationInterface
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858745
2008-09-08 16:20:28 +00:00
Alessandro Diaferia
49211892df we need to inform about resize happened
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858684
2008-09-08 12:33:46 +00:00
Alexis Ménard
ee24c05983 Optimization
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858374
2008-09-07 22:07:03 +00:00
Aaron J. Seigo
329b1782f1 better ...
CCMAIL:kossebau@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858370
2008-09-07 21:47:55 +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
8ef4eaa1d4 don't duplicate this over and over again
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858359
2008-09-07 21:07:30 +00:00
Sebastian Kügler
f9c49d0488 Cache the result of graphicsWidget(), it gets called quite
often and might not be really fast for applets that do all
the setting up of the widget in this function.

Also fix the indenting, in some places it was 3 instead
of 4 spaces.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858350
2008-09-07 20:49:10 +00:00
Alessandro Diaferia
ca0a7d962f added support for resizing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858269
2008-09-07 16:55:37 +00:00