Commit Graph

3363 Commits

Author SHA1 Message Date
Aaron J. Seigo
227e28ffa9 no need to set the style at the end now that we have the shared pointer based style
svn path=/trunk/KDE/kdelibs/; revision=902674
2008-12-28 22:45:22 +00:00
Andrew Lake
fc4ef631d4 For kdisplayPalleteChanged signals, emit themeChanged() after updating
plasma color scheme, not simultaneously.

svn path=/trunk/KDE/kdelibs/; revision=902575
2008-12-28 17:50:32 +00:00
Marco Martin
66bb0f6bda avoid harder divisions by zero
BUG:178746

svn path=/trunk/KDE/kdelibs/; revision=902555
2008-12-28 17:09:21 +00:00
Script Kiddy
64eb25d5ef SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=902469
2008-12-28 13:24:07 +00:00
Marco Martin
996a1277bc better manage save and restore of popup size of popupapplets when the
content is a qgraphicswidget (i.e it works now), also ensure the default
size when it first pops up is the gwidget's preferred size

svn path=/trunk/KDE/kdelibs/; revision=902439
2008-12-28 12:54:48 +00:00
Marco Martin
548b02c948 adjust the dialog size right after showing, this makes the clock popup
to actually show when the popup is in the panel

svn path=/trunk/KDE/kdelibs/; revision=902184
2008-12-27 16:26:19 +00:00
Script Kiddy
8a19f02c1c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=902161
2008-12-27 16:13:12 +00:00
Aaron J. Seigo
f1316fb4b8 avoid div by zero
BUG:178854

svn path=/trunk/KDE/kdelibs/; revision=901977
2008-12-27 05:37:50 +00:00
Adriaan de Groot
968c6a0d68 Disambiguate promoting the qreal values to integers
svn path=/trunk/KDE/kdelibs/; revision=901944
2008-12-27 00:31:24 +00:00
Aaron J. Seigo
72af656f0f when tooltip content changes, reset the timer. allows one to see tooltips for all their desktops in the pager, for example
svn path=/trunk/KDE/kdelibs/; revision=901885
2008-12-26 20:43:53 +00:00
Chani Armitage
a98e4c82b2 tooltips don't need an offset if the panel is on the top or left side
svn path=/trunk/KDE/kdelibs/; revision=901879
2008-12-26 20:38:59 +00:00
Marco Martin
e3f1b2fda8 in horizontal and vertical form factors let the applets move even if
locked, otherwise the containment layout would be broken
(perhaps would be better to check for a qgraphicslinearlayout or
gridlayout parent? both solutions seems not too good)
BUG:178211

svn path=/trunk/KDE/kdelibs/; revision=901826
2008-12-26 18:37:57 +00:00
Marco Martin
dc76999e7e kill that ugly white border when dragging the extender and compositing
is active (need a custom view for that, sigh)

svn path=/trunk/KDE/kdelibs/; revision=901786
2008-12-26 16:41:53 +00:00
Script Kiddy
1acc45799a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=901725
2008-12-26 13:29:16 +00:00
Marco Martin
bfc790f0f5 center the empty extender label, otherwise the "no noticications and no
jobs" label, rare but that can still be seen while dragging can be drawn
over the shadow outside the borders

svn path=/trunk/KDE/kdelibs/; revision=901648
2008-12-26 12:27:09 +00:00
Marco Martin
938b6291fc use always qreal and convert to int just at the last moment, should
avoid some nice divide by 0
CCBUG:178746

svn path=/trunk/KDE/kdelibs/; revision=901542
2008-12-25 21:23:26 +00:00
Aaron J. Seigo
173a19d10d don't show the dialog until it's position is settled which fixes the "i'm seeing flashes of kickoff at the top of the screen when i first open it". this also happens to fix a bug where sometimes a popup would show in the taskbar
BUG:177675

svn path=/trunk/KDE/kdelibs/; revision=901338
2008-12-25 08:36:01 +00:00
Aaron J. Seigo
d2baf76321 toolbox drag improvement by Lukas Dolezal
BUG:178707

svn path=/trunk/KDE/kdelibs/; revision=901337
2008-12-25 08:29:03 +00:00
Aaron J. Seigo
0f70316466 add a warning here for those who come later =)
svn path=/trunk/KDE/kdelibs/; revision=901289
2008-12-24 23:53:12 +00:00
Ambroz Bizjak
69eccb04ce Make sure aspect ratio is preserved when size limits are hit, minor
cleanup

svn path=/trunk/KDE/kdelibs/; revision=901264
2008-12-24 21:23:27 +00:00
Marco Martin
9598dc5982 remove the offscreenwidget before putting it on screen again. this fixes
the popupapplet crash  the second time it's dragged from desktop to
panel

svn path=/trunk/KDE/kdelibs/; revision=901241
2008-12-24 19:13:05 +00:00
Ambroz Bizjak
32e0e2ed35 Rewrite resize and rotate logic.
Fixes inconsistent resize behaviour, e.g. if mouse was moved more
than the applet could be shrunk, and then moved back a small amount,
the applet would immediately start expanding, instead of starting to
expand where it stopped shrinking.

svn path=/trunk/KDE/kdelibs/; revision=901173
2008-12-24 15:13:09 +00:00
Script Kiddy
bfed2f3c3b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=901124
2008-12-24 13:31:37 +00:00
Marco Martin
614c2252d1 add alignment/setAlignment wrapping in the api
svn path=/trunk/KDE/kdelibs/; revision=900868
2008-12-23 20:39:59 +00:00
Aaron J. Seigo
4d38cc53b6 make tooltips orientation aware; fixes problems with panel autohiding as well as avoids some unecessary painting in vertical panels
BUG:178552

