Commit Graph

1267 Commits

Author SHA1 Message Date
Marco Martin
bee77498d8 bind tickInterval property 2011-07-07 15:32:04 +02:00
Marco Martin
0b5cc4860f check the properties are really changed 2011-07-05 18:08:33 +02:00
Viranch Mehta
12e7e6f612 Notify when meter's value changes 2011-06-21 01:24:54 +05:30
Marco Martin
317510047d notify on textChanged, not edited
it must be emitted also when changed programmatically
2011-06-20 17:53:20 +02:00
Aaron Seigo
c3157acf2c delete the NAM; it isn't deleted by the QDeclarativeEngine 2011-06-15 14:18:31 +02:00
Frederik Schwarzer
5c0d0e8e8e Replace doxygen tag @arg by @param.
The @param doxygen tag is formatted way nicer and should be used
throughout our apidox.

REVIEW: 101596
2011-06-13 14:47:29 +02:00
Viranch Mehta
0e9d609542 Fix: WRITE method for Q_PROPERTY maximum was setMinimum, which should be setMaximum 2011-06-03 00:50:18 +05:30
Matthias Fuchs
d9568fb2c5 Adds a setTabHighlighted and a isTabHighligted method to Plasma::TabBar.
When a tab is highlighted the text is drawn with a different color.
The icon will then have an active effect and a pressed button will be drawn at its background.

REVIEW:101264
2011-05-04 13:01:30 +02:00
Marco Martin
a6fa660809 bindings for dataengine in DeclarativeWidget 2011-04-30 12:43:29 +02:00
Aaron Seigo
c5cf7f8460 style 2011-04-28 10:54:23 +02:00
Sebastian Kügler
6de3205490 Switch off scrollbars when in dragToScroll mode
They don't work with dragging, anyway since flicking and scrollbars
operate in different directions.
2011-04-24 16:21:19 +02:00
Marco Martin
14d3286096 use Item width and height as minimumSize
massively not optimal. however qml doesn't have concept of size hints unfortunately
2011-04-20 20:34:52 +02:00
Aaron Seigo
bd3f840f3b similar work around in mousePressEvent as we have in contextMenuEvent 2011-04-09 20:07:00 +02:00
Marco Martin
fb2db78521 FEATURE: access to the QScriptEngine 2011-04-07 22:10:56 +02:00
Marco Martin
256532e240 use libkdeclarative in Plasma::DeclarativeWidget 2011-04-04 23:05:23 +02:00
Marco Martin
c6215bb249 set main object size after loading 2011-02-28 13:47:35 +01:00
Marco Martin
80eb4eafea correctly reposition the main item when resizes 2011-02-27 17:00:53 +01:00
Marco Martin
17c0805063 ask for on screen keyboard hiding on focus lost 2011-02-17 15:23:06 +01:00
Lasse Liehu
d0e8d977b4 ignore() key press event for keys not handled
(cherry picked from commit 6e208cf0cc60d3e7016a3bbdbb6dfd3c1b105186)
2011-02-10 21:05:34 +02:00
Marco Martin
c158ebbaa4 realign the widget if it's resized
svn path=/trunk/KDE/kdelibs/; revision=1216378
2011-01-22 22:13:42 +00:00
Marco Martin
312bdcf909 if the theme wants to paint with the system style just let the proxy paint
svn path=/trunk/KDE/kdelibs/; revision=1216324
2011-01-22 17:55:14 +00:00
Marco Martin
8e152270ce set a custom geometry also in init, not only when the size doesn't change, because it can happen that the size will never change (so the focusindicator staying at the wrong size)
svn path=/trunk/KDE/kdelibs/; revision=1214258
2011-01-13 20:00:33 +00:00
Alex Merry
54ad0622e7 Simplify an if-else statement in the tabbar - d->tabBarShown makes the else if condition obsolete
svn path=/trunk/KDE/kdelibs/; revision=1212398
2011-01-06 20:50:09 +00:00
Alex Merry
082ddcb95a Don't add the tabbar to the layout twice, or try to remove it twice.
BUG: 258867


svn path=/trunk/KDE/kdelibs/; revision=1212395
2011-01-06 20:33:56 +00:00
Marco Martin
244ec458f8 don't handle wheel events in the event filter, let any widget that wants to steal it do so
seems to have a more natural behaviour

