Commit Graph

10285 Commits

Author SHA1 Message Date
Marco Martin
0069c38934 don't add empty extender groups that are autohide
BUG:258645

svn path=/trunk/KDE/kdelibs/; revision=1212326
2011-01-06 14:55:41 +00:00
Marco Martin
79bbb39468 initialize
svn path=/trunk/KDE/kdelibs/; revision=1212108
2011-01-05 18:54:37 +00:00
Marco Martin
ec6d137012 use smooth transformation for the pressed effect: it's used rarely enough to not pose too much performance issues
BUG:262128

svn path=/trunk/KDE/kdelibs/; revision=1212069
2011-01-05 16:41:06 +00:00
Marco Martin
324b96e720 use a size hint
svn path=/trunk/KDE/kdelibs/; revision=1211733
2011-01-04 19:10:38 +00:00
Marco Martin
5cd5e30e30 remove dead code
svn path=/trunk/KDE/kdelibs/; revision=1211699
2011-01-04 17:20:19 +00:00
Marco Martin
4692d7f9b1 add an extra margin to let room for a possible extender scrollbar
svn path=/trunk/KDE/kdelibs/; revision=1211692
2011-01-04 17:05:44 +00:00
Marco Martin
e92078b1c0 set the correct margins when a dialog with an extender goes at the edge of the screen
svn path=/trunk/KDE/kdelibs/; revision=1211687
2011-01-04 16:53:31 +00:00
Marco Martin
6df6c161f7 don't try to resize the extender when an inner itel resizes, it can cause endless resizing loops
svn path=/trunk/KDE/kdelibs/; revision=1211658
2011-01-04 15:23:20 +00:00
Aaron J. Seigo
510d4d57a5 clearAction private slot
svn path=/trunk/KDE/kdelibs/; revision=1211028
2011-01-02 23:17:57 +00:00
Aaron J. Seigo
9f854b8380 pluging location or loading failure can also cause null returns
svn path=/trunk/KDE/kdelibs/; revision=1210956
2011-01-02 19:07:35 +00:00
Shaun Reich
ebe6937516 clarify containment docs a bit, so nobody runs into an issue like mine, especially since it never used to return 0(bug).
svn path=/trunk/KDE/kdelibs/; revision=1210954
2011-01-02 19:05:20 +00:00
Marco Martin
72d7757146 be more paranoid in checking for pointers
BUG:261570

svn path=/trunk/KDE/kdelibs/; revision=1210334
2010-12-30 18:10:55 +00:00
Diego Casella
a894b07bce * Prevent plasma tooltips to draw halos on empty lines.
Closes review request #6233

svn path=/trunk/KDE/kdelibs/; revision=1210143
2010-12-29 19:36:24 +00:00
Nuno Fernades Pinheiro
1bfabd4522 :bug 261387
svn path=/trunk/KDE/kdebase/runtime/; revision=1209650
2010-12-27 20:03:12 +00:00
Andriy Rysin
c56c74054f Allow kdelibs/kdebase compile without glu library (review 6213)
svn path=/trunk/KDE/kdelibs/; revision=1209642
2010-12-27 19:12:37 +00:00
Aaron J. Seigo
f41ce1601b FEATURE: formalize how the homepage for branding purposes is gotten at via the theme.
(this has been a TODO in the code since 4.2!)

svn path=/trunk/KDE/kdelibs/; revision=1209505
2010-12-27 00:46:17 +00:00
Aaron J. Seigo
b221146758 SVN_SILENT: hush
svn path=/trunk/KDE/kdelibs/; revision=1209285
2010-12-26 10:44:28 +00:00
Aaron J. Seigo
ae4f0579b9 only check the config for immutability if we actually have it; immutability() gets called from setHasConfigurationInterface which gets called from AppletPrivate::init() which meant it was trying to access the configuration group too early, resulting in it being misplaced; for most applets this wouldn't matter, but for applets-in-applets (it's always the sinners) it causes problems
BUG:261264

svn path=/trunk/KDE/kdelibs/; revision=1209283
2010-12-26 10:42:57 +00:00
Marco Martin
6d58b35a4d new taskbar
svn path=/trunk/KDE/kdebase/runtime/; revision=1208847
2010-12-23 13:20:02 +00:00
Aaron J. Seigo
ab4e0e24d3 constify
svn path=/trunk/KDE/kdelibs/; revision=1208728
2010-12-22 23:37:56 +00:00
Nicolas Lécureuil
c29c17c400 Fix crahs by checking archive
http://reviewboard.kde.org/r/6184

svn path=/trunk/KDE/kdelibs/; revision=1208684
2010-12-22 20:59:33 +00:00
Nicolas Lécureuil
ec872fa08d Show the warning before metadataPath is clear, if not the warning always show an empty result.
svn path=/trunk/KDE/kdelibs/; revision=1208682
2010-12-22 20:55:59 +00:00
Marco Martin
5fd137c064 emit clicked only on mouse release and only with left button
svn path=/trunk/KDE/kdelibs/; revision=1208161
2010-12-20 21:16:06 +00:00
Marco Martin
825a5e9685 a bit more margin
svn path=/trunk/KDE/kdebase/runtime/; revision=1208092
2010-12-20 16:34:03 +00:00
Script Kiddy
f0793a0126 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1207961
2010-12-20 06:27:11 +00:00
Script Kiddy
87d649665e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1207957
2010-12-20 06:25:07 +00:00
Manuel Mommertz
e928c0baaf allow SharedSvgRenderer to put interesting elements in the rect cache on load
fixes the detection of svgs that use a style for system colors

