Commit Graph

895 Commits

Author SHA1 Message Date
Hoàng Đức Hiếu
b14fb9605e Add font property to Plasma::Label; this also helps getting more accurate sizeHint than using Arial 12pt when the default font is Arial 10pt
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=726342
2007-10-17 15:11:29 +00:00
Andre Duffeck
ed1430faa4 be less noisy
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=726279
2007-10-17 12:40:06 +00:00
Script Kiddy
76bf325f33 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=726175
2007-10-17 05:59:01 +00:00
Hoàng Đức Hiếu
b038a10d13 sizeHint: take alignment and Qt::TextWordWrap flags into account, as done in paintWidget
the QRectF is a reasonably large rect so that it doesn't interfere with result size

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725859
2007-10-16 11:54:37 +00:00
Script Kiddy
830b4b5e84 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725777
2007-10-16 06:15:12 +00:00
Stephan Binner
bb0a94e9eb i18n style guide fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725487
2007-10-15 14:38:36 +00:00
Andre Duffeck
53e8f95ea6 Fix duration and fadeIn/fadeOut animations
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725400
2007-10-15 09:41:39 +00:00
Stephan Binner
397b49d1ab fix capitalization
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725397
2007-10-15 09:32:57 +00:00
Andre Duffeck
9126f8263f less debug output
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725391
2007-10-15 08:58:08 +00:00
Andre Duffeck
54211a2f54 Fix size when put in layouts.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725390
2007-10-15 08:54:06 +00:00
Aaron J. Seigo
ea36afad03 * appletbrowser is part of libplasma now, not a separate entity
* get all the sources when generating the pot file

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725169
2007-10-14 20:09:06 +00:00
Aaron J. Seigo
677ed4a35a be more explicit about the signature .. i don't think it matters to
QObject::connect which normalizes away the const's and &s, but should
help the copy 'n pasters a bit more =)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725150
2007-10-14 18:34:56 +00:00
Ivan Čukić
93187d0a90 Argument verification
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725047
2007-10-14 10:57:14 +00:00
İsmail Dönmez
3ffa8ee720 SVN_SILENT --pedantic
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724810
2007-10-13 14:33:14 +00:00
Ivan Čukić
04f5730e1e NodeLayout:
* initial implementation of sizeHint()
* support for automatic sizing (on one or two dimensions)
* simplified node definition

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724794
2007-10-13 13:29:21 +00:00
Aaron J. Seigo
108c3e323f ++quiet;
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724654
2007-10-12 22:45:41 +00:00
Aaron J. Seigo
6b3764fa5f make this a bit more clear in the documentation as it even caught me =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724612
2007-10-12 20:27:51 +00:00
Aaron J. Seigo
18a42ef3b5 - replace nasty literal with a nice static const int
- make custon anims work properly

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724611
2007-10-12 20:26:07 +00:00
Alexander Wiedenbruch
ea4a368a42 The integration of SuperKaramba into Plasma is now done
by the SuperKaramba Plasma Applet alone that comes with SuperKaramba itself.

- Remove all previous functions to load SuperKaramba themes
- Add special code into applet browser to handle the theme loading

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724563
2007-10-12 17:30:30 +00:00
Ivan Čukić
f22a71a22d Changing the licensing to GNU Library/Lesser GPL
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724418
2007-10-12 08:45:12 +00:00
Ivan Čukić
b378ed6c64 Changing the licensing to GNU Library/Lesser GPL
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724416
2007-10-12 08:44:02 +00:00
Ivan Čukić
f4936ae814 License text change...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724403
2007-10-12 08:16:40 +00:00
Aaron J. Seigo
7d29f75f4a * memory leak: delete all the outstanding movements
* add the ability to use Phase's coordinated tick for custom animations

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724392
2007-10-12 07:25:24 +00:00
Aaron J. Seigo
79d929e848 bit a bit more careful about what we do depending on what sort of Containment we are.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724315
2007-10-11 23:20:59 +00:00
Aaron J. Seigo
e6ca32da41 speed this up. .5s is way too long
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724314
2007-10-11 23:20:20 +00:00
Aaron J. Seigo
599f014cff add the containment after init, inc on delayed init
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724312
2007-10-11 23:18:33 +00:00
Aaron J. Seigo
095b27e53b make slideIn and slideOut actually work, we needed the start point as well so i added that to the api.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724244
2007-10-11 20:19:51 +00:00
Aaron J. Seigo
6747103c38 now that we do this in Containment, we don't need to do it here as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724226
2007-10-11 19:17:26 +00:00
Aaron J. Seigo
22de66fdc0 * fix order of constraints init so that geometry is done before screen affinity
* only adjust the size of the containment to the screen size if it is a DesktopContainMent

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724225
2007-10-11 19:16:01 +00:00
Ivan Čukić
c8281cbd05 Code formating
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724124
2007-10-11 13:50:54 +00:00
Chani Armitage
7d2771e8f3 move applet->setDrawStandardBackground(false) to within Containment::addApplet()
this appears to fix all the bugs with applets not showing up on the panel :)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724060
2007-10-11 08:41:10 +00:00
Chani Armitage
5e275a216c SVN_SILENT:
couple extra debug statements

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724056
2007-10-11 08:36:22 +00:00
Laurent Montel
8528f29be4 Install AppletBrowser
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723986
2007-10-11 07:16:34 +00:00
Aaron J. Seigo
e9517a938b remove dead code; background rendering ended up somewhere completely different
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723925
2007-10-11 04:43:13 +00:00
Aaron J. Seigo
0f66f80fe2 allow widgets to change their size even if there isn't a layout (because that was just silly)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723915
2007-10-11 03:30:50 +00:00
Ivan Čukić
3d0bdf2e42 * fixed bug: misplacing center widget when there is no right or bottom one.
* feature: if there is a fixed size for one of the borders, it *will* have that size
  even if there is no widget for that border.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723796
