Commit Graph

2110 Commits

Author SHA1 Message Date
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
Script Kiddy
da89a76bb3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=808727
2008-05-17 12:42:34 +00:00
Chani Armitage
1d8eb91e89 keyboard shortcuts.
the defaults are kinda lame right now, but I'm planning to do a lot more with this.
applet focus and the shorcut hooks work properly, however.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=808610
2008-05-17 03:39:24 +00:00
Rob Scheepmaker
3bce3a18b8 Applet drag & drop works again on a dashboard.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=808449
2008-05-16 16:40:12 +00:00
Dan Meltzer
26dc704a5a remove the FOCUS! FOCUS! FOCUS! debugspam
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=808417
2008-05-16 15:03:39 +00:00
Rob Scheepmaker
9f6d033578 Couple of improvements to applet drag & drop:
* when dropping on another containment, the center of the applet is used to determine where 
to drop the applet, instead of the position of the mousepointer.
* movement now works correctly if multiple drag&drops are performed while not removing the 
mouse away from the applet handle.
* now works correctly on rotated applets.
* various code style fixes.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=808379
2008-05-16 13:28:33 +00:00
Aaron J. Seigo
9fda5b685d apidox fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807777
2008-05-14 17:44:36 +00:00
Aaron J. Seigo
102cd5b748 no longer used
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807767
2008-05-14 17:16:36 +00:00
Script Kiddy
454cdf7022 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807573
2008-05-14 00:45:41 +00:00
Aaron J. Seigo
caa2fdc688 isValid
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807410
2008-05-13 19:42:17 +00:00
Richard Dale
691262431c * Add PLASMA_EXPORT macros to the five methods in the Plasma:: namespace so that they
can be used outside the plasma lib.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807212
2008-05-13 09:39:19 +00:00
Jordi Polo
a709955f14 Load runners when asked to match directly, not only when launching matches
Optimally we should load only that runner...


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807162
2008-05-13 05:18:51 +00:00
Pino Toscano
b70d1d4bc6 use the QtModule/QClass for Qt includes in public headers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807091
2008-05-12 21:55:32 +00:00
Alexis Ménard
ff9832433d fix restaure of applet geometry
aaron can you check?

CCMAIL:aseigo@kde.org


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807088
2008-05-12 21:49:55 +00:00
Script Kiddy
b8dfaea21c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806903
2008-05-12 14:40:15 +00:00
Marco Martin
33b1a28be9 border of the semicircle looks cleaner, that anyways usually it's not
rendered anymore, only fades in on mouse over

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806805
2008-05-12 13:32:31 +00:00
Urs Wolfer
37d49b5283 header cleanness
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806732
2008-05-12 09:18:47 +00:00
Aaron J. Seigo
40cb0b8dea whoops, wrong location. *gah*
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806700
2008-05-12 05:17:45 +00:00
Aaron J. Seigo
7750ba9273 make the applet ctor public again.
why? because older g++s are teh suck, and mac os is stuck with it. it doesn't get that inner classes also get the friend status of the outer class. blargl

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806698
2008-05-12 04:57:38 +00:00
Aaron J. Seigo
2ec2a2b346 allow finding and running matches by id
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806697
2008-05-12 04:53:42 +00:00
Aaron J. Seigo
d14534ba12 allow using the global theme
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806696
2008-05-12 04:53:13 +00:00
Rob Scheepmaker
8d75ba14c2 Improved drag&drop: the top level window now gets masked :)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806660
2008-05-11 23:56:32 +00:00
Rob Scheepmaker
143b126bca Improved drag&drop: when an applet gets dragged, it now only moves to a toplevel
window when necesarry (when the applet moves over another view or window).


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806641
2008-05-11 22:02:35 +00:00
Laurent Montel
c4ff00eb0f Fix mem leak
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806631
2008-05-11 21:30:28 +00:00
Marco Martin
d03f49e72f show the panel toolbox on the left when plasma starts with an RTL layout
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806621
2008-05-11 20:58:49 +00:00
Aaron J. Seigo
7c2bd78598 always set the engine name
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806583
2008-05-11 19:19:54 +00:00
Rob Scheepmaker
df22556806 Improved drag&drop: now the toplevel window appears correctly when zoomed out.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806544
2008-05-11 17:21:55 +00:00
Rob Scheepmaker
1172ef79e9 Start of improved applet drag & drop. What works now is:
* dragging an applet creates a top level window so the applet won't appear behind the panel 
when dragging, as is the case now.
* dragging leaves a semi transparent version of the applet at the original location, so it's
clear to the user where the applet came from and where it will go when the drag is cancelled.

There are still some open issues, I'm working on those...


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806484
2008-05-11 13:56:35 +00:00
Script Kiddy
bb55e8eb78 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806426
2008-05-11 11:52:04 +00:00
Aaron J. Seigo
3aa75e775b delay loading of runners until they are actually used
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806088
2008-05-09 23:46:46 +00:00
Aaron J. Seigo
98c7ed7097 more signalf friendly
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806084
2008-05-09 23:14:00 +00:00