Commit Graph

2227 Commits

Author SHA1 Message Date
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
Ryan P. Bitanga
8fd721a8c4 Correctly read configuration for plugin selector.
The selector stores configuration in [Plugins] in KGlobal::config() while the 
code checked [PlasmaRunnerManager][Plugins]


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=813544
2008-05-28 03:54:34 +00:00
Joseph Burns
ff02a321c1 Get read() and write() tests to pass by adding a KConfig::SimpleConfig
flag to the KConfig ctor.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=813459
2008-05-27 19:36:25 +00:00
Marco Martin
5f3a757bae new BackgroundHint:
TranslucentBackground, now used by folder view.
when an applet has TranslucentBackground set, it loads
"widgets/tranlucentbackground" as its own background
when that svg does not exists in theh them it falls back to
"widgets/background" instead of translucentbackground of the default
theme

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=813283
2008-05-27 10:57:09 +00:00
Marco Martin
83a5c1ee6f corrected a bug that led to 100% cpu usage in some cases (endless
resizing loop) had to use maximum and minimum sizes, layouts seems to be
sooo stoopid :(

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=813266
2008-05-27 10:04:52 +00:00
Script Kiddy
df6d7e06a5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=813137
2008-05-26 23:05:24 +00:00
Rob Scheepmaker
eb33472c79 Only switch to a toplevel window when mouse hovers over a panel.
BUG: 162608


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812885
2008-05-26 15:09:06 +00:00
Thiago Macieira
3d0ddada81 Accept URLs that have no hostname (such as smb:/ and zeroconf:/) as
type NetworkLocation too.

This makes it possible to type zeroconf:/ in krunner and load the
associated program (Dolphin in my case), just like in KDE 3.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812822
2008-05-26 13:21:06 +00:00