Commit Graph

7434 Commits

Author SHA1 Message Date
Aaron Seigo
fbb50df067 ensure that the containment configChanged() routine always happens 2011-04-25 16:43:48 +02:00
Aaron Seigo
2c3a5ef8fa make the compiler happy 2011-04-24 23:59:59 +02:00
Aaron Seigo
ffbe49d4bf uncomment this so when we do make a private class, we don't forget ;) 2011-04-24 23:59:59 +02:00
Sebastian Kügler
6de3205490 Switch off scrollbars when in dragToScroll mode
They don't work with dragging, anyway since flicking and scrollbars
operate in different directions.
2011-04-24 16:21:19 +02:00
Sebastian Kügler
547231f381 tame font family for CSS, makes it work =) 2011-04-24 14:22:18 +02:00
Marco Martin
14d3286096 use Item width and height as minimumSize
massively not optimal. however qml doesn't have concept of size hints unfortunately
2011-04-20 20:34:52 +02:00
Marco Martin
7f46a77e7d fix popup position
if item is in an hidden Dialog, try to find the parent applet and use it instead of item
this fixes the device notifier popup placement
BUG:234564
BUG:253858
2011-04-20 18:12:07 +02:00
Marco Martin
96d0f935c2 popup in the correct place when viewFor is hidden
when item is in an hidden Dialog, try to find the parent applet and position the popup there.
this fixes the devicenotifier popup placement
BUG:253858
BUG:234564
2011-04-20 18:12:07 +02:00
David Palacio
00714cc198 Ensure icon is added to layout.
BUG: 268104
REVIEW: 101148
2011-04-17 16:55:46 -05:00
Will Stephenson
73e5d59876 Fix typo 2011-04-14 13:27:06 +02:00
Script Kiddy
214a8eb3ad SVN_SILENT made messages (.desktop file) 2011-04-13 08:59:18 +02:00
Script Kiddy
ea379be495 SVN_SILENT made messages (.desktop file) 2011-04-12 10:18:54 +02:00
Alex Fiestas
d09061f758 Add KAuthorize containment_context_menu into createToolBox
Having the posibility of avoid the context_menu while we're
allowing the cashew has no sense. So let's use the same action
to lockdown both.
2011-04-11 15:08:29 +02:00
Aaron Seigo
bd3f840f3b similar work around in mousePressEvent as we have in contextMenuEvent 2011-04-09 20:07:00 +02:00
Aaron Seigo
bb026751dc tage the transform into consideration 2011-04-09 13:47:55 +02:00
Marco Martin
d7a801dadd initialize scrollbarVisible
BUG:270387
2011-04-08 19:05:01 +02:00
Albert Astals Cid
dc1c622717 Initialize preShowStatus
acked by Marco
(cherry picked from commit e62e101ee05f630b4b6f6705c756dbb1bbb8a05f)
2011-04-08 17:56:28 +01:00
Marco Martin
fb2db78521 FEATURE: access to the QScriptEngine 2011-04-07 22:10:56 +02:00
Marco Martin
256532e240 use libkdeclarative in Plasma::DeclarativeWidget 2011-04-04 23:05:23 +02:00
Aaron Seigo
175d9961ff cache formFactor(), simplify the min size check branch 2011-03-28 10:06:53 +02:00
Aaron Seigo
bc439cd616 build 2011-03-25 16:33:11 +01:00
Aaron Seigo
3e3bfe89b0 protect with a weak pointer
BUG:268752
2011-03-17 16:48:14 +01:00
Script Kiddy
e637d4268f SVN_SILENT made messages (.desktop file) 2011-03-16 08:31:08 +01:00
Sebastian Kügler
90d215d1dc Fix icon handling in package metadata 2011-03-15 03:04:07 +01:00
Script Kiddy
fcd254345c SVN_SILENT made messages (.desktop file) 2011-03-12 08:40:20 +01:00
Script Kiddy
75d4361505 SVN_SILENT made messages (.desktop file) 2011-03-07 08:20:35 +01:00
Aaron Seigo
5a3c398e5a delay url setting until initialized 2011-03-03 07:52:13 +01:00
Marco Martin
15ac609228 after applet's dataupdated is called, dirty=false
in DataEnginePrivate::connectSource, if it's an immediate call, and QMetaObject::invokeMethod(visualization, "dataUpdated" is called, means the datacontainers' dirty bit must be set to false, otherwise we will get two subsequent dataUpdated

