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
Marco Martin
3e5f70f8bc
SvgPanel -> PanelSvg
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797664
2008-04-16 17:24:34 +00:00
Marco Martin
d07a60c581
Rename SvnPanel into PanelSvg and update accordingly who is using that,
...
as discussed in api reviews
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797663
2008-04-16 17:23:58 +00:00
Dmitry Suzdalev
b237019d4f
Plasma API adjustements:
...
Theme::colors() => Theme::colorScheme()
Theme::image() => Theme::imagePath()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797634
2008-04-16 15:53:16 +00:00
Marco Martin
4a5df9c733
begin of api changes, as in
...
http://techbase.kde.org/index.php?title=Projects/Plasma/Tokamak1#Plasma::Svg
elementRect() returns a QRectF
elementExisits() became hasElement()
matrixForElement is only private
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797610
2008-04-16 14:31:43 +00:00
Marco Martin
ef4d4863ca
toolbox is vertical panels is starting to appear, still in the wrong
...
position btw.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797598
2008-04-16 13:55:23 +00:00
Marco Martin
01c5a6620c
now the panel toolbox looks way better (still only in horizontal panels
...
btw)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797291
2008-04-15 10:44:24 +00:00
Dan Meltzer
5dec314c85
More tabs that have been eradicated from plasma.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797218
2008-04-15 02:47:16 +00:00
Dan Meltzer
6a13421595
begone you wretched tabs.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797216
2008-04-15 02:38:48 +00:00
Script Kiddy
1a59ca8215
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797202
2008-04-15 02:02:03 +00:00