Commit Graph

3534 Commits

Author SHA1 Message Date
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
Marco Martin
1ff5d76fca move the popup before its fist show, even if the show isn't triggered by
a click, this should fix the first random position in devicenotifier
popup

svn path=/trunk/KDE/kdelibs/; revision=898214
2008-12-17 18:37:21 +00:00
Aaron J. Seigo
3d4ccc37c2 constify and build
svn path=/trunk/KDE/kdelibs/; revision=898199
2008-12-17 17:45:24 +00:00
Jesse Lee Zamora
9a57b3105e Lets the delegate detect whether the item will need a tooltip, and adds a
function so programs can show tooltips.


svn path=/trunk/KDE/kdelibs/; revision=898183
2008-12-17 16:30:19 +00:00
Marco Martin
bd31e3d0da return always the lastScreen as screen()
and take care to always sync it, except during the setContainment()
execution
in this way we avoid to have two views with the same screen() for a
while (this avoided the setContainment(0) in
DesktopView::screenOwnerChanged(), making the two views have the same
containment)

svn path=/trunk/KDE/kdelibs/; revision=898122
2008-12-17 13:29:40 +00:00
Aaron J. Seigo
b4eecd7650 set the config interface to true later in the start cycle so we don't turn it on for containments
svn path=/trunk/KDE/kdelibs/; revision=897899
2008-12-17 03:55:26 +00:00
Aaron J. Seigo
5333fb5bfa allow any applet to have their keyboard shortcut set
svn path=/trunk/KDE/kdelibs/; revision=897890
2008-12-17 03:16:30 +00:00
Aaron J. Seigo
97869ca7c7 z value related cleanups, including one fixme
svn path=/trunk/KDE/kdelibs/; revision=897861
2008-12-17 00:51:30 +00:00
Aaron J. Seigo
c26e118bbf cache the last screen/desktop setting so during moments of transience views don't behave amnesiatically; hopefully fixes the multi-screen containment-switcharoo problem
svn path=/trunk/KDE/kdelibs/; revision=897859
2008-12-17 00:40:42 +00:00
Davide Bettio
60a42ae854 Air is the new default wallpaper.
svn path=/trunk/KDE/kdelibs/; revision=897711
2008-12-16 17:28:25 +00:00
Thomas Schildknecht
66f7abba16 SVN_SILENT apidox fix for QSize size() const;
svn path=/trunk/KDE/kdelibs/; revision=897702
2008-12-16 16:44:51 +00:00
Marco Martin
78d7967cea set the layout hint in the popup considering the relative position of the popup icon
with the popup position, this makes for instance the favourites icon in
kickof to be always as near the mouse as possible

svn path=/trunk/KDE/kdelibs/; revision=897521
2008-12-16 11:43:21 +00:00
Sebastian Sauer
8f12925265 disable conflicting shortcut for now.
BUG:165938


svn path=/trunk/KDE/kdelibs/; revision=897447
2008-12-16 04:34:38 +00:00
Aaron J. Seigo
69364bc42e reject position and matrix changes when locked
BUG:177596

svn path=/trunk/KDE/kdelibs/; revision=897433
2008-12-16 03:33:09 +00:00
Aaron J. Seigo
bad9871ccf * remove some dead code
* set a 1px margin only if there is no background
* use width, not height, went horizontal and there is no text
BUG:177871

svn path=/trunk/KDE/kdelibs/; revision=897398
2008-12-15 23:42:29 +00:00
Marco Martin
450e4a88a3 use a qregion instead of a qbitmap for the frame
resizing is same speed, still pixmap->bitmap->region
just repainting should be quite faster
one of the last bic changes

svn path=/trunk/KDE/kdelibs/; revision=897385
2008-12-15 22:17:59 +00:00
Aaron J. Seigo
9c25aa59a5 share one style amongst all the widgets
svn path=/trunk/KDE/kdelibs/; revision=897366
2008-12-15 21:17:43 +00:00
Aaron J. Seigo
adaed62351 * forward the valueChanged signal
* simplify the ctor to be more in line with the other widgets
* add setOrientation

combined, this elminates the need pretty much everywhere its used for nativeWidget() to be accessed. woo!

svn path=/trunk/KDE/kdelibs/; revision=897341
2008-12-15 20:34:03 +00:00
Aaron J. Seigo
fab0de787f consolidate the code paths in flushUpdatedConstraintsEvent, document it a bit better, and call layout()->updateGeometry() less often; sadly it's still needed otherwise the panel containment doesn't come up properly =/ hopefully Qt 4.5 will alleviate that issue
svn path=/trunk/KDE/kdelibs/; revision=897317
2008-12-15 18:29:45 +00:00
Aaron J. Seigo
85161ce13f re-enable some debug needed to work out problems with multiscreen
svn path=/trunk/KDE/kdelibs/; revision=897316
2008-12-15 18:28:28 +00:00
Aaron J. Seigo
6e6cb12b9b delay the saving of new applets so that layouts can do their job
svn path=/trunk/KDE/kdelibs/; revision=897306
2008-12-15 17:48:28 +00:00
Aaron J. Seigo
a029c8396f put the common code (repeated in two places) into a shared method in the private class and document it a bit; also, move the change triggering on startup compmlete to the end of the constraints event
svn path=/trunk/KDE/kdelibs/; revision=897304
2008-12-15 17:41:37 +00:00
Aaron J. Seigo
5c2927870d * consolidate the remove action enabling check into one method
* check the remove action on immutability changes (prevents "Remove" from showing up erroniously when locking then unlocking)

svn path=/trunk/KDE/kdelibs/; revision=897290
2008-12-15 16:54:09 +00:00
Rob Scheepmaker
71d6e19ae8 Don't allow extenderitems to be dragged when plasma is locked.
svn path=/trunk/KDE/kdelibs/; revision=897287
2008-12-15 16:50:47 +00:00
Ivan Čukić
9a5ebc1669 Custom mask support
svn path=/trunk/KDE/kdelibs/; revision=897285
2008-12-15 16:49:55 +00:00
Aaron J. Seigo
e9411c577e add tooltips to items, makes it easier to figure out what they do when zoomed out
BUG:177835

svn path=/trunk/KDE/kdelibs/; revision=897284
2008-12-15 16:42:29 +00:00
Aaron J. Seigo
32846f0e75 save immutability when it changes rather than on exit; prevents crashes from getting in the way
BUG:177756

svn path=/trunk/KDE/kdelibs/; revision=897281
2008-12-15 16:27:52 +00:00
Beat Wolf
22bd89da08 fixed jumpy resizing when resize starts
svn path=/trunk/KDE/kdelibs/; revision=896906
2008-12-14 17:57:50 +00:00
Beat Wolf
073c56b8de removed some dead code after recent code change
svn path=/trunk/KDE/kdelibs/; revision=896893
2008-12-14 17:19:02 +00:00
Marco Martin
eee1671b3c re-set the window preview when the size changes, since its behaviour
depends from the tooltip size
BUG:177378

svn path=/trunk/KDE/kdelibs/; revision=896526
2008-12-13 18:17:36 +00:00