svn path=/trunk/KDE/kdelibs/; revision=1207463
2010-12-18 08:54:17 +00:00
Script Kiddy
b20086135b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1207443
2010-12-18 06:01:23 +00:00
Marco Martin
698b513868 the dialog private is in its seprarate file ecause it gets accessed by popupapplet to set an applet pointer
in this way we can use the corona to actually find out the real desktop geometry, that doesn't fail for extended monitors like QDesktopWidget does.

BUG:257955

svn path=/trunk/KDE/kdelibs/; revision=1207416
2010-12-17 22:37:09 +00:00
Marco Martin
3e57946f66 if the containment it's an offscreen widget, don't allow to claim a screen, after all it's *off*screen
fixes the switch to a dashboard with an independent widget set

svn path=/trunk/KDE/kdelibs/; revision=1207374
2010-12-17 18:01:44 +00:00
Daniel Nicoletti
1ce2e3896e Fix labels
svn path=/trunk/KDE/kdebase/runtime/; revision=1207334
2010-12-17 15:08:30 +00:00
Script Kiddy
5fe66eb33b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1207225
2010-12-17 06:25:45 +00:00
Script Kiddy
e2fffbfce0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1207224
2010-12-17 06:24:18 +00:00
Jeremy Paul Whiting
83124b7029 Remove previous "preferred" file definition when path changes with single image paths.
BUG:259373

svn path=/trunk/KDE/kdelibs/; revision=1207123
2010-12-17 03:02:20 +00:00
Giulio Camuffo
3534c4fc0e look for the containment in the QObject hierarchy if it could not be find in the QGraphicsItem one. This is needed to
make the applet which are offscreen find their containment.

svn path=/trunk/KDE/kdelibs/; revision=1207068
2010-12-16 20:08:16 +00:00
Marco Martin
3ad1f7887a ignore mouse press as well if isn't possible to flick
svn path=/trunk/KDE/kdelibs/; revision=1207046
2010-12-16 17:39:59 +00:00
Marco Martin
e2f5428044 limit the rate of wheel events to 50 msecs.
this makes the scroll widget not getting mad with a touchpad scroll, that spits a ton of subsequent wheel events

svn path=/trunk/KDE/kdelibs/; revision=1207045
2010-12-16 17:38:41 +00:00
Marco Martin
9269fcb7a3 ignore wheel events if it is not possible to scroll
BUG:256073

svn path=/trunk/KDE/kdelibs/; revision=1207036
2010-12-16 17:11:09 +00:00
Script Kiddy
2b74c07089 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1206943
2010-12-16 07:00:33 +00:00
Script Kiddy
b8821d3aab SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1206942
2010-12-16 06:59:18 +00:00
Marco Martin
3affa93b86 auto resize at most at a third of the screen size.
this is still not perfect (should also take into account the user custom resize)
but avoids the widget being resize to completely ridiculous sizes

svn path=/trunk/KDE/kdelibs/; revision=1206707
2010-12-15 15:01:19 +00:00
Marco Martin
07444819b7 move the size adjustment in a private member
svn path=/trunk/KDE/kdelibs/; revision=1206703
2010-12-15 14:35:11 +00:00
Aaron J. Seigo
20d88def72 registerSimpleAppletMetaTypes no longer calls registerNonGuiMetaTypes, so call it explicitly. the i/o example/test plasmoids work again.
svn path=/trunk/KDE/kdebase/runtime/; revision=1206672
2010-12-15 11:15:26 +00:00
Aaron J. Seigo
ad61d813f7 add an explicity conversion to utf8
svn path=/trunk/KDE/kdebase/runtime/; revision=1206671
2010-12-15 11:13:13 +00:00
Aaron J. Seigo
03a4645d5a add a test for "contentsPrefixPaths() == QStringList() is ultimately the same as contentsPrefixPaths() == QStringList() << QString()"; proved that this worked as expected (which i knew) but exposed a bug in PackageStructure. huzzah for unit tests.
svn path=/trunk/KDE/kdelibs/; revision=1206643
2010-12-15 07:14:43 +00:00
Aaron J. Seigo
65d5227bec fix and extend debug output
svn path=/trunk/KDE/kdelibs/; revision=1206642
2010-12-15 07:13:20 +00:00
Aaron J. Seigo
d71dc6de98 only append a separator if one isn't already there; otherwise this screws up checks for canonical path existance when a path with a trialing / is passed in as the root and external paths are not allowed
svn path=/trunk/KDE/kdelibs/; revision=1206641
2010-12-15 07:11:46 +00:00
Aaron J. Seigo
b6edd5beca treat no prefixes as the same as one prefix starting at the package root. probably not a bottleneck, but the duplicated code indicates that this may be better placed in PackageStructure in future. this is the path (excuse the pun :) of least change, however.
svn path=/trunk/KDE/kdelibs/; revision=1206637
2010-12-15 06:29:36 +00:00
Aaron J. Seigo
e2ea3a5715 treat no contents prefixes as valid and equivalent to one prefix of QString()
svn path=/trunk/KDE/kdelibs/; revision=1206635
2010-12-15 06:28:33 +00:00
Aaron J. Seigo
c549c85181 --deprecatedApiUsage;
svn path=/trunk/KDE/kdelibs/; revision=1206617
2010-12-15 05:54:06 +00:00