Commit Graph

7080 Commits

Author SHA1 Message Date
Aaron J. Seigo
b51cc728fd actually pass around what constraints are being updated. this allows preventing of unecessary processing (for one) and also can avoid recursion where someone calls a constraints setter from inside constraintsUpdated.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719831
2007-10-01 23:24:38 +00:00
Rafael Fernández López
0f7e4e52ab Code adaptation because of changes on libraries related to revision 719630
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719642
2007-10-01 15:09:41 +00:00
Script Kiddy
4040f40aaa SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719466
2007-10-01 06:24:51 +00:00
Aaron J. Seigo
5935c799dc fix background center painting; the svg painting is doing something funky still (i'm getting a 1-2px blue border) but the coordinates in paintBackground are all correct at this point (verified with a call to fillRect). but i'm tired and need to go to bed now.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719410
2007-10-01 05:50:57 +00:00
Aaron J. Seigo
3817a54b50 make resize() work even after createRenderer() has been called once
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719392
2007-10-01 05:31:32 +00:00
Aaron J. Seigo
55969fd88b - make setGeometry virtual so that Applet::setGeometry actually does what Petri Damsten was trying for
- erase the rect on the pixmap that is exposed before painting again; this prevents painting over and over and over the pixmap (resulting in darker and darker painting when using transparency)
- some minor whitespace changes made whilst debugging

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719387
2007-10-01 05:06:51 +00:00
Aaron J. Seigo
c545f4f86c only paint the standard background we have right now for Planar FormFactors
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719255
2007-09-30 18:07:44 +00:00
Alex Merry
42e49a2b06 Bring back the panel. It's not perfect, but it gives basic functionality.
You may need to delete ~/.kde4/share/config/plasma-appletrc to get the panel

Reloading from the config file is a bit dodgy - waiting on a commit from aseigo
which changes background painting of applets depending on their form factor.

CCMAIL: aseigo@kde.org


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719254
2007-09-30 18:06:08 +00:00
Chani Armitage
9e54e09dc8 when you fix something, remember to update the comment saying to fix it :)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718932
2007-09-30 02:15:40 +00:00
Chani Armitage
f55f22fa52 we don't need to increment hasEntries every time through the for loop; the if statement is enough
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718931
2007-09-30 02:12:40 +00:00
Pino Toscano
def5031a00 header fixup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718890
2007-09-29 22:58:52 +00:00
Pino Toscano
dae62a8fcc extra ';', remove custom implementation of qMin()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718860
2007-09-29 21:45:20 +00:00
Ivan Čukić
8f9c48ce04 Dragging now shows plasmoid icons instead of ItemViewDelegate painted items.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718817
2007-09-29 19:11:27 +00:00
Script Kiddy
2cc9877463 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718575
2007-09-29 06:00:08 +00:00
Script Kiddy
c43261e751 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718158
2007-09-28 06:44:06 +00:00
Petri Damstén
79a32822ac - Override setGeometry so we can give correct rect to layout
- Delete white space from line ends

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718078
2007-09-28 05:46:37 +00:00
Petri Damstén
61fa701fc0 - Add setSize (needed by Applet)
- Delete white space from line ends

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718077
2007-09-28 05:45:10 +00:00
Petri Damstén
c4f4f16048 - Use margin at startPos
- Delete white space from line ends

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718076
2007-09-28 05:43:15 +00:00
Aaron J. Seigo
8f4ed43ae0 whoops, forgot this other half of the commit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718011
2007-09-27 22:11:46 +00:00
Alex Merry
455d9faf55 Tell the layouts who they are doing the layout for.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718010
2007-09-27 22:07:15 +00:00
Aaron J. Seigo
c982fdde3b fix crash; you can't suppose that you get a Widget in ::paint
CCMAIL:tokoe@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718009
2007-09-27 22:05:57 +00:00
Alex Merry
cc626be7e0 Make sure we actually add the applets to the new layout when
it changes


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718004
2007-09-27 21:50:44 +00:00
Alex Merry
b393cd00b4 Initialise variables
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718000
2007-09-27 21:41:30 +00:00
Aaron J. Seigo
bf8a2905be we really don't need this testing output now, though i'm keeping it there (just commented out) so one can easily test things still. (better would be a test in tests/, but this is ok for the immediate)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717967
2007-09-27 20:02:24 +00:00
Aaron J. Seigo
8db658db8e and now with the old appletbrowser out of the way, move the
AppletBrowserWindow-now-AppletBrowser files to where they once were (oh
what we go through to make sure nobody's builds break and svn doesn't
puke on me)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717963
2007-09-27 19:55:18 +00:00
Aaron J. Seigo
a64cea3758 - remove AppletBrowser-the-wrapper-class
- change AppletBrowserWindow to be AppletBrowser

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717959
2007-09-27 19:48:51 +00:00
Aaron J. Seigo
7ec22e70a1 - make AppletBrowserWindow a KDialog not a QDialog
- use standard buttons
- get rid of the completely superfluous ui file for the dialog
- add a dptr, move to Plasma namespace (why will become apparent shortly)


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717956
2007-09-27 19:39:28 +00:00
Ivan Čukić
b2419420e5 GUI is created when needed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717953
2007-09-27 19:38:13 +00:00
Aaron J. Seigo
c58c19816f - remove some rather superfluous dptr methods
- whitespace fixes

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717943
2007-09-27 19:04:24 +00:00
Aaron J. Seigo
ff5b3b72db - reinstate AppletBrowser to the build
- refer to the now-_p.h'd private headers
- const the dptr

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717938
2007-09-27 18:59:53 +00:00
Aaron J. Seigo
2e1b4dcda3 - name the uninstalled headers _p.h
- correct ordering of headers in many files
- remove some unneeded headers such as iostream

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717932
2007-09-27 18:51:31 +00:00
Ivan Čukić
ee2f663398 Added files
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717930
2007-09-27 18:49:38 +00:00
Aaron J. Seigo
b8343e6cf7 - delay creating the AppletBrowser until it's actually used. in
practice, one should NEVER create user interface in ctors/init()s of
  objects that get created at startup of the app if that UI is not for
  immediately visibility
