Commit Graph

2218 Commits

Author SHA1 Message Date
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
Pino Toscano
f706960801 QtModule/QClass for Qt includes in public headers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812730
2008-05-26 09:10:11 +00:00
Aaron J. Seigo
83a0bdac74 and unhover without anims.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812650
2008-05-25 21:47:09 +00:00
Aaron J. Seigo
f0da40111e don't draw multiple times if we aren't going to actually fade anything in
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812647
2008-05-25 21:38:22 +00:00
Marco Martin
c420730dd5 when a new containment is set the running applets list needs to be
rebuilt.
this makes such list to actually work again

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812600
2008-05-25 20:03:28 +00:00
Aaron J. Seigo
05d6ec6401 remove the args Applet injects to hide that impl detail from subclasses
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812568
2008-05-25 18:38:07 +00:00
Jason Stubbs
f478ae1ca4 geometry() isn't up to date at the time that an ItemPositionHasChanged
notification is received, so don't use it in calculating the correct
position. Also some other small WoC cleanups.

BUG: 161969

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812493
2008-05-25 15:40:29 +00:00
Jason Stubbs
bfc47e7c3a Take text height into account in the Add Widgets dialog.
BUG: 157959

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812491
2008-05-25 15:34:59 +00:00
Marco Martin
8c285fdee5 don't allow to drag applets registered as drag handle when the
containment is locked
BUG: 162584

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812459
2008-05-25 14:10:47 +00:00
Kevin Ottens
8edc0b399f Remove the "ghost view" from public API. It's completely internal and
used nowhere.

"ervin, fighting feature creep in APIs since 1980."

(BTW, at this rate I'm less and less convinced that it'd be wise to not
have a second round of API review post 4.1)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812172
2008-05-24 18:33:40 +00:00