Commit Graph

2290 Commits

Author SHA1 Message Date
Alex Merry
9178353bb4 Fix inclusion guards for future widgets.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810532
2008-05-20 22:36:28 +00:00
Marco Martin
4c36d280c9 (hopefully) fixing the positioning of the desktop toolbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810501
2008-05-20 21:29:31 +00:00
Richard Dale
c3aa6bec48 * Fix the broken guard macros in the widget* headers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810412
2008-05-20 17:29:23 +00:00
Pino Toscano
158a9ca5c0 fix path
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810272
2008-05-20 11:09:42 +00:00
Laurent Montel
47183f095f SVN_SILENT:
Typo

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810151
2008-05-20 06:24:52 +00:00
Chani Armitage
18a50b787d only do containment-style removal if it's *really* a containment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810132
2008-05-20 04:26:10 +00:00
Chani Armitage
ccde7ded20 replace Panel::remove() with Containment::destroy()
now I can remove some of the ten desktop containments I accumulated :)
oh, and the code is cleaner too, yay!

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810129
2008-05-20 04:02:36 +00:00
Aaron J. Seigo
fdef4627ab improved sorting
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810114
2008-05-20 02:47:13 +00:00
Chani Armitage
4f31401ca9 *basic keyboard shortcuts for desktop-containment-switching
*setContainment went virtual so that switches can be done reliably

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810098
2008-05-20 01:27:49 +00:00
Aaron J. Seigo
c413c02ca7 export these files too
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810070
2008-05-19 23:25:56 +00:00
Aaron J. Seigo
03552da98a put includes out of Widgets, so you can just do Plasma/Label, e.g.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810063
2008-05-19 23:22:02 +00:00
Aaron J. Seigo
9abfe2e1d0 export the classes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810061
2008-05-19 23:17:44 +00:00
Pino Toscano
60f253cad5 fix path to the real include
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810057
2008-05-19 23:08:38 +00:00
Marco Martin
573f99e978 hides the panel toolbox when the whole desktop is locked
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809993
2008-05-19 20:49:44 +00:00
Chani Armitage
f6d290849f add groupbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809979
2008-05-19 20:18:46 +00:00
Aaron J. Seigo
a3d432d16d fix deadlock
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809963
2008-05-19 19:58:06 +00:00
Marco Martin
812d870086 enforce square aspect ratio when aspectRatioMode() is square of applets
in the panel

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809947
2008-05-19 19:34:13 +00:00
Alexis Ménard
5f6b242127 This magic line seems to fix our crash with embeeded widget
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809939
2008-05-19 19:19:47 +00:00
Chani Armitage
50889239d6 add combobox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809932
2008-05-19 19:10:58 +00:00
Chani Armitage
ec2bcd9010 add textedit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809903
2008-05-19 18:17:12 +00:00
Aaron J. Seigo
fb80125034 changes to allow integration with kpluginselector; based on patch by Ryan Bitanga
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809860
2008-05-19 17:02:15 +00:00
Rob Scheepmaker
8b20aab3fb Couple of improvements to applet drag&drop:
* Only move applet to toplevel window when overlapping other plasma views, ignoring other windows and such.
* Drag & drop now works reasonably well when using multiple desktop containments ('activities'), both when
  zoomed in as when zoomed out. Only a couple of issues remaining.
* Containment's addApplet function now cleans up the pointer to the applethandle in the preview containment,
  Avoiding some nasty crashes when moving applets between containments.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809841