- fix the build temporarily (but commenting out AppletBrowser bits)
  until Ivan commits the missing files

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717926
2007-09-27 18:40:29 +00:00
Ivan Čukić
8a811e46f7 * applet browser's add button works
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717892
2007-09-27 17:50:31 +00:00
Script Kiddy
ad15bab8c4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717656
2007-09-27 09:33:12 +00:00
Matthew Woehlke
407f13404a remove superfluous header
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717530
2007-09-27 03:52:50 +00:00
Aaron J. Seigo
06465f6cb1 more deprecated api removal; kservice seems almost OO now ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717491
2007-09-26 23:06:17 +00:00
Aaron J. Seigo
9fa4ea3ec3 - remove deprecated createInstance call
- as Containment is going to remain an Applet, we can put the context menu hack in Applet instead which is nicer on the widgets anyways. also make it a bit less of a hack...

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717489
2007-09-26 23:01:57 +00:00
Matías Costa
f4efdfa1f0 Fix infinite loop
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717393
2007-09-26 20:15:42 +00:00
Alex Merry
67322b0367 Revert the applet browser import to fix the build
CCMAIL: ivan.cukic+kde@gmail.com


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717225
2007-09-26 10:38:26 +00:00
Alex Merry
30b2cd64fc apidocs fix, and use a better macro name for the include guard
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717224
2007-09-26 10:37:08 +00:00
Ivan Čukić
49b3e4b13b Import of the Plasma Applet browser into the libplasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717167
2007-09-26 07:44:06 +00:00
Petri Damstén
1efc829861 Plasma::Meter added
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=716920
2007-09-25 15:50:32 +00:00
Petri Damstén
a0bc4c53a0 Add Plasma::Meter
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=716911
2007-09-25 15:35:37 +00:00
Petri Damstén
ff7fb9e515 Plasma::Meter from playground to libplasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=716909
2007-09-25 15:26:03 +00:00
Petri Damstén
1897eab31b Plasma::Meter from playground to libplasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=716906
2007-09-25 15:24:39 +00:00
Alex Merry
d29805caef Make drag-n-drop applets work again.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=716003
2007-09-23 18:03:37 +00:00
Laurent Montel
4e4a77901e Not necessary
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=715616
2007-09-22 15:45:42 +00:00
Script Kiddy
8d5e25afc7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=715489
2007-09-22 06:58:54 +00:00
Script Kiddy
c35e757f53 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=715040
2007-09-21 06:26:08 +00:00