Commit Graph

10318 Commits

Author SHA1 Message Date
Aaron Seigo
21c1c05039 this method is no longer in the private class 2011-12-06 17:46:13 +01:00
Aaron Seigo
3f7859b557 if the shortcut hasn't changed, don't try and update it 2011-12-06 17:37:54 +01:00
Aaron Seigo
abd1d9ddba make shortcuts and sharing settings enable Apply; use a QWeakPointer forthe shortcuts widget 2011-12-06 17:36:39 +01:00
Script Kiddy
9940d361d6 SVN_SILENT made messages (.desktop file) 2011-12-06 17:04:54 +01:00
Aaron Seigo
2435f1cc6a fix video tuortial widget 2011-12-05 22:40:16 +01:00
Aaron Seigo
57f9668bd1 config changed is not only called by config dialogs anymore, so more the script forwarding into the public API implementation 2011-12-05 00:16:53 +01:00
Aaron Seigo
135dee0367 forward port fix for bug #252612 from 6ed9229f4b2df1d98821bef5ab7a361b5dea9ffa in KDE/4.7 branch 2011-12-04 14:37:10 +01:00
Aaron Seigo
04854068fc finish merge conflicts 2011-12-04 14:34:06 +01:00
Aaron Seigo
71d807c353 Merge remote branch 'origin/KDE/4.7' into frameworks
Conflicts:
	CMakeLists.txt
	kio/kfile/kfilemetadatareaderprocess.cpp
	plasma/CMakeLists.txt
	plasma/packagestructure.cpp
	plasma/private/packages.cpp
	threadweaver/Mainpage.dox
2011-12-04 14:25:38 +01:00
Aaron Seigo
3948cfb8cf use d->setWidget which notes that it's not a palette customization 2011-12-04 14:00:32 +01:00
Aaron Seigo
e34c70415e git rid of the native member, it's redundant; use d->setWidget which notes that it's not a palette customization 2011-12-04 14:00:32 +01:00
Aaron Seigo
27531a3173 the palette gets updated by all sorts of events on the scene now (incl. reparenting!), so make sure the palette is _really_ changing before marking it as custom
this fixes widget colours not updating with theme changes -> if, for instance, an offscreen widget is created, this results in a reparenting (to null)
and that in turn creates a palette changed event ... which was being intepretted as a custom palette being set and that would disable future updates
due to theme changes.

this also introduces a small helper which computes the palettes once for use by all widgets as a small performance improvement.

BUG:261967
2011-12-04 14:00:32 +01:00
Jaime Torres
461d2562ce use the returns in the #ifndef
If the two returns in the #ifndef are not supposed to be used,
please revert and add a comment or remove them.
2011-12-04 13:23:56 +01:00
Jaime Torres
4aa690ccc8 return a double usind qMin
qMin is a template, use the right datatype for it.
part of review 103323
2011-12-04 12:28:04 +01:00
Jaime Torres
2c5ec1a56a change return by break and then add a common return
removing dead code (part of review 103323)
2011-12-04 12:27:01 +01:00
Jaime Torres
be08974bfe remove dead code
remove dead code (see review 103323)
2011-12-04 12:25:46 +01:00
Jaime Torres
ab8e956d57 remove a break; after a return
there is no need for a break; after a return (dead code)

REVIEW: 103323
2011-12-04 12:24:35 +01:00
Marco Martin
283d8cbc09 more transparent minimized task, they stick out more
CCBUG:248088
2011-12-03 21:37:07 +01:00
Aaron Seigo
97e4bd53d3 don't delete the kns3 dialog on application shutdown
BUG:288153
2011-12-03 21:22:45 +01:00
Aaron Seigo
086c669d47 m_corona does not exist in the libplasma2 version of tooltipmanager 2011-12-03 18:09:13 +01:00
Aaron Seigo
b7e335265f catch another possible mimetype identification
BUG:252612
2011-12-03 17:46:20 +01:00
Script Kiddy
66f3acefb9 SVN_SILENT made messages (.desktop file) 2011-12-03 14:30:23 +01:00
Aaron Seigo
96cdb27080 use the default corona in case the widget doesn't provide one
we need a different solution for libplasma2, however.

BUG:281759
2011-12-02 21:53:08 +01:00
Aaron Seigo
b556753ecd constrained square makes sense for vertical but not horizontal panels
BUG:282706
2011-12-02 21:53:07 +01:00
Aaron Seigo
feb6a53659 containmentType() .. NOT type()!
and now we know the source of the "panel covers the entire screen" bug

