Commit Graph

3525 Commits

Author SHA1 Message Date
Aaron J. Seigo
f58b012cee make it harder for popupapplets to get tooltips wrong by hiding it for them
svn path=/trunk/KDE/kdelibs/; revision=903160
2008-12-30 02:07:57 +00:00
Aaron J. Seigo
7c7218cf89 having two methods named the same thing was a bit insane.. WHICH togglePopup? =)
svn path=/trunk/KDE/kdelibs/; revision=903159
2008-12-30 02:06:06 +00:00
Aaron J. Seigo
ea41519c3c this is much clearer, does the same thing and has the benefit of being able to pre-emptively hide the tip in toolTipAboutToShow!
svn path=/trunk/KDE/kdelibs/; revision=903158
2008-12-30 02:04:35 +00:00
Aaron J. Seigo
014514e808 SVN_SILENT: ws fixes
svn path=/trunk/KDE/kdelibs/; revision=903147
2008-12-30 01:00:56 +00:00
Aaron J. Seigo
c7b36c7959 allow changing the reason the applet failed
svn path=/trunk/KDE/kdelibs/; revision=903146
2008-12-30 01:00:13 +00:00
Chani Armitage
c1caaba626 these functions are important, they should be exposed
svn path=/trunk/KDE/kdelibs/; revision=902795
2008-12-29 08:22:28 +00:00
Aaron J. Seigo
52ad594971 allow checking if the applet has a popup showing associated with it. not BC, but we haven't released 4.2.0 yet and this is the least ucky way of doig it ;)
svn path=/trunk/KDE/kdelibs/; revision=902770
2008-12-29 06:03:43 +00:00
Chani Armitage
c1266d8689 that comment stopped being true a looong time ago ;)
svn path=/trunk/KDE/kdelibs/; revision=902765
2008-12-29 05:07:57 +00:00
Chani Armitage
bd67989540 use the bool that's passed in :P
svn path=/trunk/KDE/kdelibs/; revision=902764
2008-12-29 04:45:05 +00:00
Aaron J. Seigo
acc16d69ab "fix" pixels getting cut off for some people
svn path=/trunk/KDE/kdelibs/; revision=902719
2008-12-29 00:59:22 +00:00
Aaron J. Seigo
e193aaa46e if there's a tooltip set, keep it in sync with the action
svn path=/trunk/KDE/kdelibs/; revision=902698
2008-12-28 23:52:41 +00:00
Chani Armitage
c0496911af the settings dialog for wallpaper n'stuff needs to respect security
svn path=/trunk/KDE/kdelibs/; revision=902697
2008-12-28 23:45:27 +00:00
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