Commit Graph

2584 Commits

Author SHA1 Message Date
Marco Martin
b8e211c2a4 SVN_SILENT: style fixes and death to the tabs
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818737
2008-06-09 13:05:17 +00:00
Laurent Montel
ab395dfbbc Tag as devel element
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818716
2008-06-09 11:33:54 +00:00
Aaron J. Seigo
f9ac3edde5 get the geometry right
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818650
2008-06-09 04:09:11 +00:00
Aaron J. Seigo
c9fcf43c43 i wonder if this fixes it; can the reporters test this for me, because it wasn't being triggered here, but i can see how it could be without this patch
CCBUG:163477

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818638
2008-06-09 03:15:40 +00:00
Aaron J. Seigo
681ddb5cdc prepare ourselves for upstream fixes ;-P
CCBUG:163459

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818610
2008-06-09 00:03:25 +00:00
Aaron J. Seigo
cf9397a059 SVN_SILENT: apidox typo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818589
2008-06-08 21:40:53 +00:00
Jason Stubbs
21367769e7 Fix systray icon positioning on initial layouts and take svg margins
into account. When the size is too small to allow the svg and a single
icon, disable the svg.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818155
2008-06-07 22:51:51 +00:00
Laurent Montel
210f9032ff Fix crash when we don't select an item
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818001
2008-06-07 11:31:16 +00:00
Aaron J. Seigo
d222baf2f2 emit geom changed signal on size changes as well as a SizeConstraint. one should one or the other but not both, i suppose.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=817989
2008-06-07 10:52:34 +00:00
Aaron J. Seigo
ccadeadaa2 try some slightly smarter arangement concepts
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=817970
2008-06-07 09:34:50 +00:00
Script Kiddy
baa5066afd SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=817864
2008-06-06 21:47:30 +00:00
Aaron J. Seigo
ae609c6018 fix package installation. this method was removed it the API review, but it is actually required.
BUG:163290

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=817331
2008-06-05 19:32:15 +00:00
Script Kiddy
4c75aec5a9 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=817018
2008-06-05 02:24:59 +00:00
Aaron J. Seigo
04f01a17dd center the icon vertically
BUG:163213

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816767
2008-06-04 19:35:17 +00:00
Aaron J. Seigo
f1ce0ee124 safety in removing panels, aka "work around the inane requirement to first remove items from the scene before deleting them if they are a QGraphicsWidget and have a layout"
BUG:163205

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816760
2008-06-04 19:04:34 +00:00
Marco Martin
1cb044332c new aspect ratio mode ConstrainedSquare
it makes applets in panel to not
be wider than tall in horizontal panels and not taller than wider in
vertical panels, but can be for instance less wide than tall in
horizontal panels, as opposed to square applets.
it makes poossible to have icons with a reasonable size in very big
panels as vertical panels usually are for instance

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816757
2008-06-04 18:58:38 +00:00
Aaron J. Seigo
3d45aae7fb more code clean ups
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816745
2008-06-04 18:20:58 +00:00
Aaron J. Seigo
1cd27868ac SVN_SILENT: cleanups
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816744
2008-06-04 18:17:32 +00:00
Marco Martin
5ddceb467b add Theme::currentThemeHasImage() that checks if the current theme has a
certain svg or if it would fallback to the default theme if loaded.
this makes possible an alternative fallback mechanism between images of
the same theme, used now for the TransparentBackground background hint

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816734
2008-06-04 17:44:37 +00:00
Andrew Lake
e729dcd481 Fix broken theme change from theme svgs that do not use "hint-apply-colors" to theme svgs
that do.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816504
2008-06-04 02:51:31 +00:00
Sebastian Sauer
cc80b06826 prevent assert if d->applets is empty and we compiled with debug enabled.
BUG:162742

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816502
2008-06-04 02:44:54 +00:00
Gilles Chauvin
834003d0dc Make widgets aware of qresources.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816435
2008-06-03 21:08:52 +00:00
Marco Martin
27fe9143ff explicitly setting BackgroundColor = 2 seems to prevent both HighlightColor
and BackgroundColor = 1 (probably compiler issues)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816428
2008-06-03 20:39:55 +00:00
Script Kiddy
e982ecd2e8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816270
2008-06-03 14:23:53 +00:00
Aaron J. Seigo
b4dc4d9e75 like a rainbow.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816090
2008-06-03 08:51:57 +00:00
Chani Armitage
8e9bd0ff09 revert my last commit; this does work after all, sorry.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815996
2008-06-03 00:24:51 +00:00
Anne-Marie Mahfouf
4f2624b36a more consistency in naming: stylesheet -> styleSheet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815812
2008-06-02 15:36:44 +00:00
Anne-Marie Mahfouf
b2b1283fa6 consistency with Qt naming, using same CamelCase
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815775
2008-06-02 15:09:10 +00:00
Anne-Marie Mahfouf
4c0377428f typo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815705
2008-06-02 14:36:31 +00:00
Marco Martin
dedc5eac8f deactivate translucent background when the containment becomes the
panel, prevents weird margins

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815657
2008-06-02 13:27:20 +00:00
Chani Armitage
62a32a22a7 don't try to associate with widgets.
it's not needed for global shortcuts, and it wouldn't work that way for local shortcuts anyways.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815532
2008-06-02 05:43:05 +00:00
Chani Armitage
2048a57f54 *use standard qkeysequences for zooming
*also keep the ctrl-= for zoom-in so that people with US keyboards don't have to press shift

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815524
2008-06-02 04:26:54 +00:00
Script Kiddy
51e98af62f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815343
2008-06-01 15:00:04 +00:00
Aaron J. Seigo
b228fb7c49 save shortcut settings
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815055
2008-06-01 03:03:43 +00:00
Aaron J. Seigo
4878d04cc3 allow setting and getting of global shortcuts
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815050
2008-06-01 02:53:50 +00:00
Aaron J. Seigo
e26442e7e4 not necessary =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815049
2008-06-01 02:49:11 +00:00
Aaron J. Seigo
40e4b3e88e * global keyboard shortcuts for applets
* move the contents of setGeometry to itemChange and resizeEvent for greater reliability

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815043
2008-06-01 02:13:53 +00:00
Albert Astals Cid
cc3f0c3a90 Don't show Apply button as it doesn't work correctly, acked by Aaron
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815001
2008-05-31 21:26:49 +00:00
Pau Garcia i Quiles
46eb057d98 Adding Q_DISABLE_COPY(Containment) in containment.h or removing Q_DISABLE_COPY(Applet) in applet.h make Plasma build with MSVC. Disabling copy in Containment as suggested by Pino looks safer.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814885
2008-05-31 16:26:24 +00:00
Pau Garcia i Quiles
71c0cee2fa MSVC
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814860
2008-05-31 13:58:05 +00:00
Script Kiddy
185133a8a8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814782
2008-05-31 09:41:27 +00:00
Marco Martin
3c2f92084e allows the panel toolbox to zoom out, so isn't shown anymore at the top
of the screen when desktop is zoomed out

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814577
2008-05-30 18:23:22 +00:00
Mark Kretschmann
6406af5f58 Proper fix for the mutex issue, using K_GLOBAL_STATIC.
Thanks to dfaure and ervin for helping.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814552
2008-05-30 17:04:05 +00:00
Mark Kretschmann
b98775d66f Change bigLock QMutex from static to nonstatic. This fixes a nasty bug that caused Amarok to hang on exit.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814540
2008-05-30 16:13:57 +00:00
Kevin Ottens
dd95e5a8e6 Renaming methods around operation calls to get better discoverability of
the API. KConfigGroup instances are the whole operation description, not
simply the parameters.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814507
2008-05-30 14:26:07 +00:00
Frederik Gladhorn
b74e3dd632 at least initialize the mutex counter
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814434
2008-05-30 10:08:45 +00:00
Aaron J. Seigo
6e71a7adc3 use Plasma::PushButton
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814353
2008-05-30 06:16:37 +00:00
Gilles Chauvin
125c816930 Fix incorrect paths
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814202
2008-05-29 16:43:01 +00:00
Aaron J. Seigo
1d5979e532 check that we have children; prevents crash. will continue polishing from the fairgrounds later today.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814045
2008-05-29 08:49:40 +00:00
Script Kiddy
88e4985e4a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=813908
2008-05-28 21:39:47 +00:00