BUG:259704
2011-12-02 21:53:07 +01:00
Aaron Seigo
1b9bf08082 fix spinboxes
BUG:285224
2011-12-02 21:53:07 +01:00
Aaron Seigo
109453976a while properties are cool and all, let's not take the slow path just because we can. 2011-12-02 21:53:07 +01:00
Aaron Seigo
34376c31b1 animate transitions when an svg is used as well. 2011-12-02 21:53:07 +01:00
Aaron Seigo
c546b3d47d set the parent of the config skeleton object to be the dialog
BUG:287324
2011-12-02 21:49:24 +01:00
Aaron Seigo
ea8d0dcce2 get rid of the text halos
they are (relatively) expensive and should be unnecessary now:
we have blur, it works well, and when we don't blur we use different backgrounds.

one more "take one thing off" while i'm futzing around in tooltips
2011-12-02 21:48:34 +01:00
Aaron Seigo
464bab7a68 handle titles a little nicer: centered, no wrap for short titles 2011-12-02 21:48:34 +01:00
Aaron Seigo
61cdb24cdb force of habit :) 2011-12-02 21:48:34 +01:00
Aaron Seigo
d1cdb6c7d2 hide the label completely when no image is set. makes sure there isn't layout().spacing() extra padding 2011-12-02 21:48:34 +01:00
Aaron Seigo
3956daeb58 don't allocate 1k chunks of memory for a few longs here and there 2011-12-02 21:48:34 +01:00
Aaron Seigo
7074f1b74f grab the source name before removing the iterator
the previous fix, which i accidentally reverted while cleaning up this code,
was actually wrong (so in a way i'm glad i caught it): the signal MUST be emitted
AFTER the item is removed from the collection otherwise any code that checks to
see if that source exists will see that it does still exist even though it was
just signaled as being removed. order sometimes really matters :)

CCMAIL:kde@rusu.info
BUG:287795
2011-12-02 21:48:34 +01:00
Marco Martin
523ef55a7b remove the iterator after accessing it 2011-12-02 21:48:32 +01:00
Jeremy Whiting
ea1f079c34 KTar already supports xz and lzma files, also support them in Plasma::Package.
BUG:287913
(cherry picked from commit 897b07485a8cd70f831b8f586dc84859016b2572)
2011-12-02 12:03:42 -07:00
Aaron Seigo
1ba3ec0d04 use the default corona in case the widget doesn't provide one
we need a different solution for libplasma2, however.

BUG:281759
2011-12-02 19:01:46 +01:00
Aaron Seigo
e0cd24f83a constrained square makes sense for vertical but not horizontal panels
BUG:282706
2011-12-02 17:30:59 +01:00
Aaron Seigo
c3cb35739c containmentType() .. NOT type()!
and now we know the source of the "panel covers the entire screen" bug

BUG:259704
2011-12-02 17:00:29 +01:00
Aaron Seigo
f0498a9973 fix spinboxes
BUG:285224
2011-12-02 10:45:47 +01:00
Aaron Seigo
dd15c33c2b while properties are cool and all, let's not take the slow path just because we can. 2011-12-02 10:45:47 +01:00
Aaron Seigo
a97d486876 animate transitions when an svg is used as well. 2011-12-02 10:45:47 +01:00
Jeremy Whiting
2313cc258b KTar already supports xz and lzma files, also support them in Plasma::Package.
BUG:287193
2011-12-01 15:52:44 -07:00
Marco Martin
7988a4a7e4 don't try to set the main widget multiple times 2011-12-01 19:55:09 +01:00
Marco Martin
9726906ed0 recreate the dialog if the Popup flag changes
a popup only works if it's created with that flag from the beginning
2011-12-01 19:55:09 +01:00
Aaron Seigo
ed31f2aaee set the parent of the config skeleton object to be the dialog
BUG:287324
2011-12-01 17:13:30 +01:00
David Faure
7cb65fb04e Merge remote branch 'origin/KDE/4.7' 2011-12-01 14:29:14 +01:00
Sebastian Kügler
e66e97e11e Enable edit bubble also for TextArea
- split out placeEditBubble(mouse)
- improve positioning a bit more (still not perfect)
- Remove a bit of noise
2011-12-01 03:51:01 +01:00
Sebastian Kügler
10b4ad517d Put editbubble below cursor when there's not enough space above it
Also clean up a bit here and there, removing redundancy
2011-12-01 02:27:18 +01:00