Marco Martin
b743c9fa35
applets Z orders can be negative too
...
svn path=/trunk/KDE/kdelibs/; revision=915762
2009-01-23 18:07:20 +00:00
Aaron J. Seigo
65268e77d4
by default, applet scripts get the generic config dialog
...
svn path=/trunk/KDE/kdelibs/; revision=913900
2009-01-20 02:11:01 +00:00
Marco Martin
53658a106e
style with FrameSvg all the lineedits, spinboxes and comboboxes, use
...
Plasma::Style to achieve that, since it's a kinda repetitive thing and
comboboxes and spinboxes are complex controls
the svg used will probably change
svn path=/trunk/KDE/kdelibs/; revision=912567
2009-01-17 18:00:33 +00:00
Rob Scheepmaker
bfb771ddd8
Make all items persistent by default, even if still attached. This allows us to restore their position and their collapsed state.
...
svn path=/trunk/KDE/kdelibs/; revision=912127
2009-01-16 18:49:54 +00:00
Aaron J. Seigo
f5c70115db
delete the config file first before the temp file so that it doesn't write itself out after the tempfile has been removed, avoiding spawning endless temp files.
...
svn path=/trunk/KDE/kdelibs/; revision=912076
2009-01-16 17:16:10 +00:00
Aaron J. Seigo
6c041a4232
get sizing right when setContent is called and the tip is already visible
...
BUG:180423
svn path=/trunk/KDE/kdelibs/; revision=911227
2009-01-15 05:59:07 +00:00
Marco Martin
831f2564d8
quite mega-patch:
...
add a new function FrameSvg::alphaMask() that lets define an alpha-layer
for the frame, that can be the frame itself or a mask- prefix
allow for overlay elements on frames that can do a nice
filigrane-effect, they can either be:
-fixed position at 0,0
-random position consistent across plasma runs (only supported for applet
backgrounds)
-tiled
-scaled
svn path=/trunk/KDE/kdelibs/; revision=910655
2009-01-13 21:46:07 +00:00
Aaron J. Seigo
e3745c680a
plasmoids -> widgets in this case
...
svn path=/trunk/KDE/kdelibs/; revision=908605
2009-01-10 00:10:33 +00:00
Aaron J. Seigo
32d2b4c4c9
small fixes for dragging; i don't think they warrant a backport, though
...
svn path=/trunk/KDE/kdelibs/; revision=908503
2009-01-09 20:45:28 +00:00
Rob Scheepmaker
aea9e0e6d8
Move the QGL resize hacks from extender to extenderapplet. The only applet atm for which this hack is necesarry is actually extenderapplet, in the future we will have better layouts, and it won't be necesarry at all, and for now it avoids breaking panel layouts when removing the last extenderitem from an extenderapplet.
...
svn path=/trunk/KDE/kdelibs/; revision=908195
2009-01-09 13:13:57 +00:00
Aaron J. Seigo
4e7e534103
* add actions in the order they are added, not alphabetically by name (?!)
...
* remove actions if they get deleted
CCBUG:30042
svn path=/trunk/KDE/kdelibs/; revision=907996
2009-01-09 02:15:23 +00:00
David Faure
eb686845cb
enable-final and compiler warnings fixed
...
svn path=/trunk/KDE/kdelibs/; revision=906696
2009-01-06 17:06:26 +00:00
Marco Martin
88f9436dbd
don't trust size hints, they lie
...
this makes tooltip sliding a bit more predictable
svn path=/trunk/KDE/kdelibs/; revision=906676
2009-01-06 15:48:54 +00:00
Laurent Montel
eebb6178a5
Fix iterator
...
svn path=/trunk/KDE/kdelibs/; revision=906617
2009-01-06 13:09:05 +00:00
Aaron J. Seigo
be4c8c2c5e
if an applet overrode configChanged (it is virtual), the keyboard shortcuts wouldn't get picked up; so move that all to a private slot and now configChangedcan be safely used instead of connecting up to the dialog signals yourself as an added bonus
...
svn path=/trunk/KDE/kdelibs/; revision=906175
2009-01-05 18:08:14 +00:00
Aaron J. Seigo
a2ea13a973
bring back ctrl-overrides-aspect-ratio-mode
...
svn path=/trunk/KDE/kdelibs/; revision=905774
2009-01-05 01:08:40 +00:00
Marco Martin
47c511c86c
build on arm
...
svn path=/trunk/KDE/kdelibs/; revision=904274
2009-01-01 19:17:53 +00:00
Marco Martin
84685506af
one more tiny size fix
...
svn path=/trunk/KDE/kdelibs/; revision=903507
2008-12-30 18:00:59 +00:00
Marco Martin
1417e507f3
get size hints of tabs a bit better, in the panel is way better now
...
svn path=/trunk/KDE/kdelibs/; revision=903488
2008-12-30 16:41:15 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Beat Wolf
26c61a6205
resizing of applets is less jumpy now, there is still a problem at big applet sizes though
...
svn path=/trunk/KDE/kdelibs/; revision=896200
2008-12-12 20:20:07 +00:00
Aaron J. Seigo
47866f417b
List->Set, and try and make the even filter a little more efficient
...
svn path=/trunk/KDE/kdelibs/; revision=895578
2008-12-11 03:10:36 +00:00
Rob Scheepmaker
c51d9d7d9b
Yeah, finally! Fixed a crash that occurs when moving an extenderitem back to its source from an extender that was also the last one to have a spacer inserted because the same item was hovering over it. Phew, that was a mouthfull... With this fix we monitor if previousTargetExtender get's destoryed so we don't accidently try to remove it's spacer.
...
BUG: 171498
svn path=/trunk/KDE/kdelibs/; revision=895405
2008-12-10 17:29:40 +00:00
Rob Scheepmaker
72eaf8c5f7
No longer use a QGraphicsGridLayout to manage offscreen widgets in corona. Instead position them manually and give each one a spot where they can grow up to QWIDGETSIZEMAX. This has the advantage of not requiring hacks to work around QGL problems, and it avoids having to move all views when one item resizes. It feels snappier and the code looks cleaner.
...
svn path=/trunk/KDE/kdelibs/; revision=895118
2008-12-10 00:57:42 +00:00
Aaron J. Seigo
a6140d5a27
use isEmpty; a couple minor, minor changes that crept in while debugging things elsewhere
...
svn path=/trunk/KDE/kdelibs/; revision=895022
2008-12-09 20:37:41 +00:00
Rob Scheepmaker
b321b2f033
Performance optimization: only change the icon if it's actually a different icon. Mainly affects uiserver widgets atm.
...
Oh, and warning--.
svn path=/trunk/KDE/kdelibs/; revision=894878
2008-12-09 14:04:33 +00:00
Aaron J. Seigo
e42452e847
* update the direction on location changes
...
* update the dialog, if it exists, when checking the border of the extender
BUG:177113
svn path=/trunk/KDE/kdelibs/; revision=894469
2008-12-08 18:03:23 +00:00
Marco Martin
ba43ebdd06
corrected sizing problem
...
animation jumps a bit less randomly
BUG: 176672
svn path=/trunk/KDE/kdelibs/; revision=893099
2008-12-05 22:48:58 +00:00
Marco Martin
b47c32869f
use elements dimensions to resize the scrollbar
...
svn path=/trunk/KDE/kdelibs/; revision=893050
2008-12-05 21:04:33 +00:00
Marco Martin
98b833977b
correct some last toolbox annoyances...
...
svn path=/trunk/KDE/kdelibs/; revision=893011
2008-12-05 18:16:30 +00:00