Commit Graph

35 Commits

Author SHA1 Message Date
Aleix Pol
a7f4cf52be Don't crash if there's no model
Even if the case doesn't make much sense, nobody likes crashing stuff.
2013-01-10 05:02:55 +01:00
Aurélien Gâteau
34514cfe56 Create Mainpage.dox for kde-runtime plasma sub-projects
CCMAIL: notmart@kde.org
2012-12-14 16:15:44 +01:00
Marco Martin
45583af880 add clicked() signal
behavior more compatible with MouseArea
2012-12-04 13:39:19 +01:00
Marco Martin
8836f476ef add hover events 2012-10-04 19:21:48 +02:00
Marco Martin
95e5431610 move the runnermodel in core
the old plugin is still there for compatibility, however is discouraged to be used
2012-10-03 15:40:55 +02:00
Marco Martin
d3d96826ac pay attention to not emit 2 signals per event 2012-09-17 16:27:38 +02:00
Aleix Pol
b8b474068e Introduce the ColumnProxyModel
This component will let the developer access different parts of the
QAbstractItemModel implementations that are impossible to be accessed
from QML. i.e. columns!=0 and the tree branches.

REVIEW: 106272
2012-09-04 01:27:05 +02:00
Marco Martin
c761a1078e same fillMode behavior as Image 2012-08-17 18:19:14 +02:00
Martin Klapetek
5fce412fe0 Add missing NOTIFY signals and 'null' property to QPixmapItem and QImageItem
Reviewed-by: Marco Martin
2012-08-14 20:02:58 +02:00
Marco Martin
0b9e172a88 remove the icon if an invalid value is passed 2012-08-01 13:25:55 +02:00
Marco Martin
3d1ba60d3f fix active effect 2012-05-01 14:46:19 +02:00
Stephen Kelly
73dc4f9a0c Simplify QtGui module includes. 2012-04-10 00:22:13 +02:00
Marco Martin
e6053a71dd remove group bindings again 2012-02-20 13:37:10 +01:00
Marco Martin
d408978213 bind State 2012-02-20 13:37:10 +01:00
Marco Martin
ed5e2e1981 bind kiconloader groups
used for implicitWidth/height, will be used for kiconeffects
2012-02-20 11:25:40 +01:00
Marco Martin
2f6b8d2687 support for wheel events 2012-02-15 22:56:41 +01:00
Sebastian Kügler
de659d63e1 logspam-- 2012-01-29 02:18:13 +01:00
Sebastian Kügler
e66e97e11e Enable edit bubble also for TextArea
- split out placeEditBubble(mouse)
- improve positioning a bit more (still not perfect)
- Remove a bit of noise
2011-12-01 03:51:01 +01:00
Sebastian Kügler
2565770d2d press and hold for the MouseListener, needs proper memory management 2011-11-25 05:06:32 +01:00
Sebastian Kügler
2654681dfd Add MouseEventListener from mobilecomponents
We need this in some components to work around weaknesses in the
standard MouseArea (such as conditional accepting of events).
MouseEventListener basically provides wiretapping for mouse events,
without blocking them, so they are still effective in the underlying
widgets.
2011-11-25 00:49:53 +01:00
Marco Martin
5880e5315c all the tiling option of Image 2011-11-14 16:48:07 +01:00
Marco Martin
b5f6d6ff33 support all tiling options of Image 2011-11-14 16:34:46 +01:00
Marco Martin
a347b2ec04 plasma looking progressbars by tiling qpixmapitems 2011-11-14 14:36:36 +01:00
Mark Gaiser
f83a899bc8 Lets use const.
REVIEW: 103009
2011-11-02 23:12:46 +01:00
Mark Gaiser
41bd519f43 Made the icon property a QVariant.
If a string is passed a KIcon(string) object will be created.
If a QIcon is passed that will be used.

REVIEW: 103009
2011-11-02 21:28:30 +01:00
Marco Martin
5788424702 qmenu bindings with the QtComponents api 2011-10-28 18:57:34 +02:00
Marco Martin
284277083e Merge branch 'master' into plasma/viranch/qml-qmenu 2011-10-13 12:52:14 +02:00
Marco Martin
019617f3bc paint grey when disabled 2011-08-20 17:43:36 +02:00
Viranch Mehta
3a5367fcbf Directive changes + licensing 2011-08-17 23:26:21 +05:30
Viranch Mehta
e677aafcad Rename QMenuItem to QMenuAction, QMenuItem was already defined. Add support for separators in QMenus 2011-08-17 23:21:04 +05:30
Viranch Mehta
220cae4242 Make QMenuItem a derived class of QAction (to minimize its implementation) 2011-08-17 20:30:53 +05:30
Viranch Mehta
c34d4ea456 Make QMenu fairly usable in QML plasmoids, separate out QMenu and QMenuItem classes 2011-08-17 03:22:25 +05:30
Viranch Mehta
cd6d910a2f Implement ability to add actions in the QMenu and hence create QMenuItem 2011-08-07 05:11:21 +05:30
Viranch Mehta
2c6677aaf4 QMenu QML binding (with test 'hello','world' menu entries) 2011-08-02 19:43:48 +05:30
Nicolás Alvarez
cde1151099 Merged scratch/mart/plasma-components into subtree plasma/declarativeimports. 2011-02-10 14:41:47 -03:00