Commit Graph

1778 Commits

Author SHA1 Message Date
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
Aaron J. Seigo
4381fdfafa they beginning of keyboard focus possibilities; hardly works at the moment, but this is the groundwork
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797091
2008-04-14 21:50:41 +00:00
Marco Martin
4e7e2cb345 bring back the toolbox reset after setIscontainment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797081
2008-04-14 21:26:40 +00:00
Marco Martin
f4e44f397e panel toolbox looks way better, but is not displayed right now because
isContainment of the panel returns false again and it seems geometry()
returns a size of 0x0 in constraintsUpdated

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797075
2008-04-14 21:09:15 +00:00
Aaron J. Seigo
17bba1cffc SVN_SILENT: tabs are not cool. tell your friends.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797074
2008-04-14 21:07:25 +00:00
Alexis Ménard
d5753f1fba welcome back to the background that will be a little modified soon with window frame (that
will include the applet handle No More Seperate Item ;) ) + delete in layouts in 
containments when removing applets

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797066
2008-04-14 20:37:54 +00:00
Aaron J. Seigo
b8e3eed0dc move the timer experiment out for 4.1 at least
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797015
2008-04-14 18:11:51 +00:00
Aaron J. Seigo
ae33eeddda SVN_SILENT: minor ws
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797014
2008-04-14 18:10:24 +00:00
Rob Scheepmaker
54a3279aa7 ReAdded the isAnimating() function to Phase.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797010
2008-04-14 18:04:34 +00:00
Alexis Ménard
d5dd4e16ac Ammmaaziiing grace!!
Widget class is dead..

still in the repo for tooltip code

CCMAIL : aseigo@kde.org


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796973
2008-04-14 16:02:23 +00:00
Chani Armitage
fd37ae89b0 correct more lies
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796953
2008-04-14 15:41:30 +00:00
Alexis Ménard
d91b8a94d4 remove useless function
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796939
2008-04-14 15:15:26 +00:00
Alexis Ménard
1b7a9a14e0 +bye bye paintwidget method
+remove tooltip that will be replaced by the tooltip manager
+port some used stuff in applet class

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796924
2008-04-14 14:50:02 +00:00
Chani Armitage
da49777a70 remove lies from the docs
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796923
2008-04-14 14:49:16 +00:00
Davide Bettio
4e6e78cb04 Now everything works but I don't really know the why.
Please, *check* this code.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796915
2008-04-14 14:41:41 +00:00
Chani Armitage
3c9e07518a more accurate docs for updateInterval
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796910
2008-04-14 14:37:04 +00:00
Alexis Ménard
1e8d0d6051 API clean : bye bye cache mode wich is managed by qt
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796903
2008-04-14 14:18:17 +00:00
Alexis Ménard
1b15d951a9 API clean : bye bye opacity, wich is bas implemented in all cases
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796900
2008-04-14 14:09:13 +00:00
Sebastian Kügler
b32216ac24 Take border sizes into account when drawing applets with background.
It's still busted right now though, since geometry() returns an
empty rect (dunno why ... )

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796898
2008-04-14 14:04:00 +00:00
Marco Martin
1788dbed90 fix compilation, wooops :)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796879
2008-04-14 13:19:51 +00:00
Marco Martin
e9e16e2a89 Desktop toolbox should appear in less funny positions
AND                                                                                               
beginning of a panel toolbox 
actually untested with the woc port for now

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796873
2008-04-14 13:05:49 +00:00
Sebastian Kügler
940bb176b6 whitespace cleanups
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796860
2008-04-14 12:42:50 +00:00
Alexis Ménard
548d250d59 say hello again to the panel, and fix some performance issue
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796806
2008-04-14 10:48:32 +00:00
Laurent Montel
6a60fbf0fa Install widget.h
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796800
2008-04-14 10:42:06 +00:00
Laurent Montel
f8ddf5cfc6 Fix include
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796796
2008-04-14 10:33:37 +00:00
Alexis Ménard
67758e04a6 fix future compile issues
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796777
2008-04-14 09:50:39 +00:00
Chani Armitage
d3cc6149a8 introduce the concept of transient applets, or applets that are still in existence, but which should not end up written out to disk, e.g. when they are marked for deletion.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796768
2008-04-14 09:42:57 +00:00