svn path=/trunk/KDE/kdelibs/; revision=1212343
2011-01-06 15:30:55 +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
Aaron J. Seigo
510d4d57a5 clearAction private slot
svn path=/trunk/KDE/kdelibs/; revision=1211028
2011-01-02 23:17:57 +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
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
Marco Martin
8c4c8b877d add sliderMoved()
svn path=/trunk/KDE/kdelibs/; revision=1205511
2010-12-11 10:53:28 +00:00
Marco Martin
5d9766f6c1 break; in the switch,
crash--

svn path=/trunk/KDE/kdelibs/; revision=1202309
2010-11-30 12:04:44 +00:00
Davide Bettio
d8546805e5 Display applet context menu when the label hasn't any context menu to show. It makes sense to show a context menu only when the text can be selected or when there is a link.
reviewboard: http://reviewboard.kde.org/r/6009/

svn path=/trunk/KDE/kdelibs/; revision=1202176
2010-11-29 23:29:03 +00:00
Marco Martin
28e6398a6a hide the focus indicator if the stylesheet is not empty
svn path=/trunk/KDE/kdelibs/; revision=1202169
2010-11-29 22:30:35 +00:00
Marco Martin
07610e04ea try to remove the hardcoded size hint of the tabbar proxy widget.. the Qt bug that it was masking should be gone now
svn path=/trunk/KDE/kdelibs/; revision=1202100
2010-11-29 17:08:52 +00:00
Marco Martin
1d9da0068e fix behaviour of setTabBarShown
svn path=/trunk/KDE/kdelibs/; revision=1202099
2010-11-29 17:00:26 +00:00
Marco Martin
0d168b6c57 don't try to treat touch events as mose ones
crash--

svn path=/trunk/KDE/kdelibs/; revision=1200789
2010-11-25 19:30:55 +00:00
Boudewijn Rempt
3242318a93 Add config-plasma include to make the PLASMA_NO_KIO work
svn path=/trunk/KDE/kdelibs/; revision=1195104
2010-11-10 11:41:02 +00:00
Marco Martin
11d8738af4 minimum and maximum settable from javascript
svn path=/trunk/KDE/kdelibs/; revision=1194798
2010-11-09 22:16:05 +00:00
Kevin Ottens
d85c4cc7ff Include cleanup.
Based on a patch by Marijn Kruisselbrink.

svn path=/trunk/KDE/kdelibs/; revision=1194730
2010-11-09 17:22:22 +00:00
Kevin Ottens
6c56a21a41 Really don't depend on KIO, forgot that include.
svn path=/trunk/KDE/kdelibs/; revision=1194729
2010-11-09 17:22:03 +00:00
Dawit Alemayehu
086599b47a Fixed compile errors when using QT_USE_FAST_CONCATENATION and QT_USE_FAST_OPERATOR_PLUS to compile kdelibs...
svn path=/trunk/KDE/kdelibs/; revision=1194330
2010-11-08 18:14:17 +00:00
Kevin Ottens
c09422cc8c Remove deprecated symbols from the build (if KDE_NO_DEPRECATED is defined).
svn path=/trunk/KDE/kdelibs/; revision=1192863
2010-11-04 08:06:43 +00:00
Marco Martin
c251a29564 fix logic about show/hide of scrollbars
svn path=/trunk/KDE/kdelibs/; revision=1191181
2010-10-29 21:09:06 +00:00
Aaron J. Seigo
ca4e345c15 use button text for normal text, preserves theme compatibility with prior releases
svn path=/trunk/KDE/kdelibs/; revision=1191136
2010-10-29 17:25:24 +00:00
Kevin Ottens
526e700b09 Make sure it builds without KIO.
CCMAIL: notmart@gmail.com

svn path=/trunk/KDE/kdelibs/; revision=1189682
2010-10-25 15:03:54 +00:00
Marco Martin
37d302047e don't block events on text elements that have Qt::TextSelectableByMouse
svn path=/trunk/KDE/kdelibs/; revision=1189643
2010-10-25 13:37:31 +00:00
Marco Martin
6bc40f06d0 notify the current index changed
svn path=/trunk/KDE/kdelibs/; revision=1189378
2010-10-24 21:36:50 +00:00
Aaron J. Seigo
bea0aaed50 set up the theming in IconWidgetPrivate::init() instead of its ctor as that ends up causing a call to changeEvent, and so if call from the private class' ctor the d member of IconWidget isn't assigned (IconWidgetPrivate is still being constructed) and causes a crash
svn path=/trunk/KDE/kdelibs/; revision=1188698
2010-10-23 01:44:37 +00:00