2007-10-10 18:27:57 +00:00
Ivan Čukić
80bc0a1d00 Margin support (spacing was added earlier)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723756
2007-10-10 16:34:24 +00:00
Aaron J. Seigo
3b4b624e08 mark directory entries as .... directories!
patch courtesy of Andrea Diamantini
CCMAIL:adjam7@gmail.com

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723441
2007-10-09 17:22:52 +00:00
Aaron J. Seigo
e642050a1c * introduce a type() to containments so we can tell the difference between panels, desktops, etc more reliably
* translate panels to negative coordinates. this will allowus to make hiding panels that actually ... work =)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723423
2007-10-09 16:33:52 +00:00
Aaron J. Seigo
3e90dfe02b move all the init to loadDefaultSetup if we are loading a default setup; as an extra bonus this prevents Containment::init() being called twice
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723422
2007-10-09 16:32:34 +00:00
Ivan Čukić
599a527eb0 Used in the past emblem enabled
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723318
2007-10-09 10:00:54 +00:00
Ivan Čukić
700fe7d498 Added support for remembering favorites in the plasmarc file
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723316
2007-10-09 09:51:55 +00:00
Petri Damstén
b5fa2a0936 Calculate available size before perItemSize
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723274
2007-10-09 07:05:37 +00:00
Aaron J. Seigo
192ba4bad3 * move the pluggable krunners into plasma/krunner
* change krunner to plasma in the plugin loader macro

this essentially helps hide krunner completely from the runner implementor and follows with the rest of the generic plugins offered by libplasma

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723220
2007-10-09 03:41:24 +00:00
Aaron J. Seigo
ff935b47f5 * KRunner/Runner -> Plasma/Runner as it is actually hosted by libplasma
* move the service description .desktop file into libs/plasma/servicetypes with the rest of them
* add a X-Plasma-RunnerPhase property so we can try and order these puppies

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723217
2007-10-09 03:20:02 +00:00
Ivan Čukić
9ef8749a7f Made recommended plugins configurable. The default 'Recommended by KDE' is removed and should be added to the default plasmarc file.
Example plasmarc section:

[Applet Browser]
recommended.kde.icon=help-about-kde
recommended.kde.caption=KDE
recommended.kde.plugins=digital-clock

recommended.debian.icon=debian-logo
recommended.debian.caption=Debian
recommended.debian.plugins=groupphoto

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723162
2007-10-08 21:50:38 +00:00
Petri Damstén
82b947252e Remove debugs
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723007
2007-10-08 12:49:22 +00:00
Keith Neuse
a6d04f9ea4 A hack is submitted in order to fix the transparent area between the black center and border of an applet.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=722766
2007-10-08 03:41:56 +00:00
Chani Armitage
fe0c9c5272 renamed a potentially confusing var and added some debug output
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=722749
2007-10-08 02:22:29 +00:00
Thomas Georgiou
fab3611a21 Transparency works now!! Aaron, remember to fill QPixmaps with
Qt::transparent.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=722710
2007-10-07 23:32:56 +00:00