can it have countereffects?

CCMAIL:plasma-devel@kde.org
2011-03-02 22:08:16 +01:00
Script Kiddy
6aac9f5b45 SVN_SILENT made messages (.desktop file) 2011-03-02 08:46:12 +01:00
Jammy Zhou
c808222869 Remove direct OpenGL dependency for libplasma 2011-03-01 09:17:50 +08:00
Marco Martin
fb4aec6640 make action() invokable, useful for qml containments 2011-02-28 20:25:01 +01:00
Marco Martin
c6215bb249 set main object size after loading 2011-02-28 13:47:35 +01:00
Marco Martin
80eb4eafea correctly reposition the main item when resizes 2011-02-27 17:00:53 +01:00
Marco Martin
30cc539904 don't switch to a popup when we are already in one 2011-02-26 17:34:04 +01:00
Marco Martin
e385737203 remove eventfilters if type is no more Desktop
sceneeventfilters are used just for applet handles, that shouldn't exist in custom contaiments or panel containments
2011-02-25 22:34:53 +01:00
Marco Martin
c56287f927 export pluginName as a qproperty
export pluginName as a qproperty, useful for QML containments
2011-02-25 22:34:53 +01:00
ruberg
b23b9664be BUG: 236853
BUG: 233235

Properly restore the size of PopupApplets from last session even when a preferredSize is set in the graphicsWidget()
2011-02-24 18:26:40 +01:00
Marco Martin
0abb1cfd6e export drawWallpaper and ContainmentType
export in AppletScript drawWallpaper and ContainmentType:
it's the only way to make them settable by scripted JS/QML containments
2011-02-22 13:22:53 +01:00
Marco Martin
56a7b2e5df scripted containment loading fix
load as containment also applets that have both Plasma/Applet and Plasma/Containment
2011-02-20 16:52:44 +01:00
Aaron Seigo
9b096741f8 apidox fix 2011-02-17 09:18:33 -08:00
Marco Martin
17c0805063 ask for on screen keyboard hiding on focus lost 2011-02-17 15:23:06 +01:00
Aaron Seigo
3924d218a4 cache the values for size and resize method
the main advantage to this is that only when the object signals a change
will the values be re-checked, which means that the wallpaper pointer
can be deleted behind our backs and we won't care
2011-02-16 11:42:38 -08:00
Aaron Seigo
56c25bd8f2 minor ws anomoly 2011-02-15 09:38:58 -08:00
Script Kiddy
fb98c62ee8 SVN_SILENT made messages (.desktop file) 2011-02-14 16:33:43 +01:00
Lasse Liehu
d0e8d977b4 ignore() key press event for keys not handled
(cherry picked from commit 6e208cf0cc60d3e7016a3bbdbb6dfd3c1b105186)
2011-02-10 21:05:34 +02:00
Marco Martin
beb1f9b6cf use pointers instead of string comparison
use pointers instead of string comparison to figure out what button was pressed
2011-02-09 20:35:15 +01:00
Marco Martin
ab8ec8f17a correct the text used to fugure out the button
button have text like &Ok &Yes
This way to detect what button was pressed of course is horrible and will have to be changed
CCBUG:265738
2011-02-09 19:20:16 +01:00
Marco Martin
9eca40ca38 contentsRect must be bigger
we draw the text at 1,1
2011-02-09 18:16:48 +01:00
Marco Martin
11d3b789a4 emit cancel signal
both when clicking cancel and pressing esc
CCBUG:265738
2011-02-09 00:11:25 +01:00
Marco Martin
e193b7eab0 pass clicks trough the busy spinner 2011-02-07 10:49:44 +01:00