Anne-Marie Mahfouf
e435c15f14
API review clearSources() -> removeAllSources()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800387
2008-04-24 06:38:14 +00:00
Aaron J. Seigo
7d1d889a47
* add a way to query if a visualization is already connected to a source
...
* don't do an immediate call using invokeMethod if the visualization is already connected and we're just adjusting it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800383
2008-04-24 05:58:59 +00:00
Dan Meltzer
f24d1efa28
Plasma::WebContent::geometry should return a qrectf, not a qsizef
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800379
2008-04-24 02:56:48 +00:00
Chani Armitage
e850a93871
dataengine api review: %s/UpdateInterval/PollingInterval/g
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800376
2008-04-24 02:21:22 +00:00
Aaron J. Seigo
29e32dd145
* compositingActive -> windowTranslucencyEnabled
...
* slots -> Q_PRIVATE_SLOT
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800343
2008-04-23 22:55:30 +00:00
Chani Armitage
563d3ab294
dataengine api review: engineName() -> name() + add protected setName()
...
I also added a default value for the name
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800336
2008-04-23 22:40:03 +00:00
Aaron J. Seigo
d28a4c277a
consolidate color and font methods into one method for each with a role enumeration
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800334
2008-04-23 22:36:00 +00:00
Aaron J. Seigo
7f09f15378
* get rid of setApplication, use the component data instead
...
* don't keep opening the shared config; do it just once
* avoid copying the KConfigGroup object all the time
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800331
2008-04-23 22:24:07 +00:00
Alex Merry
0f53feb8af
warning--
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800327
2008-04-23 22:11:22 +00:00
Chani Armitage
0f876831b1
dataengine api review: ref() & deref() & isUsed() -> private
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800316
2008-04-23 21:55:54 +00:00
Chani Armitage
8c99adfc51
dataenginemanager api review: ctor+dtor private
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800299
2008-04-23 20:58:15 +00:00
Aaron J. Seigo
c087260537
use resizePanel instead of resize
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800287
2008-04-23 20:42:10 +00:00
Aaron J. Seigo
753e669ab8
prefer it not to expand. next: ovular crease rather than semicircular?
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800284
2008-04-23 20:38:41 +00:00
Aaron J. Seigo
2e71b7a700
* clear() the panels list after deleting the items (fixes crash)
...
* resize -> resizePanel ... resolves a semantically annoying ambiguity now that it subclasses Svg
* don't use the [] accessor more than necessary
* slightly clearer code in places
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800283
2008-04-23 20:38:09 +00:00
Marco Martin
710be86ffd
pi changes:
...
raise() is now a slot, a new lower() slot was added
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800280
2008-04-23 20:27:44 +00:00
Chani Armitage
afc9290365
dataenginemanager api review: (un)load()->(un)loadEngine()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800275
2008-04-23 20:04:53 +00:00
Anne-Marie Mahfouf
276c7aaa66
API review sourceDict() -> containerDict()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800274
2008-04-23 19:57:20 +00:00
Chani Armitage
7d0f4af161
dataenginemanager api review: knownEngines()->listAllEngines()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800266
2008-04-23 19:37:42 +00:00
Chani Armitage
931d7b0d6c
dataenginemanager api review: get()->engine()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800256
2008-04-23 19:05:47 +00:00
Anne-Marie Mahfouf
970e72245c
API review
...
more SIGNAL changed() -> themeChanged()
thanks Alexis for your vigilance!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800244
2008-04-23 18:35:03 +00:00
Aaron J. Seigo
d52b839cf9
we need to signal a repain on borders changing.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800186
2008-04-23 16:18:45 +00:00
Marco Martin
d0ba4e77ec
Api change:
...
Plasma::Svg(imagePath, parent) -> Plasma::Svg(parent) and
Plasma::PanelSvg(imagePath, parent) -> Plasma::PanelSvg(parent)
updated as needed every class that was using Svg or PanelSvg
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800143
2008-04-23 13:07:41 +00:00
Anne-Marie Mahfouf
273c045f2d
fix typo
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800068
2008-04-23 08:38:53 +00:00
Anne-Marie Mahfouf
dcdb7b8f9a
API review signal changed() -> themeChanged()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800067
2008-04-23 08:35:35 +00:00
Aaron J. Seigo
19b4f6c71f
avoid infinite recursion
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800035
2008-04-23 04:50:44 +00:00
Anne-Marie Mahfouf
36bc2c4e97
Plasma::Theme::self() -> Plasma::Theme::defaultTheme() as planned during the sprint
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799919
2008-04-22 21:10:14 +00:00
Aaron J. Seigo
f1aba49d18
only save to the config file if we are the default theme
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799909
2008-04-22 20:27:56 +00:00
Marco Martin
203fda098d
PanelSvg now is a subclass of Plasma::Svg so it doesn't use anymore an internal istance of Plasma::Svg
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799908
2008-04-22 20:25:28 +00:00
Aaron J. Seigo
868a4107a3
move getting the size for the subelement first before creating the cache id.
...
also remove all the SVG_CACHE_BUGFIX. it wasn't getting used and was making the code a lot uglier.
if someone wants to attempt to have the cache store transform-neutral renderings, they can have another crack it and do it so that ifdef's aren't necessary.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799600
2008-04-21 23:00:58 +00:00
Malcolm Hunter
8e9dd61541
Typo fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799557
2008-04-21 21:20:03 +00:00
Aaron J. Seigo
92a2bb701e
avoid painting empty pixmaps.
...
BUG:161122
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799536
2008-04-21 19:32:26 +00:00
Petri Damstén
77e66bc8fb
Convert Meter and SignalPlotter to QGraphicsWidget based widgets
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799477
2008-04-21 16:26:18 +00:00
Marco Martin
85a1f0e516
use a separate cache for each elementPrefix, this will speed up
...
rendering a lot if prefixes are switched very often. this will make
possible for instance to render the background of taskbar items with a
PanelSvg.
This behaviour is disabled by default, you can enable/disable it with
setCacheAllRenderedPanels(bool), get with cacheAllRenderedPanels() and
erase the entire cache with clearCache()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799411
2008-04-21 14:01:46 +00:00
Marco Martin
b175042a04
- boundingRect() now is pure virtual in Toolbox class
...
- correctly places the toolbox in vertical panels
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799135
2008-04-20 14:23:37 +00:00
Rob Scheepmaker
f27fb3fc1b
Applied some of the API changes to Plasma::View:
...
- renamed drawWallpaper
- made config() protected
- moved updateSceneRect() and initGraphicsView to pimpl
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798623
2008-04-18 17:40:57 +00:00
Marco Martin
1e77632048
api changes:
...
init() and setFailedToLaunch are now protected
containment and corona are friends of applet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798585
2008-04-18 16:05:20 +00:00
Script Kiddy
463a6beff7
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798572
2008-04-18 15:51:48 +00:00
Marco Martin
bfcbfd2662
restoring the minimum size alteration in setDrawStandardBackground()
...
but now when standard background is disabled the minimum size shrinks.
now some applets are starting to look good on the desktop, for instance
tasks, but not pager or clock
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798173
2008-04-17 17:49:33 +00:00
Marco Martin
8c41b89090
make the applets to behave well when resizing the panel
...
as a bonus, applets with standard background appears a little bit less
wrong (but still wrong) on the desktop
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798154
2008-04-17 17:09:13 +00:00
Alexis Ménard
c1a93efbdf
we don't need to create an another layout, just changing the direction work, there is
...
a big size problem when put the panel on the right or on the left, the length seems to
be huge
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798129
2008-04-17 15:29:28 +00:00
Alexis Ménard
dcd0a9bbe9
the layout should take the entire panel
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798126
2008-04-17 15:17:01 +00:00
Pino Toscano
3d9a4ad7e1
fix signal/slot usage
...
CCMAIL: darktears31@gmail.com
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798097
2008-04-17 13:12:25 +00:00
Alexis Ménard
cee1f3d1cb
API change as decided in tokamak
...
private slot is now in the pimpl
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798090
2008-04-17 12:45:46 +00:00
Marco Martin
ea9347e48f
check for toolbox existence, fixes a crash in plasmoidviewer
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798068
2008-04-17 11:36:20 +00:00
Marco Martin
419277a044
finished the Plasma::Svg api change
...
ContentType now is simply a bool and related methods now are
containsMultipleImages() and setContainsMultipleImages()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797998
2008-04-17 09:09:48 +00:00
Pino Toscano
b4bdfcd9ec
extra ';'
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797870
2008-04-16 22:01:51 +00:00
Dmitry Suzdalev
c2b28413dd
/me done another round of simple stuff renaming :)
...
(corresponding wiki items <s>-ed out)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797824
2008-04-16 21:15:38 +00:00
Marco Martin
f522c38eeb
file() and setFile() -> imagePath() and setImagePath()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797772
2008-04-16 20:48:53 +00:00
Marco Martin
b08e8ae782
themeChanged() and colorsChanged() now are Q_PRIVATE_SLOTS
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797745
2008-04-16 20:30:18 +00:00
Marco Martin
6024f48475
Api changes to PanelSvg finished:
...
-now it's a Plasma::Svg
-DrawTopBorder DrawLeftBorder etc -> TopBorder LeftBorder etc
-contentAtOrigin -> out of flags
-setFile() -> setImagePath()
-setBorderFlags() -> setEnabledBorders()
-added resize(qreal,qreal)
-setPrefix() -> setElementsPrefix()
-updateSizes() -> Q_PRIVATE_SLOT
-pos() setPos() removed, now pos is a parameter of paint
-setLocation() -> setElementPrefix(enum)
-location() removed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797736
2008-04-16 20:17:36 +00:00