svn path=/trunk/KDE/kdelibs/; revision=900840
2008-12-23 19:38:52 +00:00
Aaron J. Seigo
4edaeb129d allow defining the font to use with the shadow text
svn path=/trunk/KDE/kdelibs/; revision=900826
2008-12-23 18:31:59 +00:00
Marco Martin
0ea6365356 restore the svg size, oops
svn path=/trunk/KDE/kdelibs/; revision=900801
2008-12-23 16:41:34 +00:00
Marco Martin
d1e083f211 paint the background as the same size of the progress bar, no more empty
areas before and after
support for stretched bars

svn path=/trunk/KDE/kdelibs/; revision=900723
2008-12-23 13:05:37 +00:00
Marco Martin
38ab27d842 applets without an icon can have their own aspect ratio (clocks :))
svn path=/trunk/KDE/kdelibs/; revision=900421
2008-12-22 20:32:37 +00:00
Script Kiddy
5523a9b8cb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=900280
2008-12-22 14:16:56 +00:00
Marco Martin
3ada99112f resize the extender applet to a sane size when created
svn path=/trunk/KDE/kdelibs/; revision=899905
2008-12-21 20:28:17 +00:00
Marco Martin
acc4171b16 don't crash when the view is not a plasma one (hello plasmoidviewer:)
svn path=/trunk/KDE/kdelibs/; revision=899877
2008-12-21 18:59:46 +00:00
Marco Martin
1b7bf8cdb9 use plasma font in some more widgets
svn path=/trunk/KDE/kdelibs/; revision=899830
2008-12-21 17:17:35 +00:00
Marco Martin
11da4f11f8 use the plasma font
svn path=/trunk/KDE/kdelibs/; revision=899819
2008-12-21 16:55:19 +00:00
Marco Martin
3027146fc9 another sad qgraphicslayout workaround
CCBUG:178288

svn path=/trunk/KDE/kdelibs/; revision=899800
2008-12-21 16:19:47 +00:00
Script Kiddy
6e04d381ed SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=899707
2008-12-21 12:58:24 +00:00
Urs Wolfer
f320d2e700 * typos--
* optimize QString operations
* fix include guard

svn path=/trunk/KDE/kdelibs/; revision=899600
2008-12-21 11:56:01 +00:00
Alessandro Diaferia
3716f6713a a useful method to retrieve free edges on the screen
svn path=/trunk/KDE/kdelibs/; revision=899574
2008-12-21 10:23:45 +00:00
Script Kiddy
c631f6b324 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=899356
2008-12-20 14:38:38 +00:00
Allen Winter
7cd47eb006 no need to look for OpenGL, because we already look for it in kdelibs/CMakeLists.txt
svn path=/trunk/KDE/kdelibs/; revision=899147
2008-12-20 00:46:37 +00:00
Andrew Lake
fb3d7e75cb colorScheme and buttonColorScheme need to be updated the color changes
for system-color themes.  Also clear out itemsToSave on colorChange.

svn path=/trunk/KDE/kdelibs/; revision=898780
2008-12-19 01:48:42 +00:00
Aaron J. Seigo
0b9f1db281 * immediate sync on destroy(), prevents applets from being unremovable in perpetuity
* less of use of containment()->corona() internally since while that makes sense for external code, it's unecessarily slow for code in the lib
* some dyanmic_ -> qobject_ casts

svn path=/trunk/KDE/kdelibs/; revision=898746
2008-12-18 22:14:06 +00:00
Aaron J. Seigo
c8621101c1 allow for immediate syncs to be required
svn path=/trunk/KDE/kdelibs/; revision=898745
2008-12-18 22:12:49 +00:00
Andrew Lake
b8c4897535 Reset size when renderer is erased. Should fix wierd border sizing
bug when changing to certain themes.

svn path=/trunk/KDE/kdelibs/; revision=898716
2008-12-18 20:28:09 +00:00
Marco Martin
03733b6b9d check harder if the tooltip has the proper size
svn path=/trunk/KDE/kdelibs/; revision=898694
2008-12-18 19:11:54 +00:00
Aaron J. Seigo
4b034eacae don't animate the moves of tool items when it's a toolbar; it looks a bit odd and when zoomed out it's excruciately slow thanks to the software based scaling
svn path=/trunk/KDE/kdelibs/; revision=898648
2008-12-18 15:48:01 +00:00
Script Kiddy
aa90c75d21 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=898586
2008-12-18 12:49:26 +00:00
Marco Martin
5e421239c9 always keep toold hidden when their enabled/disabled status changes
unhide all the enabled ones when the toolbox is opened

BUG:178014

svn path=/trunk/KDE/kdelibs/; revision=898560
2008-12-18 12:32:06 +00:00
Marco Martin
3cab60d833 make sure to reposition all the toolboxes on all screens when the zoom
level changes

svn path=/trunk/KDE/kdelibs/; revision=898482
2008-12-18 11:03:35 +00:00
Aaron J. Seigo
ffead9de07 SVN_SILENT document why this is, as it's not immediately obvious why that would be needed there, and obviously got missed previously
svn path=/trunk/KDE/kdelibs/; revision=898229
2008-12-17 19:56:25 +00:00