2008-05-19 16:20:27 +00:00
Script Kiddy
a91f242a50 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809748
2008-05-19 11:22:53 +00:00
Pino Toscano
a2e1e54c73 add quotes around #include file name
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809700
2008-05-19 09:31:40 +00:00
Pino Toscano
771bef1f29 missing quotes for the file name
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809686
2008-05-19 09:18:24 +00:00
Chani Armitage
ec8c013149 add checkbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809581
2008-05-19 06:12:48 +00:00
Aaron J. Seigo
43e837c8c7 * add RadioButton
* install PushButton headers

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809577
2008-05-19 05:56:42 +00:00
Aaron J. Seigo
eeb82d4649 camel case includes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809576
2008-05-19 05:55:07 +00:00
Chani Armitage
0906a09ae9 return of the son of pushbutton
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809575
2008-05-19 05:44:32 +00:00
Aaron J. Seigo
69435a397f forward signals, no need for image setting
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809574
2008-05-19 05:42:44 +00:00
Aaron J. Seigo
51bb717cae a little more help
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809573
2008-05-19 05:26:53 +00:00
Aaron J. Seigo
5c7589a741 call the parent class' resizeEvent as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809571
2008-05-19 05:25:33 +00:00
Aaron J. Seigo
d242cde2cf use Plasma::Label
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809570
2008-05-19 05:25:16 +00:00
Aaron J. Seigo
9d619d61c6 add some widgets. it works! no more explicit proxy widget usage, and a nice simplified api that makes the baby jesus happy
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809503
2008-05-19 01:24:12 +00:00
Aaron J. Seigo
b4c0e2ea4d more fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809501
2008-05-19 01:23:04 +00:00
Chani Armitage
732a7a1d72 opening the desktop toolbox on hover was never going to work perfectly, and would be a bit of a problem for touchscreens (they make the mouse jump instead of moving smoothly) - so it no longer happens.
the toolbox just lights up on hover now, and opens on click. it still closes on the hover leave event, though.
this makes the code a lot less hackish and should produce the least frustrating behaviour possible.
it's also a bit more like the panel cashew behaviour.
BUG:159520

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809497
2008-05-19 00:41:41 +00:00
Pino Toscano
3ad723c617 fixup of CamelCase includes in public headers:
- QtModule/QClass for Qt includes
- KDE/KClass for KDE includes

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809478
2008-05-18 23:18:59 +00:00
Aaron J. Seigo
6455a32abf template fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809476
2008-05-18 23:18:08 +00:00
Aaron J. Seigo
01387b3014 svn add too
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809472
2008-05-18 23:11:44 +00:00
Aaron J. Seigo
c0244c2c68 a little system for making widgets quickly
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809454
2008-05-18 22:27:29 +00:00
Chani Armitage
b021102afe update lock icon along with lock text
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809376
2008-05-18 19:58:33 +00:00
Aaron J. Seigo
d7e2844da3 not built anyways
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809361
2008-05-18 19:32:08 +00:00
Sebastian Sauer
0f934c13c5 * also use the defined type()/setType() at Package::registerPackage()
* dox++


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809306
2008-05-18 17:44:36 +00:00
Sebastian Sauer
8c21c9f2ca did the todo. At Package::registerPackage() used the PackageMetadata's serviceType if defined else use 'Plasma/Applet,Plasma/Containment' like before.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809278
2008-05-18 17:16:10 +00:00
Rob Scheepmaker
8fd94a9931 Make sure the topview is deleted in the applethandle's dtor, and make goTopLevel always have a return value.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809157
2008-05-18 12:54:20 +00:00
Aaron J. Seigo
cce4c58318 * add Service to the build
* pop the library rev number up since the changes are so drastic since 4.0.x

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809022
2008-05-18 04:28:58 +00:00
Aaron J. Seigo
09a017908c finding of items by group and name; fixes an annoyance in KConfigSkeleton
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809021
2008-05-18 04:28:27 +00:00
Aaron J. Seigo
5f3493654f first draft of Service; still evaluating the use of KConfigSkeleton
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809020
2008-05-18 04:27:54 +00:00
Aaron J. Seigo
f561b7f861 set the text color for the label.
another bug in QGraphicsProxyWidget? labels appear as innactive until you click on them!

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=808983
2008-05-18 01:26:29 +00:00
Marco Martin
aadef48088 new optional (so retrocompatible) parameter in the slot called by the custom animation:
the slot can be something like
void animationUpdate(qreal progress, int animId)
it's useful to keep track of multiple animations with a single slot

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=808853
2008-05-17 17:27:18 +00:00