Commit Graph

990 Commits

Author SHA1 Message Date
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
270b6296b9 fallback when there is no corona
autonomous positioning when there is no corona (usually relies on addoffscreenwidget and popupposition from it)
2011-11-02 18:15:17 +01:00
Marco Martin
67ab75c0fd the catalog is called "plasma_applet_"+pluginname 2011-11-02 14:48:41 +01:00
Mark Gaiser
147df3a274 Updated Button.qml form PlasmaComponents to have:
- Animations
- A state machine
- More margin when an icon is used
- A few cleanups

REVIEW: 103020
2011-11-01 23:51:42 +01:00
Marco Martin
5282287b55 anchors a page to its container 2011-11-01 22:45:38 +01:00
Marco Martin
f6f9c26fdd support popup with timeout 2011-11-01 21:30:45 +01:00
Marco Martin
7a325f4658 i_p suffix only for stuff not exported from qml
general rule:
if the header if from a class that will be made available as qml type, foo.h, otherwise foo_p.h
2011-11-01 19:27:55 +01:00
Marco Martin
43a069c681 bind types for dataengines in the palsmacore import 2011-11-01 19:18:41 +01:00
Marco Martin
2bb756cfe7 register extra types on QScriptEngine
only if hasn't been done yet
2011-11-01 18:55:57 +01:00
Marco Martin
38c8915cd7 ListItem element 2011-10-31 16:42:40 +01:00
Marco Martin
3ac2a8c875 if stack creates the component, is the owner too
leak--
2011-10-31 16:42:40 +01:00
Martin Gräßlin
f050e056ec Highlight Item only requires QtQuick 1.0 2011-10-30 20:37:10 +01:00
Marco Martin
56dc7f6314 Page and PageStack 2011-10-30 19:47:08 +01:00
Marco Martin
3c8ff37491 Theme exports iconloader sizes 2011-10-30 19:07:58 +01:00
Marco Martin
d0ad8eed35 remove not installed imports 2011-10-30 17:55:33 +01:00
Marco Martin
6eba438a89 PlasmaCore.Theme is registered by the inport
no more need to declare it every time -> memory saving
2011-10-30 17:53:20 +01:00
Marco Martin
a2cf63e813 arrow buttons by default 2011-10-30 17:36:42 +01:00
Marco Martin
92accc1460 fade away for sectionScroller 2011-10-30 16:51:41 +01:00
Marco Martin
f5357fd964 dd SectionScroller 2011-10-30 14:13:09 +01:00
Sebastian Kügler
5a4bef41ef Use Qt::DisplayRole when the lookup fails
This makes it do the right thing by default, and fixes filtering for
QStringListModels (and probably a few other ones as well).
2011-10-30 00:53:48 +02:00
Marco Martin
6b7a1bdcac undefined-- 2011-10-29 21:46:53 +02:00
Marco Martin
f32fc24694 use IconLoader 2011-10-29 21:41:45 +02:00
Marco Martin
be1068709a an item to load icons
still private, load icons either by absolute path, icon name, svg
2011-10-29 21:19:51 +02:00
Marco Martin
9bcc260757 add tabbar with default API
extended with currentitem in TabBar for tabbars without TabGroups
2011-10-29 20:07:30 +02:00
Marco Martin
b40acc4903 fix anchors of scroll indicators 2011-10-28 22:32:45 +02:00
Marco Martin
77fa1ee910 fix positioning 2011-10-28 20:34:46 +02:00
Marco Martin
0fa2538000 remove missing stuff from qmldir 2011-10-28 20:16:45 +02:00
Marco Martin
5c9fec3d31 better positioning 2011-10-28 20:14:38 +02:00
Marco Martin
4970198392 export status 2011-10-28 19:40:04 +02:00
Marco Martin
5788424702 qmenu bindings with the QtComponents api 2011-10-28 18:57:34 +02:00
Marco Martin
a8aa755fe9 Merge branch 'master' into plasma/viranch/qml-qmenu 2011-10-28 16:24:08 +02:00
Marco Martin
b343c01ebb expand the toolbar as default 2011-10-28 16:23:50 +02:00
Aaron Seigo
8d108352d2 correct the boolean test 2011-10-28 11:43:33 +02:00
Marco Martin
049a79a0f6 a couple of enums more 2011-10-27 22:52:16 +02:00
Marco Martin
381b78163e export some enums
also, relicense qrangemodel as its last license (actually allowed to redistribute now ;)
2011-10-27 22:33:51 +02:00
Marco Martin
63fbf58b53 fix property/signal names 2011-10-27 21:25:34 +02:00
Aaron Seigo
08ac59edd7 bump the API # 2011-10-27 16:44:55 +02:00
Aaron Seigo
1e2e094fdd allow adding separators to the context menu 2011-10-27 16:44:55 +02:00
Marco Martin
486fbf6f82 use all font properties from Theme all around 2011-10-13 18:23:40 +02:00
Marco Martin
9eda90088e defaultFont, desktopFont and smallestFont 2011-10-13 17:57:16 +02:00
Marco Martin
3f4487e018 get rid of the applet activation overlay
no more washed out look
2011-10-13 17:04:42 +02:00
Marco Martin
606fa639c0 Merge branch 'master' into mart/newspaper-mouseinteraction 2011-10-13 16:51:22 +02:00
Marco Martin
03ba14895c Label element, uses properties from Theme 2011-10-13 15:28:33 +02:00
Marco Martin
8c4c66a69d export all the font properties in Theme 2011-10-13 15:19:37 +02:00
Marco Martin
284277083e Merge branch 'master' into plasma/viranch/qml-qmenu 2011-10-13 12:52:14 +02:00
Marco Martin
b44e60daa3 ToolButton 2011-10-13 12:18:14 +02:00
Marco Martin
b13dc0406a toolbar component 2011-10-12 00:05:21 +02:00
Marco Martin
b86b4b2e71 remove frame sunken-active,
use graphics for slider grooves instead
2011-10-11 17:35:23 +02:00
Marco Martin
b5a1397d07 simplify scrolldecorator 2011-10-11 15:25:32 +02:00